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

Reply
 
Thread Tools
Prefix for Sub-Forum Status Images Details »»
Prefix for Sub-Forum Status Images
Version: 1.00, by dannykilla dannykilla is offline
Developer Last Online: Oct 2011 Show Printable Version Email this Page

Category: Forum Display Enhancements - Version: 3.7.1 Rating:
Released: 06-28-2008 Last Update: Never Installs: 36
Template Edits
Re-useable Code Code Changes Translations  
No support by the author.

This allows the Prefix for Forum Status Images on Sub forums.

In the template
forumhome_subforumbit_nopost

replace all the code with this:

Code:
<img class="inlineimg" src="$stylevar[imgdir_statusicon]/subforum_$forum[statusicon].png" alt="" border="0" id="forum_statusicon_$forum[forumid]" /> <a href="forumdisplay.php?$session[sessionurl]f=$forum[forumid]">$forum[title]</a>
In the template
forumhome_subforumbit_post

replace all the code with this:

Code:
<img class="inlineimg" src="$stylevar[imgdir_statusicon]/$forum[imageprefix]subforum_$forum[statusicon].png" alt="" border="0" id="forum_statusicon_$forum[forumid]" /> <a href="forumdisplay.php?$session[sessionurl]f=$forum[forumid]">$forum[title]</a>
to change the file type simply edit the code (highlighed in RED)!

Supporters / CoAuthors

    Show Your Support

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

    Comments
      #12  
    Old 07-05-2008, 09:50 AM
    dannykilla's Avatar
    dannykilla dannykilla is offline
     
    Join Date: Jun 2007
    Location: Manchester, UK
    Posts: 151
    Благодарил(а): 0 раз(а)
    Поблагодарили: 0 раз(а) в 0 сообщениях
    Default

    @Kurtz
    I have looked at my forum and I don't see any problem regarding the alignment, did you mean that you are having an alignment problem?
    If so I am using Cyb's Subforum hack

    https://vborg.vbsupport.ru/showthread.php?t=177954
    Reply With Quote
      #13  
    Old 07-05-2008, 09:54 AM
    KURTZ KURTZ is offline
     
    Join Date: Nov 2006
    Location: Italy
    Posts: 2,257
    Благодарил(а): 0 раз(а)
    Поблагодарили: 0 раз(а) в 0 сообщениях
    Default

    @ Dan: i mean this alignment (check the pic attached)
    Reply With Quote
      #14  
    Old 07-05-2008, 10:00 AM
    dannykilla's Avatar
    dannykilla dannykilla is offline
     
    Join Date: Jun 2007
    Location: Manchester, UK
    Posts: 151
    Благодарил(а): 0 раз(а)
    Поблагодарили: 0 раз(а) в 0 сообщениях
    Default

    Yeah I am trying to solve this at the moment lol
    I'll post if I can fix it!
    Reply With Quote
      #15  
    Old 07-05-2008, 04:22 PM
    KURTZ KURTZ is offline
     
    Join Date: Nov 2006
    Location: Italy
    Posts: 2,257
    Благодарил(а): 0 раз(а)
    Поблагодарили: 0 раз(а) в 0 сообщениях
    Default

    thx Dan
    Reply With Quote
      #16  
    Old 07-07-2008, 02:04 AM
    aksolo aksolo is offline
     
    Join Date: Feb 2007
    Posts: 8
    Благодарил(а): 0 раз(а)
    Поблагодарили: 0 раз(а) в 0 сообщениях
    Default

    Quote:
    Originally Posted by dannykilla View Post
    I dont know what you mean by 3 icons?
    if you mean, what I think you mean (look at image)


    http://www.vbulletin.com/forum/showthread.php?t=114545

    Dan
    yes thanks again my man.
    Reply With Quote
      #17  
    Old 07-10-2008, 08:09 AM
    nexialys
    Guest
     
    Posts: n/a
    Default

    Quote:
    Originally Posted by dannykilla View Post
    Yeah I am trying to solve this at the moment lol
    I'll post if I can fix it!
    this is quite simple actually... you can surround the $subforums with a div that have padding-left: 10px; or something similar depending on your design... nothing fancy...
    Reply With Quote
      #18  
    Old 07-10-2008, 08:26 AM
    dannykilla's Avatar
    dannykilla dannykilla is offline
     
    Join Date: Jun 2007
    Location: Manchester, UK
    Posts: 151
    Благодарил(а): 0 раз(а)
    Поблагодарили: 0 раз(а) в 0 сообщениях
    Default

    I'll give it a go, thanks Nexialys
    Reply With Quote
      #19  
    Old 07-17-2008, 06:01 PM
    KURTZ KURTZ is offline
     
    Join Date: Nov 2006
    Location: Italy
    Posts: 2,257
    Благодарил(а): 0 раз(а)
    Поблагодарили: 0 раз(а) в 0 сообщениях
    Default

    news Dan?
    Reply With Quote
      #20  
    Old 07-22-2008, 02:43 AM
    GaiLoan GaiLoan is offline
     
    Join Date: Dec 2007
    Location: California,US
    Posts: 133
    Благодарил(а): 0 раз(а)
    Поблагодарили: 0 раз(а) в 0 сообщениях
    Default

    Quote:
    Originally Posted by KURTZ View Post
    @ Dan: i mean this alignment (check the pic attached)
    this happen cuz by images size.
    Reply With Quote
      #21  
    Old 07-23-2008, 08:05 PM
    MissKalunji's Avatar
    MissKalunji MissKalunji is offline
     
    Join Date: Aug 2003
    Location: Canada
    Posts: 2,845
    Благодарил(а): 0 раз(а)
    Поблагодарили: 0 раз(а) в 0 сообщениях
    Default

    Nice mod sadly i found it when i finished doing it myself

    Thanks
    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 12:30 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.09539 seconds
    • Memory Usage 2,295KB
    • Queries Executed 26 (?)
    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
    • (6)navbar_link
    • (120)option
    • (1)pagenav
    • (1)pagenav_curpage
    • (2)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
    • (10)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