Hi,
it would be good if you say with which W3T version the hack is compatible. :)
Since there were changes in 5.3. at least this
[:red] if ($theme[PictureView] == "on") {
needs to be replaced by this
[:red] if ($theme[PictureView]) {
in your hack.
Also I suggest to put the two paths into config.ini.php
Then a user can control the setting via the admin-interface afterwards.
That's at least how I am implementing the hack.
Oh yes, and the $picture is still using a hardcoded path,
and should use the $url3 variable instead...
And, last suggestion: If you name variables more unique than [:red]$path2 and [:red]$url3,
then the danger is not so big that SCREAM or maybe other users
might also use that variables for their purposes...
[:red]$userpicpath2 and [:red]$userpicurl3 instead?
I test this now thouroughly with 5.3 and let you know the results []/w3timages/icons/smile.gif[/]
Carl
----------
http://www.colour-ize.de/forum (test entry: user: 'test' pw: 'test')
Edited by caymuc on 04/04/01 07:13 AM.