Go Back   vb.org Archive > vBulletin Modifications > Archive > vB.org Archives > vBulletin 3.7 > vBulletin 3.7 Template Modifications

Reply
 
Thread Tools
Forum Icons ( MyLs1 Style ) Details »»
Forum Icons ( MyLs1 Style )
Version: 1.00, by christian8a christian8a is offline
Developer Last Online: Nov 2023 Show Printable Version Email this Page

Category: Forum Home Enhancements - Version: 3.7.x Rating:
Released: 10-02-2008 Last Update: Never Installs: 63
Template Edits
 
No support by the author.

This is a mod alot of people wanted me to release so here it is.

What it does: It displays an icon for each forum.

Demo: http://www.myls1.com

########## INSTALL ##########

Admin CP >> Styles & Templates >> Edit Templates >> Forum Home Templates >> forumhome_forumbit_level2_post

Find:

PHP Code:
<tr align="center">
    <
td class="alt2"><img src="$stylevar[imgdir_statusicon]/$forum[imageprefix]forum_$forum[statusicon].gif" alt="" border="0" id="forum_statusicon_$forum[forumid]/></td>
    <
td class="alt1Active" align="$stylevar[left]id="f$forum[forumid]"
Add underneat:

PHP Code:
<div style="float: left; margin: 0px; padding: 0px;">
<
img src="$stylevar[imgdir_statusicon]/$forumid.gif" alt=""/></div
########## / INSTALL ##########

Now the deal is that you have your own icons and you have to name each file with the number of the id of each forum.

So you go to Forums & Moderators >> Forum Manager

And click on any child forum (not subforum), for example in our case New Members, and look at the top for the Forum id... then you rename the .gif file with the number of the forum id, like: 2.gif

Upload them onto the images / statusicons folder

Now that file will display on that forum, and you go like that for each forum you have.

I have uploaded a PSD file for you to use if you need to make your own.
Is a 40 x 40 px file.

Enjoy!
Ask if you have any question.

Show Your Support

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

Comments
  #22  
Old 10-31-2008, 12:36 PM
merk_aus merk_aus is offline
 
Join Date: Feb 2008
Location: Australia
Posts: 582
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

i to would prefer this where the forumold and forumnew pics are - does anyone have any screenshots of this in action?
Reply With Quote
  #23  
Old 11-05-2008, 05:53 PM
christian8a's Avatar
christian8a christian8a is offline
 
Join Date: May 2007
Location: Washington State
Posts: 412
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I wonder how now... it should be easy but I havent had time to try it, sorry. It will align the whole forum information , time, last post and views though but if thats what you want, try adding that valign="middle" to its first table, if not the first division
Reply With Quote
  #24  
Old 11-12-2008, 08:16 PM
oferelijah oferelijah is offline
 
Join Date: Oct 2008
Posts: 15
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

i use 2 Styles in my site

one for some categories
and one for diffrent category

i tried to use this mod for the stand alone category and it dont work for me

EDIT:

SOLVED

if you want to set an icon for a single category shown on a diffrent link you shuld add the code

to "forumhome_forumbit_level1_post" template
Reply With Quote
  #25  
Old 11-24-2008, 08:46 PM
johnlittle johnlittle is offline
 
Join Date: Aug 2008
Posts: 16
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by christian8a View Post
I wonder how now... it should be easy but I havent had time to try it, sorry. It will align the whole forum information , time, last post and views though but if thats what you want, try adding that valign="middle" to its first table, if not the first division
may i have your permission to use some of your set icon at your forums? gosh i really love your forum icon gee sorry
Reply With Quote
  #26  
Old 12-06-2008, 03:47 AM
24hourForum.com 24hourForum.com is offline
 
Join Date: May 2008
Posts: 133
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

thanks for sharing the code, unfortunately your 101 is not much of a help.. i spend the last hour trying to figure out how your code works!

it does not work

<div style="float: left; margin: 0px; padding: 0px;">
<img src="$stylevar[imgdir_statusicon]/585.gif" alt=""/></div>

when i use the code, the pic shows up on all forums... how do you assign it to the forum id?
Reply With Quote
  #27  
Old 12-06-2008, 06:50 AM
christian8a's Avatar
christian8a christian8a is offline
 
Join Date: May 2007
Location: Washington State
Posts: 412
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by 24hourForum.com View Post
thanks for sharing the code, unfortunately your 101 is not much of a help.. i spend the last hour trying to figure out how your code works!

it does not work

<div style="float: left; margin: 0px; padding: 0px;">
<img src="$stylevar[imgdir_statusicon]/585.gif" alt=""/></div>

when i use the code, the pic shows up on all forums... how do you assign it to the forum id?
That is not what the code is. If you add that image of course it will ad to all forums.

Put the exact code as it is, and then rename each picture to its forum id, dont rename the code with the image name.
Reply With Quote
  #28  
Old 12-06-2008, 02:53 PM
24hourForum.com 24hourForum.com is offline
 
Join Date: May 2008
Posts: 133
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by christian8a View Post
That is not what the code is. If you add that image of course it will ad to all forums.

Put the exact code as it is, and then rename each picture to its forum id, dont rename the code with the image name.
that works, thank you sir!

my other question is, how can i centre the text with the pic?
Reply With Quote
  #29  
Old 12-06-2008, 04:03 PM
christian8a's Avatar
christian8a christian8a is offline
 
Join Date: May 2007
Location: Washington State
Posts: 412
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by 24hourForum.com View Post
that works, thank you sir!

my other question is, how can i centre the text with the pic?
That is what somebody else asked too, and I tried but I didnt figure out how to be honest. It should be simple but I couldnt. Thats whyI tried to make my images the size of the Forum font and information.
Reply With Quote
  #30  
Old 12-07-2008, 04:03 PM
24hourForum.com 24hourForum.com is offline
 
Join Date: May 2008
Posts: 133
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

i could not figure it out either, so i just added more descriptions! Thanks
Reply With Quote
  #31  
Old 12-12-2008, 08:57 PM
PKRWUD's Avatar
PKRWUD PKRWUD is offline
 
Join Date: Jan 2003
Location: Ventura, California
Posts: 124
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Just a suggestion. Rather than instructing that your code be installed underneath:

PHP Code:
<td class="alt2"><img src="$stylevar[imgdir_statusicon]/$forum[imageprefix]forum_$forum[statusicon].gif" alt="" border="0" /></td

You might want to say to install above:

PHP Code:
<a href="forumdisplay.php?$session[sessionurl]f=$forum[forumid]"><strong>$forum[title]</strong></a
I only suggest this because doing it your way created a problem for me because I have a hack installed there already that changes the background color of each forum listing with a mouseover. I installed it a long time ago, and didn't recognize it at first, so it took some playing around to figure out the problem.

Just a thought.
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 05:39 PM.


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.06065 seconds
  • Memory Usage 2,320KB
  • Queries Executed 25 (?)
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
  • (4)bbcode_php
  • (4)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (6)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (11)post_thanks_box
  • (11)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (11)post_thanks_postbit_info
  • (10)postbit
  • (11)postbit_onlinestatus
  • (11)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_display_complete
  • post_thanks_function_can_thank_this_post_start
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete