![]() |
Category Spacing for Gold+
The old thread has tons of unneeded info, so heres Category Spacing for Gold+
|
hello
where screen shot nice Edit thanx |
Just like vB.org :)
|
Woo! Thanks for releasing this seperate, Zachery. :)
|
The other one works for gold too, i have it on my board...
|
well this one i also not working, no category spacing, and the alignment is again a mess
|
typo on last line of the txt
find: HTML Code:
<div style="padding: 5px 5px 5px p5x;"></div> HTML Code:
<div style="padding: 5px 5px 5px 5px;"></div> |
I installed this as posted and a lot of the forum columns were out of alignment. I replaced this code from the mod:
HTML Code:
<tr align="center"> HTML Code:
<tr align="center"> HTML Code:
<td class="thead" width="240">$vbphrase[last_post]</td> |
I do have an alignment fix to post to help everyone here :) it will come later today ;)
|
Is it possible that you could install this for me? I tried several times but doesn't seem to be working. PM me if you can please
|
thx for this release.
But you should update your instructions with the fix from OGT cause without it there is no spacing! Greetings StarBuG |
Thank you for this mod, just what I needed to continue my forums layout. ^^
|
Quote:
|
Edit: never mind, I found another mod that did what I wanted :)
|
your havnig probs with the moderator collumn right ?
|
Thanks Zach. :)
It perfectly worked on my forums. Here is a before/after (except for the collapse.gif): |
Not work on vb 3.0.1 why? :(
|
Quote:
|
How do you give it a bigger gap between the categories?
|
I tried this mod and I'm pretty pleased. Still there's a little problem I've got.
There's one forum we've got, that's not put in a categorie. It's the first forum on the list and well, there's no spacing between this forum and the categorie following. Additionally this forum column shows up wider than the others. I suppose I need to modify the forumhome_forumbit_level1_post too? |
Nevermind, I solved it.
|
How Schwarze? I'm sure others have the same issue, so when people solve an issue they ask about, its always good to note how you did it.
|
change p5x to 5px
|
@OGT: Of course I will, I'm just doing a bit of refactoring and going to attach it afterwards :)
|
Im reworking some of this otherwise i would have posted sooner :)
|
No problem :) Has been better for me anyway 'cause I think I finally understood the code design.
Here's what I did. Instead of putting a <div> behind every first level categorie I put a <br /> before them. This way it still works when you're having forum on the first level and not only categories. (I hope you understand what I mean *coughs*) All you've got to do is modify the forumhome_forumbit_level1_nopost. Replace Code:
<tbody> Code:
</table> |
:D Now work but no space between last category and "What's Going On?".
:( ... http://www.politicaonline.net/forum/images/smile/au.gif Quote:
|
The column alignment is fixed now.
Replace the following: Quote:
Quote:
|
:confused:
If my Main Table Width is 760 this is my result (see help.gif) |
You have to extend the width of the What's Going On table too, since 760 isn't the default width of those tables.
|
i installed the mod.
need to fix the width of LAST POST.. i tried to made it 240 its not GOING beyond that dunt know why ?? check attachment pls :) |
It's not going beyond because the whole width of the table cannot exceed the number you have put it.
To make it 240, you either have to make the other table/s smaller, or making the whole table wider, then set 240. |
Quote:
:rolleyes: |
Extend the top table too, as well as the image at the bottom.
|
Now ok.
In "main table width" is 760 px and my "forumhome_forumbit_level1_nopost" is: PHP Code:
|
Ok, this installed real nice except of the column spacing issue. I used the code Sandrose posted, and while everything is lined up now, I too still have the overhanging catagories. I dont quite understand what I am supposed to be modifying to even it out. My test forum is set for 800px width.. did adding this expand the catagories beyond 800px or has my header reduced width? Sorry, not really sure what I need to do to fix this if someone would kindly explain it. :)
Also, I found that a catagory with no posts in it (as in a forum thats actually a direct link to an external link) stays a bit out of alignment. Thanks in advance! |
Anyone please?
|
that's cool.
|
Getting the next error if i save the edited template: FORUMHOME, tried it a few times.. can someone tell me what it is?
Quote:
|
It seems there was some changes between v3.0.0 and 3.0.1 that effect this because I saw strange results as well after a clean install of 3.0.1 on my local test forum and then applying this.
What I did to get the desired results and correcting both my column and underhanging table problems, was actually go back and visit Zacherys older hack for the gamma versions and mash out a solution. If Zackary doesnt mind, let me try to explain what I did and if he or anyone else want to point out any mistakes, please feel free. Amazingly, having no idea what I was doing and I simply got lucky adding things here, pulling things there until it worked for me. First off for those of you who have a fixed width forum, applied this and now have the top and bottom tables underhanging from the catagories, the problem is one line of code from the directions in the first post. I replaced it with another line of code from previously mentioned gamma release of this and the overhang goes away. With the current code, despite you having a fixed width, does push the catagory tables out further than your settings so its not that the header or bottom tables need adjusting, the catagories do get bigger. Again, assuming you have applied this hack, in forumhome_forumbit_level1_nopost, find: Code:
<table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="$stylevar[outertablewidth]" align="center"> Code:
<table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="100%" align="center"> As I said above, there seems to have been a change in vb 3.0.1 and how the original directions for this play together, more specificly in the FORUMHOME template. When the directions from this mod and the gamma version are applied, I ended up with an extra Forum/Last Post/Threads/Posts table at the top so ultimatly, this is how I fully applied Catagory Spacing... Open the FORUMHOME template and find the first occurence of: Code:
<tr align="center"> Next apply the following GAMMA version of this mod originally from Zacherys "[vB 3.0.0 RC] - [Release - Gamma] Forum Spacing" post (http://www.vbulletintemplates.com/mo...ead.php?t=5390) Open forumhome_forumbit_level1_nopost and at the very top of the template add this: Code:
<if condition="$forum[forumid] == X"> Now you should have your catagories spaced and not have the extra "Forum/Last Post/Threads/Posts" table at the top. However, for those with a fixed width forum (as I do) you may now be having alignment issues with the columns. Using a suggestion from Sandrose earlier in this thread, I fixed my column alignment issue by: Open forumhome_forumbit_level1_nopost and find: Code:
<tbody id="collapseobj_forumbit_$forumid" style="{$collapseobj_forumid}"> Code:
<tr align="center"> Now you may need to adjust the numbers and % to fit your needs but those posted above are doing it for me. I tested this on vB 3.0.0 and vB 3.0.1 and it works on both. Being this really if my first time posting an actual fix with code no less, that worked for me, hopefully I explained that OK and it come out right. If not, admins/mods, please feel free to correct me. |
All times are GMT. The time now is 04:47 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 | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|