MyBB Community Forums

Full Version: Problems with Postbit Images
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Hi myBB,

I have recently installed a new theme and the problem is that the buttons are CSS and I have no experience at all with CSS.

I have some images that I'd like to use instead however I don't know how to change it from CSS back to using the normal images.

Problem is that not all the buttons have CSS code so some are images and some CSS and some a different type of CSS it's very odd.

I will provide an image for you and hopefully you will be able to assist me on what to do.

If you need any additional info please let me know and I will supply you with it.

[Image: LedjYKx.png]
View bot much? lol... 7,000+ views within ~ 5 hours.

For the like button you can either change the template array in the plugin file to a ahref class for button from the image OR you can find the template file made just for the like button and change it in there (this assumes that the plugin you are using has made it's own template files).
For the moderator edit.. it uses javascript... and it's a core function (I think, I haven't gotten to that yet on my own custom theme I'm building) so, you can either edit it in it's postbit template OR get rid of the javascript for it and use a CSS button with a drop down instead.

Doing all this take a little bit of skill in HTML and a fuzz bit of research in CSS. Just search online using keywords to find good CSS button codes and examples.
(2013-03-13, 04:10 AM)WebDevandPhoto Wrote: [ -> ]View bot much? lol... 7,000+ views within ~ 5 hours.

For the like button you can either change the template array in the plugin file to a ahref class for button from the image OR you can find the template file made just for the like button and change it in there (this assumes that the plugin you are using has made it's own template files).
For the moderator edit.. it uses javascript... and it's a core function (I think, I haven't gotten to that yet on my own custom theme I'm building) so, you can either edit it in it's postbit template OR get rid of the javascript for it and use a CSS button with a drop down instead.

Doing all this take a little bit of skill in HTML and a fuzz bit of research in CSS. Just search online using keywords to find good CSS button codes and examples.

Did you even read what I said?
I want to convert the CSS buttons to images.
And don't accuse me of view botting because I didnt.
Admins are welcome to investigate this.
Well I must have misread it of course.
But it's the same process... go to your template or plugin file and change the html accordingly to what you need.
Also I thought the post count was amusing so I made a comment, don't take it personal as it wasn't intended as such.
And what exactly is the process to get them back to images from CSS buttons.
that you'll have to know some HTML, check your postbit template category.
(2013-03-13, 02:17 PM)JaySimplicity Wrote: [ -> ]And what exactly is the process to get them back to images from CSS buttons.

change each postbit button template to what you need look at say postbit_email and replace the code in that template with some thing like
<a href="member.php?action=emailuser&amp;uid={$post['uid']}"><img src="{$theme['imglangdir']}/postbit_email.gif" alt="{$lang->postbit_email}" title="{$lang->postbit_email}" /></a>