vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   Modification Graveyard (https://vborg.vbsupport.ru/forumdisplay.php?f=224)
-   -   Forum Home Enhancements - Forum Icons (https://vborg.vbsupport.ru/showthread.php?t=239274)

ry215 03-27-2010 10:00 PM

Forum Icons
 
Features: replacement status icon of each box (see attached images)
Install:
- Download & import .xml file.

- If you set the Replace Templates is No, then you do the following steps:

-- Step 1: Open template: forumhome_forumbit_level1_post, find:

HTML Code:

<img src="{vb:stylevar imgdir_statusicon}/{vb:raw forum.imageprefix}forum_{vb:raw forum.statusicon}-48.png" class="forumicon" id="forum_statusicon_{vb:raw forum.forumid}" alt="" />
replace with:

HTML Code:

<vb:if condition="$forum['forumicon']"><img src="{vb:raw forum.forumicon}" class="forumicon" id="forumicon_{vb:raw forum.forumid}" alt="" /><vb:else /><img src="{vb:stylevar imgdir_statusicon}/{vb:raw forum.imageprefix}forum_{vb:raw forum.statusicon}-48.png" class="forumicon" id="forum_statusicon_{vb:raw forum.forumid}" alt="" /></vb:if>
Save (ok)

-- Step 2: Open template: forumhome_forumbit_level2_post, find:

HTML Code:

<img src="{vb:stylevar imgdir_statusicon}/{vb:raw forum.imageprefix}forum_{vb:raw forum.statusicon}-48.png" class="forumicon" id="forum_statusicon_{vb:raw forum.forumid}" alt="" />
replace with:

HTML Code:

<vb:if condition="$forum['forumicon']"><img src="{vb:raw forum.forumicon}" class="forumicon" id="forumicon_{vb:raw forum.forumid}" alt="" /><vb:else /><img src="{vb:stylevar imgdir_statusicon}/{vb:raw forum.imageprefix}forum_{vb:raw forum.statusicon}-48.png" class="forumicon" id="forum_statusicon_{vb:raw forum.forumid}" alt="" /></vb:if>
Save >> Done

Have fun! :)



Pls Mark Install My Mod
I have strength for code new mod :D

tom001 03-28-2010 03:03 PM

I need This for 3.8 anybody got?

ry215 03-28-2010 03:09 PM

3.8 have many mod the same it man

tom001 03-28-2010 03:10 PM

ok,please post it now :) Thanks so much

tafreeh 03-28-2010 03:18 PM

I think we already have this option by default, correct me if i m wrong.

betts02 03-28-2010 06:57 PM

After trying many ways and it not working, this mod worked a treat

many thanks

betts02 03-28-2010 07:08 PM

would i just replce the 48 with say 100 to show a bigger image ?

raja811 03-28-2010 07:16 PM

thank you installed

esperone 03-28-2010 07:42 PM

Quote:

Originally Posted by tafreeh (Post 2011670)
I think we already have this option by default, correct me if i m wrong.

yes. this is default in vb4.

Under Forum Manager, choose the forum you want to change the icon on and click edit.

Scroll down to Prefix for Forum Status Images .

Enter a desired prefix for use with your forum icon.
I.E. If you were to enter forum1_ as the prefix then you would need to upload the forum icons as:

/statusicon/forum1_forum_new.gif
/statusicon/forum1_forum_old.gif

ry215 03-29-2010 01:18 AM

Quote:

Originally Posted by betts02 (Post 2011814)
would i just replce the 48 with say 100 to show a bigger image ?

Styles & Templates >> StyleVars >> search for 'forumicon_size' then edit 48 to 100

ry215 03-29-2010 01:24 AM

Quote:

Originally Posted by esperone (Post 2011834)
yes. this is default in vb4.

Under Forum Manager, choose the forum you want to change the icon on and click edit.

Scroll down to Prefix for Forum Status Images .

Enter a desired prefix for use with your forum icon.
I.E. If you were to enter forum1_ as the prefix then you would need to upload the forum icons as:

/statusicon/forum1_forum_new.gif
/statusicon/forum1_forum_old.gif

That's right. But status images are only in one extension, it's inconvenient.

namchuoi 03-29-2010 07:36 AM

thank bro :D install

steve1966 03-30-2010 08:22 AM

Brilliant thank you

YankForum 04-05-2010 07:30 PM

thnx , installed :)

Winter Sonata 04-06-2010 02:42 AM

installed and nominated ;)

arena 04-06-2010 09:37 PM

installed

Webbstre 04-07-2010 03:17 AM

This looks great! One question though: Is there any change in the image you choose depending on whether or not there are new posts in the forum?

ry215 04-07-2010 05:25 AM

no bro, it only add images to category ^^

ywwz 04-07-2010 05:47 AM

Quote:

Originally Posted by ry215 (Post 2011993)
That's right. But status images are only in one extension, it's inconvenient.

It's very useful already. Good mod.

svandanam 04-18-2010 08:11 PM

Have been looking for this for such a long time...thank you so much for the mod !!

svandanam 04-19-2010 02:23 AM

Quote:

Originally Posted by ry215 (Post 2017257)
no bro, it only add images to category ^^

can we have category images with opacity for old threads ??

ry215 04-29-2010 03:15 PM

no bro, only one images

Sworm 05-02-2010 06:58 AM

Not there's a mod that don't replace the default forum icons but that add on the right the custom icons?

Xencored 05-06-2010 01:21 PM

Thanks awesome stuff mate :)

ShawneyJ 05-10-2010 10:50 AM

Quote:

Originally Posted by ry215 (Post 2011991)
Styles & Templates >> StyleVars >> search for 'forumicon_size' then edit 48 to 100

the forums kind of goes out of wack if i change from 48 to 32. using FF. like the icon is no longer centered.

AcidX 05-10-2010 12:07 PM

Any way it can determine the icon size by itself? I don't think we needed to change the image size in the previous versions... :(

ShawneyJ 05-10-2010 12:33 PM

ahhh my icons are blurred because of the size is set to big, tried everything. set them to 32 and tried setting to 32 in the code. no matter what i set the icons size to. they will not go any smaller.
any idea's
any other mods of this that anyone knows of for vb4?

AcidX 05-12-2010 06:40 AM

Fixed it with some custom css in my forum :)

vilhiem 05-15-2010 05:57 AM

ok ... I did everything here.

I also uploaded my new .gif file to the icons directory.

Then I typed in the .gif name on the Forums & Moderators controls ...

But I am getting an "x" where the icon should be ...???

Arae 05-22-2010 03:08 AM

<i>- If you set the Replace Templates is No, then you do the following steps:

-- Step 1: Open template: forumhome_forumbit_level1_post, find:</i>

^ Where I could find this?
I can't see anything like this.
I'm using 4.0.3

Please help, I already downloaded the mod.

ry215 06-11-2010 07:44 AM

will update new version

ry215 06-17-2010 05:21 PM

still update more...

ShawneyJ 08-02-2010 05:44 AM

Quote:

Originally Posted by ry215 (Post 2055119)
still update more...


you mean your still updating? its been awhile ;)

edit: actually i just edited the forum icon size in style vars>>forumicon_size to 38
and my icons look perfect, nice and clear.
thanks.

Magnumutz 08-02-2010 10:44 AM

Is it possible to have an alternative icon for these forum icons, when the forum is already read?

benzz0 08-26-2010 11:57 AM

Cannot get this to work in 4.0.6 :(

I replaced those two forum home templates and uploaded the XML to merge into an existing style and all I get are red X's for the status icons now...

Any ideas?

neto614 09-03-2010 04:26 PM

not doing anything on 4.0.6 ..

please advise on how to change forum icons not clear .

thx

COL NIL SATIS 09-07-2010 05:21 PM

tagged

COL NIL SATIS 09-07-2010 06:08 PM

rated 5..installed and working a1 too ..thanks

pcXtremists 09-12-2010 12:43 PM

works perfectly. Thanks:)

owning_y0u 10-08-2010 12:00 AM

Installed and working on 4.0.7, Thnxs


All times are GMT. The time now is 07:14 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.01326 seconds
  • Memory Usage 1,791KB
  • 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_html_printable
  • (7)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (1)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (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