vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   Modification Requests/Questions (Unpaid) (https://vborg.vbsupport.ru/forumdisplay.php?f=112)
-   -   [vb2] Change Logo per Forum (https://vborg.vbsupport.ru/showthread.php?t=135702)

Doctor Who 01-06-2007 03:51 PM

[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?

peterska2 01-06-2007 04:02 PM

Have a look at this mod

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

If that doesn't work then let me know.

Zachariah 01-06-2007 04:06 PM

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.

Doctor Who 01-06-2007 04:08 PM

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.

peterska2 01-06-2007 04:23 PM

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.

Doctor Who 01-06-2007 04:28 PM

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!

peterska2 01-06-2007 04:31 PM

Ok, just give me 5 mins while I'll write it up then :)

Doctor Who 01-06-2007 04:34 PM

Thank you!

peterska2 01-06-2007 04:46 PM

here we go

https://vborg.vbsupport.ru/showthread.php?t=135709

Doctor Who 01-06-2007 04:59 PM

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.


All times are GMT. The time now is 05:26 AM.

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.01066 seconds
  • Memory Usage 1,728KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (1)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.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/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.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
  • printthread_start
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete