View Full Version : Can some body explain image prrefixes.
nbaphenom
10-19-2008, 05:26 AM
Please explain to me how the image prefixes work
--------------- Added 1224399208 at 1224399208 ---------------
There not working on my forum ball2live.com under western conference i tried it for dallas mavericks forum i put in the image prefix box
ps3_
and then i named the image ps3_forum_old.gif and uploaded it to images/statusicon/
can there be any mods conflicting with it ? I used to have that category icons mod .
Lynne
10-19-2008, 03:06 PM
What is the result of what you did? Are you getting any image to appear? Is this variable in your forumhome_forumbit_ templates - $forum[imageprefix] ?
nbaphenom
10-19-2008, 03:47 PM
I dont think so which one do i put that in theres like 3 different ones also where do i put it in there .
--------------- Added 1224435197 at 1224435197 ---------------
Actually i think they are in thee wow i need this to work bad .
Lynne
10-19-2008, 04:09 PM
Go to edit those templates (and yeah, there are several) and click on View History so you may compare your template to the default Jelsoft one and it will show you where the variable should go.,
nbaphenom
10-19-2008, 04:15 PM
But the thing is it doesn't show up on my default skin also so it couldnt be a problem with the templates right ? Man this sucks .
Lynne
10-19-2008, 04:17 PM
It doesn't show up on your default skin - do you mean *your* default skin or a Jelsoft default skin? What version of vB are you running?
nbaphenom
10-19-2008, 04:19 PM
Im running 3.7.3 and yea im talking about the jelsoft default skin .
Lynne
10-19-2008, 04:32 PM
On my 3.7.3 board in the template forumhome_forumbit_level1_post, I have a line like this (around the fifth line or so):
<td><img src="$stylevar[imgdir_statusicon]/$forum[imageprefix]forum_$forum[statusicon].gif" alt="" border="0" id="forum_statusicon_$forum[forumid]" /></td>
I have the same line in forumhome_forumbit_level2_post
nbaphenom
10-19-2008, 04:43 PM
I have compiled so images that should help the situation and mods i installed .
https://vborg.vbsupport.ru/external/2008/10/20.png
https://vborg.vbsupport.ru/external/2008/10/21.png
https://vborg.vbsupport.ru/external/2008/10/22.png
https://vborg.vbsupport.ru/external/2008/10/23.png
AME - The Automatic Media Embeder
Arrange Forums in Columns
ChangUonDyU - Advanced Statistics
Cyb - Advanced Forum Statistics
Cyb - Sub-Forum Manager
Floating Guest Notify
Inactive Users Email Reminders
Left Side Column
Limited Guest Viewing
Members who have Visited
Multiple Login Detector
One-touch Ban & Spam Cleanup
Post Thank You Hack
Right Side Column
Separate Sticky and Normal Threads
TCattd - The Image Resizer
Lynne
10-19-2008, 05:11 PM
You realize you need to add a new icon for all five of these:
forum_link.gif
forum_new.gif
forum_new_lock.gif
forum_old.gif
forum_old_lock.gifWhat is the image path being shown currently in your page source? Are you getting any status icon to show at all for that forum?
nbaphenom
10-19-2008, 05:17 PM
You realize you need to add a new icon for all five of these:
forum_link.gif
forum_new.gif
forum_new_lock.gif
forum_old.gif
forum_old_lock.gifWhat is the image path being shown currently in your page source? Are you getting any status icon to show at all for that forum?
Okay i just added all of those , and the source is http://ball2live.com/images/statusicon/forum_old.gif and yes its showing .
Lynne
10-19-2008, 05:34 PM
But this isn't working: http://ball2live.com/ogenzen/statusicon/ps3_forum_old.gif
I get an error when trying to get to that image (a Connection Interrupted error which is kinda weird).
Notice that it is going to ogenzen/statusicon - that is the folder you need to put the statusicons into. And did you check those templates to see if $forum[imageprefix] is in them. This won't work if that variable is not in the template.
nbaphenom
10-19-2008, 06:53 PM
forumhome_forumbit_level1_nopost
forumhome_forumbit_level2_nopost
forumhome_forumbit_columncell
These templates dont have it so where do i put it ?
Lynne
10-19-2008, 07:17 PM
The line is up in post 8. You should be able to select any of those templates and hit View History and Compare and it should show you which lines to modify. But, if not, as I said, refer to post 8.
nbaphenom
10-19-2008, 07:30 PM
Im very slow when it comes to template editing so here is my template for post1 and post2 is the 2nd one
<tbody>
<tr align="center">
<td class="alt1Active" colspan="2" align="$stylevar[left]" id="f$forum[forumid]">
<td><img src="$stylevar[imgdir_statusicon]/$forum[imageprefix]forum_$forum[statusicon].gif" alt="" border="0" id="forum_statusicon_$forum[forumid]" /></td>
<table cellpadding="0" cellspacing="0" border="0">
<tr>
<td><img src="$stylevar[imgdir_statusicon]/$forum[imageprefix]forum_$forum[statusicon].gif" alt="" border="0" id="forum_statusicon_$forum[forumid]" /></td>
<td><img src="$vboptions[cleargifurl]" alt="" width="9" height="1" border="0" /></td>
<td>
<div>
<a href="forumdisplay.php?$session[sessionurl]f=$forum[forumid]"><strong>$forum[title]</strong></a>
<if condition="$show['browsers']"><span class="smallfont">(<phrase 1="$forum[browsers]">$vbphrase[x_viewing]</phrase>)</span></if>
</div>
<if condition="$show['forumdescription']"><div class="smallfont">$forum[description]</div></if>
<if condition="$show['forumsubscription']"><div class="smallfont"><strong><a href="subscription.php?$session[sessionurl]do=removesubscription&f=$forum[forumid]" rel="nofollow">$vbphrase[unsubscribe_from_this_forum]</a></strong></div></if>
<if condition="$show['subforums']"><div class="smallfont" style="margin-top:$stylevar[cellpadding]px"><strong>$vbphrase[subforums]</strong>: $forum[subforums]</div></if>
</td>
</tr>
</table>
</td>
<td class="alt2">$forum[lastpostinfo]</td>
<td class="alt1">$forum[threadcount]</td>
<td class="alt2">$forum[replycount]</td>
<if condition="$vboptions['showmoderatorcolumn']">
<td class="alt1"><div class="smallfont">$forum[moderators] </div></td>
</if>
</tr>
</tbody>
<if condition="$childforumbits">
<tbody>
$childforumbits
</tbody>
</if>
<tr align="center">
<td class="alt2"><img src="$stylevar[imgdir_statusicon]/$forum[imageprefix]forum_$forum[statusicon].gif" alt="" border="0" id="forum_statusicon_$forum[forumid]" /></td>
<td class="alt1Active" align="$stylevar[left]" id="f$forum[forumid]">
<div>
<a href="forumdisplay.php?$session[sessionurl]f=$forum[forumid]"><strong>$forum[title]</strong></a>
<if condition="$show['browsers']"><span class="smallfont">(<phrase 1="$forum[browsers]">$vbphrase[x_viewing]</phrase>)</span></if>
</div>
<if condition="$show['forumdescription']"><div class="smallfont">$forum[description]</div></if>
<if condition="$show['forumsubscription']"><div class="smallfont"><strong><a href="subscription.php?$session[sessionurl]do=removesubscription&f=$forum[forumid]" rel="nofollow">$vbphrase[unsubscribe_from_this_forum]</a></strong></div></if>
<if condition="$show['subforums']"><div class="smallfont" style="margin-top:$stylevar[cellpadding]px"><strong>$vbphrase[subforums]</strong>: $forum[subforums]</div></if>
</td>
<td class="alt2">$forum[lastpostinfo]</td>
<td class="alt1">$forum[threadcount]</td>
<td class="alt2">$forum[replycount]</td>
<if condition="$vboptions['showmoderatorcolumn']">
<td class="alt1"><div class="smallfont">$forum[moderators] </div></td>
</if>
</tr>
$childforumbits
Lynne
10-19-2008, 07:42 PM
The line is there in the template you just posted. However, looking over your site and going to the Default Style in the chooser, that is definitely not the template that is spitting out your forums. You've got some modification that is doing it. You need to find the template for that modification and add the imageprefix variable into it.
nbaphenom
10-19-2008, 07:44 PM
Its there because i put it there like you told me to but i didnt know where to put it in the 2nd one i posted . These are my mods non involving it .
AME - The Automatic Media Embeder
Arrange Forums in Columns
ChangUonDyU - Advanced Statistics
Cyb - Advanced Forum Statistics
Cyb - Sub-Forum Manager
Floating Guest Notify
Inactive Users Email Reminders
Left Side Column
Limited Guest Viewing
Members who have Visited
Multiple Login Detector
One-touch Ban & Spam Cleanup
Post Thank You Hack
Right Side Column
Separate Sticky and Normal Threads
TCattd - The Image Resizer
Lynne
10-19-2008, 07:50 PM
The prefix is in the template you posted, so it is fine. But, as I said, that template isn't used where you have applied the prefix. The prefix is obviously not in the modification you have installed that spits out the forums in that manner. I really can't help you with the modification - you'll have to post in the modification thread for that. I really have no idea which of those mods does that, but if I were to guess, it would be either the sub-forum manager or arrange in columns mod.
nbaphenom
10-19-2008, 09:51 PM
The prefix is in the template you posted, so it is fine. But, as I said, that template isn't used where you have applied the prefix. The prefix is obviously not in the modification you have installed that spits out the forums in that manner. I really can't help you with the modification - you'll have to post in the modification thread for that. I really have no idea which of those mods does that, but if I were to guess, it would be either the sub-forum manager or arrange in columns mod.
So i disable these mods ?
--------------- Added 1224458527 at 1224458527 ---------------
Is there any way you can look at the source code or something and tell me how they did it here . http://nbadimensions.net
vBulletin® v3.8.12 by vBS, Copyright ©2000-2025, vBulletin Solutions Inc.