vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.0 Template Modifications (https://vborg.vbsupport.ru/forumdisplay.php?f=134)
-   -   Vb3 Rc3 Category Images! (https://vborg.vbsupport.ru/showthread.php?t=88396)

AN-net 02-05-2004 10:00 PM

Vb3 Rc3 Category Images!
 
Vb Version Capiability: Vb3 Rc3

Modifcations Required to alrdy be installed:
http://www.vbulletintemplates.com/mo...ead.php?t=5390
http://www.vbulletintemplates.com/mo...ead.php?t=5450

Authors:
Sweet22 and Antonbomb22

Demo:
http://www.animationation.net/community

Attached:
Screenshots(2)
categoryimg_instruct.zip(in zip is categoryimg_instruct.txt and clear.gif)

Edit:
updated zip file;)

sabret00the 02-06-2004 07:37 PM

seems like theirs gonna be quite a few boards ready to take my BotM award for when i launch, all thanks to this mod alone, nah :p but great mod :)

AN-net 02-06-2004 07:50 PM

no prob;)

Zachery 02-06-2004 08:10 PM

Nice work, saving me time ;)

Tony G 02-06-2004 08:52 PM

Nice modification, glad somebody released it. :)

Colicab2 02-10-2004 01:52 PM

yay :d what ive been lookin for was driving me mad :p

Dan 02-29-2004 05:53 PM

Now if it would work with floris's cats in a box :(

AN-net 02-29-2004 10:05 PM

Quote:

Originally Posted by .Dan
Now if it would work with floris's cats in a box :(

well those 2 hacks that are required for this one do the same thing i think as floris's does

Dan 03-01-2004 01:15 AM

Yes but this one doesn't work with floris's

Cassidy 03-05-2004 05:40 PM

I was kinda hoping for catergory images actually ON the catergory bar.

AN-net 03-05-2004 05:56 PM

Quote:

Originally Posted by Caszi
I was kinda hoping for catergory images actually ON the catergory bar.

wut u mean category bad? u mean as a background on the category?

Kohhal 03-08-2004 03:15 PM

Call me stupid but I don't see what this does extra than the other 2 hacks (or floris')? What else does it change after the categories have been spaced by the other hack/s?

AN-net 03-08-2004 06:43 PM

Quote:

Originally Posted by TheMasterG
Call me stupid but I don't see what this does extra than the other 2 hacks (or floris')? What else does it change after the categories have been spaced by the other hack/s?

this adds images above and below each category

Arkham 03-08-2004 07:38 PM

Quote:

Originally Posted by Caszi
I was kinda hoping for catergory images actually ON the catergory bar.

I'd like to know too. I'm still fiddling with it though, so if I figure it out I'll let you know.

I'd like to see a ready-made hack like this that would add the side images too. I'll keep looking...

Dan 03-08-2004 07:41 PM

it lets you have the category images... the left and right ones... but i can't use it as i use floris' categories in a box modifaction

Arkham 03-08-2004 07:47 PM

Quote:

Originally Posted by .Dan
it lets you have the category images... the left and right ones... but i can't use it as i use floris' categories in a box modifaction

I didn't get a chance to look at it, i'm just scanning all these threads looking for a quick answer. ;) Heh.

I saw Floris' before, so maybe I'll take a closer look at the various methods. This started out as a quest for a category strip background, but now I may end up breaking up the categories and using one of these hacks instead. It depends on the overall look.

Thanks guys.

AN-net 03-08-2004 09:23 PM

wut do you guys mean images on the category bar? can you show me an example?

Arkham 03-09-2004 12:02 AM

Quote:

Originally Posted by sweet22
wut do you guys mean images on the category bar? can you show me an example?

It's the bar/text above the forum names, where it lists the category of forums.

I can't screenshot one for you now, but for reference look at vbulletin.com. The forum categories "vBulletin 2", "vBulletin 3" etc are category strips.

AN-net 03-09-2004 12:42 AM

do you mean a background for em or replace em?

Arkham 03-09-2004 01:40 PM

Quote:

Originally Posted by sweet22
do you mean a background for em or replace em?

I was trying to put an image as a background, but ran into spacing issues. What I did was just insert my image in the background box (in Styles) but then I'd have to fiddle with the template to fix the spacing. It's okay, I'm moving on to another idea.

I just have to examine the differences between your method, Floris', and any others I can find.

Thanks for posting this! It's pointing me in the right direction.

