Previous Thread
Next Thread
Print Thread
Hop To
#84641 05/04/2002 2:56 AM
Anonymous
Unregistered
Anonymous
Unregistered
Using 6.3 beta (JC's templates) and would like to match the font colour for "Recent Visitors" with the other category descriptions [here]

I've looked at a number of templates but can't seem to find the right bit of code.

Thanks <img src="https://www.ubbcentral.com/boards/images/graemlins/tongue.gif" alt="" />

--------------------------------------------
I'm depriving a village somewhere of an idiot !

#84642 05/04/2002 9:54 AM
Anonymous
Unregistered
Anonymous
Unregistered
Check the pntf templates <img src="https://www.ubbcentral.com/boards/images/graemlins/smile.gif" alt="" /> Or it might be in the pntf cgi file. I'll need to do some looking.

UBBUniverse.com
Custom graphics and templates for the ubb.classic â„¢ and ubb.threads â„¢

#84643 05/04/2002 11:11 AM
Anonymous
Unregistered
Anonymous
Unregistered
JC,

According to vars_wordlets_pntf.cgi I think I'm looking for a reference to "pntf_title" which is in public_pntf_summary.pl but despite trying this:
Quote
<font color="#C6ECFF"><a href="$vars_config{CGIURL}/ultimatebb.cgi?ubb=pntf"></font><span>$vars_wordlets_pntf{pntf_title}</span></a>
I didn't manage to change the link clour.

I've obviously got the wrong link

--------------------------------------------
I'm depriving a village somewhere of an idiot

#84644 05/04/2002 12:45 PM
Anonymous
Unregistered
Anonymous
Unregistered
You'll need to figure out <font color="%%SPANTCOLOR%%">

and where it is defined from. Look in ubb_lib.cgi

It uses CategoryStripColor or CategoryStripTextColor depending if it's "docked" or not.


UBBUniverse.com
Custom graphics and templates for the ubb.classic â„¢ and ubb.threads â„¢

#84645 05/04/2002 7:17 PM
Anonymous
Unregistered
Anonymous
Unregistered
mmmmm <img src="https://www.ubbcentral.com/boards/images/graemlins/confused.gif" alt="" />

getting a bit out of my depth now . . .

I had a feeling that the textcolor was defined in here: (ubb_lib.cgi)

$replace = &QuickSummary($vars_config{BBName}, "", $results, $colspans);
$replace = &Template($replace, {
SPANCOLOR => ($vars_pntf{Docked} eq "yes" ? $vars_style{CategoryStripColor} : $vars_style{TableColorStrip} ),
SPANTCOLOR => ($vars_pntf{Docked} eq "yes" ? $vars_style{CategoryStripTextColor} : $vars_style{TableStripTextColor} ),

but everything I tried brought the board down eek

If I'm gonna manage this, I think I need "hack" style directions - (find xxx replace with yyy)

any chance, or should I head on over to UBBdev?

Thanks either way JC <img src="https://www.ubbcentral.com/boards/images/graemlins/smile.gif" alt="" />

--------------------------------------------
I'm depriving a village somewhere of an idiot !

#84646 05/04/2002 7:35 PM
Anonymous
Unregistered
Anonymous
Unregistered
Just set the color in your control panel. If you are using the JCtemplates and css they bypass the color settings there anyway.

UBBUniverse.com
Custom graphics and templates for the ubb.classic â„¢ and ubb.threads â„¢

#84647 05/05/2002 12:34 AM
Anonymous
Unregistered
Anonymous
Unregistered
jeez - can't believe it - after all that it was a cp mod <img src="https://www.ubbcentral.com/boards/images/graemlins/mad.gif" alt="" />

JC - any reason why the recent visitors category strip isn't picking up the "JC Gradient Bars"? here (either docked or undocked)

Any way to change that?

Thanks <img src="https://www.ubbcentral.com/boards/images/graemlins/wink.gif" alt="" />

--------------------------------------------
I'm depriving a village somewhere of an idiot !

#84648 05/05/2002 1:14 AM
Anonymous
Unregistered
Anonymous
Unregistered
open public_pntf_summary.pl and look for:

<tr>
<td bgcolor="%%SPANCOLOR%%" colspan="$colspan" align="left" background="$vars_config{NonCGIURL}/$vars_style{jc_title_bar}">
<a href="$vars_config{CGIURL}/ultimatebb.cgi?ubb=pntf$qstring">
<font face="$vars_style{FontFace}" size="1" color="%%SPANTCOLOR%%">
$title $vars_wordlets_pntf{pntf_simple_title} $r->{'raw_total'}
</font></a>
</td>
</tr>

Add the part in bold.


Ya know, I think that is the most popular style to use <img src="https://www.ubbcentral.com/boards/images/graemlins/smile.gif" alt="" /> Who knew..

UBBUniverse.com
Custom graphics and templates for the ubb.classic â„¢ and ubb.threads â„¢

[This message was edited by JC on May 04, 2002 at 10:58 PM.]

#84649 05/05/2002 3:46 AM
Anonymous
Unregistered
Anonymous
Unregistered
Thanks so much JC - looks purrrfect now - I made two more slight variations to your suggestion:

<tr>
<td bgcolor="%%SPANCOLOR%%" colspan="$colspan" align="left"background="$vars_config{NonCGIURL}/$vars_style{jc_category_bar}">
<a href="$vars_config{CGIURL}/ultimatebb.cgi?ubb=pntf$qstring">
<font color="%%SPANTCOLOR%%">

(class="titlebar was the only way I could shrink the font to look consistent with the rest of the page, and I used the category_bar instead of the title_bar)

<img src="https://www.ubbcentral.com/boards/images/graemlins/laugh.gif" alt="" /> <img src="https://www.ubbcentral.com/boards/images/graemlins/laugh.gif" alt="" /> <img src="https://www.ubbcentral.com/boards/images/graemlins/laugh.gif" alt="" />

Yeah - GREAT template - if it becomes too popular I might have to contract you ($$$) to design an exclusive for me.

BTW - your site is awesome!! (think I preferred the style just before you changed it today - sorry <img src="https://www.ubbcentral.com/boards/images/graemlins/frown.gif" alt="" />

--------------------------------------------
I'm depriving a village somewhere of an idiot !

[This message was edited by guvner on May 05, 2002 at 12:59 AM.]


Link Copied to Clipboard
ShoutChat
Comment Guidelines: Do post respectful and insightful comments. Don't flame, hate, spam.
Recent Topics
Bots
by Outdoorking - 04/13/2024 5:08 PM
Can you add html to language files?
by Baldeagle - 04/07/2024 2:41 PM
Do I need to rebuild my database?
by Baldeagle - 04/07/2024 2:58 AM
This is not a bug, but a suggestion
by Baldeagle - 04/05/2024 11:25 PM
spam issues
by ECNet - 03/19/2024 11:45 PM
Who's Online Now
0 members (), 1,073 guests, and 180 robots.
Key: Admin, Global Mod, Mod
Random Gallery Image
Latest Gallery Images
Los Angeles
Los Angeles
by isaac, August 6
3D Creations
3D Creations
by JAISP, December 30
Artistic structures
Artistic structures
by isaac, August 29
Stones
Stones
by isaac, August 19
Powered by UBB.threads™ PHP Forum Software 8.0.0
(Preview build 20230217)