Coding-Spot

You are not connected. Please login or register

Go to page : Previous  1, 2, 3  Next

 
 

how to add staff option

Message (Page 2 of 3)

avatar
 
Advance Member

Posted on Fri May 31, 2013 10:28 am

 
First topic message reminder :

http://prntscr.com/17jcxk

hello how to add staff option like in the quick reply?



View user profile


avatar
 
Administrator
Administrator

Posted on Fri May 31, 2013 4:10 pm

 
Try it again, i've posted first before i edited the post. Lol.



View user profile http://coding-spot.darkbb.com


avatar
 
Advance Member

Posted on Fri May 31, 2013 4:21 pm

 
Code:
(function(){var f={add:function(c,d,b){$(function(){if(document.getElementById("html_edit")){void 0==b&&(b="");var a=document.createElement("span");a.innerHTML='<button class="button2" style="height: 22px; margin-right: 5px;" onClick="bbfontstyle(\''+d+"', '"+b+"'); return false;\">"+c+"</button>";document.getElementById("new_buttons_area").appendChild(a)}})},list:function(c,d,b){$(function(){if(document.getElementById("text_edit")){var a=document.createElement("span");a.innerHTML='<input type="button" style="height: 22px; margin-right: 5px;" value="'+ c+'" onclick="selectWysiwyg(this, \''+b+'\');" class="button2">';document.getElementById("new_buttons_area").appendChild(a);a=document.createElement("span");a.id=b;a.className="select";a.style.visibility="hidden";for(var e in d)a.innerHTML=/,/.test(d[e])?a.innerHTML+("<button onmouseout=\"this.className='';\" onmouseover=\"this.className='selectHover';\" onclick=\"bbfontstyle('"+d[e].replace(/(.*),.*/,"$1")+"', '"+d[e].replace(/.*,(.*)/,"$1")+"');selectWysiwyg(this, '"+b+"');return false;\">"+e+"</button><br>"): a.innerHTML+("<button onmouseout=\"this.className='';\" onmouseover=\"this.className='selectHover';\" onclick=\"bbfontstyle('"+d[e]+"', '');selectWysiwyg(this, '"+b+"');return false;\">"+e+"</button><br>");document.getElementById("text_editor_select_controls").appendChild(a)}})},init:function(){$(function(){if(document.getElementById("html_edit")){var c=document.createElement("span");c.id="new_buttons_area";c.style.paddingTop="5px";document.getElementById("html_edit").parentNode.insertBefore(c,document.getElementById("html_edit").nextSibling)}})}}; window.buttons=f;f.init()})();

buttons.list('Staffs Option', {
'Approved': '[table class=solved][tr][td]Approved[/td][/tr][/table]',
}, 'bbcode_list_1');

i use this code but same problem no staff option button seen.
http://prntscr.com/17koad



View user profile


avatar
 
Administrator
Administrator

Posted on Sat Jun 01, 2013 4:04 am

 
PM me a account that has access to Admin Panel.
Since i'll just do something on the JS Management.



View user profile http://coding-spot.darkbb.com


avatar
 
Advance Member

Posted on Sat Jun 01, 2013 2:55 pm

 
ok pm sent



View user profile


avatar
 
Administrator
Administrator

Posted on Sat Jun 01, 2013 3:04 pm

 
The problem is one of your javascript. Go to JS Management and find the one you named 'quote', uncheck the in the topics as this one causes bugs on other javascript, so i suggest you not to use it. Happy



View user profile http://coding-spot.darkbb.com


avatar
 
Advance Member

Posted on Sat Jun 01, 2013 3:16 pm

 
ow thanks on that mark.. how can i add more option on "Staff Option" i want to add some



View user profile


avatar
 
Administrator
Administrator

Posted on Sat Jun 01, 2013 3:21 pm

 
After this part:
Code:
'Approved': '[table class=solved][tr][td]Approved[/td][/tr][/table]',

Add this one: (Just edit them with your own desire)
Code:
'Text here': 'Text that will be displayed',



View user profile http://coding-spot.darkbb.com


avatar
 
Advance Member

Posted on Sat Jun 01, 2013 3:41 pm

 
it this features all user seen? the "Staff Option" Button?



View user profile


avatar
 
Administrator
Administrator

Posted on Sat Jun 01, 2013 3:45 pm

 
Yes. But i know no one uses it since it is not useful for them and aren't worth for them to use.



View user profile http://coding-spot.darkbb.com


avatar
 
Advance Member

Posted on Sat Jun 01, 2013 3:50 pm

 
hahaha ok mark.. do you have a bbcodes like in FM

the denied thread..
something like this:
http://prntscr.com/17qh8l

but im talking about.. the image was "X" sign and it is color red..



View user profile


avatar
 
Administrator
Administrator

Posted on Sat Jun 01, 2013 3:53 pm

 
Here are some: [img]http://cdn1.iconfinder.com/data/icons/officeicons/PNG/48/Close.png[/img, ,

I suggest you this site, Iconfinder



View user profile http://coding-spot.darkbb.com


avatar
 
Advance Member

Posted on Sat Jun 01, 2013 4:04 pm

 
ok mark but

Code:
background-color: #;
border: 1px solid #;
color: #;

on that code what is same color in FM..
i dont know the exact color of it.. what colors should like in FM.



View user profile


avatar
 
Administrator
Administrator

Posted on Sat Jun 01, 2013 4:10 pm

 
Give me a fm link topic that has the color of the bbcode bg you want. Happy



View user profile http://coding-spot.darkbb.com


avatar
 
Advance Member

Posted on Sat Jun 01, 2013 4:17 pm

 
http://help.forumotion.com/t121353-sample-of-guns-ranks

last post..



View user profile


avatar
 
Administrator
Administrator

Posted on Sat Jun 01, 2013 4:20 pm

 
Here:
Code:
background: url('http://i43.servimg.com/u/f43/16/93/80/74/cross10.png') no-repeat left center #e7e7e7;
border: 1px solid #d0d0d0;
color: #515151;



View user profile http://coding-spot.darkbb.com


#31

Sponsored content


 

Posted

 





Message (Page 2 of 3)

Permissions in this forum:
You cannot reply to topics in this forum

In total there is 0 user online :: 0 Registered, 0 Hidden and 0 Guests

Users browsing this forum: None