vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 4.x Template Modifications (https://vborg.vbsupport.ru/forumdisplay.php?f=246)
-   -   Add-On Releases - advanced Forum Icons in vb4 by yaghoub (https://vborg.vbsupport.ru/showthread.php?t=229957)

yaghoub 12-10-2009 10:00 PM

advanced Forum Icons in vb4 by yaghoub
 
1 Attachment(s)
hello.
for show icone in forum home very nice you must do this action very exact

1.search in templat for forumhome_forumbit_level2_post

2. in forumhome_forumbit_level2_post you must search for this code <div class="forumdata">

3.replice <div class="forumdata"> white this code

a . for english forum replice white this code

Code:

      <!-- yahoomobil.ir start icone -->
<vb:if condition="$forum['iconlocation']"><img src="images/iconforum/{vb:raw forum.forumid}.png" alt="{vb:raw forum.title}" style="float: left; margin-right: 4px;" />
<vb:elseif condition="$forum['iconlocation']" /><p class="forumdescription"><img src="{vb:raw forum.iconlocation}" alt="{vb:raw forum.title}" /></p>
</vb:if>
<!-- yahoomobil.ir end icone -->


b.for persian and arabic forum replice white this cod



Code:

<!-- yahoomobil.ir start icone -->
<vb:if condition="$forum['iconlocation']"><img src="images/yahoomobiliconforum/{vb:raw forum.forumid}.png" alt="{vb:raw forum.title}" style="float: right; margin-left: 4px;" />
<vb:elseif condition="$forum['iconlocation']" /><p class="forumdescription"><img src="{vb:raw forum.iconlocation}" alt="{vb:raw forum.title}" /></p>
</vb:if>
<!-- yahoomobil.ir end icone -->


4. you must creat in images folder new folder an rename it yahoomobiliconforum


5.in this folder you must put your icone white png format white the id of forum

images/yahoomobiliconforum

for find yor id forum go to Forums & Moderators and Forum Manager and click in evry forum and in the top of the page you see id forum the picter name of evry forum must be name of id forum for example if id forum is 1 the pictuer name of it must be 1

Cableguy69 12-11-2009 09:34 AM

<a href="https://vborg.vbsupport.ru/showthread.php?t=229529" target="_blank">https://vborg.vbsupport.ru/showthread.php?t=229529</a>

Same plugin but easier to use.

mbc100 12-11-2009 08:46 PM

thanks

Nadeemjp 12-11-2009 10:41 PM

it would be great if u can provide a decent set of icons as well cause those r hard to find

yaghoub 12-12-2009 12:22 AM

Quote:

Originally Posted by Cableguy69 (Post 1928742)


The codes are not equal and differences are small but the result is the same here and of course I explained exactly what you can do

SİMAR 12-21-2009 05:15 PM

thanks

Prorockz 12-23-2009 05:02 AM

not working for me . im useing vb4 gold version after replace code it show like this . http://www.easyimageload.com/images/570_test2.jpg

majsm 12-23-2009 07:35 PM

I have same issue as prorockz
Code:

<li id="forum{vb:raw forum.forumid}" class="forumbit_post L2">
        <div class="forumrow table">
                <div class="foruminfo td">
                        <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="" />
                              <!-- yahoomobil.ir start icone -->
<vb:if condition="$forum['iconlocation']"><img src="images/misc/iconforum/{vb:raw forum.forumid}.gif" alt="{vb:raw forum.title}" style="float: left; margin-right: 4px;" />
<vb:elseif condition="$forum['iconlocation']" /><p class="forumdescription"><img src="{vb:raw forum.iconlocation}" alt="{vb:raw forum.title}" /></p>
</vb:if>
<!-- yahoomobil.ir end icone -->
                                <div class="datacontainer">
                                        <div class="titleline">
                                                <h2 class="forumtitle"><a href="{vb:link forum, {vb:raw forum}}">{vb:raw forum.title}</a></h2>
                                                <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 class="forumdescription">{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:raw forum.moderators}
                                                        </ol>
                                                </div>
                                        </vb:if>

                                        <vb:if condition="$show['subforums']">
                                                <div class="subforums">
                                                        <h4 class="subforumlistlabel">{vb:rawphrase subforums}:</h4>
                                                        <ol class="subforumlist commalist">
                                                                {vb:raw forum.subforums}
                                                        </ol>
                                                </div>
                                        </vb:if>

                                        <vb:if condition="$show['forumsubscription']">
                                                <p class="unsubscribe">
                                                        <a href="subscription.php?{vb:raw session.sessionurl}do=removesubscription&amp;f={vb:raw forum.forumid}" rel="nofollow">{vb:rawphrase unsubscribe_from_this_forum}</a>
                                                </p>
                                        </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="$vboptions['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="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="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>
                </ul>
        <h4 class="nocss_label">{vb:rawphrase forum_statistics}:</h4>
                <ul class="forumstats 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">
                <ul class="childsubforum">
                        {vb:raw childforumbits}

                </ul>
        </vb:if>
</li>

Also i have my icons in images/misc/forumicon/ in the following format 1.gif 2.gif etc.

Gigio755 01-18-2010 08:21 AM

please control it, it make me too the visual error

Ricsca 01-22-2010 09:28 PM

Dont work


All times are GMT. The time now is 03:16 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.01204 seconds
  • Memory Usage 1,765KB
  • 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
  • (1)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
  • (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