vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB3 General Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=111)
-   -   Can some body explain image prrefixes. (https://vborg.vbsupport.ru/showthread.php?t=194002)

nbaphenom 10-19-2008 04:17 PM

Quote:

Originally Posted by Lynne (Post 1648383)
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.gif
What 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 04:34 PM

But this isn't working: http://ball2live.com/ogenzen/statusi..._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 05: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 06: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 06:30 PM

Im very slow when it comes to template editing so here is my template for post1 and post2 is the 2nd one
Code:

<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&amp;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]&nbsp;</div></td>
                </if>
        </tr>
</tbody>
<if condition="$childforumbits">
<tbody>
        $childforumbits
</tbody>
</if>

Code:

<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&amp;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]&nbsp;</div></td>
        </if>
</tr>
$childforumbits


Lynne 10-19-2008 06: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 06: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 06: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 08:51 PM

Quote:

Originally Posted by Lynne (Post 1648501)
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 [DATE]1224458527[/DATE] at [TIME]1224458527[/TIME] ---------------

Is there any way you can look at the source code or something and tell me how they did it here . http://nbadimensions.net


All times are GMT. The time now is 05:46 PM.

Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.

X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.06693 seconds
  • Memory Usage 1,749KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (2)bbcode_code_printable
  • (2)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (1)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (9)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • printthread_start
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete