The Arcive of vBulletin Modifications Site. |
|
|
#1
|
||||
|
||||
|
Code:
<a href="#" onclick="smilie(':sango:'); return false;"><img src="http://www.animationation.net/community/images/smilies/demonslayerf.gif" alt="Sango" border="0" /></a>
|
|
#2
|
||||
|
||||
|
function smilie() is defined in vbulletin_stdedit.js
But I think you will also need vbulletin_global.js and maybe vbulletin_editor.js |
|
#3
|
||||
|
||||
|
i included vbullet_editor.js and vbulletin_stedit.js but it still doesnt work(vbullet_global.js is included in header include)
|
|
#4
|
||||
|
||||
|
You got an editor control on that page?
Any JavaScript errors? |
|
#5
|
||||
|
||||
|
there is no editor cause im trying to use it with my shoutout box, i am getting an object expected error
|
|
#6
|
||||
|
||||
|
Quote:
|
|
#7
|
||||
|
||||
|
is there a way i can do it without an editor?
|
|
#8
|
||||
|
||||
|
You could write your own functions to put smilies/bbcode - or use the appropriate names for the controls/form so vB's standard functions will work.
|
![]() |
|
|