Page 1 of 1

Change Poster Mod

PostPosted: Mon Jan 22, 2007 11:43 am
Author: ayasha
i have installed a small mod that allows me to change posters on a post, it works fine, but the image is not showing.

i am using fisubic theme and the install doc says to open

templates/subSilver/subSilver.cfg (which i open templates/fisubice/fisubice.cfg)

FIND
Code: Select all
$images['icon_newest_reply'] = "$current_template_images/icon_newest_reply.gif";


AFTER ADD
Code: Select all
$images['icon_user'] = "$current_template_images/{LANG}/icon_user.gif";


with the fisubice having different color folders, what i did was

FIND
Code: Select all
"$current_template_images/{$row['body_background']}/icon_newest_reply.gif" width="18" height="9" class="imgspace";


AND AFTER ADD
Code: Select all
$images['icon_user'] = "$current_template_images/{$row['body_background']}/icon_user.gif" width="18" height="9" class="imgspace";


did i get the code right? and if so, any ideas on how to get the image to show? like i said the mod works, just no image there, just some space

thanks in advance

cleo

Re: Change Poster Mod

PostPosted: Mon Jan 22, 2007 1:25 pm
Author: Teelk
Should look like this...
Code: Select all
$images['icon_user'] = "$current_template_images/{$row['body_background']}/{LANG}/icon_user.gif" width="18" height="9" class="imgtopic";  


You just missed the {LANG} which tells it to look in templates/yourtheme/images/lang_xxxx/ instead of just the template image folder.

PostPosted: Mon Jan 22, 2007 1:43 pm
Author: ayasha
thanks Teelk <img> that did it