Go Back   vb.org Archive > Community Discussions > Modification Requests/Questions (Unpaid)
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools Display Modes
  #1  
Old 01-06-2007, 03:51 PM
Doctor Who's Avatar
Doctor Who Doctor Who is offline
 
Join Date: Jun 2005
Posts: 48
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default [vb2] Change Logo per Forum

A friend of mine has been trying to do this for about a year now, and we both suspect that it is very simple. Before anyone suggests, he is happy with VB2 and adament that he doesn't want to upgrade.

Basically he wants the Vbulletin logo to be different in certain forums, how would I go about implementing this for him? I tried using the conditionals hack, but I didn't want to have to manually set that up for 27+ forums on his board.

Ideally it would be cool to be able to choose the logo image in the forums section in the admin cp, how easy would this be to implement?

Any suggestions?
Reply With Quote
  #2  
Old 01-06-2007, 04:02 PM
peterska2 peterska2 is offline
 
Join Date: Oct 2003
Location: Manchester, UK
Posts: 6,504
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Have a look at this mod

https://vborg.vbsupport.ru/showthrea...highlight=logo

If that doesn't work then let me know.
Reply With Quote
  #3  
Old 01-06-2007, 04:06 PM
Zachariah's Avatar
Zachariah Zachariah is offline
 
Join Date: Feb 2002
Location: Canoga Park, CA
Posts: 2,125
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

vb2.0 hmmmmmm
- I'll have to reinstall and get my brain back in to the system .

I have a hack for vb3.x, 3.5x / 3.6x.
- Add a banner image to each forum

It should not be a big deal to convert it.
Reply With Quote
  #4  
Old 01-06-2007, 04:08 PM
Doctor Who's Avatar
Doctor Who Doctor Who is offline
 
Join Date: Jun 2005
Posts: 48
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Thanks guys! I appreciate this, he has a big VB forum and loves the software, he just has been trying to sort this for so long.

I'll try yours now Kerry-Anne (...) and let you both know asap if it works.
Reply With Quote
  #5  
Old 01-06-2007, 04:23 PM
peterska2 peterska2 is offline
 
Join Date: Oct 2003
Location: Manchester, UK
Posts: 6,504
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

If it doesn't, I've rumbled up a little template mod which works very nicely in the 2.3.10 I've tested it on.
Reply With Quote
  #6  
Old 01-06-2007, 04:28 PM
Doctor Who's Avatar
Doctor Who Doctor Who is offline
 
Join Date: Jun 2005
Posts: 48
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

It might be better for me to use that then. I am just concerned about having to switch off the board when it has heavy traffic right now (33,000+ members). I don't want to screw up the database with that.

How about I try the template mod first, and if that doesn't work then I can fully try the other route?

Thanks Kerry-Anne!
Reply With Quote
  #7  
Old 01-06-2007, 04:31 PM
peterska2 peterska2 is offline
 
Join Date: Oct 2003
Location: Manchester, UK
Posts: 6,504
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Ok, just give me 5 mins while I'll write it up then
Reply With Quote
  #8  
Old 01-06-2007, 04:34 PM
Doctor Who's Avatar
Doctor Who Doctor Who is offline
 
Join Date: Jun 2005
Posts: 48
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Thank you!
Reply With Quote
  #9  
Old 01-06-2007, 04:46 PM
peterska2 peterska2 is offline
 
Join Date: Oct 2003
Location: Manchester, UK
Posts: 6,504
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

here we go

https://vborg.vbsupport.ru/showthread.php?t=135709
Reply With Quote
  #10  
Old 01-06-2007, 04:59 PM
Doctor Who's Avatar
Doctor Who Doctor Who is offline
 
Join Date: Jun 2005
Posts: 48
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I appreciate you doing this, and I don't mean to be rude, but I pretty much tried that solution already. It seemed to make the most sense to me. He doesn't want to have 16 versions of the same file uploaded though for bandwidth reasons...

One of the things I wanted to try, but had no idea how to do was to use file_exists to see if a file with the same forum id included existed in a "logos" directory, and if not for it to display the default. Is this possible?

Thanks again for all your help with this, I hope not to have to take up too much more of your time.
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 10:21 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.07544 seconds
  • Memory Usage 2,250KB
  • Queries Executed 11 (?)
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
  • (1)ad_showthread_firstpost
  • (1)ad_showthread_firstpost_sig
  • (1)ad_showthread_firstpost_start
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)navbar
  • (3)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
  • (10)postbit
  • (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_display_complete
  • post_thanks_function_can_thank_this_post_start
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete