vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB4 Design and Graphics Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=253)
-   -   How to add custom image for each forum on main page (https://vborg.vbsupport.ru/showthread.php?t=285566)

mp4sverige 07-15-2012 09:51 AM

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:

https://vborg.vbsupport.ru/external/2012/07/41.jpg

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?

mp4sverige 07-19-2012 11:33 AM

Anyone? Im sure its easy if you just know how :)

karabaja3 03-16-2013 01:20 AM

I just searched for same thing. :) Anybody knows?

tbworld 03-16-2013 02:41 AM

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.

tim.liton 03-19-2013 11:17 PM

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.

FTG LIQUID CL 03-20-2013 09:40 PM

1 Attachment(s)
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!


All times are GMT. The time now is 07:22 PM.

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.01069 seconds
  • Memory Usage 1,717KB
  • 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
  • (2)bbcode_code_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (6)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
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete