The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
Custom image buttons
I used to be using UBB (thank GOD I switched). Anyway, I had a nice feature there that I would like to emulate in vBulletin.
I had a custom block, similar to the Smilies block. The block had different buttons describing the images and when a member clicked the button, it would insert the image into the post. I did it by making a modification to the template. Since vBulletin is completely different than UBB, I have no idea how to do it. Any suggestions? By the way, I would like to include it below the message edit box and above the Post Icons block. |
#2
|
||||
|
||||
Hello,
Couldn't you add it at the top of the posticons template? |
#3
|
|||
|
|||
Quote:
|
#4
|
||||
|
||||
Hello,
Styles & Templates > Style Manager > (click the <<>>) > Post Icon Templates > posticons At the very top of that template add: Code:
<br /> your custom code here <br /> Code:
<fieldset class="fieldset"> <legend>Your Title</legend> Whatever you want in here. </fieldset> |
#5
|
|||
|
|||
Rich, I appreciate your help so far. One more question. Maybe you can help me. In the block that I just added, I want to have buttons representing different GIF images. When a user clicks on the button, it will insert the appropriate image. For example, if the button says "car" and the user clicks the button, it will insert the car.gif image.
Do you know how I can code it? |
#6
|
|||
|
|||
It did correctly insert the block above the icons. All I need to know now is the code for the smilies that inserts the image into the message box when selected. What I need to do is have a set of buttons that insert an image into the message editor, just as the smilies do.
Anyone know how? |
Thread Tools | |
Display Modes | |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|