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)

DeadApe 02-15-2013 08:06 PM

Hey I've noticed that the mod doesn't recognize .png files? Is there something I've done wrong?

DeadApe 02-16-2013 06:09 PM

NVM, it just doesn't recognize files with a space in the filename.

danycutu1 02-22-2013 07:40 AM

is there anyone knowing how to use this mod and Elegant Forum description on mouseover [as Xenforo] - vBSocial.com in the same time? i have your mod installed for a while and works like a charm on vb 4.2. i asked in the other thread but no real help. maybe someone here is able to help and give some nice and clear advise. PS: i use this mod as replacing the old forum icons...

evilanimation 02-26-2013 12:42 AM

So i have the mod working for my sub forums but i can not add an icon to the main forum? Am I doing something incorrect? any help would be appreciated.

https://vborg.vbsupport.ru/external/2013/02/6.png

evilanimation 02-26-2013 12:47 AM

So when I created a new forum it asked me but if i try to edit it the option is not available as it is when i edit the sub forums.

onespot 03-01-2013 12:58 AM

Hey All,
So I wanted to use this but when you had a Category > Category > Subforum layout the images would not properly showup (actually they wouldn't at all).

There was a post on "how to fix it" but then my problem was that the images were not correctly displaying.

I spent 3-4 hours fixing it (should have been easy but hey im not coder) so if anyone needs - just update your forumhome_forumbit_level1_post template and have it look like this. Should work for default template - I had to go in and copy the code from his XML to figure it out.

It would be nice if you could add this in so subforums would properly work out of the box.

Code:

<li id="forum{vb:raw forum.forumid}" class="forumbit_post {vb:raw forum.statusicon} L1">
<vb:if condition="THIS_SCRIPT != 'forumdisplay'">
                <div class="forumhead L1">
                        <h2>
                                <span class="forumtitle">&nbsp;</span>
                                <span class="forumthreadpost">{vb:rawphrase threads_posts}&nbsp;</span>
                                <span class="forumlastpost">{vb:rawphrase last_post}</span>
                        </h2>
                </div>
</vb:if>
<div class="forumbit_post L2">
        <div class="forumrow">
                <div class="foruminfo">
<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="" />
                        <div class="forumdata">
                                <div class="datacontainer">
                                        <vb:if condition="$vbulletin->options['forumiconimg_enabled'] && $forum['forumiconimg'] && $vbulletin->options['forumiconimg_location'] != '1'">
                                                <vb:if condition="$vbulletin->options['forumiconimg_location'] == '0'">
                                                <!-- category icon after status icon -->
                                                <img src="images/{vb:raw vboptions.forumiconimg_folder}/{vb:raw forum.forumiconimg}" style="float:left; display:inline-block;" alt="" border="0" />
                                                <vb:else />
                                                <!-- replace status icon with category icon -->
                                                <img src="images/{vb:raw vboptions.forumiconimg_folder}/{vb:raw forum.forumiconimg}" style="float:left; display:inline-block; top:{vb:raw vboptions.forumiconimg_top} {vb:raw vboptions.forumiconimg_size}" class="forumicon" id="forum_statusicon_{vb:raw forum.forumid}" alt="{vb:raw forum.title}" <vb:if condition="$vbulletin->options['forumiconimg_status'] && $forum['statusicon'] == 'old'">style="opacity:0.5; -moz-opacity:.50; -ms-filter:?alpha(opacity=50)?; filter:alpha(opacity=50);"</vb:if> />
                                                </vb:if>
                                        <vb:else />
                                                <!-- do nothing -->
                                                <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>
                                        <div class="titleline">
                                                <a href="{vb:link forum, {vb:raw forum}}" style="font-size:13px; font-weight:bold;">{vb:raw forum.title}</a>
                                                <vb:if condition="$show['browsers']"><span class="viewing">({vb:raw forum.browsers} {vb:rawphrase viewing})</span></vb:if>
                                        </div>
                                        <vb:if condition="$show['forumdescription']"><p>{vb:raw forum.description}</p></vb:if>
                                        <vb:if condition="$vboptions['showmoderatorcolumn'] AND $forum['moderators']">
                                                <div class="moderators">
                                                        <h4>{vb:rawphrase moderators}:</h4>
                                                        <ol class="commalist">
                                                                <vb:each from="forum.moderators" value="row">
                                                                        <li><a class="username" href="{vb:link member, {vb:raw row}}">{vb:raw row.musername}</a>{vb:raw row.comma}</li>
                                                                </vb:each>
                                                        </ol>
                                                </div>
                                        </vb:if>
                                        <vb:if condition="$show['subforums']">
                                                {vb:raw forum.subforums}
                                        </vb:if>
                                </div>
                        </div>
                </div>
                <vb:if condition="$forum['statusicon'] != 'link'">
                        <h4 class="nocss_label">{vb:rawphrase forum_actions}:</h4>
                        <ul class="forumactionlinks td">
                        <vb:if condition="$forum['allowposting']">
                                <vb:if condition="$show['externalrss']">
                                        <li class="forumactionlink rsslink"><a href="external.php?{vb:raw session.sessionurl}type=RSS2&amp;forumids={vb:raw forum.forumid}" title="{vb:rawphrase view_forum_rss_feed}">{vb:rawphrase view_forum_rss_feed}</a></li>
                                </vb:if>
                                <vb:if condition="$show['member']">
                                        <vb:if condition="$show['forumsubscription']">
                                                <li class="forumactionlink unsubslink"> <a href="{vb:raw $vboptions.vbforum_url}{vb:if "$vboptions['vbforum_url']", '/', ''}subscription.php?{vb:raw session.sessionurl}do=removesubscription&amp;f={vb:raw forum.forumid}" title="{vb:rawphrase unsubscribe_from_this_forum}">{vb:rawphrase unsubscribe_from_this_forum}</a></li>
                                        <vb:else />
                                                <li class="forumactionlink subslink"> <a href="{vb:raw $vboptions.vbforum_url}{vb:if "$vboptions['vbforum_url']", '/', ''}subscription.php?{vb:raw session.sessionurl}do=addsubscription&amp;f={vb:raw forum.forumid}" title="{vb:rawphrase subscribe_to_this_forum}">{vb:rawphrase subscribe_to_this_forum}</a></li>
                                        </vb:if>
                                </vb:if>
                        </vb:if>
                        </ul>
                        <h4 class="nocss_label">{vb:rawphrase forum_statistics}:</h4>
                        <ul class="forumstats_2 td">
                                <li>{vb:rawphrase threads}: {vb:raw forum.threadcount}</li>
                                <li>{vb:rawphrase posts}: {vb:raw forum.replycount}</li>
                        </ul>
                        <div class="forumlastpost td">
                                <h4 class="lastpostlabel">{vb:rawphrase last_post}:</h4>
                                <div>
                                        {vb:raw forum.lastpostinfo}
                                </div>
                        </div>
                </vb:if>
        </div>
        <vb:if condition="$childforumbits">
                <ol id="childforum_for_{vb:raw forum.forumid}" class="childsubforum">
                        {vb:raw childforumbits}
                </ol>
        </vb:if>
</div>
</li>


EliasAlucard 03-07-2013 11:29 AM

Marked as installed, nominated and voted five damn stars. This should be core functionality of vBulletin. The current system with multiple images in statusicon, is completely retarded. Excellent plugin(!), Dark_Wizard.

Jpolola 03-09-2013 09:36 AM

Thank you, No issue at vb4.2.0 PL3 great mod!

Lacryma 03-12-2013 08:00 PM

Hello, i have this errors when i edit the forum in admincp

PHP Code:

Warningasort() expects parameter 1 to be array, null given in [path]/admincp/forum.php(248) : eval()'d code on line 20 

PHP Code:

WarningInvalid argument supplied for foreach() in [path]/admincp/forum.php(248) : eval()'d code on line 21 


DeadApe 03-15-2013 09:29 PM

Is there anyway to have a different category image folder for each style?

I don't know much about coding but I feel like its possible to do this. The css code points to the folder you've typed in (in Forum category Settings.) So you should be able to replace that line in the postbit template so that instead of pointing there, it points to a different folder. This way you can edit the postbit template on each one of your styles.

Can anybody help me out with this? It would be extremely useful.


All times are GMT. The time now is 06:22 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.02533 seconds
  • Memory Usage 1,780KB
  • 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
  • (1)bbcode_code_printable
  • (2)bbcode_php_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (3)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