vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.8 Template Modifications (https://vborg.vbsupport.ru/forumdisplay.php?f=236)
-   -   Forum Home Enhancements - Forum Icons on forumhome (https://vborg.vbsupport.ru/showthread.php?t=214289)

ddo36 06-19-2009 03:26 PM

mark this as installed. :)

Great work sofia :up:

I have one question though..

I went to vBulletin Options>> Forum Display Options (forumdisplay)>>Enable Forum Description set to Yes..

So that means that the description of the forum will show below the navbar right?

my question is, where do you think i can edit the forum description(showing below the navbar), so that icons can show in the description without editing the forum description(in the forum manager).

just like what you did in this mod.

coz i'd like that the forum description(below the navbar) will have pictures too.

i hope you understood my question. :D

Candostum 06-19-2009 08:34 PM

Thanks but I get XHTML error with this code.

kent_lkc 06-20-2009 09:24 AM

any idea how to add image to Category ?

New Joe 07-02-2009 01:11 PM

Quote:

Originally Posted by Sofia (Post 1816283)
Hi aliali. Yes, it's possible, but only 1 icon by forum, so you cannot have old/new posts system.

In the template forumhome_forumbit_level2_post and forumhome_forumbit_level1_post

Find:

HTML Code:

<td class="alt2"><img src="$stylevar[imgdir_statusicon]/$forum[imageprefix]forum_$forum[statusicon].gif" alt="" border="0" id="forum_statusicon_$forum[forumid]" /></td>
Replace by:

HTML Code:

<td class="alt2"><a href="forumdisplay.php?$session[sessionurl]f=$forum[forumid]"><img border="0" src="images/misc/$forum[forumid].gif" hspace="4px" align="left"/></a></td>

I tried that but it didn't work.
Could you give me a more "step by step" way to do it, including where to upload the images.
Also do I have to add anything to the code change?
How does it know which picture to add to which Forum?

Sofia 07-02-2009 02:37 PM

Quote:

Originally Posted by New Joe (Post 1841403)
I tried that but it didn't work.
Could you give me a more "step by step" way to do it, including where to upload the images.
Also do I have to add anything to the code change?
How does it know which picture to add to which Forum?

Hey Joe. :)
Try to upload images in the folder misc.


If it doesn't work, you can test this:

Only if you have 3.7.x and newer version (3.8.x)

You can have specific status icons by forum.
With no product, no template modification and very easy.







Installation


1. AdminCP


AdminCP >> Forums & Moderators >> Forum Manager >> Choose a forum

In this forum, find: Style Options
In Style Options,
we can modify Prefix for Forum Status Images.

This setting allows you to have a prefix by forum that will be used on status icons filenames.

You must enter here your forum ID.

How I can find my forum ID?
On the same page, at the top of this page, you've your forum name and your forum ID.

https://vborg.vbsupport.ru/



In this example, ID is "2", so you must enter "2" in Prefix for Forum Status Images.
Then, I use "_" so that it is more clean on your filenames.


2. Images

Now, you have to create your images for every forum where you want to have specific status icons.

Your images must have this name:
ID_forum_link.gif
ID_forum_new.gif
ID_forum_new_lock.gif
ID_forum_old.gif
ID_forum_old_lock.gif

In my example, images have this name:
2_forum_link.gif
2_forum_new.gif
2_forum_new_lock.gif
2_forum_old.gif
2_forum_old_lock.gif

Finally, upload images into "images/yourstyle/statusicon".

thedagnu 07-02-2009 03:17 PM

1 Attachment(s)
Do you know what I should add to specify only which forums need a new image, and the rest be the default...?

Examples like the following picture :

Attachment 101388



Thank you for your help.
Sorry if my english bad. :)

New Joe 07-02-2009 03:19 PM

Thanks for that, I will give it a try.

Shankoty 07-09-2009 09:39 AM

Quote:

Originally Posted by Sofia (Post 1841446)
Hey Joe. :)
Try to upload images in the folder misc.


If it doesn't work, you can test this:

Only if you have 3.7.x and newer version (3.8.x)

You can have specific status icons by forum.
With no product, no template modification and very easy.







Installation


1. AdminCP


AdminCP >> Forums & Moderators >> Forum Manager >> Choose a forum

In this forum, find: Style Options
In Style Options,
we can modify Prefix for Forum Status Images.

This setting allows you to have a prefix by forum that will be used on status icons filenames.

You must enter here your forum ID.

How I can find my forum ID?
On the same page, at the top of this page, you've your forum name and your forum ID.

https://vborg.vbsupport.ru/



In this example, ID is "2", so you must enter "2" in Prefix for Forum Status Images.
Then, I use "_" so that it is more clean on your filenames.


2. Images

Now, you have to create your images for every forum where you want to have specific status icons.

Your images must have this name:
ID_forum_link.gif
ID_forum_new.gif
ID_forum_new_lock.gif
ID_forum_old.gif
ID_forum_old_lock.gif

In my example, images have this name:
2_forum_link.gif
2_forum_new.gif
2_forum_new_lock.gif
2_forum_old.gif
2_forum_old_lock.gif

Finally, upload images into "images/yourstyle/statusicon".

NOT WORKING , it show me empty area beside the forum,..

New Joe 07-09-2009 12:27 PM

Quote:

Originally Posted by Shankoty (Post 1845662)
NOT WORKING , it show me empty area beside the forum,..

Didn't work for me either and it can only be set to certain styles.
I just followed this thread and it worked great: http://www.vbulletin.com/forum/showthread.php?t=114545

Now all I am looking for is how to add the icons within the forum on the let instead of the envelopes.

dimthan 07-12-2009 06:56 AM

where i can find some good icons for my forum using this add ?
thx in advance

TheLastSuperman 07-12-2009 06:30 PM

Quote:

Originally Posted by dimthan (Post 1847336)
where i can find some good icons for my forum using this add ?
thx in advance

Just google FREE graphics, icons etc there are several sites offering such w/ very flexible licenses but be sure to read & abide by their terms of use.

abdulbasitsaeed 07-13-2009 06:06 AM

1 Attachment(s)
Excellent mod, Sofia. Thank you very much for it. :)

I know you're on vacations, but is it possible to add a separator between the category icon and it's title & description, as shown in the attachment.


Attachment 101885

Sofia 07-15-2009 11:34 AM

Quote:

Originally Posted by abdulbasitsaeed (Post 1847896)
Excellent mod, Sofia. Thank you very much for it. :)

I know you're on vacations, but is it possible to add a separator between the category icon and it's title & description, as shown in the attachment.


Attachment 101885

You want to use a "td" ? If you want it, you must do that:

In your template forumhome_forumbit_level1_nopost

Find:

HTML Code:

<td class="tcat" colspan="<if condition="$vboptions[showmoderatorcolumn]">6<else />5</if>">

Replace by:

HTML Code:

<td class="tcat" colspan="<if condition="$vboptions[showmoderatorcolumn]">7<else />6</if>">
In the template forumhome_forumbit_level2_post

Find

HTML Code:

<td class="alt2"><img src="$stylevar[imgdir_statusicon]/$forum[imageprefix]forum_$forum[statusicon].gif" alt="" border="0" id="forum_statusicon_$forum[forumid]" /></td>
Add below:

HTML Code:

<td class="alt1"><a href="forumdisplay.php?$session[sessionurl]f=$forum[forumid]"><img border="0" src="images/misc/iconforums/$forum[forumid].gif" hspace="4px" align="left"/></a></td>
In the template forumhome

Find:

HTML Code:

<thead>
    <tr align="center">
      <td class="thead">&nbsp;</td>
      <td class="thead" width="100%" align="$stylevar[left]">$vbphrase[forum]</td>
      <td class="thead">$vbphrase[last_post]</td>
      <td class="thead">$vbphrase[threads]</td>
      <td class="thead">$vbphrase[posts]</td>
      <if condition="$vboptions['showmoderatorcolumn']">
      <td class="thead">$vbphrase[moderator]</td>
      </if>
    </tr>
</thead>

Replace by:

HTML Code:

<thead>
    <tr align="center">
      <td class="thead">&nbsp;</td>
<td class="thead">&nbsp;</td>
      <td class="thead" width="100%" align="$stylevar[left]">$vbphrase[forum]</td>
      <td class="thead">$vbphrase[last_post]</td>
      <td class="thead">$vbphrase[threads]</td>
      <td class="thead">$vbphrase[posts]</td>
      <if condition="$vboptions['showmoderatorcolumn']">
      <td class="thead">$vbphrase[moderator]</td>
      </if>
    </tr>
</thead>


And 1 07-15-2009 02:24 PM

Thanks... :)

H22A 07-17-2009 12:54 PM

no files uploaded !!!!
how to download?

Sofia 07-17-2009 01:43 PM

Quote:

Originally Posted by H22A (Post 1850532)
no files uploaded !!!!
how to download?

There are no file to download ;) What do you want to download?

abdulbasitsaeed 07-18-2009 04:11 AM

Quote:

Originally Posted by Sofia (Post 1849157)
You want to use a "td" ? If you want it, you must do that:

In your template forumhome_forumbit_level1_nopost

Find:

HTML Code:

<td class="tcat" colspan="<if condition="$vboptions[showmoderatorcolumn]">6<else />5</if>">

Replace by:

HTML Code:

<td class="tcat" colspan="<if condition="$vboptions[showmoderatorcolumn]">7<else />6</if>">
In the template forumhome_forumbit_level2_post

Find

HTML Code:

<td class="alt2"><img src="$stylevar[imgdir_statusicon]/$forum[imageprefix]forum_$forum[statusicon].gif" alt="" border="0" id="forum_statusicon_$forum[forumid]" /></td>
Add below:

HTML Code:

<td class="alt1"><a href="forumdisplay.php?$session[sessionurl]f=$forum[forumid]"><img border="0" src="images/misc/iconforums/$forum[forumid].gif" hspace="4px" align="left"/></a></td>
In the template forumhome

Find:

HTML Code:

<thead>
    <tr align="center">
      <td class="thead">&nbsp;</td>
      <td class="thead" width="100%" align="$stylevar[left]">$vbphrase[forum]</td>
      <td class="thead">$vbphrase[last_post]</td>
      <td class="thead">$vbphrase[threads]</td>
      <td class="thead">$vbphrase[posts]</td>
      <if condition="$vboptions['showmoderatorcolumn']">
      <td class="thead">$vbphrase[moderator]</td>
      </if>
    </tr>
</thead>

Replace by:

HTML Code:

<thead>
    <tr align="center">
      <td class="thead">&nbsp;</td>
<td class="thead">&nbsp;</td>
      <td class="thead" width="100%" align="$stylevar[left]">$vbphrase[forum]</td>
      <td class="thead">$vbphrase[last_post]</td>
      <td class="thead">$vbphrase[threads]</td>
      <td class="thead">$vbphrase[posts]</td>
      <if condition="$vboptions['showmoderatorcolumn']">
      <td class="thead">$vbphrase[moderator]</td>
      </if>
    </tr>
</thead>


Dear Sofia,

Thank you for replying. However, I'm running into some trouble. Of the 3 codes you have asked to replace, I was able to locate only the second one. In template 1 and 3 you have mentioned, there is no such code which you have pointed out to replace. I think this may be because I'm using a custom skin.

I'll paste the code for the 3 templates in the next post. Hopefully, you would be able to point out where I'm missing something. :)

abdulbasitsaeed 07-18-2009 04:15 AM

Template: forumhome_forumbit_level1_nopost

Code:

<table width="100%" cellpadding="0" cellspacing="0" border="0">
 <tr>
        <td><img src="$stylevar[imgdir_misc]/_cat-top_lft3.gif" alt="" /></td>
        <td width="100%" class="cat-top_x3">
<a style="float:$stylevar[right]" href="#top" onclick="return toggle_collapse('forumbit_$forumid')"><img id="collapseimg_forumbit_$forumid" src="$stylevar[imgdir_button]/collapse_tcat{$collapseimg_forumid}.gif" alt="" border="0" /></a>
                        <a href="forumdisplay.php?$session[sessionurl]f=$forum[forumid]">$forum[title]</a>
                        <if condition="$show['forumdescription']"><span class="smallfont">: $forum[description]</span></if>
</td>
        <td><img src="$stylevar[imgdir_misc]/_cat-top_rht3.gif" alt="" /></td>
 </tr></table>
<div class="side_lft3">
      <div class="side_rht3">
<table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="100%" align="center">
        <if condition="$show['subforums']">
<tbody>
<tr>
        <td class="alt1" colspan="<if condition="$vboptions[showmoderatorcolumn]">6<else />5</if>"><div class="smallfont"><ul class="subforum">$forum[subforums]</ul><br class="clear" /></div></td>
</tr>
</tbody>
        </if>
<if condition="$childforumbits">
<if condition="!$show['collapsable_forums']">
<tbody id="collapseobj_forumbit_$forumid" style="{$collapseobj_forumid}">
</if>
 <tr align="center">
        <td class="thead">&nbsp;</td>
        <td class="thead" width="100%" align="$stylevar[left]">$vbphrase[forum]</td>
        <td class="thead" nowrap="nowrap">$vbphrase[last_post]<div class="lastpost_w"></div></td>
        <td class="thead" nowrap="nowrap">$vbphrase[threads]<div class="threads_w"></div></td>
        <td class="thead" nowrap="nowrap">$vbphrase[posts]<div class="posts_w"></div></td>
<if condition="$vboptions['showmoderatorcolumn']">
        <td class="thead">$vbphrase[moderator]</td>
          </if>
 </tr>
$childforumbits
<if condition="!$show['collapsable_forums']">
</tbody>
</if>
</if>
</table>
</div>
 </div>
<div class="cat-btm_x3"><div class="cat-btm_lft3"></div><div class="cat-btm_rht3"></div></div>
<br />



Template: forumhome_forumbit_level2_post

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>
<!-- Code begin by Saeed -->
                        <a href="forumdisplay.php?$session[sessionurl]f=$forum[forumid]"><img border="0" src="images/misc/iconforums/$forum[forumid].png" hspace="4px" align="left"/></a>
<!-- Code end by Saeed -->
                        <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"><ul class="subforum">$forum[subforums]</ul><br class="clear" /></div></if>
        </td>
        <td class="alt2" nowrap="nowrap">$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



Template: forumhome

Code:

$stylevar[htmldoctype]
<html xmlns="http://www.w3.org/1999/xhtml" dir="$stylevar[textdirection]" lang="$stylevar[languagecode]">
<head>
        <!-- no cache headers -->
        <meta http-equiv="Pragma" content="no-cache" />
        <meta http-equiv="Expires" content="-1" />
        <meta http-equiv="Cache-Control" content="no-cache" />
        <!-- end no cache headers -->
        $headinclude
        <title><phrase 1="$vboptions[bbtitle]">$vbphrase[x_powered_by_vbulletin]</phrase></title>
</head>
<body>
$header
$navbar

<if condition="$show['guest']">
<!-- guest welcome message -->
<table width="100%" cellpadding="0" cellspacing="0" border="0">
 <tr>
        <td><img src="$stylevar[imgdir_misc]/_cat-top_lft3.gif" alt="" /></td>
        <td width="100%" class="cat-top_x3">
<phrase 1="$vboptions[bbtitle]">$vbphrase[welcome_to_the_x]</phrase>
</td>
        <td><img src="$stylevar[imgdir_misc]/_cat-top_rht3.gif" alt="" /></td>
 </tr></table>
<div class="side_lft3">
      <div class="side_rht3">
<table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="100%" align="center">
<tr>
        <td class="alt1">
                <phrase 1="faq.php$session[sessionurl_q]" 2="register.php$session[sessionurl_q]">$vbphrase[first_visit_message]</phrase>
        </td>
</tr>
</table>
</div>
 </div>
<div class="cat-btm_x3"><div class="cat-btm_lft3"></div><div class="cat-btm_rht3"></div></div>
<!-- / guest welcome message -->
<br />
</if>

<!-- main -->
$forumbits

$forumhome_markread_script
<!-- /main -->

<br />
$ad_location[ad_forumhome_afterforums]


<!-- what's going on box -->
<table width="100%" cellpadding="0" cellspacing="0" border="0">
 <tr>
        <td><img src="$stylevar[imgdir_misc]/_cat-top_lft3.gif" alt="" /></td>
        <td width="100%" class="cat-top_x3">
$vbphrase[whats_going_on]
</td>
        <td><img src="$stylevar[imgdir_misc]/_cat-top_rht3.gif" alt="" /></td>
 </tr></table>
<div class="side_lft3">
      <div class="side_rht3">
<table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="100%" align="center">
$template_hook[forumhome_wgo_pos1]
<if condition="$show['loggedinusers']">
<!-- logged-in users -->
<tbody>
        <tr>
                <td class="thead" colspan="2">
                        <a style="float:$stylevar[right]" href="#top" onclick="return toggle_collapse('forumhome_activeusers')"><img id="collapseimg_forumhome_activeusers" src="$stylevar[imgdir_button]/collapse_thead$vbcollapse[collapseimg_forumhome_activeusers].gif" alt="" border="0" /></a>
                        <a href="online.php$session[sessionurl_q]">$vbphrase[currently_active_users]</a>: $totalonline (<phrase 1="$numberregistered" 2="$numberguest">$vbphrase[x_members_and_y_guests]</phrase>)
                </td>
        </tr>
</tbody>
<tbody id="collapseobj_forumhome_activeusers" style="$vbcollapse[collapseobj_forumhome_activeusers]">
        <tr>
                <td class="alt2"><a href="online.php$session[sessionurl_q]"><img src="$stylevar[imgdir_misc]/whos_online.gif" alt="$vbphrase[view_whos_online]" border="0" /></a></td>
                <td class="alt1" width="100%">
                        <div class="smallfont">
                                <div style="white-space: nowrap"><phrase 1="$recordusers" 2="$recorddate" 3="$recordtime">$vbphrase[most_users_ever_online_was_x_y_at_z]</phrase></div>
                                <div>$activeusers</div>
                        </div>
                </td>
        </tr>
</tbody>
<!-- end logged-in users -->
</if>
$template_hook[forumhome_wgo_pos2]
<tbody>
        <tr>
                <td class="thead" colspan="2">
                        <a style="float:$stylevar[right]" href="#top" onclick="return toggle_collapse('forumhome_stats')"><img id="collapseimg_forumhome_stats" src="$stylevar[imgdir_button]/collapse_thead$vbcollapse[collapseimg_forumhome_stats].gif" alt="" border="0" /></a>
                        <phrase 1="$vboptions[bbtitle]">$vbphrase[x_statistics]</phrase>
                </td>
        </tr>
