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)
-   -   Category Images Top & Bottom + Category Spacing (https://vborg.vbsupport.ru/showthread.php?t=88815)

Rick Sample 09-30-2004 11:35 PM

lol...My forum home and forum home postbit files are pretty modifed so I hope you guys can take some of my code out and put in this addition to help me out a little :) I tried and it kept making the category title disappear and the image would be about 1 inch above the title.

Here is my coding. Its pretty modified. I had to change a lot of stuff around to get the breaks inbetween my forums Hope some of you can give me a hand :)

Rick Sample 11-01-2004 11:23 PM

everytime I try it, I can't get the middle part to show. I've tried it on my custom one, then one from complete scratch. http://forums.thephonemall.net/index.php?styleid=6

My categorie stripes are set to:

#000000 url(images/gradients/gradient_tcat.gif) repeat-x top left When I change that color, the color in the midle changes. Any thoughts?

dangonay 11-02-2004 05:21 AM

Well, this is the first mod I have ever done to VB (I'm running 3.03) and it worked right off the bat. :) I used some colored dummy images so I could tell what's going onscnreen before I make up my final images.

I never bothered to do a thing with the category strips background, but I'm assuming whatever background I put in Style Manager > All Style Options > Category Strips > Background will appear between my left & right images.

I have one question that I didn't find (sorry if it's been posted). The spacing values of 5px 5px 5px 5px stand for, what? Which number puts the pixel spaces where? Is it left, right, top bottom or similar?

-Shocker- 12-31-2004 05:30 AM

How do I take off the border on the category so when I have category images like I have in the image there isn't that border around it so it makes it look square when really it's rounded.

AV2 02-14-2005 02:24 AM

im just getting really weird results, I tried everyone else's fixes but no good comes out of it. Anyone have any ideas on what may be wrong? How can I fix it?


Thanks.

starfantazy 02-16-2005 01:46 AM

it works on vb3.0.6?

Trekkie 02-20-2005 05:36 PM

works on vb3.0.6 ?

proxx 02-21-2005 12:17 AM

Could someone answer this please:

Does this mod allow adding images to the MAIN category (the kind of category that doesn't allow posting)?

the main category as you can see in my attachment.

If not, how can this be done?

Tony G 02-21-2005 02:42 AM

You can do that, but this mod won't do that for you. It depends, if you want 3 images going across (left, middle and right) then the mod will do that for you. If you want one image, and only on the side, then no.

TruthElixirX 02-21-2005 07:34 PM

What did I screw up? It won't let me add the image to the place it says "Main Category" or is it supposed to?

www.punktek.com/forums

EDIT:: See where those images are showing up (They're just test images..I'm not that bad. :D) I want them to show up on the Main Category and Category 2. They need ot be on either side much like I've seen but somehow I screwed up. Do I need to post my forumhome template coding or? >.<. I can't revert cause I already had some mods made to it.

EDIT 2:: I just completely deleted it. I'm gonig to try re-installig it.

Rich 02-25-2005 03:30 AM

Hello,
For those that were wondering, this does work on 3.0.7. I just installed it, and the installation went flawless. For those of you that are not seeing the space between the forums, it is a simple fix. There is a typo in the instructions.

In your forumhome_forumbit_level1_nopost you are told to place this at the VERY bottom.

PHP Code:

<div style="padding: 5px 5px 5px p5x;"></div


If you look at the numbers, the last 5px is written incorrectly. You should actually add this:

PHP Code:

<div style="padding: 5px 5px 5px 5px;"></div

If you have done everything as you were instructed, and make this change that is posted, the spacing will appear.
Also, if you use massive graphics for your top cat., the bottom one might appear not to work. I had this problem. Once I shrunk my cat images down, the bottom and top appeared as they were supposed to.

I would show an example, but I played with this on my test site before I actually install it on my real site.

:Judge: 05-28-2005 03:07 AM

My collasping images have been pushed into the middle. I have been trying for like 2 or 3 hours just trying to figure it out and I cannot find my issue.

:Judge: 05-30-2005 02:48 AM

Anyone please :)

:Judge: 05-30-2005 03:34 AM

Quote:

Originally Posted by gfd
I'm have the same probelm with Croft. As well as the additional problem of wrong widths in one of the columns.

An extra row that appears underneath the thread title, in Firefox and Opera - IEWin does not show it.

I checked the code and it's this:
<thead>
<tr>
<td class="tcat" colspan="<if condition="$vboptions[showmoderatorcolumn]">6<else />5</if>">
</td>
</tr>
</thead>

What exactly does this empty row do? Firefox and Opera do display empty rows unlike IE, and it doesn't look nice when it's empty.

I just deleted this row but I would like to know its purpuse. Please advise.

As far as the problem with the widths, please see the screenshot provided. Firefox displays it correctly, but Opera and IEWin do not.


Any suggestions?

thanks

PS. excellent mod by the way.

Yes why is this extra table there? I didnt take mine out because I dont know if i should.

slowroastedx 06-15-2005 12:21 AM

I have some problems with my forum. www.jamaicapromote.com/forum

look at the lower cat image on top and then a lower cat image is missing on the bottom

here is the code

PHP Code:

<if condition="$forum[forumid] == 9"> <else /> 

 
<!-- 
BOTTOM TABLE IMAGE -->
<
table width="100%" border="0" cellpadding="0" cellspacing="0" background="images/jamaica/bottom_slice.gif"
  <
tr
    <
td width="50%" align="left" valign="top"><img src="images/jamaica/bottom_left.gif" alt="left" /></td
    <
td width="50%" align="right" valign="top"><img src="images/jamaica/bottom_right.gif" alt="right" /></td
  </
tr
</
table

<!-- 
END BOTTOM TABLE IMAGE -->

<
br /> 
</if> 

<!-- 
top category table setup --> 
<
table class="tborder" border="0" cellpadding="0" cellspacing="0" width="100%" valign="bottom" align="bottom" background="images/jamaica/body_slice.gif"
  <
tr
    <
td width="" height="25" align="left" valign="top"><img  src="images/jamaica/body_left.gif" width="95" height="25" alt="left" /></td
    <
td width="100%" valign="top">
      <
div align="center"> <a href="forumdisplay.php?$session[sessionurl]f=$forum[forumid]"><b>$forum[title]</b></a></div
      <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
      </
div
      </if> </
td
    <
td width="" height="25" align="right" valign="top"><img src="images/jamaica/body_right.gif" width="42" height="25" alt="right" /></td
  </
tr
</
table
<!-- 
End top category table setup --> 
<
table class="tborder" cellpadding="$stylevar[cellpadding]cellspacing="$stylevar[cellspacing]border="0" width="100%" align="center"
<if 
condition="$childforumbits"
<
tbody id="collapseobj_forumbit_$forumidstyle="{$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="200">$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> 

thx

:Judge: 07-05-2005 11:54 PM

Could someone give me any answers?

BillyFischbach 07-06-2005 05:31 AM

How do I just do the category spacing thing? only if I use gradients?

G3MM4 07-09-2005 06:48 PM

Thanks for posting this mod, I've been wondering how to customise the category strips in this way. It's all worked fine, but I keep getting a problem with the background showing up where it shouldn't. The custom category strip is meant to be rounded, but I can still see the background (marked by red circles). Please see attachment. How can I solve this problem?

G3MM4 07-11-2005 07:47 PM

Bump!

Can anyone help please?

Jacqueline 07-12-2005 12:46 AM

Quote:

Originally Posted by G3MM4
Thanks for posting this mod, I've been wondering how to customise the category strips in this way. It's all worked fine, but I keep getting a problem with the background showing up where it shouldn't. The custom category strip is meant to be rounded, but I can still see the background (marked by red circles). Please see attachment. How can I solve this problem?

I solved this by not making the corners transparent. I colored them the color of the background.

Jacqueline 07-12-2005 12:56 AM

Quote:

Originally Posted by :Judge:
My collasping images have been pushed into the middle. I have been trying for like 2 or 3 hours just trying to figure it out and I cannot find my issue.

I believe it gets put just before the graphic for your top right corner. To move it more to the right, you can shrink the size of your corner.

G3MM4 07-13-2005 03:46 AM

Actually I've found a way of doing it too. Basically, you put your code in as per Zachery's mod instructions, but you don't put an url to the tcat image in the category CSS section in the style manager. Instead, you put the same colour as your page background is. Voila, you now have "transparent" corners. Took me ages to work that out, lol.

idwf 08-23-2006 08:25 PM

Any updates for 3.6.0 please?!

peterska2 08-24-2006 11:32 AM

Works fine in 3.5.x and 3.6.x

idwf 08-24-2006 04:48 PM

actually, i think you'll find it doesn't and jake bunce would agree with me. However, as your mod, i spose your right..hmmm

peterska2 08-24-2006 04:54 PM

In what way is it not working? It works perfectly for me.

There is a typo in the very last line of the instructions where there is a p5x which should be 5px but thats it.

Can you provide a link to where it is not working?

trickfly 01-17-2007 10:45 PM

Has anyone got any screenshots of this hack, the live demo site does not work!

please PM me

Phantasmagoric 02-10-2009 09:47 PM

Zachery, is it possible to have an update of this to work with 3.8.1 please?

vithorius 02-16-2009 08:36 AM

Quote:

Originally Posted by trickfly (Post 1161754)
Has anyone got any screenshots of this hack, the live demo site does not work!

I would like to ask for the same! :eek:


Thank you very much! :up:

Phantasmagoric 02-21-2009 09:02 AM

Quote:

Originally Posted by Phantasmagoric (Post 1740258)
Zachery, is it possible to have an update of this to work with 3.8.1 please?

Don't worry yourself, I figured it out myself.


All times are GMT. The time now is 06:44 AM.

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.01244 seconds
  • Memory Usage 1,841KB
  • 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_php_printable
  • (5)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (2)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (30)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
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete