php forum
php mysql forum
php mysql smarty
 
Page 1 of 4 1 2 3 4 >
Topic Options
#112034 - 05/23/02 06:13 PM [6.3 ] Compact Headers
AllenAyres Administrator Offline
I type Like navaho

Registered: 03/10/00
Posts: 25461
Loc: Texas
Name: Compact Headers Full

Description: Tightens up the headers of the pages, works well if your forum logo is in your header, not in the forum itself.

Author: Skorpion

Demo: http://www.ubbdev.com/ubbcgi/ultimatebb.cgi

Download: Click Here

Note: This is beta code, I haven't checked it yet, so expect a bug or 2. Let me know what you find and I'll update the zip. smile
_________________________
- Allen wavey
- What Drives You?

Top
#112035 - 05/23/02 06:19 PM Re: [6.3 ] Compact Headers
Jamin Offline
Moderator / Template Diva

Registered: 03/04/00
Posts: 3368
Loc: College
I was 'fraid those guys from the other thread were gonna do something rash, like jump out of a building or something, if you didn't get this out. wink Oh well, they're safe now. Thanks for updating it, Allen. Mine are almost ready to be released too... laugh

---Jamin
_________________________
Don't put that signature in your mouth! You don't know where it's been!

Top
#112036 - 05/23/02 06:32 PM Re: [6.3 ] Compact Headers
AllenAyres Administrator Offline
I type Like navaho

Registered: 03/10/00
Posts: 25461
Loc: Texas
that i am looking forward to smile

I think we saved a few lives with the release, which is why I stayed on it until.... tipsy
_________________________
- Allen wavey
- What Drives You?

Top
#112037 - 05/23/02 07:34 PM Re: [6.3 ] Compact Headers
Nervana Offline
Junior Member

Registered: 03/22/01
Posts: 19
Loc: Cairo, Egypt
Thanks doctor wink
lets try it now.
_________________________
Nervana
Cairo, Egypt

Top
#112038 - 05/23/02 10:24 PM Re: [6.3 ] Compact Headers
AllenAyres Administrator Offline
I type Like navaho

Registered: 03/10/00
Posts: 25461
Loc: Texas
smile

If you give it a try, please post a link so I can see the results... would make it much easier to fix any remaining buglets smile
_________________________
- Allen wavey
- What Drives You?

Top
#112039 - 05/24/02 08:06 AM Re: [6.3 ] Compact Headers
X-tend Offline
Junior Member

Registered: 05/06/02
Posts: 15
well, it works perfect!

exept the point that you have to edit all template hacking of previous hack again...

THnx for the great work

Top
#112040 - 05/24/02 08:26 AM Re: [6.3 ] Compact Headers
LK Offline
Admin / Code Breaker

Registered: 03/24/01
Posts: 7396
Good job!

But:
1. public_common.pl's MainButtonLine doesn't have active topics, and there is no advice to change its wording to 'active topics'.
2. the old hack had instructions to replace something in ubb_forum_summary.cgi.
_________________________

My Hacks Page (will be back with UBB 7!)
UBBDev - We put the class into UBB.classic!

Top
#112041 - 05/24/02 09:03 AM Re: [6.3 ] Compact Headers
Charles Offline
Veteran

Registered: 10/22/00
Posts: 2637
Loc: London, UK
and I wouldn't mind a css version tipsy
(note I see that the same css files can also be used on threads wink )
_________________________
Do you believe in love at first sight,
or should I walk by again?

Top
#112042 - 05/24/02 11:29 AM Re: [6.3 ] Compact Headers
drkknght Offline
Kahuna

Registered: 11/09/00
Posts: 1249
Loc: rob's pad -- where it takes sk...
niiiiiice.

one question / buggie thing (in addition to the active topics and/or instructions.txt thing)

here's my page: http://robkamphausen.com/cgi-bin/test/testcgi/ultimatebb.cgi

i dont get any 'show topics from last __,__,__ days' option.

is that a problem on my end?
_________________________
professional discussion killer
due to intelligence limitations, i do not offer support.
my site ~ my boards

Top
#112043 - 05/24/02 11:34 AM Re: [6.3 ] Compact Headers
LK Offline
Admin / Code Breaker

Registered: 03/24/01
Posts: 7396
In public_forum_page,
Find: </font><blockquote><font size="1" face="Verdana, Helvetica, sans-serif">quote:</font><hr /><font size="2" face="Verdana, Helvetica, sans-serif"> my $this_html = qq~
<tr bgcolor="$vars_style{TableColorStrip}">
<!-- folder column -->
<td> </td>
~;</font><hr /></blockquote><font size="2" face="Verdana, Helvetica, sans-serif">Replace with: </font><blockquote><font size="1" face="Verdana, Helvetica, sans-serif">quote:</font><hr /><font size="2" face="Verdana, Helvetica, sans-serif"> my $this_html = qq~<tr bgcolor="$vars_style{AltColumnColor2}"><td colspan="7" align="left"><font size="1">$vars_wordlets{moderated_by} $Moderator $more_topics_wording $vars_wordlets{show_topics_from_last} <a href="$vars_config{CGIURL}/ultimatebb.cgi?ubb=forum;f=$in{f};DaysPrune=10">10</a> | <a href="$vars_config{CGIURL}/ultimatebb.cgi?ubb=forum;f=$in{f};DaysPrune=20">20</a> | <a href="$vars_config{CGIURL}/ultimatebb.cgi?ubb=forum;f=$in{f};DaysPrune=45">45</a> | <a href="$vars_config{CGIURL}/ultimatebb.cgi?ubb=forum;f=$in{f};DaysPrune=1000">all</a> days</font></td></tr>$pntf_locations[1]
<tr bgcolor="$vars_style{TableColorStrip}">
<!-- folder column -->
<td> </td>
~;</font><hr /></blockquote><font size="2" face="Verdana, Helvetica, sans-serif">
_________________________

My Hacks Page (will be back with UBB 7!)
UBBDev - We put the class into UBB.classic!

Top
#112044 - 05/24/02 11:42 AM Re: [6.3 ] Compact Headers
AllenAyres Administrator Offline
I type Like navaho

Registered: 03/10/00
Posts: 25461
Loc: Texas
That was something not included in the original compact headers, it was something I added a bit later. I'll update the zips for it..

</font><blockquote><font size="1" face="Verdana, Helvetica, sans-serif">quote:</font><hr /><font size="2" face="Verdana, Helvetica, sans-serif">Originally posted by Chuck:
and I wouldn't mind a css version tipsy
(note I see that the same css files can also be used on threads wink )
</font><hr /></blockquote><font size="2" face="Verdana, Helvetica, sans-serif">We'll be releasing those as well Chuck, it's just a matter of time involved in packaging the files correctly with all final 6.3 fixes.
_________________________
- Allen wavey
- What Drives You?

Top
#112045 - 05/24/02 12:25 PM Re: [6.3 ] Compact Headers
drkknght Offline
Kahuna

Registered: 11/09/00
Posts: 1249
Loc: rob's pad -- where it takes sk...
loooooook aaaaaat meeeeeeeeeee!!! :-D

thanks, lk, that fixed!

ok, here's a few more 'beefs':

1) still no active topics (tho i think i remember from way back that involves somethin diff'rent)

2) there're no new topic / reply buttons atop the topic pages like here (they're just at the bottom)

3) on the forum summary, the 'reg members' and 'welcome' lines appear atop one another, instead of aside one another.

thats alls i gots fer now, i think
_________________________
professional discussion killer
due to intelligence limitations, i do not offer support.
my site ~ my boards

Top
#112046 - 05/24/02 12:57 PM Re: [6.3 ] Compact Headers
Carmack Offline
Member

Registered: 01/09/00
Posts: 46
Loc: Hinton, OK, USA
</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:
smile

If you give it a try, please post a link so I can see the results... would make it much easier to fix any remaining buglets smile
</font><hr /></blockquote><font size="2" face="Verdana, Helvetica, sans-serif">Here ya go:
http://www.themiscpage.com/forums/ubbcgi/ultimatebb.cgi
_________________________
John M Carmack
carmack@themiscpage.com
The Miscellaneous Boards

Top
#112047 - 05/24/02 01:09 PM Re: [6.3 ] Compact Headers
LK Offline
Admin / Code Breaker

Registered: 03/24/01
Posts: 7396
drk,

1) read my 1) in my first post
3) read my 2) in my first post tipsy

BTW, demo with all fixes: www.lkubb.dns2go.com/?ubb=forum;f=8 tipsy
_________________________

My Hacks Page (will be back with UBB 7!)
UBBDev - We put the class into UBB.classic!

Top
#112048 - 05/24/02 01:21 PM Re: [6.3 ] Compact Headers
AllenAyres Administrator Offline
I type Like navaho

Registered: 03/10/00
Posts: 25461
Loc: Texas
zip file updated with fixes in public_forum_page and public_topic_page

Rob, if you can post a link to what you are seeing, I'll look at it smile
_________________________
- Allen wavey
- What Drives You?

Top
#112049 - 05/24/02 01:52 PM Re: [6.3 ] Compact Headers
LK Offline
Admin / Code Breaker

Registered: 03/24/01
Posts: 7396
Not updated here confused

Anyhow, try: http://www.lkubb.dns2go.com/allen/compact.zip - just, again, use the txt instructions from the old ch.
_________________________

My Hacks Page (will be back with UBB 7!)
UBBDev - We put the class into UBB.classic!

Top
#112050 - 05/24/02 02:56 PM Re: [6.3 ] Compact Headers
drkknght Offline
Kahuna

Registered: 11/09/00
Posts: 1249
Loc: rob's pad -- where it takes sk...
here's my NEW page to view:
http://www.robkamphausen.com/cgi-bin/ultimatebb.cgi

(the old one i linked to earlier in this thread is no longer useful!!)

the issues that lk and i posted are still coming up -- but i havent tried lk's new zip, above -- ill do that later tonight and report back.

bottom line, tho, things are lookin guh-reat!!!

excellent work!!
_________________________
professional discussion killer
due to intelligence limitations, i do not offer support.
my site ~ my boards

Top
#112051 - 05/24/02 03:32 PM Re: [6.3 ] Compact Headers
drkknght Offline
Kahuna

Registered: 11/09/00
Posts: 1249
Loc: rob's pad -- where it takes sk...
other quick points.

on THIS page...

(and please, feel free to disregard the actual thread content... i beg of you!)

the top area of CH seems to stretch beyond the actual thread discussion (my boards are set at 85% widht, i think).

its because of that big, hankerin title:
Rob's Damn Board » .::Important::. » *off topic / offensive posts* » Super Mario Bros is a pretty bizarre concept if you think about it

is there anyway that long titles such as these could wrap (right aligned) instead of stetchin out the page?

(also at the top, you can note the lack of 'reply' or 'new topic' buttons, double a!)

additionally, scrolling down at the bottom of that same page (again, avoid the horrible, horrible content) the printer friendly/ hop to line seems to not be aligned with the rest of the page. (image is broken cuz im lazy, dont worry about that).

ok -- now im REALLY leaving wink
_________________________
professional discussion killer
due to intelligence limitations, i do not offer support.
my site ~ my boards

Top
#112052 - 05/25/02 11:01 AM Re: [6.3 ] Compact Headers
DragonSoul Offline
Member

Registered: 11/27/01
Posts: 132
Loc: Austin, TX
Any chance of getting regular instructions on this one? If i install this, then alot of the 40 some odd scripts that i already have on my board will have to be rehacked............ Anyone, please?

Top
#112053 - 05/25/02 11:22 AM Re: [6.3 ] Compact Headers
LK Offline
Admin / Code Breaker

Registered: 03/24/01
Posts: 7396
No, it's too many steps, would be easier to use beyond compare to add all hacks back (that's what I did! tipsy )
_________________________

My Hacks Page (will be back with UBB 7!)
UBBDev - We put the class into UBB.classic!

Top
#112054 - 05/25/02 12:40 PM Re: [6.3 ] Compact Headers
DragonSoul Offline
Member

Registered: 11/27/01
Posts: 132
Loc: Austin, TX
Bah, ok guess i will not be using this hack. Thanks though

Top
#112055 - 05/25/02 01:31 PM Re: [6.3 ] Compact Headers
AllenAyres Administrator Offline
I type Like navaho

Registered: 03/10/00
Posts: 25461
Loc: Texas
DS, check out the Beyond Compare article in the last issue of the u-zine... http://www.ubbdev.com/ you can BC the differences into your modified files fairly easily smile
_________________________
- Allen wavey
- What Drives You?

Top
#112056 - 05/25/02 02:02 PM Re: [6.3 ] Compact Headers
DragonSoul Offline
Member

Registered: 11/27/01
Posts: 132
Loc: Austin, TX
Thanks dude, this looks like it will help out alot. smile

Top
#112057 - 05/25/02 06:26 PM Re: [6.3 ] Compact Headers
drkknght Offline
Kahuna

Registered: 11/09/00
Posts: 1249
Loc: rob's pad -- where it takes sk...
everything lookin and workin smooth now! thanks lk and double a!
_________________________
professional discussion killer
due to intelligence limitations, i do not offer support.
my site ~ my boards

Top
#112058 - 05/26/02 09:03 AM Re: [6.3 ] Compact Headers
Dave2 Offline
Member

Registered: 12/16/01
Posts: 672
Loc: Bath || Reading, England
Great topic wink
(odd custom status tipsy )

Anyway... What was I going to say? Damn, forgot tipsy . It'll come back to me wink .
_________________________
The allaboutgames.co.uk UBB.classic -- Reborn and XHTML'd, 19th May 2002

Top
#112059 - 06/02/02 09:26 PM Re: [6.3 ] Compact Headers
drkknght Offline
Kahuna

Registered: 11/09/00
Posts: 1249
Loc: rob's pad -- where it takes sk...
quick bit:

can someone post the changes needed in the ubb_forum_summary.cgi file (in order to get the reg mem total and welcome tag to appear on one line, instead of broken on to two)

thanks!
_________________________
professional discussion killer
due to intelligence limitations, i do not offer support.
my site ~ my boards

Top
#112060 - 06/03/02 05:05 AM Re: [6.3 ] Compact Headers
LK Offline
Admin / Code Breaker

Registered: 03/24/01
Posts: 7396
Find:
local ($file_name, $RegisteredMemberLine, @CATEGORIES, @sortedforums, @pntf_locations);
Replace with:
local ($file_name, $RegisteredMemberLine, @CATEGORIES, @sortedforums, @pntf_locations, $RegisteredMemberLine2);
Find:
if ($RegisteredMemberLine ne '') { $RegisteredMemberLine .=$vars_config{'jc'}->{'regmemlinesep'}}
$RegisteredMemberLine .= qq!$vars_wordlets{new_member_welcome} <a href="$vars_config{CGIURL}/ultimatebb.cgi?ubb=get_profile;u=$newbie[1]"><span $vars_config{'jc'}->{'titlebarclass'}>$newbie[0]</span></a>!;
Replace with:
$RegisteredMemberLine2 = qq!$vars_wordlets{new_member_welcome} <a href="$vars_config{CGIURL}/ultimatebb.cgi?ubb=get_profile;u=$newbie[1]"><span $vars_config{'jc'}->{'titlebarclass'}>$newbie[0]</span></a>!;
_________________________

My Hacks Page (will be back with UBB 7!)
UBBDev - We put the class into UBB.classic!

Top
#112061 - 06/03/02 07:16 AM Re: [6.3 ] Compact Headers
drkknght Offline
Kahuna

Registered: 11/09/00
Posts: 1249
Loc: rob's pad -- where it takes sk...
excellent!!

thanks LK - works perfectly.

and just so those in the future know, this is something that you'd have to do in addition to adding the compact headers, if you want the 'registered member' line atop the forum summary to be one line and not two. CH will NOT do this on its own.
_________________________
professional discussion killer
due to intelligence limitations, i do not offer support.
my site ~ my boards

