php forum
php mysql forum
php mysql smarty
 
Page 1 of 3 1 2 3 >
Topic Options
#111839 - 03/12/02 10:54 PM Category Seperation
gost95 Offline
Member

Registered: 03/08/02
Posts: 97
Loc: honeycomb hideout
i know this has been talked about a lot, and i read a few posts on it but i still haven't seen a post yet that explained it fully. i want to have a half inch or more space between categories. it gives each category a more seperate feel from the one before and after it.

i also wanted to round the corners on the category table which wouldn't look right if they were connected.

i have UBB 6.1.0.3 and i've already tried the hack where you replace "$TBT" with "<table><tr><td>" and added the "$TBB
$TBT" under "my $CategoryStrip = qq~". yes it did seperate the categories but my page was a mess afterwards. all the tables were different widths and nothing was even in a pattern.

so i'm assuming that since the last time this was talked about, there has been some advancements and it's a little bit easier. if not then would anybody be willing to talk to me on AIM or something about this and maybe look at my code?

thank you a lot.

Top
#111840 - 03/13/02 05:08 AM Re: Category Seperation
freak.scene Offline
Member

Registered: 08/15/00
Posts: 677
Loc: Charlotte, NC
sorry this reply is really not much help...

just wanted to say hello to another ubbdever frrom Charlotte tipsy

so hello already.
_________________________
jeremiah

Top
#111841 - 03/13/02 06:51 AM Re: Category Seperation
WhiteBlade Offline
Member

Registered: 05/26/01
Posts: 178
Loc: Quebec, Canada
well if you read this

http://www.ubbdev.com/ubb/ultimatebb.php?ubb=get_topic;f=17;t=000387

Your going to and up with something all not align. You have to find all the coade to align them and I didn't found any of them right now frown
_________________________
My MSN : whiteblade6@hotmail.com

I currently have [img]http://lkubb.web-performance.net/cgi-bin/ud.pl?u=WhiteBlade;s=1[/img] and I returned
[img]http://lkubb.web-performance.net/cgi-bin/ud.pl?s=2;u=WhiteBlade[/img] results !

Top
#111842 - 03/13/02 10:57 AM Re: Category Seperation
gost95 Offline
Member

Registered: 03/08/02
Posts: 97
Loc: honeycomb hideout
charlotte's in the house!! hehe

sorry about that...not trying to waste a post...just wanted to reply to the charlotte comment.

Top
#111843 - 03/13/02 10:58 AM Re: Category Seperation
RandyM Offline
Spotlight Winner

Registered: 06/28/01
Posts: 2642
Loc: Southern California | Guitar o...
The easiest way to make them line up is to move the "lightbulbs" to the right side instead of the left. They will line up with very little effort that way.
_________________________
3 time Spotlight winner.
Believe The Lie

Top
#111844 - 03/13/02 01:21 PM Re: Category Seperation
gost95 Offline
Member

Registered: 03/08/02
Posts: 97
Loc: honeycomb hideout
alright, now is there a way to line everything up without doing the lightbulbs idea.

i really think having the lightbulbs on the right side of the board would look really ugly.

i'm willing to change whatever code needs to be changed...i just need help finding that code as i don't know perl and cgi.

thanks to everyone for the help so far.

Top
#111845 - 03/14/02 10:19 AM Re: Category Seperation
gost95 Offline
Member

Registered: 03/08/02
Posts: 97
Loc: honeycomb hideout
i'm willing to do this the hard way but i just need a little guidance.

anyone feel like helping me out on AIM or something?

Top
#111846 - 03/14/02 12:10 PM Re: Category Seperation
RandyM Offline
Spotlight Winner

Registered: 06/28/01
Posts: 2642
Loc: Southern California | Guitar o...
I was able to get it to work with up to 3 categories (any more and the lightbulbs would go out of alignment) by specifying widths for the various "td's". This is not easily done and that's the reason that you don't see it very often. Any slight change to the summary page can totally throw it off. If you look at the way the lightbulbs work you'll see why they become the issue.
_________________________
3 time Spotlight winner.
Believe The Lie

Top
#111847 - 03/14/02 10:26 PM Re: Category Seperation
AllenAyres Administrator Offline
I type Like navaho

Registered: 03/10/00
Posts: 25461
Loc: Texas
bookie had it lookin real good on his site for a while, it was beautiful :sniff: - mebbe he might have time to share the secret smile
_________________________
- Allen wavey
- What Drives You?

Top
#111848 - 03/14/02 10:36 PM Re: Category Seperation
RandyM Offline
Spotlight Winner

Registered: 06/28/01
Posts: 2642
Loc: Southern California | Guitar o...
</font><blockquote><font size="1" face="Verdana, Helvetica, sans-serif">quote:</font><hr /><font size="2" face="Verdana, Helvetica, sans-serif">Originally posted by AllenAyres:
bookie had it lookin real good on his site for a while, it was beautiful :sniff: - mebbe he might have time to share the secret smile </font><hr /></blockquote><font size="2" face="Verdana, Helvetica, sans-serif">That's what I was refering to, I had it going too but it seems that as soon as you have more than 3 categories the lightbulbs take over again. When I had the lightbulbs repositioned of course it was flawless.
_________________________
3 time Spotlight winner.
Believe The Lie

Top
#111849 - 03/14/02 11:39 PM Re: Category Seperation
Bookie Offline
Member / Blamoholic

Registered: 01/23/01
Posts: 1296
Loc: Alberta, Canada
I still do have them seperated. wink

http://www.clan-316.com/ubbcgi/ultimatebb.cgi

I will post some exact instructions for those wanting this tommorow. smile

Top
#111850 - 03/15/02 01:20 AM Re: Category Seperation
Stilgar Offline
Old Hand

Registered: 02/06/01
Posts: 2324
Loc: Northern California
wanting and waiting... laugh

Top
#111851 - 03/15/02 06:57 AM Re: Category Seperation
WhiteBlade Offline
Member

Registered: 05/26/01
Posts: 178
Loc: Quebec, Canada
Thanks Bookie !!!!!!
_________________________
My MSN : whiteblade6@hotmail.com

I currently have [img]http://lkubb.web-performance.net/cgi-bin/ud.pl?u=WhiteBlade;s=1[/img] and I returned
[img]http://lkubb.web-performance.net/cgi-bin/ud.pl?s=2;u=WhiteBlade[/img] results !

Top
#111852 - 03/15/02 12:45 PM Re: Category Seperation
gost95 Offline
Member

Registered: 03/08/02
Posts: 97
Loc: honeycomb hideout
*eagerly anticipating the arrival of the "exact instructions"* hehe

Top
#111853 - 03/15/02 10:43 PM Re: Category Seperation
Bookie Offline
Member / Blamoholic

Registered: 01/23/01
Posts: 1296
Loc: Alberta, Canada
Here. smile

I haven't tested those instructions, so let me know how they work. laugh Thanks.

Top
#111854 - 03/16/02 12:16 AM Re: Category Seperation
Stilgar Offline
Old Hand

Registered: 02/06/01
Posts: 2324
Loc: Northern California
Thanks Bookie!

For the novice (me) you might want to say which files are to be edited. smile

Top
#111855 - 03/16/02 01:07 AM Re: Category Seperation
dende Offline
Spotlight Winner

Registered: 04/15/01
Posts: 700
Loc: Soignies, Belgium
it looks like public_forum_summary.pl is the only file edited. smile
_________________________
·: First Place Winner: UBBDev September 2001 Member Spotlight
·: First Place Winner: UBBDev May 2002 Member Spotlight

Top
#111856 - 03/16/02 02:02 AM Re: Category Seperation
gost95 Offline
Member

Registered: 03/08/02
Posts: 97
Loc: honeycomb hideout
ewwwwww...sorry guy, some things need to be checked i think. damn...i'll take a picture of it and then just post that because i can't leave my board like this.

there's these black boxes all over the place.

if you want, i'll email you the .pl file for you to look at too but this definitely didn't work for me.

thanks for the trouble so far though...hope you keep working on it because this is in such high demand and most people don't know how to do it.

-dustin

Top
#111857 - 03/16/02 02:52 AM Re: Category Seperation
gost95 Offline
Member

Registered: 03/08/02
Posts: 97
Loc: honeycomb hideout
alright here's the three links to the top, middle and bottom of my main page after the hacking:

http://www.gsentertainment.net/top.jpg

http://www.gsentertainment.net/middle.jpg

http://www.gsentertainment.net/bottom.jpg

now here's a link to my page looks without the hack:

http://www.mvremix.netfirms.com/cgi-bin/ultimatebb.cgi

not sure what happened but i would guess that it's just a couple smaller/minor details.

thanks for your continuous help. -dustin

Top
#111858 - 03/16/02 09:06 AM Re: Category Seperation
Shinju Offline
Member

Registered: 01/28/02
Posts: 45
I did it on my test board, seems to work fine. Don't think i'm gonna do it with my main board tho. we'll see wink i'm tempted just so it looks different today than it did yesterday

Top
#111859 - 03/16/02 10:13 AM Re: Category Seperation
Bookie Offline
Member / Blamoholic

Registered: 01/23/01
Posts: 1296
Loc: Alberta, Canada
Hmmm, wierd.

Oh right, it is public_forum_summary.pl you need to edit. tipsy

Top
#111860 - 03/16/02 10:34 AM Re: Category Seperation
gost95 Offline
Member

Registered: 03/08/02
Posts: 97
Loc: honeycomb hideout
any chance in the world of getting you to look at my file...or is that even necessary for you to figure this one out?

Top
#111861 - 03/16/02 12:53 PM Re: Category Seperation
RandyM Offline
Spotlight Winner

Registered: 06/28/01
Posts: 2642
Loc: Southern California | Guitar o...
$Postc.= qq~
needs to be
$PostC.= qq~

And I'm getting double and triple column headers on a test board;

click here

I rechecked the my edits but i'm a little brain dead right now. I may have edited something wrong.
_________________________
3 time Spotlight winner.
Believe The Lie

Top
#111862 - 03/16/02 02:19 PM Re: Category Seperation
Sonic UBB Offline
Junior Member

Registered: 03/05/02
Posts: 16
That has something to do with $TBT Find it and delete it. If that deosnt work tell me.

Top
#111863 - 03/16/02 02:38 PM Re: Category Seperation
RandyM Offline
Spotlight Winner

Registered: 06/28/01
Posts: 2642
Loc: Southern California | Guitar o...
Well, I fixed it but I hard coded the post/topics etc. since I never change them. It seems that each time it loops through the sub CategoryStrip it adds another set.
_________________________
3 time Spotlight winner.
Believe The Lie

Top
#111864 - 03/16/02 02:40 PM Re: Category Seperation
RandyM Offline
Spotlight Winner

Registered: 06/28/01
Posts: 2642
Loc: Southern California | Guitar o...
There's also an extra TD after $Mods
_________________________
3 time Spotlight winner.
Believe The Lie

Top
#111865 - 03/16/02 03:23 PM Re: Category Seperation
Sonic UBB Offline
Junior Member

Registered: 03/05/02
Posts: 16
So what do we do to fix this problem with the extra fields because i am now getting the same thing as well. Ignore my saying about deleting the TBT thingy. You dont want to do that. I have been trying to fix this problem but it aint working.

Top
#111866 - 03/16/02 03:33 PM Re: Category Seperation
gost95 Offline
Member

Registered: 03/08/02
Posts: 97
Loc: honeycomb hideout
delete $TBT?? there's six of them so i'm not sure what you mean.

also, an extra TD after $Mods??

here's the two places that i have the "$Mods" and i don't see any extra ones:

#1 $TBB


$TBT
<tr bgcolor="$vars_style{TableColorStrip}"><td colspan="2" width="45%">
<a href="$ULTIMATEBB?category=$thisforumcategory"><font size="$vars_style{TextSize}" face="$vars_style{FontFace}"

color="$vars_style{CategoryStripTextColor}"><b>$CategoryName</b></font></a>
</td>
$TopicC
$PostC
$LastPost
$Mods
</td></tr>

~;

return ($CategoryStrip);

#2 <td nowrap="nowrap" valign="bottom" align="left" width="25%">
<font size="1" face="$vars_style{FontFace}" color="$vars_style{TableStripTextColor}"><b>$vars_wordlets{last_post_column}

</b></font>
</td>

~;

if ($vars_display{ShowMods} ne 'no') {

$Mods .= qq~

<td valign="bottom" align="center">

hmmm...

Top
#111867 - 03/16/02 03:36 PM Re: Category Seperation
gost95 Offline
Member

Registered: 03/08/02
Posts: 97
Loc: honeycomb hideout
sorry, i see that you now said not to delete the $TBT.

Top
#111868 - 03/16/02 03:39 PM Re: Category Seperation
Sonic UBB Offline
Junior Member

Registered: 03/05/02
Posts: 16
I no i cant find out what to do. Lol. confused

Top
#111869 - 03/16/02 07:05 PM Re: Category Seperation
Sonic UBB Offline
Junior Member

Registered: 03/05/02
Posts: 16
Xpert you said you know how to fix it. What did u do. Can you please share the info. Thank you. I really need this hack installed. Thanks.

Top
#111870 - 03/16/02 08:15 PM Re: Category Seperation
gost95 Offline
Member

Registered: 03/08/02
Posts: 97
Loc: honeycomb hideout
yes, could please share the "info" with us. everything seems to be cool except that each category has one more extra clone of the titles than the one before it.

it would be great if we could finally get a hack of this engraved in stone.

Top
#111871 - 03/16/02 08:19 PM Re: Category Seperation
RandyM Offline
Spotlight Winner

Registered: 06/28/01
Posts: 2642
Loc: Southern California | Guitar o...
I changed everything in the sub category strip to be hard coded.

[code][/code]
_________________________
3 time Spotlight winner.
Believe The Lie

Top
#111872 - 03/16/02 08:23 PM Re: Category Seperation
RandyM Offline
Spotlight Winner

Registered: 06/28/01
Posts: 2642
Loc: Southern California | Guitar o...
You also don't have to do all the deletions if you open ubb_forum_summary.cgi and remove
$ThisHTML .= &normal_table_top; # some HTML
under "sub NormalView"
_________________________
3 time Spotlight winner.
Believe The Lie

Top
#111873 - 03/16/02 09:55 PM Re: Category Seperation
gost95 Offline
Member

Registered: 03/08/02
Posts: 97
Loc: honeycomb hideout
</font><blockquote><font size="1" face="Verdana, Helvetica, sans-serif">quote:</font><hr /><font size="2" face="Verdana, Helvetica, sans-serif">Originally posted by XPerT:
You also don't have to do all the deletions if you open ubb_forum_summary.cgi and remove
$ThisHTML .= &normal_table_top; # some HTML
under "sub NormalView"
</font><hr /></blockquote><font size="2" face="Verdana, Helvetica, sans-serif">what deletions are you talking about. are you talking about from the first code that was posted in this thread?

also, after added the above code that you posted, i still have the repeated/cloned titles, so something else still needs to be changed or added.

Top
#111874 - 03/16/02 10:27 PM Re: Category Seperation
Sonic UBB Offline
Junior Member

Registered: 03/05/02
Posts: 16
Yes i like how the coding is changed. Less coding and it is more hard coded. But i am getting the same error has the other guy. All tables are wierd and the Moderators font for the tbale is not the correct size. I dont no why this a prob. How did you get it to work Xpert?

Top
#111875 - 03/16/02 10:30 PM Re: Category Seperation
Sonic UBB Offline
Junior Member

Registered: 03/05/02
Posts: 16
ok i was doing some tests and it works fine. But without the news fader. With the news fader it works like **** . So does any one no hwo to get this working with the news fader. I have been doing some tests and still now luck guys.

Top
#111876 - 03/16/02 10:31 PM Re: Category Seperation
RandyM Offline
Spotlight Winner

Registered: 06/28/01
Posts: 2642
Loc: Southern California | Guitar o...
Those are the changes that I made. I don't know what else to share.
_________________________
3 time Spotlight winner.
Believe The Lie

Top
#111877 - 03/16/02 10:42 PM Re: Category Seperation
RandyM Offline
Spotlight Winner

Registered: 06/28/01
Posts: 2642
Loc: Southern California | Guitar o...
did you replace verything from "sub CategoryStrip" to "#end category strip"?
_________________________
3 time Spotlight winner.
Believe The Lie

Top
#111878 - 03/16/02 11:18 PM Re: Category Seperation
Sonic UBB Offline
Junior Member

Registered: 03/05/02
Posts: 16
yes for some reason it has to be the news fader. You must add the table thingies to the news fader as well and the statistics and authority list as well if you want it to work correctly.

Top
#111879 - 03/17/02 09:52 AM Re: Category Seperation
Bookie Offline
Member / Blamoholic

Registered: 01/23/01
Posts: 1296
Loc: Alberta, Canada
Yeah, I goofed. I tried to make it so it would work for those who have disabled post, topic, or moderator columns. But I don't think thats going the work.

The way I currently have it is the way XPerT has it up at the top.

Top
#111880 - 03/17/02 03:40 PM Re: Category Seperation
gost95 Offline
Member

Registered: 03/08/02
Posts: 97
Loc: honeycomb hideout
i just need to know if it's possible to have seperated categories with my board?

i have the "authority hack", the "chat hack", "wol" and the "stats hack" so those would need to be sperated somehow, or i could move a couple of those to the top of the board so they would connect with each other.

i've tried all these codes and the problem still remains with the titles cloning themselves.

Top
#111881 - 03/17/02 06:01 PM Re: Category Seperation
WhiteBlade Offline
Member

Registered: 05/26/01
Posts: 178
Loc: Quebec, Canada
The best I could do is on my board right now

Anyone know how to fix this ??

My board

If you look carefully the second and last category are align well.
The first and third one are align too but not well.
And First and third are align one way and second and last are align another way.

strange
_________________________
My MSN : whiteblade6@hotmail.com

I currently have [img]http://lkubb.web-performance.net/cgi-bin/ud.pl?u=WhiteBlade;s=1[/img] and I returned
[img]http://lkubb.web-performance.net/cgi-bin/ud.pl?s=2;u=WhiteBlade[/img] results !

Top