php forum
php mysql forum
php mysql smarty
 
Topic Options
#36528 - 02/20/00 06:18 AM Auto-updating smilies --> Andy Tomaka
Digi-God Offline
Junior Member

Registered: 02/20/00
Posts: 16
Loc: Kampenhout, Belgium, Europe
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...

Top
#36529 - 02/20/00 06:24 AM Re: Auto-updating smilies --> Andy Tomaka
Digi-God Offline
Junior Member

Registered: 02/20/00
Posts: 16
Loc: Kampenhout, Belgium, Europe
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...

Top
#36530 - 02/20/00 07:17 AM Re: Auto-updating smilies --> Andy Tomaka
cal Offline
Programmer

Registered: 02/19/99
Posts: 3433
Loc: London, UK | Genius: 100%
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
_________________________
http://www.iamcal.com

Top
#36531 - 02/20/00 07:32 AM Re: Auto-updating smilies --> Andy Tomaka
Digi-God Offline
Junior Member

Registered: 02/20/00
Posts: 16
Loc: Kampenhout, Belgium, Europe
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...

Top
#36532 - 02/20/00 09:21 AM Re: Auto-updating smilies --> Andy Tomaka
cal Offline
Programmer

Registered: 02/19/99
Posts: 3433
Loc: London, UK | Genius: 100%
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
_________________________
http://www.iamcal.com

Top
#36533 - 02/20/00 09:28 AM Re: Auto-updating smilies --> Andy Tomaka
Digi-God Offline
Junior Member

Registered: 02/20/00
Posts: 16
Loc: Kampenhout, Belgium, Europe
Thanks pal!

- Philip

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

Top
#36534 - 02/20/00 11:26 AM Re: Auto-updating smilies --> Andy Tomaka
cal Offline
Programmer

Registered: 02/19/99
Posts: 3433
Loc: London, UK | Genius: 100%
Only just noticed yout tag line digi-god.

Don't panic

Just a thought
_________________________
http://www.iamcal.com

Top
#36535 - 02/20/00 01:13 PM Re: Auto-updating smilies --> Andy Tomaka
The Team Offline
Moderator

Registered: 08/11/00
Posts: 182
Loc: yes
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

Top
#36536 - 02/20/00 01:23 PM Re: Auto-updating smilies --> Andy Tomaka
Digi-God Offline
Junior Member

Registered: 02/20/00
Posts: 16
Loc: Kampenhout, Belgium, Europe
heheh

Thanks! I'll be sure to badger you about every little gripe I have

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

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

Top



Latest Posts
[7.2.1] - Naked shoutbox
by bellaonline
05/05/12 05:00 PM
[7.x] Stop Forum Spam Integration v0.4
by bellaonline
05/05/12 03:53 PM
Shout Box

(Views)Popular Topics
Known public proxy servers 1689885
Integrated Index Page (IIP) 5.3.1 555705
Finished-[6.5.2] Games Arcade Deluxe v1.9 501236
Integrated Index Page (IIP) 5.1.1 415112
TLD Bv2.1 Released - Threads Links Directory 396822
[6.0x] Who's Online 4.0.0 [Finished] 389412
Finished-[6.5.1] Integrated Index Page (IIP) 6.5 330423
Q & A 298663
Slash UBB 266936
[6.3.x] [beta] Hit Hack 2.0 227970
Forum Stats
13621 Members
59 Forums
37191 Topics
295716 Posts

Max Online: 686 @ 06/28/07 07:04 AM

 

 

 
fusionbb message board php hacks