|
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: Complete CSS of Public Template Files Description: This allows you to use css for all the public template files. Link: Click Here Example CSS: 2 examples are included with the zip Demo: check here Requirement: UBBâ„¢ 6.6 Notes: These are of beta quality, a few buglets remain.
|
|
|
|
Joined: Oct 2000
Posts: 2,667
Veteran
|
Veteran
Joined: Oct 2000
Posts: 2,667 |
should I do a Kompact version or will do you it for ubbdev anyway?
Do you believe in love at first sight, or should I walk by again?
|
|
|
|
Joined: Mar 2001
Posts: 7,394
Admin / Code Breaker
|
Admin / Code Breaker
Joined: Mar 2001
Posts: 7,394 |
great job allen, we'll use it in colorforums v6.6 we need a kompact template for css if we want to use compact headers but I'll change everything in the .cgi files, so please tell me which regexes do you use to make compact headers not to use any .cgi file... btw, what's infopop.css? is it the default ubb scheme?
|
|
|
|
Joined: Oct 2000
Posts: 2,667
Veteran
|
Veteran
Joined: Oct 2000
Posts: 2,667 |
quote: Originally posted by LK: [QB] but I'll change everything in the .cgi files, so please tell me which regexes do you use to make compact headers not to use any .cgi file...[QB] I don't get your question LK ...
Do you believe in love at first sight, or should I walk by again?
|
|
|
|
Joined: Mar 2000
Posts: 21,079 Likes: 3
I type Like navaho
|
I type Like navaho
Joined: Mar 2000
Posts: 21,079 Likes: 3 |
infopop.css is the default css for threads Those we are currently using might need to be updated slightly for use with these
|
|
|
|
Joined: Jan 2003
Posts: 3,456 Likes: 2
Master Hacker
|
Master Hacker
Joined: Jan 2003
Posts: 3,456 Likes: 2 |
Once I have this installed, I may post some css stylesheets I have premade from Colorforums so some other people could use them. Check out that title
|
|
|
|
Joined: Mar 2000
Posts: 21,079 Likes: 3
I type Like navaho
|
I type Like navaho
Joined: Mar 2000
Posts: 21,079 Likes: 3 |
Thanks Al Note: except for the categoryheader class, all threads css files will work with this, so feel free to borrow from our extensive collection at www.ubbdev.com - add your categoryheader class in like you see in the example files here and yer ready to go
|
|
|
|
Joined: Jan 2003
Posts: 3,456 Likes: 2
Master Hacker
|
Master Hacker
Joined: Jan 2003
Posts: 3,456 Likes: 2 |
Allen, do you want me to report any buglets I find?
|
|
|
|
Joined: Mar 2000
Posts: 21,079 Likes: 3
I type Like navaho
|
I type Like navaho
Joined: Mar 2000
Posts: 21,079 Likes: 3 |
yes please... if you look at the test forum, any place you see red in the top 2 forums is where I haven't finished
|
|
|
|
Joined: Jan 2003
Posts: 3,456 Likes: 2
Master Hacker
|
Master Hacker
Joined: Jan 2003
Posts: 3,456 Likes: 2 |
ok, I have fixes for 2 of those already # In public_forum_summary find:
<a href="$ULTIMATEBB?category=$catarray->[2]"><b>$catarray->[1]</b></a>
replace with:
<a href="$ULTIMATEBB?category=$catarray->[2]"><font class="categoryheader"><b>$catarray->[1]</b></font></a>
find:
<b>$vars_wordlets{forum_column}</b>
replace with:
<font class="small"><b>$vars_wordlets{forum_column}</b></font>
# In ubb_lib_posting.cgi
find:
$post_total_line = qq( <a href="$vars_config{CGIURL}/ultimatebb.cgi?ubb=recent_user_posts;u=$this_user_number" style="color: $vars_style{TextColor}; text-decoration: none;">$vars_wordlets{author_posts} <b>$user_profile[7]</b></a> );
replace with:
$post_total_line = qq( <a href="$vars_config{CGIURL}/ultimatebb.cgi?ubb=recent_user_posts;u=$this_user_number"><font class="topiclink">$vars_wordlets{author_posts} <b>$user_profile[7]</b></font></a> );
find:
$linkname = qq!<a href="$vars_config{CGIURL}/ultimatebb.cgi?ubb=get_profile;u=$this_user_number" style="color: $vars_style{TextColor}; text-decoration: none;" target="_blank"><b>$show_public_name</b></a>!;
replace with:
$linkname = qq!<a href="$vars_config{CGIURL}/ultimatebb.cgi?ubb=get_profile;u=$this_user_number" target="_blank"><font class="topiclink"><b>$show_public_name</b></font></a>!; my fixes so far I'm about to work on fixing the post preview (the one that can be inline) EDIT: Also # In public_pntf_summary.pl
find:
<td class="%%SPANCOLOR%%" colspan="$colspan" align="left"> <a href="$vars_config{CGIURL}/ultimatebb.cgi?ubb=pntf$qstring"> <font class="small" color="%%SPANTCOLOR%%"><b>
replace with:
<td class="tdheader" colspan="$colspan" align="left"> <a href="$vars_config{CGIURL}/ultimatebb.cgi?ubb=pntf$qstring"> <font class="small tdheader"><b>
|
|
|
|
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 original post about public_forum_summary.pl: the text colors cascade down from the table tags above it... if it weren't true the category strips would be all red with red links To be able to adjust it differently from the link colrs of the rest of the site really needs to have something like: a.categoryheader { color: blah backgroundcolor: bleh } Thanks, I'll look through your fixes and add what I've broke and missed
|
|
|
|
Joined: Jan 2003
Posts: 3,456 Likes: 2
Master Hacker
|
Master Hacker
Joined: Jan 2003
Posts: 3,456 Likes: 2 |
it takes it from the table, yes... but since the font tag would be outside the links, it would take the a:hover etc properties instead of the categoryheader text
|
|
|
|
Joined: Mar 2000
Posts: 21,079 Likes: 3
I type Like navaho
|
I type Like navaho
Joined: Mar 2000
Posts: 21,079 Likes: 3 |
don't confuse me with the facts
|
|
|
|
Joined: Jan 2003
Posts: 3,456 Likes: 2
Master Hacker
|
Master Hacker
Joined: Jan 2003
Posts: 3,456 Likes: 2 |
Allen, one more bug you didn't notice cause no one posted there... your CSSing broke the active topics page I'm gonna look for the fix now
|
|
|
|
Joined: Jan 2003
Posts: 3,456 Likes: 2
Master Hacker
|
Master Hacker
Joined: Jan 2003
Posts: 3,456 Likes: 2 |
in public_daily_topics.pl
find:
$thisaltcolor = ($thisaltcolor eq lighttable ? darktable} : lighttable );
replace with:
$thisaltcolor = ($thisaltcolor eq lighttable ? darktable : lighttable ); that fixed it for me
|
|
|
|
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 |
::sits back:: my little all's growing up ::sniff::...
If I wasn't at work I'd snag the files required and edit a 6.6 install and help! Probably do that tonight...
|
|
|
|
Joined: Jan 2003
Posts: 3,456 Likes: 2
Master Hacker
|
Master Hacker
Joined: Jan 2003
Posts: 3,456 Likes: 2 |
quote: Originally posted by Gizzy: ::sits back:: my little all's growing up ::sniff::...
If I wasn't at work I'd snag the files required and edit a 6.6 install and help! Probably do that tonight... This is my favorite part of hacking... making it look good. Once LK's calendar goes final, I'll post a css port of it.
|
|
|
|
Joined: Jun 2001
Posts: 2,849
Spotlight Winner
|
Spotlight Winner
Joined: Jun 2001
Posts: 2,849 |
I have to agree, making the UBB look totally unique has always been my main goal.
|
|
|
|
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 |
Agreed, why bother looking like everyone else? I mean if you go and look at UGN you can clearly see that we hate the standard look, yet we love it at the same time...
|
|
|
|
Joined: Jan 2003
Posts: 3,456 Likes: 2
Master Hacker
|
Master Hacker
Joined: Jan 2003
Posts: 3,456 Likes: 2 |
Hey Allen, a quick fix for times that requires little hacking... In public_common.pl FIND: span.timestamp-1 { color: $vars_style{TimeColor}; } TWICE Delet them. In Frost.css add: span.timestamp-1 { color: blue; } now change that color to whatever you want the colors to be There is also a problem in public_directory.pl FIND: my $appn = $vars_display{'DirectorySortEnable'} eq "YES" ? qq~ <td nowrap="nowrap"><b>
$selarray[0]<a href="$vars_config{CGIURL}/ultimatebb.cgi?ubb=directory$sr;p=$in{p};sorder=0" class="text-decoration: underline">#</a> | $selarray[1]<a href="$vars_config{CGIURL}/ultimatebb.cgi?ubb=directory$sr;p=$in{p};sorder=1" class="text-decoration: underline">$vars_wordlets{displayed_name}</a> | $selarray[10]<a href="$vars_config{CGIURL}/ultimatebb.cgi?ubb=directory$sr;p=$in{p};sorder=10" class="text-decoration: underline">$vars_wordlets{member_status}</a>
</b></td> <td nowrap="nowrap"><b> $selarray[2]<a href="$vars_config{CGIURL}/ultimatebb.cgi?ubb=directory$sr;p=$in{p};sorder=2" class="text-decoration: underline">$vars_wordlets{author_posts_nocolon}</a> </b></td> ~ : qq~ <td nowrap="nowrap"><b> #, $vars_wordlets{displayed_name}, $vars_wordlets{member_status} </b></td> <td nowrap="nowrap"><b> $vars_wordlets{author_posts_nocolon} </b></td> ~; foreach my $num (@flds) {
$appn .= $vars_display{'DirectorySortEnable'} eq "YES" ? qq~ <td nowrap="nowrap"><b> $selarray[$num]<a href="$vars_config{CGIURL}/ultimatebb.cgi?ubb=directory$sr;p=$in{p};sorder=$num" class="text-decoration: underline">$statements{$num}</a> </b></td> ~ : qq~ <td nowrap="nowrap"><b> $statements{$num} </b></td> replace with: my $appn = $vars_display{'DirectorySortEnable'} eq "YES" ? qq~ <td nowrap="nowrap"><b> $selarray[0]<a href="$vars_config{CGIURL}/ultimatebb.cgi?ubb=directory$sr;p=$in{p};sorder=0"><font class="tdheader">#</font></a> | $selarray[1]<a href="$vars_config{CGIURL}/ultimatebb.cgi?ubb=directory$sr;p=$in{p};sorder=1"><font class="tdheader">$vars_wordlets{displayed_name}</font></a> | $selarray[10]<a href="$vars_config{CGIURL}/ultimatebb.cgi?ubb=directory$sr;p=$in{p};sorder=10"><font class="tdheader">$vars_wordlets{member_status}</font></a> </b></td> <td nowrap="nowrap"><b> $selarray[2]<a href="$vars_config{CGIURL}/ultimatebb.cgi?ubb=directory$sr;p=$in{p};sorder=2"><font class="tdheader">$vars_wordlets{author_posts_nocolon}</font></a> </b></td> ~ : qq~ <td nowrap="nowrap"><b> #, $vars_wordlets{displayed_name}, $vars_wordlets{member_status} </b></td> <td nowrap="nowrap"><b> $vars_wordlets{author_posts_nocolon} </b></td> ~; foreach my $num (@flds) {
$appn .= $vars_display{'DirectorySortEnable'} eq "YES" ? qq~ <td nowrap="nowrap"><b> $selarray[$num]<a href="$vars_config{CGIURL}/ultimatebb.cgi?ubb=directory$sr;p=$in{p};sorder=$num"><font class="tdheader">$statements{$num}</font></a> </b></td> ~ : qq~ <td nowrap="nowrap"><b> $statements{$num} </b></td>
|
|
|
|
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 that big section yer replacing, what's the major difference?
|
|
|
|
Joined: Jan 2003
Posts: 3,456 Likes: 2
Master Hacker
|
Master Hacker
Joined: Jan 2003
Posts: 3,456 Likes: 2 |
getting rid of the class="text-decoration: underline" and adding within the links
|
|
|
|
Joined: Mar 2000
Posts: 21,079 Likes: 3
I type Like navaho
|
I type Like navaho
Joined: Mar 2000
Posts: 21,079 Likes: 3 |
Thanks, zip files updated with the fixes posted concerning the template files
|
|
|
|
Joined: Jan 2003
Posts: 3,456 Likes: 2
Master Hacker
|
Master Hacker
Joined: Jan 2003
Posts: 3,456 Likes: 2 |
Hey Allen, any word on if these templates will work with 6.6.1?
|
|
|
|
Joined: Jan 2000
Posts: 5,073
Admin Emeritus
|
Admin Emeritus
Joined: Jan 2000
Posts: 5,073 |
6.6.1 would be called 6.6.0.1 under the old numbering scheme. Just bugfixes - shouldn't be any problems.
UBB.classic: Love it or hate it, it was mine.
|
|
|
|
Joined: Mar 2000
Posts: 21,079 Likes: 3
I type Like navaho
|
I type Like navaho
Joined: Mar 2000
Posts: 21,079 Likes: 3 |
they work with 6.6.1
|
|
|
|
Joined: Jan 2003
Posts: 3,456 Likes: 2
Master Hacker
|
Master Hacker
Joined: Jan 2003
Posts: 3,456 Likes: 2 |
Allen, one more bug.
On the search page, the footer (powered by, etc) it big
|
|
|
|
Joined: Mar 2001
Posts: 7,394
Admin / Code Breaker
|
Admin / Code Breaker
Joined: Mar 2001
Posts: 7,394 |
yeah, same in the forum page... very odd
|
|
|
|
Joined: Jan 2003
Posts: 3,456 Likes: 2
Master Hacker
|
Master Hacker
Joined: Jan 2003
Posts: 3,456 Likes: 2 |
I can't figure out the cause, but I figured out a fix. In your css files, in the copyright and small classes, use a definite font-size, not just "smaller". (didn't it used to be only copyright?)
|
|
|
|
Joined: Mar 2000
Posts: 21,079 Likes: 3
I type Like navaho
|
I type Like navaho
Joined: Mar 2000
Posts: 21,079 Likes: 3 |
Not sure, just wanted to say your site is really looking sweet
|
|
|
|
Joined: Jan 2003
Posts: 3,456 Likes: 2
Master Hacker
|
Master Hacker
Joined: Jan 2003
Posts: 3,456 Likes: 2 |
thanks, I've been tweaking every since I visited threadsdev They have a lot of nice tips for css
|
|
|
|
Joined: Jan 2003
Posts: 3,456 Likes: 2
Master Hacker
|
Master Hacker
Joined: Jan 2003
Posts: 3,456 Likes: 2 |
|
|
|
|
Joined: Jan 2003
Posts: 3,456 Likes: 2
Master Hacker
|
Master Hacker
Joined: Jan 2003
Posts: 3,456 Likes: 2 |
here's the fix find: if($swap == 2) { $swap = 1; } else { $swap = 2; }
my $switch = "AltColumnColor" . $swap;
return <<THISFIELD;
<!-- Start $title --> <tr class="$vars_style{$switch}"> replace with: if($swap eq 'dark') { $swap = 'light'; } else { $swap = 'dark'; }
my $switch = $swap . "table";
return <<THISFIELD;
<!-- Start $title --> <tr class="$switch">
|
|
|
|
Joined: Jan 2003
Posts: 3,456 Likes: 2
Master Hacker
|
Master Hacker
Joined: Jan 2003
Posts: 3,456 Likes: 2 |
bumping so Allen sees this
|
|
|
|
Joined: Mar 2000
Posts: 21,079 Likes: 3
I type Like navaho
|
I type Like navaho
Joined: Mar 2000
Posts: 21,079 Likes: 3 |
danke
|
|
|
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: 1,157
Joined: July 2001
|
|
Forums63
Topics37,573
Posts293,925
Members13,849
|
Most Online5,166 Sep 15th, 2019
|
|
Currently Online
Topics Created
Posts Made
Users Online
Birthdays
|
|
|
|