Go Back   vb.org Archive > vBulletin Modifications > Archive > vB.org Archives > vBulletin 3.7 > vBulletin 3.7 Template Modifications
FAQ Community Calendar Today's Posts Search

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
  #32  
Old 12-29-2008, 11:48 PM
Gladhatter Gladhatter is offline
 
Join Date: Oct 2008
Location: Clintwood VA
Posts: 193
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Not sure if the folks that said something about the files and text not showing up centered or what ever holds water but I think you have the very code that I have spent a fortune to get and still have not got till now. We will see if this fixes my problem.

Thank you

Charlie
Reply With Quote
  #33  
Old 12-31-2008, 04:50 PM
Gladhatter Gladhatter is offline
 
Join Date: Oct 2008
Location: Clintwood VA
Posts: 193
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

This man deserves top ratings and is a complete life saver!!! Donation made to your paypal fund and many thanks for the fine code that saved my butt and made every thing I ever dreamed of possible and saved me 100's in ( so called) coder fees that did nothing that would do this.
Reply With Quote
  #34  
Old 02-01-2009, 06:09 PM
Noosphere Noosphere is offline
 
Join Date: May 2008
Posts: 85
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Disregard.
Reply With Quote
  #35  
Old 02-02-2009, 12:06 AM
Noosphere Noosphere is offline
 
Join Date: May 2008
Posts: 85
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Have triple-checked every step and think I have it as the instructions say.

Getting this however:



Can anybody help?
Reply With Quote
  #36  
Old 02-02-2009, 01:42 AM
Gladhatter Gladhatter is offline
 
Join Date: Oct 2008
Location: Clintwood VA
Posts: 193
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Noosphere View Post
Have triple-checked every step and think I have it as the instructions say.

Getting this however:



Can anybody help?
I am a little confused on what your issue is. You wanting to up size some gifs on this site????

You wish to get your text aligned or ????

These are all coding issues. I have addressed some of them at our fourm and plan to make the forum gifs larger soon and not sure if that is your desire or exactly what you wish to do.

What I am sure of is that unless you are a low to mid range PHP programmer or choose to employ one or get one for free, I do not see you having a lot of success.

Again not sure what you see your problems to be as I am not sure you are clear on them but the issues I see as problems are corrected programically.

Get a fair coder and its a few minutes work. Get a lamer and its a nightmare. Try it your self and its a night mare from hell and you could mow lawns in the time it takes you trying to fix it and pay a coder in an emerging economy that could stand the employment and you end up with a good deal as well.

Pick a bad one and see above.

Would you care to make your problem clear again please?
Reply With Quote
  #37  
Old 02-02-2009, 02:15 AM
Noosphere Noosphere is offline
 
Join Date: May 2008
Posts: 85
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I'll try to be clearer.

1. Per the instructions, I created and uploaded 40x40 gif's to my images/statusicon folder, and renamed them with each of my forum id's. Here's a sample:

http://www.thenoosphere.com/images/statusicon/2.gif


2. Per the instructions, I pasted the code provided into my forumhome_forumbit_level2_post template as follows:

Quote:
<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]">

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


<a href="forumdisplay.php?$session[sessionurl]f=$forum[forumid]"><strong>$forum[title]</strong></a>
<if condition="$show['browsers']"><span class="smallfont">(<phrase 1="$forum[browsers]">$vbphrase[x_viewing]</phrase>)</span></if>
</div>
<if condition="$show['forumdescription']"><div class="smallfont">$forum[description]</div></if>
<if condition="$show['forumsubscription']"><div class="smallfont"><strong><a href="subscription.php?$session[sessionurl]do=removesubscription&amp;f=$forum[forumid]" rel="nofollow">$vbphrase[unsubscribe_from_this_forum]</a></strong></div></if>
<if condition="$show['subforums']"><div class="smallfont" style="margin-top:$stylevar[cellpadding]px"><strong>$vbphrase[subforums]</strong>: $forum[subforums]</div></if>
</td>
<td class="alt1" align="center">$forum[threadcount]</td>
<td class="alt2" align="center">$forum[replycount]</td>
<td class="alt2" align="center">$forum[lastpostinfo]</td>
<if condition="$vboptions['showmoderatorcolumn']">
<td class="alt1"><div class="smallfont">$forum[moderators]&nbsp;</div></td>
</if>
</tr>
$childforumbits

3. Instead of the new gif's displaying on my forum index, I am getting this:



If I made an error at some point in the process, I was hopeful someone with a little bit more experience than I have would be so kind as to point it out to me. It was not my intent to contribute to the problems with our economy, just to take advantage of what looks like a great mod for my website.
Reply With Quote
  #38  
Old 02-02-2009, 03:09 AM
Gladhatter Gladhatter is offline
 
Join Date: Oct 2008
Location: Clintwood VA
Posts: 193
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

If you right click on the image place holder that is associated with forum id2 and choose properties, does it show that that reads http://www.thenoosphere.com/images/statusicon/2.gif ?

If so what is the chmod on that directory or the main or levels of directoies above it or the actual gifs?
Reply With Quote
  #39  
Old 02-02-2009, 03:24 AM
Noosphere Noosphere is offline
 
Join Date: May 2008
Posts: 85
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Gladhatter View Post
If you right click on the image place holder that is associated with forum id2 and choose properties, does it show that that reads http://www.thenoosphere.com/images/statusicon/2.gif ?
Yes.

Quote:
If so what is the chmod on that directory or the main or levels of directoies above it or the actual gifs?
Afraid this is where you lose me. Not experienced enough yet to speak chmod. Looks like I'll need to either read up myself, or do my part to boost the economy.
Reply With Quote
  #40  
Old 02-02-2009, 03:33 AM
Gladhatter Gladhatter is offline
 
Join Date: Oct 2008
Location: Clintwood VA
Posts: 193
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

When you boost it insist the coder teach you how they get from A to B. I started out wish similar but not all the problems you had and 10 minutes or so 3 times and the coder had it all working correctly.
Reply With Quote
  #41  
Old 02-02-2009, 03:37 AM
Noosphere Noosphere is offline
 
Join Date: May 2008
Posts: 85
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Well, a quick read-up on chmod and I was able to figure it out. Think I have it now.

Thanks for your help.
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 05:12 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.07869 seconds
  • Memory Usage 2,324KB
  • 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
  • (2)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