#36528
02/20/2000 7:18 AM
|
Joined: Feb 2000
Posts: 7
Junior Member
|
Junior Member
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: 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...
|
|
|
#36529
02/20/2000 7:24 AM
|
Joined: Feb 2000
Posts: 7
Junior Member
|
Junior Member
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...
|
|
|
#36530
02/20/2000 8:17 AM
|
Joined: Feb 1999
Posts: 1,379
Programmer
|
Programmer
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]](http://ubbcodehacking.com/ubb/smilies/smile.gif)
|
|
|
#36531
02/20/2000 8:32 AM
|
Joined: Feb 2000
Posts: 7
Junior Member
|
Junior Member
Joined: Feb 2000
Posts: 7 |
That WORKED!!! Wheeee! One slight error still, that was easy though: Should be changed to: (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...
|
|
|
#36532
02/20/2000 10:21 AM
|
Joined: Feb 1999
Posts: 1,379
Programmer
|
Programmer
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]](http://ubbcodehacking.com/ubb/smilies/smile.gif)
|
|
|
#36533
02/20/2000 10:28 AM
|
Joined: Feb 2000
Posts: 7
Junior Member
|
Junior Member
Joined: Feb 2000
Posts: 7 |
Thanks pal!
- Philip
------------------ I'm just this guy you know...
I'm just this guy you know...
|
|
|
#36534
02/20/2000 12:26 PM
|
Joined: Feb 1999
Posts: 1,379
Programmer
|
Programmer
Joined: Feb 1999
Posts: 1,379 |
Only just noticed yout tag line digi-god. Don't panic Just a thought ![[Linked Image]](http://ubbcodehacking.com/ubb/smilies/smile.gif)
|
|
|
#36535
02/20/2000 2:13 PM
|
Joined: Aug 2000
Posts: 3,590
Moderator
|
Moderator
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
|
|
|
#36536
02/20/2000 2:23 PM
|
Joined: Feb 2000
Posts: 7
Junior Member
|
Junior Member
Joined: Feb 2000
Posts: 7 |
heheh ![[Linked Image]](http://ubbcodehacking.com/ubb/smilies/smile.gif) Thanks! I'll be sure to badger you about every little gripe I have ![[Linked Image]](http://ubbcodehacking.com/ubb/smilies/smile.gif) 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]](http://ubbcodehacking.com/ubb/smilies/smile.gif) - Philip
I'm just this guy you know...
|
|
|
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,575
Posts293,931
Members13,823
|
Most Online6,139 Sep 21st, 2024
|
|
Currently Online
Topics Created
Posts Made
Users Online
Birthdays
|
|
|
|