![]() |
Different logo per forum?
Is there any way in the latest version fo VB for me to add (on a per forum basis) different logos for each forum, whilst having a default that shows if no other image is specified?
|
good idea that
|
Yes, by a plugin you can have different logos for different forums.
|
u making one whalberg ?
|
For that you requested it and it's not hard to do, i will. I can release it tonight after I finish a paid work.
|
cheers m8
|
Quote:
|
Nice.
|
Quote:
|
any news on this as it does sound like a good idea so hope someone takes up the challenge
|
Be patient guys, there will be one more release with that. I am working on. :)
|
If you want a no frills version...
Create a new plugin using hook location "global_start" with the following: Code:
if (in_array($GLOBALS['forumid'], array(2,5))) Any Forum ID you don't specify in the array will use the default logo. |
works perfect :) cheers kirby
now all we need is this as a plugin where we can select in each forum in admincp what logo to use,just to make it easier :) |
Well if you feel like experimenting with vBulletin and PHP: https://vborg.vbsupport.ru/showthread.php?t=93445 :)
|
2 complicated for me which is why i hire coders :)
cheers Kirk Y anyway - still a good read --------------- Added at 08:16 --------------- this works perfect but is there a way for the main logo on forum index to be random. Say i make 5 and put them on the ftp it then picks a random header to show ??? Dont want it random for the different sections - only forumhome |
if anyone readin this the code above works perfect for different sections
But i also wanted a seperate one for random images on forumhome so i done a search on here and found the code - now here is the problem - if i have random pics on forumhome it wipes off the pics for the forums which i specify does anyone know why ? |
Is there a working demo?
Please pm details |
How u mean working demo
all i done was used the code on the page before for different headers inside forums which worked fine. So i then added this code from this hack to do random images on forumhome https://vborg.vbsupport.ru/showthrea...t=random+logos but doing this just wipes the images i had set up for different sections |
Try wrapping the random logo code with:
Code:
<if condition="THIS_SCRIPT == 'index'"> |
Quote:
|
I'd like to have a completely different style for specific forums.
|
Create a new plugin at hook location "style_fetch" with the following:
Code:
switch ($GLOBALS['forumid']){ |
All times are GMT. The time now is 01:17 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 | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|