Go Back   vb.org Archive > vBulletin Modifications > vBulletin 4.x Modifications > vBulletin 4.x Template Modifications
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools
advanced Forum Icons in vb4 by yaghoub Details »»
advanced Forum Icons in vb4 by yaghoub
Version: 1.00, by yaghoub yaghoub is offline
Developer Last Online: May 2015 Show Printable Version Email this Page

Category: Add-On Releases - Version: 4.0.0 Beta 5 Rating:
Released: 12-10-2009 Last Update: 12-10-2009 Installs: 8
 
No support by the author.

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

Download Now

File Type: txt yahoomobil.ir icone forum.txt (1.6 KB, 63 views)

Screenshots

File Type: bmp screenshot934989.bmp (96.9 KB, 0 views)
File Type: bmp screenshot9349892.bmp (557.8 KB, 0 views)

Show Your Support

  • This modification may not be copied, reproduced or published elsewhere without author's permission.

Comments
  #2  
Old 12-11-2009, 09:34 AM
Cableguy69 Cableguy69 is offline
 
Join Date: Apr 2008
Posts: 150
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

<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.
Reply With Quote
  #3  
Old 12-11-2009, 08:46 PM
mbc100 mbc100 is offline
 
Join Date: Feb 2009
Location: K.S.A
Posts: 81
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

thanks
Reply With Quote
  #4  
Old 12-11-2009, 10:41 PM
Nadeemjp Nadeemjp is offline
 
Join Date: Aug 2008
Location: Japan
Posts: 601
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

it would be great if u can provide a decent set of icons as well cause those r hard to find
Reply With Quote
  #5  
Old 12-12-2009, 12:22 AM
yaghoub's Avatar
yaghoub yaghoub is offline
 
Join Date: Oct 2008
Posts: 61
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Cableguy69 View Post

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
Reply With Quote
  #6  
Old 12-21-2009, 05:15 PM
SİMAR's Avatar
SİMAR SİMAR is offline
 
Join Date: Jun 2009
Location: Germany~Offenburg
Posts: 270
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

thanks
Reply With Quote
  #7  
Old 12-23-2009, 05:02 AM
Prorockz Prorockz is offline
 
Join Date: Nov 2009
Posts: 117
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

not working for me . im useing vb4 gold version after replace code it show like this .
Reply With Quote
  #8  
Old 12-23-2009, 07:35 PM
majsm majsm is offline
 
Join Date: Oct 2009
Posts: 54
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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.
Reply With Quote
  #9  
Old 01-18-2010, 08:21 AM
Gigio755 Gigio755 is offline
 
Join Date: Oct 2008
Posts: 16
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

please control it, it make me too the visual error
Reply With Quote
  #10  
Old 01-22-2010, 09:28 PM
Ricsca's Avatar
Ricsca Ricsca is offline
 
Join Date: Apr 2006
Posts: 236
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Dont work
Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 08:52 AM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2024, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.04389 seconds
  • Memory Usage 2,338KB
  • Queries Executed 24 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (3)bbcode_code
  • (1)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (4)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (1)pagenav_pagelink
  • (10)post_thanks_box
  • (10)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (10)post_thanks_postbit_info
  • (9)postbit
  • (3)postbit_attachment
  • (10)postbit_onlinestatus
  • (10)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.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/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.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
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_attachment
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete