Siggen

Dragonfly integration forum

Siggen

Postby Deeo » Mon Jul 10, 2006 3:37 pm

so my installation of wowrosterdf works fine except the Siggen...

i activatet the save pics on server and create pics when upload info...
when i upload the Guildinfo/characterprofiler lua, i see an "empty pivture"
and then i can get the pic with rightclick and "show picture"

i get this:

Code: Select all
Fatal error: Call to a member function on a non-object in /var/www/web4/html/modules/cvsroster/addons/siggen/siggen.php on line 80



i hope you understand the problem, my english isnt very good
Deeo
WR.net Journeyman
WR.net Journeyman
 
Posts: 80
Joined: Mon Jul 10, 2006 2:02 pm

Siggen

Postby Anaxent » Mon Jul 10, 2006 10:19 pm

I am aware of this issue int he trigger system. This has been fixed in the next release of WoWRosterDF and will be concidered the beta version.
User avatar
Anaxent
WoWRoster.net Dev Team
WoWRoster.net Dev Team
 
Posts: 642
Joined: Tue Jul 04, 2006 6:27 am
Location: Phoenix, Az

Siggen

Postby jimig1 » Tue Jul 25, 2006 9:58 pm

I can get the signature to save but the the avatar is not saving they look like they are generating but they don't any ideas they are set to save on guild and character update i don't get an error and i can see the preview of them
User avatar
jimig1
WR.net Apprentice
WR.net Apprentice
 
Posts: 36
Joined: Fri Jul 07, 2006 10:48 pm

Re: Siggen

Postby Bedevere » Sat Jul 29, 2006 12:04 pm

jimig1 wrote:I can get the signature to save but the the avatar is not saving they look like they are generating but they don't any ideas they are set to save on guild and character update i don't get an error and i can see the preview of them


Same for me!
Image
User avatar
Bedevere
WR.net Apprentice
WR.net Apprentice
 
Posts: 47
Joined: Thu Jul 06, 2006 6:25 pm

Siggen

Postby Anaxent » Sun Jul 30, 2006 1:18 am

Ok I had never noticed that.. I will look at the avatar generator today and see what I can find.
User avatar
Anaxent
WoWRoster.net Dev Team
WoWRoster.net Dev Team
 
Posts: 642
Joined: Tue Jul 04, 2006 6:27 am
Location: Phoenix, Az

Siggen

Postby Bedevere » Sun Jul 30, 2006 2:46 am

It was weird because at first I only turned it on for avatars and it worked. So I enabled the sig generation too and that worked but broke avatars.

Then I disabled the sig one and no matter what I do it dumps sig files now. Also seems to be soem sort of scripting mix up because the output log suggests it is making both but if you right click and display the avatar image it shows a signature.

Beyond this - GREAT WORK!
Image
User avatar
Bedevere
WR.net Apprentice
WR.net Apprentice
 
Posts: 47
Joined: Thu Jul 06, 2006 6:25 pm

Siggen

Postby Bedevere » Sun Jul 30, 2006 2:58 am

BTW my suspicion is this may be part of the problem.....
Code: Select all
// Get image mode ( signature | avatar | etc )
if( isset($_GET['mode']) )
{
   $config_name = $_GET['mode'];
}
elseif( isset($config_name) )
{
   $config_name = $config_name;
}
else
{
   if( eregi(basename(__FILE__),$_SERVER['PHP_SELF']) )
   {
      exit("You cannot access this file directly without a 'mode' option");

   }
}


Don't you want to test to see if $config_name is set right form the start? This might explain why http://oi-guild.com/test/modules/cvsroster/addons/siggen/av.php?name=Bedevere won't work. I would love to have that working becuase I used an .htaccess file in the roster directory in version 1.6 to fake display jpg files

Code: Select all
RewriteEngine on
RewriteRule ^(sig|av)/(.*).jpg$ ./addons/siggen/$1.php?name=$2

which meant I could do this:
Code: Select all
http://oi-guild.com/modules/roster/av/Osmodeon.jpg
but was really running
Code: Select all
http://oi-guild.com/modules/roster/addons/siggen/av.php?name=Osmodeon



I duno....
Last edited by Bedevere on Sun Jul 30, 2006 3:19 am, edited 1 time in total.
Image
User avatar
Bedevere
WR.net Apprentice
WR.net Apprentice
 
Posts: 47
Joined: Thu Jul 06, 2006 6:25 pm

Re: Siggen

Postby zanix » Sun Jul 30, 2006 3:04 am

Bedevere wrote:Don't you want to test to see if $config_name is set right form the start?

