Log in

View Full Version : Using image buttons in vB4 series postbits


ged
06-06-2012, 03:31 PM
How can we use image buttons in vBulletin 4 postbits like vBulletin 3 postbits?

I mean quote, reply, quick reply buttons like this post has. In which template can we replace image buttons instead of current text buttons?

Thank you very much.

Attitude5ire
06-07-2012, 06:43 AM
You can but would need lot of edits..
all the buttons are in 'postbit' or 'postbit_legacy' template

ged
06-07-2012, 10:43 AM
Can you show just a single edit? For example, how can I replace the "Edit" button?

ged
06-14-2012, 01:17 PM
Anyone please?

ged
01-10-2013, 08:13 PM
Any ideas? :)

WorldCraft
01-11-2013, 01:23 AM
Do you wish to make this change across all styles? There's a few ways you can go about doing this, but I'd read this entire post before trying anything.

You could backup your /forums/images/buttons/ directory (or just the images you will be replacing). Replace the vB4 postbit buttons with the vB3 ones (while using the vB4 names). You will also need to replace the hover ones as well. So for example, for reply you would upload 2 copies of the vB3 reply button. One named "reply_40b.png" and "reply_40b-hover.png"

OR if you don't worry much about space just copy the buttons directory, name it something else, then overwrite your images there. Then for your styles change the imgdir_button stylevar to the new folder...

The potential issue I see with doing this, is that the template and CSS will make your buttons look like this. For an example I just tried with the quote button:
https://vborg.vbsupport.ru/external/2013/01/43.png

Removing the text is simple enough, you would go to your postbit or postbit_legacy template and remove the {vb:rawphrase}'s for each button. So for reply you'd remove {vb:rawphrase reply} from the template. But once you do that, you'll need to play around with the CSS to get them to fit right....or completely move them somewhere else in the template.