Arkham 03-09-2004 07:55 PM

Hmmm. I can't get it to work myself, so I tried looking at this mod for the answer. I still cant' get it to work.

This is my version, which looks to be functionally similar to this hack (which I also tried but got the exact same results outlined below):

Code:

UPDATED W/EDIT:
 
<table width="100%" cellpadding="0" cellspacing="0" valign="bottom">
<tr>
<td style="$stylevar[left]">
<img src="$stylevar[imagesfolder]/inkbleed/topl_tcat.gif">
</td>
<td background="$stylevar[imagesfolder]/inkbleed/top_tcat.gif" width="100%">
</td>
<td style="$stylevar[right]">
<img src="$stylevar[imagesfolder]/inkbleed/topr_tcat.gif">
</td>
</tr>
</table>
<if condition="$forum[forumid] == 2">
<else />
</table><table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="100%" align="center">
</if>
<tbody>
<tr>
<td class="tcat" colspan="<if condition="$vboptions[showmoderatorcolumn]">6<else />5</if>">
<a style="float:$stylevar[right]" href="#top" onclick="return toggle_collapse('forumbit_$forumid')"><img id="collapseimg_forumbit_$forumid" src="$stylevar[imgdir_button]/collapse_tcat{$collapseimg_forumid}.gif" alt="" border="0" /></a>
<a href="forumdisplay.php?$session[sessionurl]f=$forum[forumid]">$forum[title]</a>
<if condition="$show['forumdescription']"><div class="smallfont">$forum[description]</div></if>
<if condition="$show['subforums']"><div class="smallfont"><strong>$vbphrase[subforums]</strong>: $forum[subforums]</div></if>
</td>
</tr>
</tbody>
<if condition="$childforumbits">
<tbody id="collapseobj_forumbit_$forumid" style="{$collapseobj_forumid}">
<tr align="center">
<td class="thead">&nbsp;</td>
<td class="thead" width="100%" align="$stylevar[left]">$vbphrase[forum]</td>
<td class="thead" width="175">$vbphrase[last_post]</td>
<td class="thead">$vbphrase[threads]</td>
<td class="thead">$vbphrase[posts]</td>
<if condition="$vboptions[showmoderatorcolumn]">
<td class="thead">$vbphrase[moderator]</td>
</if>
</tr>
$childforumbits
</tbody>
</if>
<table width="100%" cellpadding="0" cellspacing="0" valign="bottom">
<tr>
<td style="$stylevar[left]">
<img src="$stylevar[imagesfolder]/inkbleed/bottoml_tcat.gif">
</td>
<td background="$stylevar[imagesfolder]/inkbleed/bottom_tcat.gif" width="100%">
</td>
<td style="$stylevar[right]">
<img src="$stylevar[imagesfolder]/inkbleed/bottomr_tcat.gif">
</td>
</tr>
</table>

I had moved the headers under the categories on my own before this, so I didn't install the other recommended hack. (I've looked at it and it's exactly the same thing anyway...)

I didn't add the spacer hack because my images already act as automatic spacers.

What happens with the above is that the first category doesn't follow the proper class, so the background doesn't follow the 1st/2nd alternating colour styles, and the img is subject to the cellpadding rather than flush. My second category has the proper style but there is a space after its top image and the category text.

I don't get it...


edit:

I fixed some of it. The problem was I put "1" as my first forum, instead of "2". That has now solved the style issue.

BUT... I still have a gap (looks like 1st/2nd alternative colour) between the bottom image and the following top image, as well as a blank space (?) between the top cat image and the forum contents. So, I can't get the bottom/top images to lie flush, nor can I get the top image to lie flush with the contents of the category.


edit:

I went back to my method (using img within cell instead of cell/background for middle image.

I solved the extra gaps by adding a break after each left/middle/right image in the top and bottom tables. I've run into this before, where adding a break will remove a space, but I can't figure that out. It's just been, to me, a cheat fix. Anyone care to explain this one to me?

Anyway, I've got it all sorted out. Thanks for putting up with all my edits. ;)

Owen 03-17-2004 07:44 PM

is it possible to use this with floris' cat spacing modification?

imported_Cool_Rice 05-29-2004 07:20 PM

Hello,

does this hack also affect the post bit part too? and is there a hack that spaces out peoples posts more?


All times are GMT. The time now is 04:43 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.01276 seconds
  • Memory Usage 1,773KB
  • 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
  • (7)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (23)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