Go Back   vb.org Archive > vBulletin Modifications > Archive > vB.org Archives > vBulletin 3.0 > vBulletin 3.0 Template Modifications
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools
Vb3 Rc3 Category Images! Details »»
Vb3 Rc3 Category Images!
Version: 1.00, by AN-net AN-net is offline
Developer Last Online: Jan 2010 Show Printable Version Email this Page

Version: Unknown Rating:
Released: 02-05-2004 Last Update: Never Installs: 0
 
No support by the author.

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

Show Your Support

  • This modification may not be copied, reproduced or published elsewhere without author's permission.

Comments
  #22  
Old 03-09-2004, 07:55 PM
Arkham's Avatar
Arkham Arkham is offline
 
Join Date: Nov 2001
Location: Toronto, Ontario
Posts: 134
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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.
Reply With Quote
  #23  
Old 03-17-2004, 07:44 PM
Owen Owen is offline
 
Join Date: Jan 2002
Posts: 163
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

is it possible to use this with floris' cat spacing modification?
Reply With Quote
  #24  
Old 05-29-2004, 07:20 PM
imported_Cool_Rice imported_Cool_Rice is offline
 
Join Date: May 2004
Posts: 24
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Hello,

does this hack also affect the post bit part too? and is there a hack that spaces out peoples posts more?
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 06:20 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.03699 seconds
  • Memory Usage 2,239KB
  • Queries Executed 18 (?)
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)bbcode_code
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (6)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (2)pagenav_pagelink
  • (4)post_thanks_box
  • (4)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (4)post_thanks_postbit_info
  • (3)postbit
  • (4)postbit_onlinestatus
  • (4)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_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
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete