Log in

View Full Version : button


kyrenator
05-06-2009, 08:35 PM
How can i create a button at the vbulletin editor that it will add an image into the post?
(I want to choose the image and after my choice everyone who clicks the button, will post the image i had chosen )

RLShare
05-06-2009, 09:31 PM
Create a custom bbcode through the bbcode manager that will post the certain image you want.

kyrenator
05-07-2009, 11:59 AM
can you give me an example form?
e.g. for the image "http://i228.photobucket.com/albums/ee80/kyrenator/luffytuxmeperigrama-1.gif?t=1241701179"

BlueNinjaGo
05-07-2009, 05:03 PM
One solution: Save the picture (should save as a .gif file)
Upload as a smilie. Change the "replacement text" to whatever you want.
Then whenever someone types the replacement text, it'll put that photo.
I guess you could make a button that would put the replacement text into the post for you.

kyrenator
05-07-2009, 08:02 PM
hmmm this is a nice way but the picture must be a png because i need it to be transparent!
i prefer the bbcode way but i dont know how to do it! can anybody explain me how?

RLShare
05-07-2009, 08:15 PM
AdminCP->Custom BBCode->Add New BB Code

Title: Whatever you want

BBCode tag name: Whatever you want ex.... customimage

replacement:
<img src='path to your picture' alt='what ever you want' />

example: [customimage*][*/customimage] (remove the *'s)

Description: whatever you want.

Button Image; Path to the image that will show in the editor as a button.

Use Option: NO

Remove tag if empty: NO

Then whatever you want for the rest, more then likely all yes.

kyrenator
05-08-2009, 10:09 AM
works fine!
thank you!

tipoboy
05-08-2009, 10:14 AM
.gif's can also be saved as transparent, FYI :D