</tbody>
<tbody id="collapseobj_forumhome_stats" style="$vbcollapse[collapseobj_forumhome_stats]">
        <tr>
                <td class="alt2"><img src="$stylevar[imgdir_misc]/stats.gif" alt="<phrase 1="$vboptions[bbtitle]">$vbphrase[x_statistics]</phrase>" border="0" /></td>
                <td class="alt1" width="100%">
                <div class="smallfont">
                        <div>
                                $vbphrase[threads]: $totalthreads,
                                $vbphrase[posts]: $totalposts,
                                $vbphrase[members]: $numbermembers<if condition="$show['activemembers']">,
                                        <span title="<phrase 1="$vboptions[activememberdays]">$vbphrase[within_the_last_x_days]</phrase>">$vbphrase[active_members]: $activemembers</span>
                                </if>
                        </div>
                        <div><phrase 1="member.php?$session[sessionurl]u=$newuserid" 2="$newusername">$vbphrase[welcome_to_our_newest_member_x]</phrase></div>
                        $template_hook[forumhome_wgo_stats]
                </div>
                </td>
        </tr>
</tbody>
$template_hook[forumhome_wgo_pos3]
<if condition="$show['birthdays']">
<!-- today's birthdays -->
<tbody>
        <tr>
                <td class="thead" colspan="2">
                        <a style="float:$stylevar[right]" href="#top" onclick="return toggle_collapse('forumhome_birthdays')"><img id="collapseimg_forumhome_birthdays" src="$stylevar[imgdir_button]/collapse_thead$vbcollapse[collapseimg_forumhome_birthdays].gif" alt="" border="0" /></a>
                        $vbphrase[todays_birthdays]
                </td>
        </tr>
</tbody>
<tbody id="collapseobj_forumhome_birthdays" style="$vbcollapse[collapseobj_forumhome_birthdays]">
        <tr>
                <td class="alt2"><a href="calendar.php?$session[sessionurl]do=getday&amp;day=$today&amp;sb=1"><img src="$stylevar[imgdir_misc]/birthday.gif" alt="$vbphrase[view_birthdays]" border="0" /></a></td>
                <td class="alt1" width="100%"><div class="smallfont">$birthdays</div></td>
        </tr>
</tbody>
<!-- end today's birthdays -->
</if>
$template_hook[forumhome_wgo_pos4]
<if condition="$show['upcomingevents']">
<tbody>
        <tr>
                <td class="thead" colspan="2">
                        <a style="float:$stylevar[right]" href="#top" onclick="return toggle_collapse('forumhome_events')"><img id="collapseimg_forumhome_events" src="$stylevar[imgdir_button]/collapse_thead$vbcollapse[collapseimg_forumhome_events].gif" alt="" border="0" /></a>
                        <if condition="$show['todaysevents']">$vbphrase[todays_events]<else /><phrase 1="$vboptions[showevents]">$vbphrase[upcoming_events_for_the_next_x_days]</phrase></if>
                </td>
        </tr>
</tbody>
<tbody id="collapseobj_forumhome_events" style="$vbcollapse[collapseobj_forumhome_events]">
        <tr>
                <td class="alt2"><a href="calendar.php$session[sessionurl_q]"><img src="$stylevar[imgdir_misc]/calendar.gif" alt="$vbphrase[calendar]" border="0" /></a></td>
                <td class="alt1" width="100%"><div class="smallfont">$upcomingevents</div></td>
        </tr>
</tbody>
</if>
$template_hook[forumhome_wgo_pos5]
<tbody>
        <tr>
                <td class="tfoot" align="center" colspan="2"><div class="smallfont"><strong>
                        <a href="forumdisplay.php?$session[sessionurl]do=markread" rel="nofollow">$vbphrase[mark_forums_read]</a>
                        <if condition="$vboptions['forumleaders']">&nbsp; &nbsp;
                        <a href="showgroups.php$session[sessionurl_q]">$vbphrase[view_forum_leaders]</a></if>
        <if condition="!$show['guest']">
                <!-- member logout -->
                &nbsp; &nbsp;<a href="login.php?$session[sessionurl]do=logout&amp;logouthash=$bbuserinfo[logouthash]"  onclick="return log_out('$vbphrase[sure_you_want_to_log_out]')"><phrase 1="$bbuserinfo[username]">$vbphrase[log_out_x]</phrase></a>
                <!-- end member logout -->
        </if>
                </strong></div></td>
        </tr>
</tbody>
</table>
</div>
 </div>
<div class="cat-btm_x3"><div class="cat-btm_lft3"></div><div class="cat-btm_rht3"></div></div>
<br />
<!-- end what's going on box -->

<!-- icons and login code -->
<table class="tborder" align="center" cellpadding="3" cellspacing="$stylevar[cellspacing]" border="0">
<tr>
        <td class="alt2 smallfont"><img class="inlineimg" src="$stylevar[imgdir_statusicon]/forum_new.gif" alt="$vbphrase[contains_new_posts]" border="0" />
                        $vbphrase[forum_contains_new_posts]
                        &nbsp; <img class="inlineimg" src="$stylevar[imgdir_statusicon]/forum_old.gif" alt="$vbphrase[contains_no_new_posts]" border="0" />
                        $vbphrase[forum_contains_no_new_posts]
                <if condition="$vboptions['showlocks']">
                        &nbsp; <img class="inlineimg" src="$stylevar[imgdir_statusicon]/forum_old_lock.gif" alt="$vbphrase[a_closed_forum]" border="0" />
                        $vbphrase[forum_is_closed_for_posting]
                </if>
        </td>
</tr>
</table>
<!-- / icons and login code -->

$footer
</body>
</html>


Sofia 07-18-2009 04:44 AM

Quote:

Originally Posted by abdulbasitsaeed (Post 1850946)
Template: forumhome_forumbit_level1_nopost

Code:

<table width="100%" cellpadding="0" cellspacing="0" border="0">
 <tr>
    <td><img src="$stylevar[imgdir_misc]/_cat-top_lft3.gif" alt="" /></td>
    <td width="100%" class="cat-top_x3">
<a style="float:$stylevar[right]" href="#top" onclick="return toggle_collapse('forumbit_$forumid')"><img id="collapseimg_forumbit_$forumid" src="$stylevar[imgdir_button]/collapse_tcat{$collapseimg_forumid}.gif" alt="" border="0" /></a>
            <a href="forumdisplay.php?$session[sessionurl]f=$forum[forumid]">$forum[title]</a>
            <if condition="$show['forumdescription']"><span class="smallfont">: $forum[description]</span></if>
</td>
    <td><img src="$stylevar[imgdir_misc]/_cat-top_rht3.gif" alt="" /></td>
 </tr></table>
<div class="side_lft3">
      <div class="side_rht3">
<table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="100%" align="center">
    <if condition="$show['subforums']">
<tbody>
<tr>
    <td class="alt1" colspan="<if condition="$vboptions[showmoderatorcolumn]">6<else />5</if>"><div class="smallfont"><ul class="subforum">$forum[subforums]</ul><br class="clear" /></div></td>
</tr>
</tbody>
    </if>
<if condition="$childforumbits">
<if condition="!$show['collapsable_forums']">
<tbody id="collapseobj_forumbit_$forumid" style="{$collapseobj_forumid}">
</if>
 <tr align="center">
    <td class="thead">&nbsp;</td>
    <td class="thead" width="100%" align="$stylevar[left]">$vbphrase[forum]</td>
    <td class="thead" nowrap="nowrap">$vbphrase[last_post]<div class="lastpost_w"></div></td>
    <td class="thead" nowrap="nowrap">$vbphrase[threads]<div class="threads_w"></div></td>
    <td class="thead" nowrap="nowrap">$vbphrase[posts]<div class="posts_w"></div></td>
<if condition="$vboptions['showmoderatorcolumn']">
    <td class="thead">$vbphrase[moderator]</td>
      </if>
 </tr>
$childforumbits
<if condition="!$show['collapsable_forums']">
</tbody>
</if>
</if>
</table>
</div>
 </div>
<div class="cat-btm_x3"><div class="cat-btm_lft3"></div><div class="cat-btm_rht3"></div></div>
<br />

Template: forumhome_forumbit_level2_post

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>
<!-- Code begin by Saeed -->
            <a href="forumdisplay.php?$session[sessionurl]f=$forum[forumid]"><img border="0" src="images/misc/iconforums/$forum[forumid].png" hspace="4px" align="left"/></a>
<!-- Code end by Saeed -->
            <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"><ul class="subforum">$forum[subforums]</ul><br class="clear" /></div></if>
    </td>
    <td class="alt2" nowrap="nowrap">$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

Template: forumhome

Code:

$stylevar[htmldoctype]
<html xmlns="http://www.w3.org/1999/xhtml" dir="$stylevar[textdirection]" lang="$stylevar[languagecode]">
<head>
    <!-- no cache headers -->
    <meta http-equiv="Pragma" content="no-cache" />
    <meta http-equiv="Expires" content="-1" />
    <meta http-equiv="Cache-Control" content="no-cache" />
    <!-- end no cache headers -->
    $headinclude
    <title><phrase 1="$vboptions[bbtitle]">$vbphrase[x_powered_by_vbulletin]</phrase></title>
</head>
<body>
$header
$navbar

<if condition="$show['guest']">
<!-- guest welcome message -->
<table width="100%" cellpadding="0" cellspacing="0" border="0">
 <tr>
    <td><img src="$stylevar[imgdir_misc]/_cat-top_lft3.gif" alt="" /></td>
    <td width="100%" class="cat-top_x3">
<phrase 1="$vboptions[bbtitle]">$vbphrase[welcome_to_the_x]</phrase>
</td>
    <td><img src="$stylevar[imgdir_misc]/_cat-top_rht3.gif" alt="" /></td>
 </tr></table>
<div class="side_lft3">
      <div class="side_rht3">
<table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="100%" align="center">
<tr>
    <td class="alt1">
        <phrase 1="faq.php$session[sessionurl_q]" 2="register.php$session[sessionurl_q]">$vbphrase[first_visit_message]</phrase>
    </td>
</tr>
</table>
</div>
 </div>
<div class="cat-btm_x3"><div class="cat-btm_lft3"></div><div class="cat-btm_rht3"></div></div>
<!-- / guest welcome message -->
<br />
</if>

<!-- main -->
$forumbits

$forumhome_markread_script
<!-- /main -->

<br />
$ad_location[ad_forumhome_afterforums]


<!-- what's going on box -->
<table width="100%" cellpadding="0" cellspacing="0" border="0">
 <tr>
    <td><img src="$stylevar[imgdir_misc]/_cat-top_lft3.gif" alt="" /></td>
    <td width="100%" class="cat-top_x3">
$vbphrase[whats_going_on]
</td>
    <td><img src="$stylevar[imgdir_misc]/_cat-top_rht3.gif" alt="" /></td>
 </tr></table>
<div class="side_lft3">
      <div class="side_rht3">
<table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="100%" align="center">
$template_hook[forumhome_wgo_pos1]
<if condition="$show['loggedinusers']">
<!-- logged-in users -->
<tbody>
    <tr>
        <td class="thead" colspan="2">
            <a style="float:$stylevar[right]" href="#top" onclick="return toggle_collapse('forumhome_activeusers')"><img id="collapseimg_forumhome_activeusers" src="$stylevar[imgdir_button]/collapse_thead$vbcollapse[collapseimg_forumhome_activeusers].gif" alt="" border="0" /></a>
            <a href="online.php$session[sessionurl_q]">$vbphrase[currently_active_users]</a>: $totalonline (<phrase 1="$numberregistered" 2="$numberguest">$vbphrase[x_members_and_y_guests]</phrase>)
        </td>
    </tr>
</tbody>
<tbody id="collapseobj_forumhome_activeusers" style="$vbcollapse[collapseobj_forumhome_activeusers]">
    <tr>
        <td class="alt2"><a href="online.php$session[sessionurl_q]"><img src="$stylevar[imgdir_misc]/whos_online.gif" alt="$vbphrase[view_whos_online]" border="0" /></a></td>
        <td class="alt1" width="100%">
            <div class="smallfont">
                <div style="white-space: nowrap"><phrase 1="$recordusers" 2="$recorddate" 3="$recordtime">$vbphrase[most_users_ever_online_was_x_y_at_z]</phrase></div>
                <div>$activeusers</div>
            </div>
        </td>
    </tr>
</tbody>
<!-- end logged-in users -->
</if>
$template_hook[forumhome_wgo_pos2]
<tbody>
    <tr>
        <td class="thead" colspan="2">
            <a style="float:$stylevar[right]" href="#top" onclick="return toggle_collapse('forumhome_stats')"><img id="collapseimg_forumhome_stats" src="$stylevar[imgdir_button]/collapse_thead$vbcollapse[collapseimg_forumhome_stats].gif" alt="" border="0" /></a>
            <phrase 1="$vboptions[bbtitle]">$vbphrase[x_statistics]</phrase>
        </td>
    </tr>
</tbody>
<tbody id="collapseobj_forumhome_stats" style="$vbcollapse[collapseobj_forumhome_stats]">
    <tr>
        <td class="alt2"><img src="$stylevar[imgdir_misc]/stats.gif" alt="<phrase 1="$vboptions[bbtitle]">$vbphrase[x_statistics]</phrase>" border="0" /></td>
        <td class="alt1" width="100%">
        <div class="smallfont">
            <div>
                $vbphrase[threads]: $totalthreads,
                $vbphrase[posts]: $totalposts,
                $vbphrase[members]: $numbermembers<if condition="$show['activemembers']">,
                    <span title="<phrase 1="$vboptions[activememberdays]">$vbphrase[within_the_last_x_days]</phrase>">$vbphrase[active_members]: $activemembers</span>
                </if>
            </div>
            <div><phrase 1="member.php?$session[sessionurl]u=$newuserid" 2="$newusername">$vbphrase[welcome_to_our_newest_member_x]</phrase></div>
            $template_hook[forumhome_wgo_stats]
        </div>
        </td>
    </tr>
</tbody>
$template_hook[forumhome_wgo_pos3]
<if condition="$show['birthdays']">
<!-- today's birthdays -->
<tbody>
    <tr>
        <td class="thead" colspan="2">
            <a style="float:$stylevar[right]" href="#top" onclick="return toggle_collapse('forumhome_birthdays')"><img id="collapseimg_forumhome_birthdays" src="$stylevar[imgdir_button]/collapse_thead$vbcollapse[collapseimg_forumhome_birthdays].gif" alt="" border="0" /></a>
            $vbphrase[todays_birthdays]
        </td>
    </tr>
</tbody>
<tbody id="collapseobj_forumhome_birthdays" style="$vbcollapse[collapseobj_forumhome_birthdays]">
    <tr>
        <td class="alt2"><a href="calendar.php?$session[sessionurl]do=getday&amp;day=$today&amp;sb=1"><img src="$stylevar[imgdir_misc]/birthday.gif" alt="$vbphrase[view_birthdays]" border="0" /></a></td>
        <td class="alt1" width="100%"><div class="smallfont">$birthdays</div></td>
    </tr>
</tbody>
<!-- end today's birthdays -->
</if>
$template_hook[forumhome_wgo_pos4]
<if condition="$show['upcomingevents']">
<tbody>
    <tr>
        <td class="thead" colspan="2">
            <a style="float:$stylevar[right]" href="#top" onclick="return toggle_collapse('forumhome_events')"><img id="collapseimg_forumhome_events" src="$stylevar[imgdir_button]/collapse_thead$vbcollapse[collapseimg_forumhome_events].gif" alt="" border="0" /></a>
            <if condition="$show['todaysevents']">$vbphrase[todays_events]<else /><phrase 1="$vboptions[showevents]">$vbphrase[upcoming_events_for_the_next_x_days]</phrase></if>
        </td>
    </tr>
</tbody>
<tbody id="collapseobj_forumhome_events" style="$vbcollapse[collapseobj_forumhome_events]">
    <tr>
        <td class="alt2"><a href="calendar.php$session[sessionurl_q]"><img src="$stylevar[imgdir_misc]/calendar.gif" alt="$vbphrase[calendar]" border="0" /></a></td>
        <td class="alt1" width="100%"><div class="smallfont">$upcomingevents</div></td>
    </tr>
</tbody>
</if>
$template_hook[forumhome_wgo_pos5]
<tbody>
    <tr>
        <td class="tfoot" align="center" colspan="2"><div class="smallfont"><strong>
            <a href="forumdisplay.php?$session[sessionurl]do=markread" rel="nofollow">$vbphrase[mark_forums_read]</a>
            <if condition="$vboptions['forumleaders']">&nbsp; &nbsp;
            <a href="showgroups.php$session[sessionurl_q]">$vbphrase[view_forum_leaders]</a></if>
    <if condition="!$show['guest']">
        <!-- member logout -->
        &nbsp; &nbsp;<a href="login.php?$session[sessionurl]do=logout&amp;logouthash=$bbuserinfo[logouthash]"  onclick="return log_out('$vbphrase[sure_you_want_to_log_out]')"><phrase 1="$bbuserinfo[username]">$vbphrase[log_out_x]</phrase></a>
        <!-- end member logout -->
    </if>
        </strong></div></td>
    </tr>
</tbody>
</table>
</div>
 </div>
<div class="cat-btm_x3"><div class="cat-btm_lft3"></div><div class="cat-btm_rht3"></div></div>
<br />
<!-- end what's going on box -->

<!-- icons and login code -->
<table class="tborder" align="center" cellpadding="3" cellspacing="$stylevar[cellspacing]" border="0">
<tr>
    <td class="alt2 smallfont"><img class="inlineimg" src="$stylevar[imgdir_statusicon]/forum_new.gif" alt="$vbphrase[contains_new_posts]" border="0" />
            $vbphrase[forum_contains_new_posts]
            &nbsp; <img class="inlineimg" src="$stylevar[imgdir_statusicon]/forum_old.gif" alt="$vbphrase[contains_no_new_posts]" border="0" />
            $vbphrase[forum_contains_no_new_posts]
        <if condition="$vboptions['showlocks']">
            &nbsp; <img class="inlineimg" src="$stylevar[imgdir_statusicon]/forum_old_lock.gif" alt="$vbphrase[a_closed_forum]" border="0" />
            $vbphrase[forum_is_closed_for_posting]
        </if>
    </td>
