vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 4.x Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=245)
-   -   Forum Home Enhancements - Forum Category Icons (Advanced) (https://vborg.vbsupport.ru/showthread.php?t=244351)

Disco_Stu 06-04-2013 01:13 AM

Quote:

Originally Posted by blackie58 (Post 2420828)
Hi All

I,m new to this so be gentle
I have installed it & edited the areas required but i get no icons to choose when selecting.
I have a custom style Animated arena
I have made the folder under images but no images show in the dropdown box
Can somebody help please

Did you specify the folder name in the Options>Forum Category Icon settings?

Also, for some reason it would not list my images if they were any type except png. It would not accept gif or jpeg . What type are your images? Try one as png

Disco_Stu 06-04-2013 01:14 AM

Quote:

Originally Posted by 1005467401 (Post 2425664)
The sub forum icon doesnt change.......

What do you mean?

BGObsession 06-09-2013 09:19 PM

Nice mod brother

Yucar 06-11-2013 11:24 AM

yo dudes i just installed Themeforest metro theme is there a way to use that plug in with that theme ?

betadoor 07-05-2013 11:45 PM

Forum Category Icons not Work on Subforums :(

Disco_Stu 07-06-2013 03:01 AM

Quote:

Originally Posted by betadoor (Post 2432307)
Forum Category Icons not Work on Subforums :(

This mod does work for sub forums. See my posts #667 to #677

New Joe 07-06-2013 08:01 AM

Quote:

Originally Posted by betadoor (Post 2432307)
Forum Category Icons not Work on Subforums :(

Yes it's a bug which hasn't been fixed.
If you edit some coding you can get it to work.

e24h 07-06-2013 09:19 AM

Nice mod brother

Skyrider 08-02-2013 09:19 AM

Quote:

Originally Posted by Disco_Stu (Post 2352143)
Here are my changes. I suggest you make a copy of your original code first as I am not responsible for any changes to your forums you make.

To display the sub forum icons:

Styles & Templates>Search In Templates>forumhome_subforums

Look for this line of code:

Code:

<a href="{vb:link forum, {vb:raw row}}">{vb:raw row.title}</a>{vb:raw row.comma}
and replace it (comment it out - I don't like to hard delete) with this code:

Code:

<br>
<div style="width:65px;">
<center><a href="{vb:link forum, {vb:raw row}}"><img src="images/{vb:raw vboptions.forumiconimg_folder}/{vb:raw row.forumiconimg}" /><br>{vb:raw row.title}</a></center>
</div>

That's all there is to it. Note that I left off the comma between subforums. If you want that then include "{vb:raw row.comma}" after "</a>". Also I included a <div> to control the width of the icon display and a <center> to center the title below the icon.

I'm afraid this doesn't work because of the plugin "VSa - Sub-Forum Manager" is replacing the sub-category codes.

VSA code being:

Code:

<li class="subforum">
                                <vb:if condition="$canpost">
                                        <img class="inlineimg" src="{vb:stylevar imgdir_statusicon}/{vb:raw forum.imageprefix}subforum_{vb:raw forum.statusicon}-48.png" alt="" border="0" id="forum_statusicon_{vb:raw forum.forumid}" />
                                <vb:else />
                                        <img class="inlineimg" src="{vb:stylevar imgdir_statusicon}/subforum_{vb:raw forum.statusicon}.png" alt="" border="0" id="forum_statusicon_{vb:raw forum.forumid}" />
                                </vb:if>
                                <a href="{vb:link forum, {vb:raw forum}}">{vb:raw forum.title}</a>
                </li>


Spika 08-02-2013 09:26 AM

Installed and working!

Great Job!


All times are GMT. The time now is 12:21 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.01857 seconds
  • Memory Usage 1,745KB
  • 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
  • (5)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (2)pagenav_pagelinkrel
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)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