vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 2.x Template Modifications (https://vborg.vbsupport.ru/forumdisplay.php?f=139)
-   -   [release] Category Name as Image, and/or category Logo (https://vborg.vbsupport.ru/showthread.php?t=83908)

Arunan 07-20-2002 10:00 PM

[release] Category Name as Image, and/or category Logo
 
Modification Name:
•Catagory Name as Image
and/or
•Catagory Logo

What does it do?
•It makes your catagory, into an image
•You can add a catagory logo

How would one benifit from this?
•No one can benifit, its something that you use if you want, it sometimes looks better, and you can create more effect in your designs.

Screenshots or Examples:
•1 Post below

The Instructions are in the txt file that I have included.

Arunan 07-21-2002 09:56 PM

Screen shot.

Catagory name as Image.

mondaynightmike 07-21-2002 11:17 PM

Your a Star :D :D I have been trying for ages to get an image as my catgory title. THANKS (Y)

mondaynightmike 07-22-2002 01:48 PM

Hum i can't seem to get it to work. I have the image as forums related.gif and it just shows the red X

Arunan 07-22-2002 03:23 PM

The image has to be the same name as the catagory name.

Ex: if you had a catagory with the name [Something For Nothing]

Then your image name would be Something For Nothing.gif

Also download the updated file, I made a little mistake :)

Arunan 07-22-2002 03:25 PM

You don't have to unisntall and re install, just find each modified template, and finf the <img src="$forum[ttle] and add a .gif after it

BillaBongUSA 07-23-2002 06:37 AM

Hm, looks pretty nifty... But what happens with crappy browsers that don't automatically convert spaces into %20's? Won't the images show up as red X's?

mashby 07-23-2002 04:59 PM

Depends on the server, not the browser. If the server is NT based, then I think the spaces will work. However, a *nix based server would foobar the page, so you make a great point BillaBong.

Arunan 07-24-2002 02:28 AM

Hmm, good point, didn't think of that...let me sleep on it, I will get back to you tomorow. I may have a solution, I did this on my board, but in the steps I had some trouble, so again I will sleep on it and get back to you quickly.

Arunan

eGoR 07-29-2002 09:25 AM

good job on this one

Dizzy 07-30-2002 12:43 PM

nice, im sure alot of people will be happy with this mod!
i know i have thought of making category's into images many times, i dont think i will be doing it , just because i think im going to keep the normal text.
thanks any ways, and good work with the mod! :)

Janitor

Bad Bunny 08-23-2002 05:33 AM

Here is an alternate way. It might seem sort of odd...and I tested it on another forum software, but not on my vB yet.

Change the templates to only display the description, not the title. The for the description, call the image you want. If you use the imagepath, you cna even have a different look for each forum.
And you can include a Title AND a description in your image.

imported_Eye Kay 02-16-2003 07:17 AM

... I don't know, I may be wrong about this...

But why not just title your forum / catagorie as such
Code:

<img src=categoryname1.gif>
...etc..

??
It should work.. and be just as easy (if not simplier) then this...

Tony G 02-16-2003 07:27 AM

Yes, that would work too. At least I think it does.

imported_Eye Kay 02-16-2003 08:41 AM

Well I had tried it on 2.2.6 before, and it worked fine, no hack's needed.. But I really don't need it now (on 2.2.9).. but I'd figure it's just plain HTML, what could go wrong?

Anyways, the Idea is good, but the whole process is just tooo long... it's like running arround the block to get to your front door, from your backyard.. when you could just walk straight to the front door :D


All times are GMT. The time now is 12:30 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.01125 seconds
  • Memory Usage 1,735KB
  • 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)bbcode_code_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (15)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