</tr>
</table>
<!-- / icons and login code -->

$footer
</body>
</html>


Yes, thank you. This code differ from styles. ;)

abdulbasitsaeed 07-18-2009 05:17 AM

No wonder! :D

I hope you'll be able to understand where to make the changes. :)

powersilie 07-18-2009 12:08 PM

Hi!

This is my problem too :rolleyes:

greetz
Karin

abdulbasitsaeed 07-21-2009 11:21 AM

Any help possible, Sofia? :)

Sofia 07-21-2009 02:00 PM

Hello abdulbasitsaeed. Try these modifications :

Template: forumhome_forumbit_level1_nopost

HTML Code:

<table width="100%" cellpadding="0" cellspacing="0" border="0">
 <tr>
    <td><img src="$stylevar[imgdir_misc]/_cat-top_lft3.gif" alt="" /></td>
    <td width="100%" class="cat-top_x3">
<a style="float:$stylevar[right]" href="#top" onclick="return toggle_collapse('forumbit_$forumid')"><img id="collapseimg_forumbit_$forumid" src="$stylevar[imgdir_button]/collapse_tcat{$collapseimg_forumid}.gif" alt="" border="0" /></a>
            <a href="forumdisplay.php?$session[sessionurl]f=$forum[forumid]">$forum[title]</a>
            <if condition="$show['forumdescription']"><span class="smallfont">: $forum[description]</span></if>
</td>
    <td><img src="$stylevar[imgdir_misc]/_cat-top_rht3.gif" alt="" /></td>
 </tr></table>
<div class="side_lft3">
      <div class="side_rht3">
<table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="100%" align="center">
    <if condition="$show['subforums']">
<tbody>
<tr>
    <td class="alt1" colspan="<if condition="$vboptions[showmoderatorcolumn]">6<else />5</if>"><div class="smallfont"><ul class="subforum">$forum[subforums]</ul><br class="clear" /></div></td>
</tr>
</tbody>
    </if>
<if condition="$childforumbits">
<if condition="!$show['collapsable_forums']">
<tbody id="collapseobj_forumbit_$forumid" style="{$collapseobj_forumid}">
</if>
 <tr align="center">
<td class="thead">&nbsp;</td>
    <td class="thead">&nbsp;</td>
    <td class="thead" width="100%" align="$stylevar[left]">$vbphrase[forum]</td>
    <td class="thead" nowrap="nowrap">$vbphrase[last_post]<div class="lastpost_w"></div></td>
    <td class="thead" nowrap="nowrap">$vbphrase[threads]<div class="threads_w"></div></td>
    <td class="thead" nowrap="nowrap">$vbphrase[posts]<div class="posts_w"></div></td>
<if condition="$vboptions['showmoderatorcolumn']">
    <td class="thead">$vbphrase[moderator]</td>
      </if>
 </tr>
$childforumbits
<if condition="!$show['collapsable_forums']">
</tbody>
</if>
</if>
</table>
</div>
 </div>
<div class="cat-btm_x3"><div class="cat-btm_lft3"></div><div class="cat-btm_rht3"></div></div>
<br />

Template: forumhome_forumbit_level2_post


HTML 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="alt1"><a href="forumdisplay.php?$session[sessionurl]f=$forum[forumid]"><img border="0" src="images/misc/iconforums/$forum[forumid].gif" hspace="4px" align="left"/></a></td> 
<td class="alt1Active" align="$stylevar[left]" id="f$forum[forumid]">
        <div>
<!-- Code begin by Saeed -->
            <a href="forumdisplay.php?$session[sessionurl]f=$forum[forumid]"><img border="0" src="images/misc/iconforums/$forum[forumid].png" hspace="4px" align="left"/></a>
<!-- Code end by Saeed -->
            <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"><ul class="subforum">$forum[subforums]</ul><br class="clear" /></div></if>
    </td>
    <td class="alt2" nowrap="nowrap">$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


abdulbasitsaeed 07-21-2009 11:42 PM

Thank you so much for your response, Sofia. :)

All I had to do was change the path of the image in the last Template: forumhome_forumbit_level2_post you posted, and take out the code you had mentioned in your first post. The results looks lovely.

Thank you very much, once again! :)

powersilie 07-22-2009 01:10 PM

Hallo!

My forumhome_forumbit_level2_post is different and in Firefox it looks like this:

https://vborg.vbsupport.ru/external/2009/07/16.png



and in IE it looks like this:

https://vborg.vbsupport.ru/external/2009/07/17.png


And this ist my forumhome_forumbit_level2_post:

Code:

<tr align="center">

<td class="alt2"><if condition="$vboptions[customimg_enabled] == 1">
 <if condition="$forum[customimg] == ''">
 <img src="$stylevar[imgdir_statusicon]/$forum[imageprefix]forum_$forum[statusicon].png" alt="" border="0" id="forum_statusicon_$forum[forumid]" />

 
<else />

  <img src="$forum[customimg]" alt="" border="0" id="forum_statusicon_$forum[forumid]" />
</if>
 
<else />
<img border="0" src="images/misc/iconforums/$forum[forumid].JPG" />
 
</if>


<td class="alt1Active" align="$stylevar[left]" id="f$forum[forumid]">
<div>
<img class="inlineimg" src="$stylevar[imgdir_statusicon]/forum_$forum[statusicon].png" alt="" border="0" hspace="4px" align="left" />

<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" width="175">$forum[lastpostinfo]</td>
        <td class="alt1" width="65">$forum[threadcount]</td>
        <td class="alt2" width="65">$forum[replycount]</td>
        <if condition="$vboptions['showmoderatorcolumn']">
        <td class="alt1" width="120"><div class="smallfont">$forum[moderators]&nbsp;</div></td>
        </if>
</tr>
$childforumbits


What can I change to get it to work like abdulbasitsaeed - with a separator between the category icon and it's title & description



Thanks a lot
Karin

Black Tiger 07-27-2009 12:06 AM

I've got a couple of questions because I like this mod very much, but I don't have and I don't want an icon for each and every forum.

For example, I've got an information and a news forum on which I don't want icons, they should remain standard.
Then I have some receiver forums and for every receiver brand I want an icon.
Then the admin/mod forums I don't want an icon.

Is there a way to make it so that icons can be put in on a per-forum base?

My second question is what the measures (height and width) of the icons should be. I can download gifs at many places, some a bit bigger, others a bit wider. Or does this get auto-adjusted?

adamskiii 07-29-2009 09:00 PM

how can I get the specific forum icons to show up in the spot where the status icons are? I dont want to replace the status icons with a new ones but to just have a different icon per forum in the spot of the status icon.

Thanks

TheLastSuperman 07-30-2009 01:32 AM

Quote:

Originally Posted by Black Tiger (Post 1856202)
I've got a couple of questions because I like this mod very much, but I don't have and I don't want an icon for each and every forum.

For example, I've got an information and a news forum on which I don't want icons, they should remain standard.
Then I have some receiver forums and for every receiver brand I want an icon.
Then the admin/mod forums I don't want an icon.

Is there a way to make it so that icons can be put in on a per-forum base?

My second question is what the measures (height and width) of the icons should be. I can download gifs at many places, some a bit bigger, others a bit wider. Or does this get auto-adjusted?

You can simply not upload the image for the forum... that might cause the infamous "Red X" missing symbol in IE so to solve it all just make a transparent .gif file 1 x 1 pixels and use it for all the ones you don't want to have a forum, easy work around IMO but Sofia might suggest something more useful.

You resizing is the best method so it does not require code (if you don't have an graphics program, google GIMP or if no interest in doing it and just resizing on occasion, google Irfanview) but you can add this to the code:
Code:

<a href="forumdisplay.php?$session[sessionurl]f=$forum[forumid]"><img border="0" src="images/misc/iconforums/$forum[forumid].gif" hspace="4px" align="left" width="50px" height="50px"/></a>
S-MAN

edit: Sofia, you can add this as a demo (even though Screenshot should be sufficient but if you like) www.tournamentgamingworld.com/online

TheLastSuperman 07-30-2009 01:35 AM

Quote:

Originally Posted by adamskiii (Post 1858122)
how can I get the specific forum icons to show up in the spot where the status icons are? I dont want to replace the status icons with a new ones but to just have a different icon per forum in the spot of the status icon.

Thanks

https://vborg.vbsupport.ru/showpost....3&postcount=18

Perhaps? I saw this somewhere else, it can be done and I believe it was in one of Sofia's post too...

Secret Warez 07-31-2009 02:02 AM

Good job.

skylab 07-31-2009 06:39 AM

Quote:

Originally Posted by Sofia (Post 1841446)
Hey Joe. :)
Try to upload images in the folder misc.


If it doesn't work, you can test this:

Only if you have 3.7.x and newer version (3.8.x)

You can have specific status icons by forum.
With no product, no template modification and very easy.







Installation


1. AdminCP


AdminCP >> Forums & Moderators >> Forum Manager >> Choose a forum

In this forum, find: Style Options
In Style Options,
we can modify Prefix for Forum Status Images.

This setting allows you to have a prefix by forum that will be used on status icons filenames.

You must enter here your forum ID.

How I can find my forum ID?
On the same page, at the top of this page, you've your forum name and your forum ID.

https://vborg.vbsupport.ru/



In this example, ID is "2", so you must enter "2" in Prefix for Forum Status Images.
Then, I use "_" so that it is more clean on your filenames.


2. Images

Now, you have to create your images for every forum where you want to have specific status icons.

Your images must have this name:
ID_forum_link.gif
ID_forum_new.gif
ID_forum_new_lock.gif
ID_forum_old.gif
ID_forum_old_lock.gif

In my example, images have this name:
2_forum_link.gif
2_forum_new.gif
2_forum_new_lock.gif
2_forum_old.gif
2_forum_old_lock.gif

Finally, upload images into "images/yourstyle/statusicon".

This doesn't seem to work for me. Did everything perfectly as well.

giu 08-18-2009 02:10 PM

thanks for this great work, it is great, I've tested on firefox, IE and chrome, with 3.8.4
thank you very much

Drache 09-11-2009 07:10 AM

Very nice mod thanks. Could you tell me how do I make the sub forum list look like those 2 in demo site too please? Thank you

mohassanuk 09-13-2009 12:31 PM

Where is the download, it says no files uploaded. I'd really like to download this mod.

Tibia4 09-27-2009 11:44 PM

very nice, I Installed it and I love it :D

Shotgunmaniac 09-29-2009 05:55 PM

Just got round to trying this, it's great.

However, i have 1 little problem, I have set the forumid, and 1image shows for every forum.

Javierogo 10-03-2009 10:14 PM

INSTALLED!
This code is perfect. Congrats!
:up:

mallick 10-21-2009 03:27 PM

very nice exactly wot i was looking for

vaguard 10-26-2009 08:49 PM

Thank you so much! I was really looking for this, no problems as directions were very clear and easy to follow. Again thank you.

RenatoMN 10-27-2009 06:02 AM

To fix:

1- division between icon/forum title & description
2- error "image not found" in IE browser
3- both fixes

1-
PHP Code:

<div style='float:left'><a href="forumdisplay.php?$session[sessionurl]f=$forum[forumid]"><img border="0" src="images/misc/iconforums/$forum[forumid].gif" hspace="4px" align="left" /></a></div

2-
PHP Code:

<if condition="in_array($forum[forumid],array('2','3','4'))"><a href="forumdisplay.php?$session[sessionurl]f=$forum[forumid]"><img border="0" src="images/misc/iconforums/$forum[forumid].gif" hspace="4px" align="left" /></a></if> 

3-
PHP Code:

<if condition="in_array($forum[forumid],array('2','3','4'))"><div style='float:left'><a href="forumdisplay.php?$session[sessionurl]f=$forum[forumid]"><img border="0" src="images/misc/iconforums/$forum[forumid].gif" hspace="4px" align="left" /></a></div></if> 

Note: if using fixes 2 and 3, replace ('2','3','4') with the forum IDs you want the image to be show. I hope you don't wonder "why the new uploaded image for forum 50 isn't be showing up?" -> ADD THE ID THERE! :P

*Untested code*


All times are GMT. The time now is 08:47 AM.

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.02029 seconds
  • Memory Usage 2,095KB
  • 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
  • (8)bbcode_code_printable
  • (16)bbcode_html_printable
  • (3)bbcode_php_printable
  • (12)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (2)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (40)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