Go Back   vb.org Archive > vBulletin Modifications > vBulletin 4.x Modifications > vBulletin 4.x Template Modifications

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
  #12  
Old 01-23-2010, 03:38 PM
MichelangeloITA's Avatar
MichelangeloITA MichelangeloITA is offline
 
Join Date: Dec 2009
Location: Italy, Rimini
Posts: 58
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Hi dude,

what if I would like to change this statusicon?

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 :\
Reply With Quote
  #13  
Old 01-24-2010, 08:59 PM
Corky91 Corky91 is offline
 
Join Date: Feb 2009
Posts: 10
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by MichelangeloITA View Post
Hi dude,

what if I would like to change this statusicon?

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:

Quote:
Prefix for Forum Status Images

Add your prefix in there and upload the images to: Images -> statusicon -> [Your prefix Folder] -> Forum_new-58.png
Reply With Quote
  #14  
Old 01-24-2010, 10:16 PM
MichelangeloITA's Avatar
MichelangeloITA MichelangeloITA is offline
 
Join Date: Dec 2009
Location: Italy, Rimini
Posts: 58
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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?
Reply With Quote
  #15  
Old 01-25-2010, 09:43 AM
Corky91 Corky91 is offline
 
Join Date: Feb 2009
Posts: 10
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by MichelangeloITA View Post
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
Reply With Quote
  #16  
Old 01-26-2010, 10:41 AM
yaghoub's Avatar
yaghoub yaghoub is offline
 
Join Date: Oct 2008
Posts: 61
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

going here for new version of my mode
https://vborg.vbsupport.ru/showthread.php?t=234197
Reply With Quote
Reply

Thread Tools

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 07:14 PM.


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.08696 seconds
  • Memory Usage 2,280KB
  • Queries Executed 21 (?)
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
  • (2)bbcode_code
  • (3)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
  • (6)post_thanks_box
  • (6)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (6)post_thanks_postbit_info
  • (5)postbit
  • (3)postbit_attachment
  • (6)postbit_onlinestatus
  • (6)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