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)

#1

BetterHax

BetterHax
 
Advance Member

Posted May 31st 2013, 5:28 pm

 
First topic message reminder :

http://prntscr.com/17jcxk

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





#16

Mark

Mark
 
Administrator
Administrator

Posted May 31st 2013, 11:10 pm

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



https://coding-spot.darkbb.com


#17

BetterHax

BetterHax
 
Advance Member

Posted May 31st 2013, 11: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





#18

Mark

Mark
 
Administrator
Administrator

Posted June 1st 2013, 11:04 am

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



https://coding-spot.darkbb.com


#19

BetterHax

BetterHax
 
Advance Member

Posted June 1st 2013, 9:55 pm

 
ok pm sent





#20

Mark

Mark
 
Administrator
Administrator

Posted June 1st 2013, 10: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



https://coding-spot.darkbb.com


#21

BetterHax

BetterHax
 
Advance Member

Posted June 1st 2013, 10:16 pm

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





#22

Mark

Mark
 
Administrator
Administrator

Posted June 1st 2013, 10: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',



https://coding-spot.darkbb.com


#23

BetterHax

BetterHax
 
Advance Member

Posted June 1st 2013, 10:41 pm

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





#24

Mark

Mark
 
Administrator
Administrator

Posted June 1st 2013, 10: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.



https://coding-spot.darkbb.com


#25

BetterHax

BetterHax
 
Advance Member

Posted June 1st 2013, 10: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..





#26

Mark

Mark
 
Administrator
Administrator

Posted June 1st 2013, 10:53 pm

 
Here are some: [img]http://cdn1.iconfinder.com/data/icons/officeicons/PNG/48/Close.png[/img, how to add staff option - Page 2 Dialog-close, how to add staff option - Page 2 Button_cancel

I suggest you this site, Iconfinder



https://coding-spot.darkbb.com


#27

BetterHax

BetterHax
 
Advance Member

Posted June 1st 2013, 11: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.





#28

Mark

Mark
 
Administrator
Administrator

Posted June 1st 2013, 11:10 pm

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



https://coding-spot.darkbb.com


#29

BetterHax

BetterHax
 
Advance Member

Posted June 1st 2013, 11:17 pm

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

last post..





#30

Mark

Mark
 
Administrator
Administrator

Posted June 1st 2013, 11: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;



https://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