Quote:
Originally Posted by Karri
I have a small bug report. In the forumhome plugin you have this line
PHP Code:
<img class="inlineimg" src="images/buttons/lastpost.gif" alt="'.$vbphrase['go_to_page'].'" border="0" />
which is fine if that is where your lastpost.gif image is. I have different sub folders for all of my different styles but I am stuck with the same booring blue image for all of them. I have tried different variations on
PHP Code:
$stylevar[imgdir_button]/lastpost.gif
but can't quite get it to work. What would be the correct code if any to have the button match the rest of the images for that particular style?
Thanks for the great hack!!!
|
Thanks for the report. If you want a quick fix, there are two small changes in the Links and Downloads Manager - Patch forumhome plugin. First, you have to declare stylevar as global in function ldm_lastlinkinfo, i.e. find the line
PHP Code:
global $vbulletin, $vbphrase;
and change to
PHP Code:
global $vbulletin, $vbphrase, $stylevar;
Second, change
PHP Code:
src="images/buttons/lastpost.gif"
to
PHP Code:
src="'.$stylevar[imgdir_button].'/lastpost.gif"
- don't foget the single quotes.