Sub Menu
Links Menu
Online Users

In total there are 321 users online :: 3 registered, 0 hidden and 318 guests

Most users ever online was 1091 on Wed Aug 16, 2023 5:27 pm

Registered users: Bing [Bot], Google [Bot], Majestic-12 [Bot] based on users active over the past 60 minutes

Change Poster Mod

This forum contains member submitted mods and hacks for IntegraMOD/IM Portal versions

*please read the "Read Me" post*

Moderator: Integra Moderator

Change Poster Mod

PostAuthor: ayasha » Mon Jan 22, 2007 11:43 am

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
Last edited by ayasha on Wed Dec 31, 1969 4:00 pm, edited 1 time in total.
No one can make you feel inferior without your consent.
~Eleanor Roosevelt

ayasha
Sr Integra Member
Sr Integra Member
 
Posts: 634
Likes: 0 post
Liked in: 0 post
Joined: Tue Mar 28, 2006 5:10 pm
Cash on hand: 0.00

Re: Change Poster Mod

PostAuthor: Teelk » Mon Jan 22, 2007 1:25 pm

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.
Last edited by Teelk on Wed Dec 31, 1969 4:00 pm, edited 1 time in total.
User avatar
Teelk
Dev Team
Dev Team
 
Posts: 1309
Likes: 0 post
Liked in: 0 post
Joined: Tue Mar 14, 2006 5:25 pm
Cash on hand: 0.00
Location: Canada

PostAuthor: ayasha » Mon Jan 22, 2007 1:43 pm

thanks Teelk <img> that did it
Last edited by ayasha on Wed Dec 31, 1969 4:00 pm, edited 1 time in total.
No one can make you feel inferior without your consent.
~Eleanor Roosevelt

ayasha
Sr Integra Member
Sr Integra Member
 
Posts: 634
Likes: 0 post
Liked in: 0 post
Joined: Tue Mar 28, 2006 5:10 pm
Cash on hand: 0.00


Return to Mods/Hacks

Who is online

Registered users: Bing [Bot], Google [Bot], Majestic-12 [Bot]

cron