Go Back   vb.org Archive > vBulletin 4 Discussion > vB4 Design and Graphics Discussions
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools Display Modes
  #1  
Old 07-15-2012, 09:51 AM
mp4sverige mp4sverige is offline
 
Join Date: Feb 2007
Posts: 26
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default How to add custom image for each forum on main page

Is it possible to have a custom image for each forum on main forum page as seen on xda, see image below:



http://forum.xda-developers.com/index.php

I have investigated the code with Firebug, but cant figure out if this can be done in vb via admin or if custom hacking is needed.

Any suggestion how this can be done?
Reply With Quote
  #2  
Old 07-19-2012, 11:33 AM
mp4sverige mp4sverige is offline
 
Join Date: Feb 2007
Posts: 26
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Anyone? Im sure its easy if you just know how
Reply With Quote
  #3  
Old 03-16-2013, 01:20 AM
karabaja3's Avatar
karabaja3 karabaja3 is offline
 
Join Date: Jan 2008
Posts: 143
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I just searched for same thing. Anybody knows?
Reply With Quote
  #4  
Old 03-16-2013, 02:41 AM
tbworld tbworld is offline
 
Join Date: Oct 2008
Posts: 2,126
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

You will have to modify a couple of templates, most likely 'FORUMHOME' and the 'forumhome_forumbit...s' templates to accomplish this. This is not a difficult modification, but it will take some work on your part, if you do not want to pay for some help. I do not know of a mod that will get you there here on vb.org. If you know some basic HTML and some CSS then I can be of more assistance and point you in the right direction.
Reply With Quote
  #5  
Old 03-19-2013, 11:17 PM
tim.liton tim.liton is offline
 
Join Date: Dec 2012
Posts: 35
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Am not sure but you can try to add only image for the first forum in each category and for the other forums in the same category add blank image. Never tried but may work. Good luck.
Reply With Quote
  #6  
Old 03-20-2013, 09:40 PM
FTG LIQUID CL FTG LIQUID CL is offline
 
Join Date: Jan 2012
Posts: 158
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Is this what you are looking for?This is a picture from one of my sub-forums but you can you it for your main forums!

1.You can use a code like this for a non clickable image,I use imageshack.com to upload my images.So the code below is one of my images!Just insert your image url where the blue code is. The insert the code in the forum description from the admincp.


Code:
<img src="http://imageshack.us/a/img823/7130/1vbt.jpg"


2.This code will give you a clickable image,That makes the image act as a link to the forum.Once again the blue is the link to your image.The red is the forum url.Go to the forum and copy the url then insert that url into the code.The entire code then goes in the forum description in the admincp.

Code:
<a href="http://fataltalentgaminglive.com/forumdisplay.php?153-FTG-oppositeshu"><img border="0" src="http://imageshack.us/a/img194/9223/shuc.jpg" width="500" height="100"></a>
One last thing ,the width and height numbers at the end of the second code will control the size of the image!

Hope this helps!
Attached Images
File Type: jpg 1vb.JPG (130.1 KB, 0 views)
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 02:30 PM.


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.05455 seconds
  • Memory Usage 2,228KB
  • Queries Executed 14 (?)
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
  • (2)bbcode_code
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)navbar
  • (3)navbar_link
  • (120)option
  • (6)post_thanks_box
  • (6)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (6)post_thanks_postbit_info
  • (6)postbit
  • (1)postbit_attachment
  • (6)postbit_onlinestatus
  • (6)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_postinfo_query
  • fetch_postinfo
  • 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
  • postbit_attachment
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete