Previous Thread
Next Thread
Print Thread
Rate Thread
Joined: Feb 2000
Posts: 7
Junior Member
Junior Member
Offline
Joined: Feb 2000
Posts: 7
Hoi there -

I've just been musing over Andy Tomaka's (sorry about the spelling...) auto-updating smilies legend and I've gained myself a nice headache over it... For some interesting reason it does not seem to obbey the site's colour scheme (as it should according to the code).

The problem lies somewhere in the SmiliesLegend routine where it creates the html:

Code
code:

As you can see above, it calls the colour variables from the styles.file, but for some weird reason the popup is in fact a simple white *blorp* with black text and no different colours for each row in the table?

Reading the routine does suggest that it's meant to look stylish like the board, but it doesn't....

Of course ... I could be wrong, I'm not a genius. Any ideas would be greatly appreciated!

- Philip

------------------
I'm just this guy you know...


I'm just this guy you know...
Sponsored Links
Joined: Feb 2000
Posts: 7
Junior Member
Junior Member
Offline
Joined: Feb 2000
Posts: 7
Wrong forum! wrong forum! *begs for forgiveness* sorry sorry sorry. Someone wanna move this baby to the questions forum... thanks!

- Philip [not awake yet]


I'm just this guy you know...
Joined: Feb 1999
Posts: 1,379
cal Offline
Programmer
Programmer
Offline
Joined: Feb 1999
Posts: 1,379
Add the followng line to the top of smilies.cgi (with the similar lines):

require "Styles.file";

It was a mistake in the hack.
Just a thought [Linked Image]

Joined: Feb 2000
Posts: 7
Junior Member
Junior Member
Offline
Joined: Feb 2000
Posts: 7
That WORKED!!! Wheeee!

One slight error still, that was easy though:

Code
code:

Should be changed to:

Code
code:

(Change the $TableStripTextColor to $TextColor) this ensures that on sites where these colours are different (like mine), the right colour is used in the rows.

Thanks for the help! Perhaps Mr. Tomaka could update his documentation, if he is still breathing that is?

- Philip

------------------
I'm just this guy you know...


I'm just this guy you know...
Joined: Feb 1999
Posts: 1,379
cal Offline
Programmer
Programmer
Offline
Joined: Feb 1999
Posts: 1,379
Mas*Mind has just updated his smilies.cgi file with the requires clause. You'll have to get Tomaka to change the color thing though.

Just a thought [Linked Image]

Sponsored Links
Joined: Feb 2000
Posts: 7
Junior Member
Junior Member
Offline
Joined: Feb 2000
Posts: 7
Thanks pal!

- Philip

------------------
I'm just this guy you know...


I'm just this guy you know...
Joined: Feb 1999
Posts: 1,379
cal Offline
Programmer
Programmer
Offline
Joined: Feb 1999
Posts: 1,379
Only just noticed yout tag line digi-god.

Don't panic

Just a thought [Linked Image]

Joined: Aug 2000
Posts: 3,590
Moderator
Moderator
Offline
Joined: Aug 2000
Posts: 3,590
All right, i updated the documentation with the $TextColor variable. Let me know if ya find anything wrong with it this time >:0)

------------------
I wish I were a Canuck
All they have to do is drink beer, play hockey, and say "Eh"

* No offense meant to any Canadians

Joined: Feb 2000
Posts: 7
Junior Member
Junior Member
Offline
Joined: Feb 2000
Posts: 7
heheh [Linked Image]

Thanks! I'll be sure to badger you about every little gripe I have [Linked Image]

I've gotta install 5.44 tonight, they work too fast at InfoPop, I wasn't even done hacking 5.43d up to standards.

Zoooooof -- off to work I go. Thanks for the help [Linked Image]

- Philip


I'm just this guy you know...

Link Copied to Clipboard
Donate Today!
Donate via PayPal

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.
Recommended Hosts
We have personally worked with and recommend the following Web Hosts:
Stable Host
bluehost
InterServer
Visit us on Facebook
Member Spotlight
Posts: 70
Joined: January 2007
Forum Statistics
Forums63
Topics37,573
Posts293,925
Members13,849
Most Online5,166
Sep 15th, 2019
Today's Statistics
Currently Online
Topics Created
Posts Made
Users Online
Birthdays
Top Posters
AllenAyres 21,079
JoshPet 10,369
LK 7,394
Lord Dexter 6,708
Gizmo 5,833
Greg Hard 4,625
Top Posters(30 Days)
Top Likes Received
isaac 82
Gizmo 20
Brett 7
WebGuy 2
Morgan 2
Top Likes Received (30 Days)
None yet
The UBB.Developers Network (UBB.Dev/Threads.Dev) is ©2000-2024 VNC Web Services

 
Powered by UBB.threads™ PHP Forum Software 8.0.0
(Preview build 20240506)