No, because this would break the "mode=" override feature

And that link
http://oi-guild.com/test/modules/cvsroster/addons/siggen/av.php?name=Bedevere
Has a Forbidden error, thats your server refusing access to that file
Last edited by zanix on Sun Jul 30, 2006 3:07 am, edited 1 time in total.
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: 5546
Joined: Mon Jul 03, 2006 8:29 am
Location: Idaho Falls, Idaho
Realm: Doomhammer (PvE) - US

Siggen

Postby Bedevere » Sun Jul 30, 2006 3:10 am

I figured it out anyway:

/modules/cvsroster/.htaccess:
Code: Select all
RewriteEngine on
RewriteRule ^(signature|avatar)/(.*).jpg$ index.php?name=cvsroster&file=addon&roster_addon_name=siggen&mode=$1&member=$2


so this works:
Code: Select all
http://oi-guild.com/test/modules/cvsroster/signature/Osmodeon.jpg


I could even put that into the top lvl .htacces file?

I really prefer this method rather than saving a bunch of jpg files to the server.
Last edited by Bedevere on Sun Jul 30, 2006 3:31 am, edited 3 times in total.
Image
User avatar
Bedevere
WR.net Apprentice
WR.net Apprentice
 
Posts: 47
Joined: Thu Jul 06, 2006 6:25 pm

Siggen

Postby Bedevere » Sun Jul 30, 2006 3:16 am

Actually putting it into the top level .htaccess that defualts with DF was even better. So now I can use
http://oi-guild.com/test/avatar/Osmodeon.jpg
as in:
Image
Image
Image
User avatar
Bedevere
WR.net Apprentice
WR.net Apprentice
 
Posts: 47
Joined: Thu Jul 06, 2006 6:25 pm

Re: Siggen

Postby Bedevere » Sun Jul 30, 2006 3:18 am

zanix wrote:And that link
http://oi-guild.com/test/modules/cvsroster/addons/siggen/av.php?name=Bedevere
Has a Forbidden error, thats your server refusing access to that file


by default DF comes with an .htaccess file in the modules directory that disallows direct access to php files:

/modules/.htaccess
Code: Select all
# CPG Dragonfly CMS
# Copyright (c) 2004-2005 by CPG-Nuke Dev Team, www.dragonflycms.com
# Released under the GNU GPL version 2 or any later version

# $Source: /cvs/html/modules/.htaccess,v $
# $Revision: 1.2 $
# $Author: trevor $
# $Date: 2005/02/03 00:04:43 $

<filesmatch "\.php$">
deny from all
</filesmatch>


Thats the problem with using direct paths.
Image
User avatar
Bedevere
WR.net Apprentice
WR.net Apprentice
 
Posts: 47
Joined: Thu Jul 06, 2006 6:25 pm

Siggen

Postby zanix » Sun Jul 30, 2006 3:19 am

LoL, sweet, glad you got it working
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: 5546
Joined: Mon Jul 03, 2006 8:29 am
Location: Idaho Falls, Idaho
Realm: Doomhammer (PvE) - US

Siggen

Postby Rothin » Fri Aug 18, 2006 3:11 am

So maybe I'm not following this right, but what exactly did you change to get the avatars to generate?

I think I misread something, but I tried adding the

Code: Select all
RewriteRule ^(signature|avatar)/(.*).jpg$ index.php?name=WoWRosterDF&file=addon&roster_addon_name=siggen&mode=$1&member=$2


To the default .htaccess file for DF and avatars still won't generate.

(Note: I did change the saved directory to saved/avatars for them to keep them seperate from signatures.)
Last edited by Rothin on Fri Aug 18, 2006 3:29 am, edited 1 time in total.
Rothin
WR.net Apprentice
WR.net Apprentice
 
Posts: 18
Joined: Wed Jul 05, 2006 2:39 pm

Siggen

Postby Rothin » Tue Aug 22, 2006 3:03 am

Zanix, since you were helping with the port over to DF, think you might be able to lend a hand in getting the Avatars to save?
Rothin
WR.net Apprentice
WR.net Apprentice
 
Posts: 18
Joined: Wed Jul 05, 2006 2:39 pm

Siggen

Postby zanix » Tue Aug 22, 2006 5:29 am

They should be saving ok, at least they are on anaxent's server and mine
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: 5546
Joined: Mon Jul 03, 2006 8:29 am
Location: Idaho Falls, Idaho
Realm: Doomhammer (PvE) - US

Next

Return to Dragonfly

Who is online

Users browsing this forum: No registered users and 1 guest

cron