siggen doesent work after upgrade to php-fusion 6.01.6

A signature and avatar generator addon

Moderator: zanix

siggen doesent work after upgrade to php-fusion 6.01.6

Postby vejgaard » Fri Oct 13, 2006 3:30 am

hi after i updatede my homepage to php-fusion 6.01.6 the signatur doesent work anymore.

Image
im using theese lines, can some one help me out ?????

Please press on img for link :)
http://www.raidersofthenorth.dk/roster/ ... jgaard.jpg
Last edited by vejgaard on Fri Oct 13, 2006 3:39 am, edited 1 time in total.
May The Force Be With You

Vejgaard
vejgaard
WR.net Apprentice
WR.net Apprentice
 
Posts: 8
Joined: Tue Aug 22, 2006 5:44 pm

siggen doesent work after upgrade to php-fusion 6.01.6

Postby zanix » Fri Oct 13, 2006 4:06 am

It shows up here
Turn on Save Image Mode and Auto generate on character update and link to the static images in addons/siggen/saved
Read the Forum Rules, the WiKi, and Search before posting!
WoWRoster v2.1 - SigGen v0.3.3.523 - WoWRosterDF
User avatar
zanix
Admin
Admin
WoWRoster.net Dev Team
WoWRoster.net Dev Team
UA/UU Developer
UA/UU Developer
 
Posts: 5543
Joined: Mon Jul 03, 2006 8:29 am
Location: Idaho Falls, Idaho
Realm: Doomhammer (PvE) - US

siggen doesent work after upgrade to php-fusion 6.01.6

Postby vejgaard » Fri Oct 13, 2006 4:30 am

i´v found out that the roster site works as you can see here, but i guess my problem is with PHP-fusion.
anybody having the same problem ???
May The Force Be With You

Vejgaard
vejgaard
WR.net Apprentice
WR.net Apprentice
 
Posts: 8
Joined: Tue Aug 22, 2006 5:44 pm

siggen doesent work after upgrade to php-fusion 6.01.6

Postby zanix » Fri Oct 13, 2006 4:33 am

I just gave you a solution
Your forum may be blocking the image you are using because it has .php in it

Turn on Save Image Mode and Auto generate on character update and link to the static images in addons/siggen/saved
Read the Forum Rules, the WiKi, and Search before posting!
WoWRoster v2.1 - SigGen v0.3.3.523 - WoWRosterDF
User avatar
zanix
Admin
Admin
WoWRoster.net Dev Team
WoWRoster.net Dev Team
UA/UU Developer
UA/UU Developer
 
Posts: 5543
Joined: Mon Jul 03, 2006 8:29 am
Location: Idaho Falls, Idaho
Realm: Doomhammer (PvE) - US

siggen doesent work after upgrade to php-fusion 6.01.6

Postby vejgaard » Sat Oct 14, 2006 4:35 am

Well i found a solution to the problem.

in the mainccore.php i found this lines...

line 359

$text = preg_replace("#\[img\]((http|ftp|https|ftps)://)(.*?)(\.(jpg|jpeg|gif|png|JPG|JPEG|GIF|PNG))\[/img\]#sie","'<img src=\'\\1'.str_replace(array('.php','?','&','=','','\\3'.'\\4\' style=\'border:0px\'>'",$text);

just remove '.php', the it works again :)
May The Force Be With You

Vejgaard
vejgaard
WR.net Apprentice
WR.net Apprentice
 
Posts: 8
Joined: Tue Aug 22, 2006 5:44 pm

siggen doesent work after upgrade to php-fusion 6.01.6

Postby zanix » Sat Oct 14, 2006 4:58 am

That works too :)

But remember, this open a nice big hole in your forum's security as this allows people to attatch php files which can be a risk
Read the Forum Rules, the WiKi, and Search before posting!
WoWRoster v2.1 - SigGen v0.3.3.523 - WoWRosterDF
User avatar
zanix
Admin
Admin
WoWRoster.net Dev Team
WoWRoster.net Dev Team
UA/UU Developer
UA/UU Developer
 
Posts: 5543
Joined: Mon Jul 03, 2006 8:29 am
Location: Idaho Falls, Idaho
Realm: Doomhammer (PvE) - US


Return to SigGen

Who is online

Users browsing this forum: No registered users and 0 guests

cron