Log in

View Full Version : Add-On Releases - advanced Forum Icons in vb4 by yaghoub


yaghoub
12-10-2009, 10:00 PM
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

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



<!-- 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
https://vborg.vbsupport.ru/showthread.php?t=229529

Same plugin but easier to use.


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

MichelangeloITA
01-23-2010, 03:38 PM
Hi dude,

what if I would like to change this statusicon? https://vborg.vbsupport.ru/

A different one for every forum/subforum, of course ;)

I guess I need to set forum ID's but no clue of what I have to edit :\

Corky91
01-24-2010, 08:59 PM
Hi dude,

what if I would like to change this statusicon? http://img10.imageshack.us/img10/4795/screenshot934989.png

A different one for every forum/subforum, of course ;)

I guess I need to set forum ID's but no clue of what I have to edit :\


AdminCP -> Forums & Moderators -> Forum Manager.

Then go to each individual forum.

Find:

Prefix for Forum Status Images


Add your prefix in there and upload the images to: Images -> statusicon -> [Your prefix Folder] -> Forum_new-58.png

MichelangeloITA
01-24-2010, 10:16 PM
Thank's for your support ;)

Should I delete default ones? And, should I create a folder called as prefix I want to use?

Is this the right format => ex. forum_new-58.png?

Corky91
01-25-2010, 09:43 AM
Thank's for your support ;)

Should I delete default ones? And, should I create a folder called as prefix I want to use?

Is this the right format => ex. forum_new-58.png?


You don't need to delete default ones, because there's no images in the new folder you're creating.

I guess that would be your image format.


You upload the images here: Images -> statusicon -> [Your prefix Folder] -> Forum_new-58.png

yaghoub
01-26-2010, 10:41 AM
going here for new version of my mode
https://vborg.vbsupport.ru/showthread.php?t=234197