vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.6 Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=194)
-   -   Forum Home Enhancements - Catagory Icons (https://vborg.vbsupport.ru/showthread.php?t=127426)

ABeautifulBrown 08-24-2007 12:06 PM

Okay... a couple of people PM'd me about how I put the images by the forum name... this is what I did...

this is my forumhome_forumbit_level1_post

Code:

<tbody>
        <tr align="center">
                <td class="alt1Active" colspan="2" align="$stylevar[left]" id="f$forum[forumid]">
               
                <table cellpadding="0" cellspacing="0" border="0">
                <tr>
                        <td><img src="$stylevar[imgdir_statusicon]/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>
<if condition="$vboptions[customimg_enabled] == 1">
        <if condition="$forum[customimg] == ''">
               

<else />
                <img src="$forum[customimg]" alt="" border="5" id="forum_statusicon_$forum[forumid]" align="left" style="border-color: #ffffff;" />
</if>

<else />
</if>
                        <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" 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>
</tbody>
<if condition="$childforumbits">
<tbody>
        $childforumbits
</tbody>
</if>

and here's my forumhome_forumbit_level2_post

Code:

<tr align="center">
        <td class="alt2"><img src="$stylevar[imgdir_statusicon]/forum_$forum[statusicon].gif" alt="" border="0" id="forum_statusicon_$forum[forumid]" /></td>
        <td class="alt1Active" align="$stylevar[left]" id="f$forum[forumid]">

<if condition="$vboptions[customimg_enabled] == 1">
        <if condition="$forum[customimg] == ''">
               

<else />
                <img src="$forum[customimg]" alt="" border="5" id="forum_statusicon_$forum[forumid]" align="left" style="border-color: #ffffff;" />
</if>

<else />
</if>
                <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" 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

:)

roymogg 08-27-2007 01:09 PM

This is a well thought through mod - went in like a charm

many thanks

Roy:)

rayw 08-30-2007 12:50 AM

Just installed and working great. No problems at all.

Thanks! :)

needaltuna 09-19-2007 01:39 PM

Thanks for the mod. It's just what I'm looking for.

A couple of questions. Does it work in 3.6.8? And I want to replace all the category icons on the main page of my forum with just the one icon rather than a number of different icons, will your mod enable me to do that?

Thanks again.

needaltuna 09-20-2007 03:49 AM

In my eagerness to get my board looking just right, I decided to take a chance and install the product. It's working beautifully. So, yes, the product works with vBulletin 3.6.8. A big thank you to the designer for his fine work.

By the way, this is the first product I've installed on my board.

needaltuna 09-25-2007 07:29 AM

I no longer need the Forum Contains New Posts and the Forum Contains Old Posts icons sitting at the bottom of my message board. Does anybody know what code I have to edit to get rid of them?

dirtycrow 10-01-2007 05:55 AM

very nice, anyone know where i can get a bunch of good icons? like for sports, politics, hollywood, etc etc?

trackpads 10-01-2007 11:06 AM

Great hack, still think this should be standard on VB!

carubmun 10-02-2007 01:03 AM

I installed it, but am having trouble having the custom icons show up in the forums that are subforums.
Is that something not possible?

M4r5h4ll 10-03-2007 05:38 AM

it works with 3.6.8 ?

trackpads 10-03-2007 10:05 AM

It does on mine. I have 3.6.8

-Jason

directprint 10-15-2007 09:45 PM

Very nice mod, easy to install as well. Well Done.:)

carlosacgj 10-19-2007 06:20 AM

install it on vBulletin, Versi?n 3.5.4 and work fine :)
see www.denunciando.com

Reece^B 10-21-2007 09:58 PM

Never mind :)

nocte 10-24-2007 05:27 PM

I'd like to use this hack, but i need both an image for new threads and one for no new threads on a per forum basis.

I'd sponsor the programming if anyone could do this :)

layxtuzen 10-25-2007 07:28 AM

too bad it doesnt work on 3.6.8 :(

CMGU 11-01-2007 08:49 PM

hey doesn?t work for 3.6.8 :( some body help me?

yoyoyoyo 11-01-2007 08:58 PM

it works fine in 3.6.8 for me - what exactly is the problem?

doogie1775 11-24-2007 06:45 AM

Quote:

Originally Posted by ABeautifulBrown (Post 1324715)
Okay... a couple of people PM'd me about how I put the images by the forum name... this is what I did...

this is my forumhome_forumbit_level1_post

Code:

<tbody>
        <tr align="center">
                <td class="alt1Active" colspan="2" align="$stylevar[left]" id="f$forum[forumid]">
               
                <table cellpadding="0" cellspacing="0" border="0">
                <tr>
                        <td><img src="$stylevar[imgdir_statusicon]/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>
<if condition="$vboptions[customimg_enabled] == 1">
        <if condition="$forum[customimg] == ''">
               

<else />
                <img src="$forum[customimg]" alt="" border="5" id="forum_statusicon_$forum[forumid]" align="left" style="border-color: #ffffff;" />
</if>

<else />
</if>
                        <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" 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>
</tbody>
<if condition="$childforumbits">
<tbody>
        $childforumbits
</tbody>
</if>

and here's my forumhome_forumbit_level2_post

Code:

<tr align="center">
        <td class="alt2"><img src="$stylevar[imgdir_statusicon]/forum_$forum[statusicon].gif" alt="" border="0" id="forum_statusicon_$forum[forumid]" /></td>
        <td class="alt1Active" align="$stylevar[left]" id="f$forum[forumid]">

<if condition="$vboptions[customimg_enabled] == 1">
        <if condition="$forum[customimg] == ''">
               

<else />
                <img src="$forum[customimg]" alt="" border="5" id="forum_statusicon_$forum[forumid]" align="left" style="border-color: #ffffff;" />
</if>

<else />
</if>
                <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" 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

:)

Thanks for posting this, worked great for me. However, I would like a small space between my thread icon and the title (right now the image is actually touching my title). Any ideas how to get a small gap in there?

blastup 11-25-2007 09:12 PM

yea could it be updated to vbulletin 3.6.8 also... could you add a link on the image.. so when clicked on the image it would go to a certain site? let me know asap thanks

MediaHound 11-27-2007 08:36 PM

Installed, works great, thanks!

malluroses 12-01-2007 03:37 PM

Hai can anyone tell me what is going on with my styles

everytime i upload a style it comes up like this


https://vborg.vbsupport.ru/external/2007/12/30.jpg

i dont know wt to do can someone please help me with this


this is happend after installing this category icon mod please help

it happens every time i upload it

nyunyu 12-14-2007 05:25 PM

found out that the option is slightly different from the snapshot.
running on 3.6.8 PL2, working great.Thanks

iulianh 12-27-2007 08:25 AM

Thanks, it works fine !

WarDoGG 01-05-2008 03:36 PM

How can i have the catagory icons display the alternate text of the forum name ?

That would be really great for SEO .

angeldevil 01-06-2008 03:51 AM

i cant see: "Put the url of the image to be your category icon" in my forum manager.
(i dont see this table, put link images)
Plz help me.
Thx!

Hoffi 01-07-2008 04:49 PM

Just wait for 3.7 - in the Beta is this implemented.

jschvili 01-11-2008 01:47 PM

So simple and still so brilliant! I have one wish though. Is it possible to make the pictures link to the same as the forum name? Web visitors is use to click on pictures.

Thanks again! You make the world spin.

This is how I used the hack:
http://www.elproffset.se

garala 01-13-2008 09:12 PM

Installed!

How does it look? Admin-Lounge :)

admin0 01-14-2008 12:01 AM

This worked great in 3.6.x
I upgraded to 3.7 and its not working anymore.
Waiting for this mod to hit 3.7 :)

pxd 01-18-2008 07:46 PM

In 3.7 you can set up a custom Prefix for Forum Status Images which basically a native way to choose individual forum category icons.

goranbaxy 01-19-2008 12:56 PM

Is there an option to display different icons for different user groups?

GouroB 01-19-2008 03:46 PM

I get this error..can u tell me whats wrong?
The image box gets messed up.. [ btw i only have icon set for only that category which shows the icon..but others shud show the default one right? and not the code error? ]..

http://img217.imageshack.us/img217/9666/87200800tj2.jpg

GouroB 01-19-2008 03:47 PM

The globe icon is a default icon in my board.

GouroB 01-23-2008 10:58 PM

I've fixed it..thanks anyway.

Audentio 02-02-2008 12:43 AM

Adrian! 3.7 version ftw!

John West 02-04-2008 02:00 AM

removed please delet

heeroyun 02-12-2008 12:42 PM

Quote:

Originally Posted by compact123 (Post 1272807)

Can anyone help me to do this T_T

Budweiser 03-08-2008 03:57 AM

I want my icons in a different location. Is this possible?

AndrewC1971 04-06-2008 09:55 PM

Database error in vBulletin 3.6.8:

Invalid SQL:
UPDATE forum SET
title_clean = 'Celtic',
title = 'Celtic',
description_clean = 'Arguably the best football side in the World, Well they are to me\r\nWhether yer a Bhoy a Rangers fan or whoever discuss anything relevant to Celtic in here. Share you thoughts on all matters Celtic',
description = 'Arguably the best football side in the World, Well they are to me\r\nWhether yer a Bhoy a Rangers fan or whoever discuss anything relevant to Celtic in here. Share you thoughts on all matters Celtic',
link = '',
displayorder = 2,
parentid = -1,
daysprune = -1,
defaultsortfield = 'lastpost',
defaultsortorder = 'desc',
showprivate = 0,
newpostemail = '',
newthreademail = '',
### Bitfield: forum.options ###
options = IF(options & 8, options - 8, options),
options = IF(options & 16, options - 16, options),
options = IF(options & 32, options - 32, options),
options = IF(options & 32768, options - 32768, options),
options = IF(options & 8192, options, options + 8192),
options = IF(options & 4, options, options + 4),
options = IF(options & 1, options, options + 1),
options = IF(options & 2, options, options + 2),
options = IF(options & 16384, options, options + 16384),
options = IF(options & 256, options, options + 256),
options = IF(options & 64, options, options + 64),
options = IF(options & 128, options, options + 128),
options = IF(options & 512, options, options + 512),
options = IF(options & 1024, options, options + 1024),
options = IF(options & 2048, options, options + 2048),
options = IF(options & 4096, options, options + 4096),
options = IF(options & 65536, options, options + 65536),
styleid = 0,
password = '',
customimg = '\"/images/statusicon/celtic.gif\"'
WHERE forumid = 3;

MySQL Error : Unknown column 'customimg' in 'field list'
Error Number : 1054
Date : Sunday, April 6th 2008 @ 11:53:12 PM
Script : http://www.ukfootballone.co.uk/Forum....php?do=update
Referrer : http://www.ukfootballone.co.uk/Forum...do=edit&f=3&s=
IP Address :
Username : anbhoy
Classname : vB_Database


All times are GMT. The time now is 03:25 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.01434 seconds
  • Memory Usage 1,848KB
  • 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
  • (4)bbcode_code_printable
  • (2)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (3)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