View Single Post
 
Old 18 Jan 2004, 13:45
cirisme cirisme is offline
 
Join Date: Jan 2003
Originally Posted by zozex
Hi

how can i add a button to the WYSIWYG editor like a real one player button so the song or whatever will be played in the thread like the old tool bar

and thank you


* sorry for the bad english *
Open ./includes/functions_editor.php and find this:


Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

And change to:


Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

Find this


Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

And add this below:


Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

Be sure to change the bolded realone to be whatever you want it to be.(leaving it as is is fine... just be sure to upload a realone.gif file to your editor images dir)

Now, open clientscript/vbulletin_wysiwyg.js and find this:


Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

And REPLACE with:


Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

And open clientscript/vbulletin_global.js and add a function called realone to do whatever you want it to do and you'll be set. It's quite easy actually
__________________
Reply With Quote