vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB4 General Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=251)
-   -   Category Image ? (https://vborg.vbsupport.ru/showthread.php?t=264809)

betts02 06-06-2011 06:51 PM

Category Image ?
 
Can anyone tell me how i would add an image the the category title ?

https://vborg.vbsupport.ru/

The red bar with the title "Community"

I want each category to have a different image along with the title and link as normal, Is this possible and if so how ?

Many thanks in advance

--------------- Added [DATE]1307397273[/DATE] at [TIME]1307397273[/TIME] ---------------

Can anyone help me on this ?

I am sure it is possible but need some advice on how to do it

many thanks in advance

betts02 06-08-2011 06:54 PM

Anyone help me with this ?

DevilzFan 06-19-2011 02:32 PM

I'm looking for the same thing. I used to have it set up, but recently had to do a fresh install of vb, and lost it.

Anyone who can help, it would be greatly appreciated.

pantani 06-26-2011 09:34 AM

When you go to admincp --> forums & moderators --> forum manager
select the forum you want the pic on, --> edit and in the Description place this:

<img src="http://www.place where the pic is stored" alt="" />

hope it works

setishock 06-26-2011 10:20 AM

The description is a text field. If you place the link in the category name it works. BUT...
It also shows the breadcrumb.

al3bed 06-26-2011 11:35 AM

you need to add new field in database forum table, print it in edit forum and register it, plus to modifying forumbit templates.

In another word, you need a plugin.

betts02 12-28-2011 07:53 AM

Has anyone found out how to do this ?

I have been working on my new theme and really would love to have this if possible

K!nG 12-29-2011 03:18 AM

Hi there,

Not 100% sure if this will help but a friend of mine tried it and it worked for him back in the days.

Goto stylemanager> stylename> main CSS> Category Strips>

by default it has a background image repeating itself horizontally.

In the background property.default style have like this :


Code:

#869BBF url(images/gradients/gradient_tcat.gif) repeat-x top left
you can change this to no-repeat :


Code:

#869BBF url(images/gradients/gradient_tcat.gif) no-repeat top left
change the image path to your image. and color to your right area after the image on the left .

if the category text now overlapping with your left image.
just put in the additional css attributes box in the category strips css panel this value,


Code:

padding-left:40px;

betts02 12-29-2011 08:32 AM

I have found out myself how to do it an easy way for me anyway,lol

As long as i keep the images 25px High and 500px Wide i just use the code posted earlier

<img src="http://www.place where the pic is stored" alt="" />

I place this in where you would put the category name and NOT in the description box

http://img407.imageshack.us/img407/2413/10540790.png


All times are GMT. The time now is 04:46 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.01028 seconds
  • Memory Usage 1,726KB
  • 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
  • (3)bbcode_code_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (9)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