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)

Endurer 04-18-2008 05:48 PM

Anyone tried this on vb 3.7?

Inferno Dragon 04-20-2008 11:22 AM

I tried to install it on my local machine running vb 3.7 RC3, but I think this mod is not compatible with the 3.7 version of VB, even I unable the mod from the vbulletin options menu, but the image fields didn't appear in the Edit Forum page (I think the author need to update the hook locations?)

carubmun 04-23-2008 07:43 AM

Quote:

Originally Posted by pxd (Post 1423971)
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.

I cant figure out how ?

soundbarrierpro 04-23-2008 09:40 PM

Don't use this. I installed it and tried running it. Didn't want it and tried to remove. Now I get sql error trying to removed. So I just disabled it.

KanmaiseR 04-24-2008 12:09 PM

thanks, installed :)

Ronak 04-25-2008 01:00 AM

does this work on vB 3.7 ?

merk_aus 04-26-2008 05:55 AM

Hi there,
I installed this but any time I go to add any icons I get this error:

Quote:

Database error in vBulletin 3.6.8:

Invalid SQL:
UPDATE forum SET
title_clean = 'Rugby League',
title = 'Rugby League',
description_clean = 'All NRL discussion here, From your favourite teams to the teams you most hate. Discuss all teams, results, injuries, why your teams the best, what makes your club what it is and in general debating about rugby league.',
description = 'All NRL discussion here, From your favourite teams to the teams you most hate. Discuss all teams, results, injuries, why your teams the best, what makes your club what it is and in general debating about rugby league.',
link = '',
displayorder = 1,
parentid = 5,
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),
options = IF(options & 131072, options - 131072, options),
options = IF(options & 262144, options - 262144, options),
options = IF(options & 524288, options - 524288, options),
options = IF(options & 1048576, options - 1048576, options),
styleid = 0,
password = '',
customimg = 'http://sports-force.net.au/images/domestic.png'
WHERE forumid = 11;

MySQL Error : Unknown column 'customimg' in 'field list'
Error Number : 1054
Date : Saturday, April 26th 2008 @ 04:54:39 PM
Script : http://forums.sports-force.net.au/ad....php?do=update
Referrer : http://forums.sports-force.net.au/ad...o=edit&f=11&s=
IP Address : 211.27.1.169
Username : Merk
Classname : vB_Database
This was brought up on about page 3 or something but the author has not replied as to how to fix it

kp^ 05-03-2008 11:32 PM

I'm able to replace (Enter the URL to the image you wish to use for this catagory icon) but not able to get (New Posts: Replacement Image for 'forum_new') changed some something else, as well with (No New Posts: Replacement Image for 'forum_old').

I'm using v3.7

Thanks

Danoxth 05-04-2008 12:05 AM

Installed and works fine, cheers!

AmbitiousOne 05-04-2008 04:54 AM

Does this work for 3.7?

kp^ 05-05-2008 06:00 PM

Maybe I'm doing things wrong here, but I have checked, and double checked and I still can't get it to work in 3.7.

I'm using the iPhorum skin as default with some tweaks.. So I changed to the default skin. Made the template changes by replacing the code. The plugin is already enabled, and imported.

I goto Forum manager, click on a sub section to edit it. Find Custom Status Icon Settings.
Set: New Posts: Replacement Image for 'forum_new' to: /community/iPhorum/customicons/cog.jpg

www.domain.com/community = my forum location

Hit save, and no change. Any ideas?

Hoffi 05-05-2008 06:04 PM

You don't need this for 3.7. It's now a build in feature.

User image_prefix now and create five pictures with the name prefixforum_old.gif and more.

Because of this new feature this Hack did not work.

kp^ 05-05-2008 07:06 PM

Darn, I sure feel like an idiot!

Thanks Hoffi :D

myown 05-15-2008 06:17 PM

still works on 3.7 and so simple and easy

Hams 05-22-2008 02:45 PM

Thanx alot

crkgb 05-23-2008 08:29 PM

Quote:

Originally Posted by Hoffi (Post 1509570)
You don't need this for 3.7. It's now a build in feature.

User image_prefix now and create five pictures with the name prefixforum_old.gif and more.

Because of this new feature this Hack did not work.

Thank you very much. Where can I do that?

Behzad Varedi 06-04-2008 09:06 PM

Hello,

I do what you said, but I have little problem here with forum home :D

https://vborg.vbsupport.ru/external/2008/06/56.jpg

any Idea?

Quote:

Originally Posted by mrpaint (Post 1278934)
Apply below template edits and you are done:

TEMPLATE: forumhome_forumbit_level1_post
Find:
HTML Code:

</tbody>
<if condition="$childforumbits">
<tbody>
        $childforumbits
</tbody>
</if>

Replace:
HTML Code:

<if condition="$childforumbits">
        <if condition="$vboptions[customimg_enabled] == 1">
                <tr>
                        <td class="alt1Active" rowspan="8" colspan="1" valign="middle">
                                <if condition="$forum[customimg] != ''">
                                        <img src="$forum[customimg]" alt="level1_post" border="0" id="forum_statusicon_$forum[forumid]" />
                                </if>
                        </td>
                </tr>
        </if>
        $childforumbits
</if>
</tbody>

TEMPLATE: forumhome_forumbit_level1_nopost
Find:
HTML Code:

</tbody>
<if condition="$childforumbits">
<tbody id="collapseobj_forumbit_$forumid" style="{$collapseobj_forumid}">
$childforumbits
</tbody>
</if>

Replace:
HTML Code:

<if condition="$childforumbits">
<div id="collapseobj_forumbit_$forumid" style="{$collapseobj_forumid}">
        <if condition="$vboptions[customimg_enabled] == 1">
                <tr>
                        <td class="alt1Active" rowspan="8" colspan="1" valign="middle">
                                <if condition="$forum[customimg] != ''">
                                        <img src="$forum[customimg]" alt="level1_post" border="0" id="forum_statusicon_$forum[forumid]" />
                                </if>
                        </td>
                </tr>
        </if>
        $childforumbits
</div>
</if>
</tbody>

Find:
HTML Code:

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

                <td class="tcat" colspan="<if condition="$vboptions[customimg_enabled] == 1"><if condition="$vboptions[showmoderatorcolumn]">7<else />6</if><else /><if condition="$vboptions[showmoderatorcolumn]">6<else />5</if></if>">
TEMPLATE: FORUMHOME
Find:
HTML Code:

        <tr align="center">
          <td class="thead">&nbsp;</td>
          <td class="thead" width="100%" align="$stylevar[left]">$vbphrase[forum]</td>
          <td class="thead" width="175">$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>

Replace:
HTML Code:

        <tr align="center">
          <if condition="$vboptions[customimg_enabled] == 1"><td class="thead">&nbsp;</td></if>
          <td class="thead">&nbsp;</td>
          <td class="thead" width="100%" align="$stylevar[left]">$vbphrase[forum]</td>
          <td class="thead" width="175">$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>

Find:
HTML Code:

                <td class="tcat" colspan="<if condition="$vboptions['showmoderatorcolumn']">6<else />5</if>"><phrase 1="$vboptions[bbtitle]">$vbphrase[welcome_to_the_x]</phrase></td>
Replace:
HTML Code:

                <td class="tcat" colspan="<if condition="$vboptions[customimg_enabled] == 1"><if condition="$vboptions[showmoderatorcolumn]">7<else />6</if><else /><if condition="$vboptions[showmoderatorcolumn]">6<else />5</if></if>"><phrase 1="$vboptions[bbtitle]">$vbphrase[welcome_to_the_x]</phrase></td>
Find:
HTML Code:

                <td class="alt1" colspan="<if condition="$vboptions['showmoderatorcolumn']">6<else />5</if>">
Replace:
HTML Code:

                <td class="alt1" colspan="<if condition="$vboptions[customimg_enabled] == 1"><if condition="$vboptions[showmoderatorcolumn]">7<else />6</if><else /><if condition="$vboptions[showmoderatorcolumn]">6<else />5</if></if>">
Find:
HTML Code:

                <td class="tfoot" align="center" colspan="<if condition="$vboptions['showmoderatorcolumn']">6<else />5</if>"><div class="smallfont"><strong>
Replace:
HTML Code:

                <td class="tfoot" align="center" colspan="<if condition="$vboptions[customimg_enabled] == 1"><if condition="$vboptions[showmoderatorcolumn]">7<else />6</if><else /><if condition="$vboptions[showmoderatorcolumn]">6<else />5</if></if>"><div class="smallfont"><strong>


jim6763nva 06-08-2008 04:34 PM

If anyone is interested, here's what I did with my site:
http://www.friendship-cafe.com/forum/

Btw: If anyone is looking for some awesome 3D Icons, I found this site: http://www.iconlook.com

NsT 06-10-2008 08:29 AM

This mod works fine on 3.7.0.

You can see example here: http://rchobby365.com/diendan/index.php?styleid=13

Behzad Varedi 06-19-2008 12:09 PM

my problem in post #217 fixed !
more information

maybe useful for other friends... :)

tafreeh 06-24-2008 06:15 AM

instead of the code you asked to find in
forum bit level 1 post

i have this type of code

Code:


<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>

so tell me how do i edit it...

thanx

hobbybox 06-27-2008 12:00 PM

Can this be used with subforms - not on the main page but if you click the forum name and you get to the page with the list of sobforums - this is where I want the icons...

Goodman_2020 06-28-2008 12:41 AM

Quote:

Originally Posted by jim6763nva (Post 1544227)
If anyone is interested, here's what I did with my site:
http://www.friendship-cafe.com/forum/

Btw: If anyone is looking for some awesome 3D Icons, I found this site: http://www.iconlook.com

how did you do to make it work? im under 3.7.2 and i hcan enable the hack, but nothing appears to set a path for each forum images.

thx

RobbieZ 09-22-2008 09:02 PM

I use thread prefix's so my code for forumhome postbit level 1 & 2 is different

What changes do I need

Thanks

Skierpetros 09-27-2008 01:23 PM

i am using Plasma skin from extremepixels i tried embed the code on the templates but it doesn't work so i give you the two templates to fix it if you can i will appreciate that...

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[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>


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>
                        <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


THANK YOU!

dicb 10-01-2008 12:42 AM

Quote:

Originally Posted by Hoffi (Post 1509570)
You don't need this for 3.7. It's now a build in feature.

User image_prefix now and create five pictures with the name prefixforum_old.gif and more.

Because of this new feature this Hack did not work.

This is correct. Just go into the forum admin and set up the forum image prefix. This is totally not needed with 3.7

nbaphenom 10-18-2008 04:30 PM

Not working in 3.7.3 help me i need this very bad .

Reece^B 11-26-2008 04:12 PM

This works in 3.7

Sticky1 11-27-2008 01:22 PM

Quote:

Originally Posted by dicb (Post 1634351)
This is correct. Just go into the forum admin and set up the forum image prefix. This is totally not needed with 3.7

I am running 3.7.2 I want to change the category Icon. Does this mean that the capibility is already here or do I still need to import this plug in? If already here, how do I find it.....believe me I have L@@Ked.

Thanks

darkinsun 01-19-2009 01:46 PM

Thanks for plugin.
For vbulletin 3.8 Template Edits:

Open Forum Home Templates > forumhome_forumbit_level1_post
Find:

HTML Code:

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

Replace with:


HTML Code:

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

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

<else />
        <img src="$stylevar[imgdir_statusicon]/$forum[imageprefix]forum_$forum[statusicon].gif" alt="" border="0" id="forum_statusicon_$forum[forumid]" />
</if>

Save.
Open up Forum Home Templates > forumhome_forumbit_level2_post
Find:


HTML Code:

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

HTML Code:

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

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

<else />
        <img src="$stylevar[imgdir_statusicon]/$forum[imageprefix]forum_$forum[statusicon].gif" alt="" border="0" id="forum_statusicon_$forum[forumid]" />
</if>

Done.

hoopsta 02-05-2009 06:25 PM

edit

hitmaninpa 04-30-2009 01:39 AM

thanks works great on 3.7

SnapOff Racing 05-03-2009 07:38 AM

Quote:

Originally Posted by darkinsun (Post 1717879)
Thanks for plugin.
For vbulletin 3.8 Template Edits:

Open Forum Home Templates > forumhome_forumbit_level1_post
Find:

HTML Code:

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

Replace with:


HTML Code:

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

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

<else />
        <img src="$stylevar[imgdir_statusicon]/$forum[imageprefix]forum_$forum[statusicon].gif" alt="" border="0" id="forum_statusicon_$forum[forumid]" />
</if>

Save.
Open up Forum Home Templates > forumhome_forumbit_level2_post
Find:


HTML Code:

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

HTML Code:

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

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

<else />
        <img src="$stylevar[imgdir_statusicon]/$forum[imageprefix]forum_$forum[statusicon].gif" alt="" border="0" id="forum_statusicon_$forum[forumid]" />
</if>

Done.

I installed the product and used ^^^ this guys template edits and everything working perfect on 3.8.2!! Thanks! :up:

dukegotgame 05-09-2009 05:33 AM

I can't figure out what I have done wrong. Any idea why the subform cat icon table and the forum description table would be merged into one? My homepage is not like this. Just this sub forum.
Attachment 98871


Notice how the left column is very small and the icon is not technically even in it.

Glenn379 06-18-2009 10:59 PM

Installed and it works great. Thanks!

The onlt thing I wanted to know is if anyone could make a mod for this so that one could have the custom status icons still show status. Right now you upload a new pic and thats it, I'd like to have new, old, locked, etc for individual forums.

Thank you!

jaderollie 09-17-2009 09:32 AM

Sweet Thanks

windrider07 04-03-2010 09:03 PM

I'm using the BlueDefault-fixed theme on my 3.8.5 forum and I made the template edits and enabled the mod but the icon still won't appear.

Any ideas?

One of the images I am using is this:

http://sparkonline.net/forums/images...iesta_logo.png

so I put in forums/images/icons/Fiesta_logo.png as the image url. Both links won't work though.

Grintaci 05-25-2010 12:54 AM

Quote:

Originally Posted by windrider07 (Post 2015321)
I'm using the BlueDefault-fixed theme on my 3.8.5 forum and I made the template edits and enabled the mod but the icon still won't appear.

Any ideas?

One of the images I am using is this:

http://sparkonline.net/forums/images...iesta_logo.png

so I put in forums/images/icons/Fiesta_logo.png as the image url. Both links won't work though.

Friend...

This Mod work perfect in vb 3.8.5 but, NOT in categories of forums

This work perfect in FORUMS, for me work 100%, he change the icon forum_old or forum_new etc...

This Mod change the icons of the forums, the images ex. forum_old.gif or forum_new.gif not in categories but in forums ok?


Thanks,

Good Regards :up:

luigi7 10-21-2010 05:46 PM

thanks dude!!!


All times are GMT. The time now is 01:34 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.02697 seconds
  • Memory Usage 1,924KB
  • 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
  • (3)bbcode_code_printable
  • (22)bbcode_html_printable
  • (9)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
  • (39)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