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


Who's Online
2 registered (Gizmo, Pilgrim), 21 Guests and 12 Spiders online.
Key: Admin, Global Mod, Mod
Shout Box

Latest Posts
Wisdom needed
by Gizmo
12/04/08 10:54 AM
How to hide sub forums from summary page
by blaaskaak
12/03/08 09:54 AM
Spell Check [beta]
by Bill B
12/01/08 09:16 PM
PhotoPost BB Code Popup
by AllenAyres
12/01/08 09:41 AM
Problems reading a lot of old posts here
by AllenAyres
12/01/08 09:35 AM
Forum 'Trader Ratings'.
by AllenAyres
12/01/08 09:33 AM
Customization needed
by Gizmo
11/12/08 12:28 PM
New Mods
User Authentication Class
by
01/19/07 02:59 PM
Multiple Identity Detector
by
12/30/06 06:39 PM
PhotoPost BB Code Popup
by
11/06/06 05:43 PM
Spell Check [beta]
by
10/17/06 09:24 PM
Newest Members
Truth, David DelMonte, nick1, Begbie, cenk
13364 Registered Users
Top Posters
AllenAyres 25452
JoshPet 11330
Rick 8372
LK 7396
Lord Dexter 6503
Greg Hard 5533
Charles Capps 5438

 

 

 
fusionbb message board php hacks