|
Joined: Mar 2000
Posts: 21,079 Likes: 3
I type Like navaho
|
I type Like navaho
Joined: Mar 2000
Posts: 21,079 Likes: 3 |
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: Allen Ayres Original Author: Skorpion (Jamin) Demo: https://www.ubbdev.com/test/ubbcgi/ultimatebb.cgi Download: Click Here Requires: DaysPruned Mod for the forum page. 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. 
|
|
|
|
Joined: Jan 2003
Posts: 87
Member
|
Member
Joined: Jan 2003
Posts: 87 |
Allen: I downloaded the above file thinking it was a Hack MOD with a .txt file, but discovered that it contains a lot of .pl files. How do I utilize/implement these files? 
|
|
|
|
Joined: Oct 2000
Posts: 2,667
Veteran
|
Veteran
Joined: Oct 2000
Posts: 2,667 |
upload these in your template directory but make sure to do this on an unhacked board (otherwise all templates modifications done by hacks will be lost) of course make a backup beforehand 
Do you believe in love at first sight, or should I walk by again?
|
|
|
|
Joined: Feb 2001
Posts: 2,285
Old Hand
|
Old Hand
Joined: Feb 2001
Posts: 2,285 |
AA, I have it installed on my forum here: http://norcalcycling.com/forum/ultimatebb.cgi Seems to be a few display bugs on the Forum Summery Page. Any idea how to fix it? Check the "Topics" "Posts" "Last Post" and "Moderators" columns. Thanks man... great hack. I've been waiting for this one! 
|
|
|
|
Joined: Jan 2000
Posts: 5,833 Likes: 20
UBBDev / UBBWiki Owner Time Lord
|
UBBDev / UBBWiki Owner Time Lord
Joined: Jan 2000
Posts: 5,833 Likes: 20 |
Allen, I hate to ask, any way of getting say a multihack for those of us who have already modded the hell out of our boards?
|
|
|
|
Joined: Nov 2001
Posts: 1,080
Member
|
Member
Joined: Nov 2001
Posts: 1,080 |
quote: Originally posted by Stilgar: Seems to be a few display bugs on the Forum Summery Page. Any idea how to fix it? Check the "Topics" "Posts" "Last Post" and "Moderators" columns. I only briefly looked at your source but it seems that while your Post Indicators, Topics, Posts and Last Post columns had assigned "width" percentages to it your Forum and Moderator columns do not. More than likely you'll need to define the width for these two. The other possibility would be that since you're using a 820px width you may need to define the columns not by percentages (5%), but by absolute intergers (10px). 
|
|
|
|
Joined: Feb 2001
Posts: 2,285
Old Hand
|
Old Hand
Joined: Feb 2001
Posts: 2,285 |
hmm, ok, I'll chech that out. Thanks PT. Silly me, I just dropped the files into my DIR and left it at that. I should be able to use %. Is it only the "public_forum_page.pl" and "public_forum_summery.pl" that use the tables? Thanks!
|
|
|
|
Joined: Mar 2000
Posts: 21,079 Likes: 3
I type Like navaho
|
I type Like navaho
Joined: Mar 2000
Posts: 21,079 Likes: 3 |
PT's got it right  I hadn't counted on people using fixed widths Gizzy, I don't have one made - you can use Beyond Compare to add the changes in if you like, it's most every public .pl file at the top except the public_common.pl file where it's in several places. 
|
|
|
|
Joined: Feb 2001
Posts: 2,285
Old Hand
|
Old Hand
Joined: Feb 2001
Posts: 2,285 |
Thanks AA. So: "public_forum_page.pl" and "public_forum_summery.pl" are the only files I need to modify?
|
|
|
|
Joined: Mar 2000
Posts: 21,079 Likes: 3
I type Like navaho
|
I type Like navaho
Joined: Mar 2000
Posts: 21,079 Likes: 3 |
the summary page should be the only one you need to modify to get the widths on those columns straight. hmmm... I left out the 'days pruned' links for the forum page. I'll need to fix that. I'd recommend setting it in the cp to 1000 or 'show all' - it makes the site look busy for slower sites and saves bandwidth for all sites because the cache gets hit more often (thereby loading the pages using the phpaccelerator). I think I'll go that way and add the instructions to this to make it do that from the start. It will keep the forum page cleaner up top 
|
|
|
|
Joined: Mar 2000
Posts: 21,079 Likes: 3
I type Like navaho
|
I type Like navaho
Joined: Mar 2000
Posts: 21,079 Likes: 3 |
ok, updated instrcutions up top, you'll need to use this: https://ubbdev.com/ubb/ultimatebb.php?ubb=get_topic;f=33;t=000009
|
|
|
|
Joined: Feb 2001
Posts: 2,285
Old Hand
|
Old Hand
Joined: Feb 2001
Posts: 2,285 |
woohoo... I think I got it. Now to install the 'days pruned' thing setup.
|
|
|
|
Joined: Mar 2000
Posts: 21,079 Likes: 3
I type Like navaho
|
I type Like navaho
Joined: Mar 2000
Posts: 21,079 Likes: 3 |
how'd it go? It'd looking good so far 
|
|
|
|
Joined: Nov 2001
Posts: 1,080
Member
|
Member
Joined: Nov 2001
Posts: 1,080 |
Yup...It is looking good Stilgar.  You got the aligment working now. 
|
|
|
|
Joined: Feb 2001
Posts: 2,285
Old Hand
|
Old Hand
Joined: Feb 2001
Posts: 2,285 |
Thanks guys. I still need to do the same thing to the Forum categories and topic lists. Which files are they? "public_forum_page.pl"? What other one?
|
|
|
|
Joined: Mar 2000
Posts: 21,079 Likes: 3
I type Like navaho
|
I type Like navaho
Joined: Mar 2000
Posts: 21,079 Likes: 3 |
that's 98% of it 
|
|
|
|
Joined: Feb 2001
Posts: 2,285
Old Hand
|
Old Hand
Joined: Feb 2001
Posts: 2,285 |
LOL, thanks. 
|
|
|
|
Joined: Feb 2001
Posts: 2,285
Old Hand
|
Old Hand
Joined: Feb 2001
Posts: 2,285 |
Hey AA, PT or other knowlegable people. Where might I look to fix these two little bugs:
http://norcalcycling.com/forum/ultimatebb.cgi?ubb=forum;f=1;DaysPrune=365
the tables widths. What file has them.?
at the bottom the post folder key doesn't show all the symbols.
only running this hack (compact headers).
TIA!
|
|
|
|
Joined: Mar 2000
Posts: 21,079 Likes: 3
I type Like navaho
|
I type Like navaho
Joined: Mar 2000
Posts: 21,079 Likes: 3 |
in the icon legend table? everything looks good to me 
|
|
|
|
Joined: Nov 2001
Posts: 1,080
Member
|
Member
Joined: Nov 2001
Posts: 1,080 |
Looks fine on my browser as well. I'm not on 6.5 but I think that the "Legend" icons show up dynamically. This means that when a new folder or sticky icon is used (by a post) your Icon Legend will reflect those changes. 
|
|
|
|
Joined: Feb 2001
Posts: 2,285
Old Hand
|
Old Hand
Joined: Feb 2001
Posts: 2,285 |
any chance this hach will come out of BETA? I'd like a version without the bugs. Maybe some day? Thanks!
|
|
|
|
Joined: Mar 2000
Posts: 21,079 Likes: 3
I type Like navaho
|
I type Like navaho
Joined: Mar 2000
Posts: 21,079 Likes: 3 |
shazzamm! It's not beta anymore What bug(s) are you referring to James? I'll whack a few of'm 
|
|
|
|
Joined: Feb 2001
Posts: 2,285
Old Hand
|
Old Hand
Joined: Feb 2001
Posts: 2,285 |
just the columns at a set % and maybe I was hoping the "Days Pruned Mod" would become part of this one. Oh... and on my board the bottom of the table is black where the footer is during the post transition and on the FAQ page. I'm not sure that's really a bug, but it isn't perty. http://norcalcycling.com/forum/ubb/ultimatebb.php?ubb=faq
|
|
|
|
Joined: Mar 2000
Posts: 21,079 Likes: 3
I type Like navaho
|
I type Like navaho
Joined: Mar 2000
Posts: 21,079 Likes: 3 |
that's the way it's supposed to look ok, I'll get this done today 
|
|
|
|
Joined: Feb 2001
Posts: 2,285
Old Hand
|
Old Hand
Joined: Feb 2001
Posts: 2,285 |
You rock! ROCK! 
|
|
|
|
Joined: Mar 2000
Posts: 21,079 Likes: 3
I type Like navaho
|
I type Like navaho
Joined: Mar 2000
Posts: 21,079 Likes: 3 |
I've got the faq bugs worked out for the most part: https://www.ubbdev.com/test/ubbcgi/ultimatebb.cgi?ubb=faq I am thinking the column %'s will need to be set individually. Those columns will vary depending on which ones you have showing, what you select to show in them, and whether or not it's fixed or liquid in width. 'Fixing' it for one could easily break it for several others I'll add the dayspruned and update files later today 
|
|
|
|
Joined: Mar 2000
Posts: 21,079 Likes: 3
I type Like navaho
|
I type Like navaho
Joined: Mar 2000
Posts: 21,079 Likes: 3 |
OK, zip updated... let me know where you find bugs. I haven't done the transition pages yet... they aren't gonna be fun 
|
|
|
|
Joined: Nov 2001
Posts: 1,080
Member
|
Member
Joined: Nov 2001
Posts: 1,080 |
I hear that Allen.  For myself the transitions, popups and error pages were probably the most time consuming files to edit for the Header, Footer and Body widths. If I recall correctly the Search error differs from the Login error. 
|
|
|
|
Joined: Nov 2000
Posts: 1,271
Kahuna
|
Kahuna
Joined: Nov 2000
Posts: 1,271 |
hmmm....
i opt to not display the mod colum on the forum summary, however i like the way they're displayed on ubbdev.com on the forum page
but in the download, there's no code for the mod line on the forum page (right?)
what do i need to add to get that nifty "moderator .. page #" line atop my topic listing?
|
|
|
|
Joined: Mar 2001
Posts: 7,394
Admin / Code Breaker
|
Admin / Code Breaker
Joined: Mar 2001
Posts: 7,394 |
https://ubbdev.com/ubbcgi/ultimatebb.cgi?ubb=get_topic;f=17;t=000419 
|
|
|
|
Joined: Nov 2000
Posts: 1,271
Kahuna
|
Kahuna
Joined: Nov 2000
Posts: 1,271 |
sweeeeet, got it! thanks lk! for anyone interested, in public_forum_page.pl, find: [/code]and replace it with
[code]
|
|
|
|
Joined: Jan 2003
Posts: 3,456 Likes: 2
Master Hacker
|
Master Hacker
Joined: Jan 2003
Posts: 3,456 Likes: 2 |
Is there an easy way to remove the spacing between categories? I love this hack but the spacing makes keeping everything uniform a chore. Most likely it's just removing a $TBT or whatever that was
|
|
|
|
Joined: Jan 2003
Posts: 3,456 Likes: 2
Master Hacker
|
Master Hacker
Joined: Jan 2003
Posts: 3,456 Likes: 2 |
Bump, also, did anyone else have the problem with your footer shrinking into the main table when you had "This post has been posted, please wait..." I'm not sure if this was fixed in a later release or if I was the only one who got it.
|
|
|
|
Joined: Nov 2001
Posts: 1,080
Member
|
Member
Joined: Nov 2001
Posts: 1,080 |
Looking at the code you could eliminate the separation between categories by removing a inside the "$cat_spacer" code...By doing so however will give you an unwanted line left by the unattended $TBT and $TBB tags. So do this: In public_forum_summary.pl find: That should do it. 
|
|
|
|
Joined: Jan 2003
Posts: 3,456 Likes: 2
Master Hacker
|
Master Hacker
Joined: Jan 2003
Posts: 3,456 Likes: 2 |
hey Allen, I've been porting my css templates to compact headers and am having a problem. my $TopicPageTotal has a line break before it, but it's not in the template, meaning it is in a cgi file. What code do I modifiy to remove the break? EDIT: haha, last place I though to check was the wordlets  thanks anyway
|
|
|
|
Joined: Mar 2000
Posts: 21,079 Likes: 3
I type Like navaho
|
I type Like navaho
Joined: Mar 2000
Posts: 21,079 Likes: 3 |
glad I could help 
|
|
|
|
Joined: Dec 2001
Posts: 23
Junior Member
|
Junior Member
Joined: Dec 2001
Posts: 23 |
hey, i was just wondering if (dont know if this has been asked before) but i used 2 have a version of compact headers (and footers) for the 6.05 version of ubb and i was wondering if it was still floatting around anywhere. if it is could someone give me a link 2 it or send it 2 me at FireArrow@shaw.ca Thanks alot 
|
|
|
|
Joined: Nov 2002
Posts: 188
Member
|
Member
Joined: Nov 2002
Posts: 188 |
I installed this, but it doesn't appear to have done a thing, even after repeatedly clearing the cache. Any insight would be greatly appreciated. www.bbq-review.com
|
|
|
|
Joined: Nov 2002
Posts: 188
Member
|
Member
Joined: Nov 2002
Posts: 188 |
|
|
|
|
Joined: Jan 2000
Posts: 5,073
Admin Emeritus
|
Admin Emeritus
Joined: Jan 2000
Posts: 5,073 |
Did you reassign areas to the new template set?
UBB.classic: Love it or hate it, it was mine.
|
|
|
Donate to UBBDev today to help aid in Operational, Server and Script Maintenance, and Development costs.
Please also see our parent organization VNC Web Services if you're in the need of a new UBB.threads Install or Upgrade, Site/Server Migrations, or Security and Coding Services.
|
|
Posts: 417
Joined: November 2001
|
|
Forums63
Topics37,575
Posts293,930
Members13,823
|
Most Online6,139 Sep 21st, 2024
|
|
Currently Online
Topics Created
Posts Made
Users Online
Birthdays
|
|
|
|