UBB.Dev
Posted By: AllenAyres [6.3 ] Compact Headers - 05/24/2002 1:13 AM
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: https://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
Posted By: Jamin Re: [6.3 ] Compact Headers - 05/24/2002 1:19 AM
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
Posted By: AllenAyres Re: [6.3 ] Compact Headers - 05/24/2002 1:32 AM
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
Posted By: Nervana Re: [6.3 ] Compact Headers - 05/24/2002 2:34 AM
Thanks doctor wink
lets try it now.
Posted By: AllenAyres Re: [6.3 ] Compact Headers - 05/24/2002 5:24 AM
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
Posted By: X-tend Re: [6.3 ] Compact Headers - 05/24/2002 3:06 PM
well, it works perfect!

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

THnx for the great work
Posted By: LK Re: [6.3 ] Compact Headers - 05/24/2002 3:26 PM
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.
Posted By: Charles Re: [6.3 ] Compact Headers - 05/24/2002 4:03 PM
and I wouldn't mind a css version tipsy
(note I see that the same css files can also be used on threads wink )
Posted By: drkknght Re: [6.3 ] Compact Headers - 05/24/2002 6:29 PM
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?
Posted By: LK Re: [6.3 ] Compact Headers - 05/24/2002 6:34 PM
In public_forum_page,
Find:
quote:
my $this_html = qq~



~;

Replace with:
quote:
my $this_html = qq~$vars_wordlets{moderated_by} $Moderator $more_topics_wording $vars_wordlets{show_topics_from_last} 10 | 20 | 45 | all days$pntf_locations[1]



~;

Posted By: AllenAyres Re: [6.3 ] Compact Headers - 05/24/2002 6:42 PM
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..

quote:
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 )

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.
Posted By: drkknght Re: [6.3 ] Compact Headers - 05/24/2002 7:25 PM
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
Posted By: Carmack Re: [6.3 ] Compact Headers - 05/24/2002 7:57 PM
quote:
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

Here ya go:
http://www.themiscpage.com/forums/ubbcgi/ultimatebb.cgi
Posted By: LK Re: [6.3 ] Compact Headers - 05/24/2002 8:09 PM
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
Posted By: AllenAyres Re: [6.3 ] Compact Headers - 05/24/2002 8:21 PM
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
Posted By: LK Re: [6.3 ] Compact Headers - 05/24/2002 8:52 PM
Not updated here confused

Anyhow, try: http://www.lkubb.dns2go.com/allen/compact.zip - just, again, use the txt instructions from the old ch.
Posted By: drkknght Re: [6.3 ] Compact Headers - 05/24/2002 9:56 PM
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!!
Posted By: drkknght Re: [6.3 ] Compact Headers - 05/24/2002 10:32 PM
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
Posted By: DragonSoul Re: [6.3 ] Compact Headers - 05/25/2002 6:01 PM
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?
Posted By: LK Re: [6.3 ] Compact Headers - 05/25/2002 6:22 PM
No, it's too many steps, would be easier to use beyond compare to add all hacks back (that's what I did! tipsy )
Posted By: DragonSoul Re: [6.3 ] Compact Headers - 05/25/2002 7:40 PM
Bah, ok guess i will not be using this hack. Thanks though
Posted By: AllenAyres Re: [6.3 ] Compact Headers - 05/25/2002 8:31 PM
DS, check out the Beyond Compare article in the last issue of the u-zine... https://ubbdev.com/ you can BC the differences into your modified files fairly easily smile
Posted By: DragonSoul Re: [6.3 ] Compact Headers - 05/25/2002 9:02 PM
Thanks dude, this looks like it will help out alot. smile
Posted By: drkknght Re: [6.3 ] Compact Headers - 05/26/2002 1:26 AM
everything lookin and workin smooth now! thanks lk and double a!
Posted By: Dave2 Re: [6.3 ] Compact Headers - 05/26/2002 4:03 PM
Great topic wink
(odd custom status tipsy )

Anyway... What was I going to say? Damn, forgot tipsy . It'll come back to me wink .
Posted By: drkknght Re: [6.3 ] Compact Headers - 06/03/2002 4:26 AM
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!
Posted By: LK Re: [6.3 ] Compact Headers - 06/03/2002 12:05 PM
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} {'titlebarclass'}>$newbie[0]!;
Replace with:
$RegisteredMemberLine2 = qq!$vars_wordlets{new_member_welcome} {'titlebarclass'}>$newbie[0]!;
Posted By: drkknght Re: [6.3 ] Compact Headers - 06/03/2002 2:16 PM
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.
Posted By: mark99 Re: [6.3 ] Compact Headers - 06/19/2002 10:40 AM
Will this be updated for v6.3.0.1?
Posted By: AllenAyres Re: [6.3 ] Compact Headers - 06/19/2002 9:38 PM
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/Open...313&m=8353044775&r=8883064975#8883064975

and use Beyond Compare to add the differences from the template files changed back into your files.
Posted By: -basement- Re: [6.3 ] Compact Headers - 07/03/2002 4:36 AM
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
Posted By: -basement- Re: [6.3 ] Compact Headers - 07/03/2002 4:41 AM
hmm i fixed it.. but for some reason i had to change to
Posted By: freak.scene Re: [6.3 ] Compact Headers - 07/05/2002 4:23 AM
yep -basement- smile I had to do the same.
Posted By: AllenAyres Re: [6.3 ] Compact Headers - 07/06/2002 1:54 AM
thanks for the headsup.. I'll go over the files again. smile
Posted By: wadood Re: [6.3 ] Compact Headers - 07/09/2002 1:18 PM
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
Posted By: wadood Re: [6.3 ] Compact Headers - 07/11/2002 10:18 AM
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?
Posted By: Dennis Jones Re: [6.3 ] Compact Headers - 07/13/2002 11:41 PM
Use the above modification posted by -basement-

It works then smile
Posted By: wadood Re: [6.3 ] Compact Headers - 07/16/2002 9:31 AM
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
Posted By: Dennis Jones Re: [6.3 ] Compact Headers - 07/16/2002 7:03 PM
Well I installed mine first fresh on a 6.3.0 board and after the minor column adjustment it works perfectly.
Posted By: dbode Re: [6.3 ] Compact Headers - 08/13/2002 2:10 PM
Well, I got also Problems on 6.3.0.1 with the alignment of the printer and time which is printed on each topic page.

Do I have to edit public_topic_page.pl ? I tried that (editing a new table around it with width="$vars_style{TableWidth}) but that didn´t work...
Posted By: AllenAyres Re: [6.3 ] Compact Headers - 08/13/2002 6:21 PM
Most likely we need to add align="center" to a few places... that should clean it up smile
Posted By: Da Wacko Re: [6.3 ] Compact Headers - 08/14/2002 11:19 AM
i want this hack very much,
but it forces you to re-edit all your hacked files...and that is reallllly much work..:s

so, i would love the one that would make a .txt file of the things to be edited (yes, i know it's MUCH work :S)
Posted By: Charles1 Re: [6.3 ] Compact Headers - 09/03/2002 1:13 AM
Suggestion: public_forum_page.pl

------------------------------------
replace:
-------------------------------------

sub topic_table_header {

my $this_html = qq~

$vars_wordlets{moderated_by} $Moderator $more_topics_wording $vars_wordlets{show_topics_from_last} 10 | 20 | 45 | all days


------------------------------------
with:
-------------------------------------

sub topic_table_header {

my $this_html = qq~









$vars_wordlets{moderated_by} $Moderator



$more_topics_wording $vars_wordlets{show_topics_from_last} 10 | 20 | 45 | all days




Posted By: Charles1 Re: [6.3 ] Compact Headers - 09/03/2002 1:24 AM
public_confirm_delete.pl contains an extra $TBT

The one prior to the
Posted By: Charles1 Re: [6.3 ] Compact Headers - 09/03/2002 1:36 AM
In the following function:

sub TransitionCore {

-----------
find:
-----------

print <
$Header
$refresh

$standard_title_table





$TBT

-----------
remove:
-----------


$standard_title_table





That seemed to have done it for me thus far.
Posted By: Charles1 Re: [6.3 ] Compact Headers - 09/03/2002 1:54 AM
This will fix the PM Ignore/Buddy List, atleast it did for me.

# UBB.classic PM List Page - for ignore & buddy lists

$MainButtonsLine = &MainButtonOptions;

# standard top of HTML page
print "$Header";

print <

$standard_title_table
$vars_config{BBName} » $vars_wordlets{my_profile_header} » $this_list $vars_wordlets{list}



$TBB





$TBT





$list_explained


$TBB


$TBT



$this_list $vars_wordlets{list}








$vars_wordlets{public_name_field}




$vars_wordlets{user_number}



ListGuts

foreach $key (@pm_list) {
if (&FileExists("$vars_config{MembersPath}/$key.cgi")) {
$count++;
$this_name = &get_public_name($key);
if ($this_list eq 'Buddy') {
$this_name .= qq~
$vars_wordlets{send_private_message}
~;
}

print <





$this_name




$key



list_row
}
}

if ($count == 0) {
print <


$vars_wordlets{no_one_on_list}



list_row
} else {
print <




list_row

}

print <$TBB




ListBottom

# standard bootom of HTML page
print "$Footer";

# Nothing below this line should be changed.. and there is no more code!

# This entire program is copyright Infopop Corporation.
# For more info on UBB.classic and other Infopop
# Products/Services, visit: http://www.infopop.com

# You may not distribute this program in any manner, modified or otherwise.

#You make modifications, but only for your own use and within the confines of the UBB.classic License Agreement.

# DANGER: Do not remove the following line!
1;
# $Id: public_pm_list.pl,v 1.6 2002/04/18 22:59:30 cvscapps Exp $
Posted By: mark99 Re: [6.3 ] Compact Headers - 09/07/2002 11:45 AM
Will this be updated for v6.3.x.x?
Posted By: AlexTrim Re: [6.3 ] Compact Headers - 09/21/2002 12:48 PM
is there a multihack file please ?
Posted By: AllenAyres Re: [6.3 ] Compact Headers - 09/21/2002 5:10 PM
Alex, all you do is unzip and upload smile

mark, I believe it is smile
Posted By: dover Re: [6.3 ] Compact Headers - 11/09/2002 5:50 PM
Install it on UBB.classicTM 6.3.1.1.
Become such:
[Linked Image]
What to do?
Posted By: LK Re: [6.3 ] Compact Headers - 11/09/2002 6:35 PM
I'm sorry you've been yo-yo'd between 2 boards to ask that question... wink

Try the following:
Find
Quote
code:
Code
	my $row = qq~
<tr><td bgcolor="$alt_color" colspan="2">

Replace with:
code:
[qb]
Code
	my $row = qq~
<tr><td bgcolor="$alt_color" colspan="3">
[/qb]
Posted By: dover Re: [6.3 ] Compact Headers - 11/10/2002 5:11 AM
LK,thank you!
Posted By: LK Re: [6.3 ] Compact Headers - 11/10/2002 7:51 AM
It works here, disable any proxy/firewall or use the following link: www.ubbdev.com/lk/memberlist_6.4.5.zip
Posted By: EftheM Re: [6.3 ] Compact Headers - 11/12/2002 2:03 AM
darn,

Am I right when I say that on a board fully installed with many hacks..

this will cost you days to install??
Posted By: AllenAyres Re: [6.3 ] Compact Headers - 11/13/2002 10:06 PM
install what? memberlist or compact headers?
Posted By: LK Re: [6.3 ] Compact Headers - 11/14/2002 1:45 AM
Can anyone please remind me why I posted the memberlist link here? confused wink I guess I posted it in the wrong IE session?

EftheM, if you're talking about Compact Headers, yes, it's prety difficult... But it's much easier if you use Beyond Compare to compare between Compact Headers and your noncgi/Templates directories.
Posted By: AllenAyres Re: [6.3 ] Compact Headers - 11/14/2002 8:55 AM
you definitely had me confused laugh
Posted By: dover Re: [6.3 ] Compact Headers - 11/21/2002 5:57 PM
Will this be updated for v6.3.1.1?
Posted By: AllenAyres Re: [6.3 ] Compact Headers - 11/22/2002 8:59 AM
Most likely we'll be updating for 6.4, as we're too close to put the time into 6.3.1.1 and it be feasible. smile If you have to have it for 6.3.1.1, I am sure there are some developers who will do it for not too much smile
Posted By: dover Re: [6.3 ] Compact Headers - 11/22/2002 9:14 AM
When to issue 6.4? rockband rockband
Posted By: AllenAyres Re: [6.3 ] Compact Headers - 11/22/2002 9:41 AM
we should be getting 6.4 in the next couple of weeks. It was gonna be last week, but something came up that slowed it down. Once Charles gets back from vacation december 2, we should be getting a public beta a couple days later smile
Posted By: dover Re: [6.3 ] Compact Headers - 01/12/2003 4:42 PM
Whether have for 6.40?
Posted By: UmARsIZ Re: [6.3 ] Compact Headers - 02/19/2003 2:25 AM
Really is there any news about 6,4 compact headers hack
Posted By: Bob Ferguson Re: [6.3 ] Compact Headers - 02/19/2003 3:38 AM
Will there be an Authority List for UBB v6.4?
Posted By: UmARsIZ Re: [6.3 ] Compact Headers - 02/20/2003 2:55 AM
Why UBB.friend doesn't work when i install this hack?

UBB.friend enabled, and mail turned on
© UBB.Developers