Top
#112062 - 06/19/02 03:40 AM Re: [6.3 ] Compact Headers
mark99 Offline
Member

Registered: 03/11/01
Posts: 314
Will this be updated for v6.3.0.1?

Top
#112063 - 06/19/02 02:38 PM Re: [6.3 ] Compact Headers
AllenAyres Administrator Offline
I type Like navaho

Registered: 03/10/00
Posts: 25461
Loc: Texas
Probably not, most likey we'll wait for 6.3.1, as it will be out fairly soon. I'd check the list of files changed:
http://community.infopop.net/2/OpenTopic...4975#8883064975

and use Beyond Compare to add the differences from the template files changed back into your files.
_________________________
- Allen wavey
- What Drives You?

Top
#112064 - 07/02/02 09:36 PM Re: [6.3 ] Compact Headers
-basement- Offline
Junior Member

Registered: 06/12/02
Posts: 13
Loc: Around the world
hi im having some trouble with this hack..
it seems that there's a missing colspan on public_topic_page because im getting a big black strip on right right side..
take a look at: http://basementman.ppnhost.ws/cgi-bin/UBB/ultimatebb.cgi?ubb=get_topic;f=1;t=000068

Top
#112065 - 07/02/02 09:41 PM Re: [6.3 ] Compact Headers
-basement- Offline
Junior Member

Registered: 06/12/02
Posts: 13
Loc: Around the world
hmm i fixed it.. but for some reason i had to change <tr><td bgcolor="$alt_color" colspan="2"> to <tr><td bgcolor="$alt_color" colspan="3">

Top
#112066 - 07/04/02 09:23 PM Re: [6.3 ] Compact Headers
freak.scene Offline
Member

Registered: 08/15/00
Posts: 677
Loc: Charlotte, NC
yep -basement- smile I had to do the same.
_________________________
jeremiah

Top
#112067 - 07/05/02 06:54 PM Re: [6.3 ] Compact Headers
AllenAyres Administrator Offline
I type Like navaho

Registered: 03/10/00
Posts: 25461
Loc: Texas
thanks for the headsup.. I'll go over the files again. smile
_________________________
- Allen wavey
- What Drives You?

Top
#112068 - 07/09/02 06:18 AM Re: [6.3 ] Compact Headers
wadood Offline
Junior Member

Registered: 04/21/01
Posts: 18
i get an error on my main page
i have no clue how to solve it

also when viewing a topic

this lines "all times are" and "printer-friendly" are mis-aligned

http://forums.balooshy.com

Top
#112069 - 07/11/02 03:18 AM Re: [6.3 ] Compact Headers
wadood Offline
Junior Member

Registered: 04/21/01
Posts: 18
i used this on a fresh 6.3 install and it still has mistakes and errors in it

has anyone succesfully corrected all errors and bugs in it and can send me updated files?

Top
#112070 - 07/13/02 04:41 PM Re: [6.3 ] Compact Headers
Dennis Jones Offline
Member

Registered: 06/13/02
Posts: 114
Use the above modification posted by -basement-

It works then smile
_________________________
I Cannot Support Ubb Via ICQ or MSN.
Not because I dont want to its just I cant. tipsy

Top
#112071 - 07/16/02 02:31 AM Re: [6.3 ] Compact Headers
wadood Offline
Junior Member

Registered: 04/21/01
Posts: 18
dennis, it's not only about the part that basement fixed

there are alot of mis alignment issues in this mod

and alot of tables need fixing

thats why i was asking anyone who has this up and running and not having same issue could update us

Top
#112072 - 07/16/02 12:03 PM Re: [6.3 ] Compact Headers
Dennis Jones Offline
Member

Registered: 06/13/02
Posts: 114
Well I installed mine first fresh on a 6.3.0 board and after the minor column adjustment it works perfectly.
_________________________
I Cannot Support Ubb Via ICQ or MSN.
Not because I dont want to its just I cant. tipsy

Top