The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
where ca I find the templates?
Hi there.
I want to add an extra button to the editor, this button would be a link to my own php code, so that, user can create a customized image, then, this image would be inserted in the post. I've got some idea 'bout how to do it, but I need to change some templates (showthread_quickreply, postbit_quickedit,...) and I don't know where to find this templates to change the code. (sorry, I'm so new at this) Where can I find them? |
#2
|
||||
|
||||
All templates are in the Admin Control Panel -> Styles & Templates -> Style Manager Then expand your style and pick a template.
|
#3
|
|||
|
|||
Done, I've been able to add, my own button to the editor, now I need to know where to add my code. In this template, there is no called functions. I need to link this button to my own action, how can i do it?
Thanks |
#4
|
||||
|
||||
vB dynamically adds the onclick, onmouseover etc handlers for the buttons. If you want to do things like add text to the editor, you're going to have to dive into the js files (found in the clientscripts dir) and familiarize yourself with the objects there.
|
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|