SigGen 0.2.4 and the Character Page

A signature and avatar generator addon

Moderator: zanix

SigGen 0.2.4 and the Character Page

Postby zanix » Sat Mar 10, 2007 3:38 am

NO LONGER VALID WITH SIGGEN 0.2.5

Since SigGen version 0.2.4, you may have noticed that the signature and avatar images do not work correctly on the character pages in Roster 1.7.3

This is because the syntax of the url to access SigGen has been changed
name= changed to member=

The signature and avatar being shown on the character pages is a relic from pre-1.5.0 Roster when img.php was generating the signatures
It has since been updated to use SigGen

Open memberdetails.php
Find
Code: Select all
    if($roster_conf['show_signature'])
        print 
"<img onmouseover=\"return overlib('To access this signature use: ".$roster_conf['roster_dir']."/addons/siggen/sig.php?name=".urlencode(utf8_decode($name))."',CAPTION,'Signature Access',RIGHT);\" onmouseout=\"return nd();\" ".
        
"src=\"".$roster_conf['roster_dir']."/addons/siggen/sig.php?name=".urlencode(utf8_decode($name))."&amp;saveonly=0\" alt=\"Signature Image for $name\" /> \n";

    if(
$roster_conf['show_avatar'])
        print 
"<img onmouseover=\"return overlib('To access this avatar use: ".$roster_conf['roster_dir']."/addons/siggen/av.php?name=".urlencode(utf8_decode($name))."',CAPTION,'Avatar Access');\" onmouseout=\"return nd();\" ".
        
"src=\"".$roster_conf['roster_dir']."/addons/siggen/av.php?name=".urlencode(utf8_decode($name))."&amp;saveonly=0\" alt=\"Avatar Image for $name\" />\n";
 


Replace with
Code: Select all
    if($roster_conf['show_signature'])
        print 
"<img onmouseover=\"return overlib('To access this signature use: ".$roster_conf['roster_dir']."/addons/siggen/sig.php?member=".urlencode(utf8_decode($name))."',CAPTION,'Signature Access',RIGHT);\" onmouseout=\"return nd();\" ".
        
"src=\"".$roster_conf['roster_dir']."/addons/siggen/sig.php?member=".urlencode(utf8_decode($name))."&amp;saveonly=0\" alt=\"Signature Image for $name\" /> \n";

    if(
$roster_conf['show_avatar'])
        print 
"<img onmouseover=\"return overlib('To access this avatar use: ".$roster_conf['roster_dir']."/addons/siggen/av.php?member=".urlencode(utf8_decode($name))."',CAPTION,'Avatar Access');\" onmouseout=\"return nd();\" ".
        
"src=\"".$roster_conf['roster_dir']."/addons/siggen/av.php?member=".urlencode(utf8_decode($name))."&amp;saveonly=0\" alt=\"Avatar Image for $name\" />\n";
 
Last edited by zanix on Sun Jun 17, 2007 9:13 am, edited 3 times 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

Re: SigGen 0.2.4 and the Character Page

Postby SethDeBlade » Sat Mar 10, 2007 10:50 am

the
Code: Select all
<?php

inside the code you posted is not correct i think. It is not like this in the file. This might be a bit confusing ;)
User avatar
SethDeBlade
WR.net Expert
WR.net Expert
 
Posts: 192
Joined: Thu Jul 06, 2006 1:02 am
Location: Germany

SigGen 0.2.4 and the Character Page

Postby zanix » Sat Mar 10, 2007 11:16 am

That is because the php highlighter is putting it there :(
But it can be fixed by putting a tab before the first line
Or making the first line a php comment
Last edited by zanix on Sat Mar 10, 2007 11:17 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

Re: SigGen 0.2.4 and the Character Page

Postby Jardo » Sun Mar 11, 2007 5:06 am

Would this be correct for non LEO ?
Code: Select all
if($roster_conf['show_signature'])
      print "<img onmouseover=\"return overlib('To access this signature use: ".$Server."/index.php?name=WoWRosterDF&file=addon&roster_addon_name=siggen&mode=Signature&member=".urlencode(utf8_decode($name))."',CAPTION,'Signature Access',RIGHT);\" onmouseout=\"return nd();\" ".
      "src=\"".$Server."/index.php?name=WoWRosterDF&file=addon&roster_addon_name=siggen&mode=Signature&member=".urlencode(utf8_decode($name))."&amp;saveonly=0\" alt=\"Signature Image for $name\" /> \n";
if($roster_conf['show_avatar'])
      print "<img onmouseover=\"return overlib('To access this avatar use: ".$Server."/index.php?name=WoWRosterDF&file=addon&roster_addon_name=siggen&mode=Avatar&member=".urlencode(utf8_decode($name))."',CAPTION,'Avatar Access');\" onmouseout=\"return nd();\" ".
      "src=\"".$Server."/index.php?name=WoWRosterDF&file=addon&roster_addon_name=siggen&mode=Avatar&member=".urlencode(utf8_decode($name))."&amp;saveonly=0\" alt=\"Avatar Image for $name\" />\n";


Seems to work for me. Someone may be able to streamline it a bit,=.
Last edited by Jardo on Sun Mar 11, 2007 5:09 am, edited 1 time in total.
Jardo
WR.net Apprentice
WR.net Apprentice
 
Posts: 14
Joined: Sat Jul 22, 2006 7:07 am

SigGen 0.2.4 and the Character Page

Postby zanix » Sun Mar 11, 2007 8:56 am

If you are talking about WoWRosterDF, it already has name= converted to member=
Last edited by zanix on Sun Mar 11, 2007 8:56 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 0.2.4 and the Character Page

Postby Malkom » Mon Mar 12, 2007 5:10 pm

Work Fine ^^

Thanks zanix ;)
Image
User avatar
Malkom
WR.net Journeyman
WR.net Journeyman
 
Posts: 144
Joined: Tue Jan 09, 2007 11:02 am
Location: France - 91 - Longjumeau

SigGen 0.2.4 and the Character Page

Postby Devlinm » Wed Mar 14, 2007 4:50 pm

this is what i have in the latest wow roster DL, and it does not appear that name was converted to member in the entire string, i still see calls to the name= in the df section, and i dont want to use the code above because its not for the port. from my knowledge, i should just beable to change the name= to member= where it is wrong correct?

/*roster version
if($roster_conf['show_signature'])
print "<img onmouseover=\"return overlib('To access this signature use: ".$roster_conf['roster_dir']."/addons/siggen/sig.php?name=".urlencode(utf8_decode($name))."',CAPTION,'Signature Access',RIGHT);\" onmouseout=\"return nd();\" ".
"src=\"".$roster_conf['roster_dir']."/addons/siggen/sig.php?name=".urlencode(utf8_decode($name))."&amp;saveonly=0\" alt=\"Signature Image for $name\" /> \n";

if($roster_conf['show_avatar'])
print "<img onmouseover=\"return overlib('To access this avatar use: ".$roster_conf['roster_dir']."/addons/siggen/av.php?name=".urlencode(utf8_decode($name))."',CAPTION,'Avatar Access');\" onmouseout=\"return nd();\" ".
"src=\"".$roster_conf['roster_dir']."/addons/siggen/av.php?name=".urlencode(utf8_decode($name))."&amp;saveonly=0\" alt=\"Avatar Image for $name\" />\n";
*/
//wowrosterdf version
if($roster_conf['show_signature'])
print "<img onmouseover=\"return overlib('To access this signature use: ".$roster_conf['roster_dir']."/addons/siggen/sig.php?name=".urlencode(utf8_decode($name))."',CAPTION,'Signature Access',RIGHT);\" onmouseout=\"return nd();\" ".
"src=\"".getlink($module_name.'&amp;file=addon&amp;roster_addon_name=siggen&amp;mode=signature&amp;member='.urlencode(utf8_decode($name)).'&amp;saveonly=0')."\" alt=\"Signature Image for $name\" /> \n";

if($roster_conf['show_avatar'])
print "<img onmouseover=\"return overlib('To access this avatar use: ".$roster_conf['roster_dir']."/addons/siggen/av.php?name=".urlencode(utf8_decode($name))."',CAPTION,'Avatar Access');\" onmouseout=\"return nd();\" ".
"src=\"".getlink($module_name.'&amp;file=addon&amp;roster_addon_name=siggen&amp;mode=avatar&amp;member='.urlencode(utf8_decode($name)).'&amp;saveonly=0')."\" alt=\"Avatar Image for $name\" />\n";

?>
Last edited by Devlinm on Wed Mar 14, 2007 8:39 pm, edited 1 time in total.
Devlinm
WR.net Apprentice
WR.net Apprentice
 
Posts: 29
Joined: Mon Mar 05, 2007 8:52 pm

SigGen 0.2.4 and the Character Page

Postby foreseit » Wed Mar 14, 2007 9:36 pm

Is there anyway to make the SigGen code redirect a "?name=" into a "?member="? The only reason I ask is that I made my siggen my sig for a lot of posts. All the old posts are now displaying the "Sig Gen Works" instead of the pictures. I could go in and edit it, but... that would take a lot of work. Hope that makes sense!
<a href="thehateguild.com"><img src="/anetheron/addons/siggen/sig.php?name=Foreseit"></a>
User avatar
foreseit
WR.net Journeyman
WR.net Journeyman
 
Posts: 139
Joined: Tue Jul 25, 2006 10:03 pm

SigGen 0.2.4 and the Character Page

Postby zanix » Wed Mar 14, 2007 10:17 pm

SigGen 0.2.4 was made to work in WoWRosterDF with no edits, and this change was required since DF uses name= to select the module

If this is your signature, can you should just be able to change it in your preferences on your forums then all your signatures would be updated
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

Re: SigGen 0.2.4 and the Character Page

Postby JAVO » Fri Mar 23, 2007 10:06 am

I went to 0.2.4 today and got the same SigGen Works image on the top of the page...
I made the edit to the memberdetails.php file as mentioned above and now I just get a red X where the signature should be...
Any ideas?
JAVO
WR.net Apprentice
WR.net Apprentice
 
Posts: 8
Joined: Fri Aug 11, 2006 10:38 pm

SigGen 0.2.4 and the Character Page

Postby zanix » Fri Mar 23, 2007 10:17 am

Yeah, you didn't do the edit correctly, or SigGen doesn't work on your server
Open the image in it's own window and make sure the url is correct
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

Re: SigGen 0.2.4 and the Character Page

Postby JAVO » Fri Mar 23, 2007 11:07 am

DOH!

Youre right... Formatting was off from when I copied from above... Sorry for the trouble...
JAVO
WR.net Apprentice
WR.net Apprentice
 
Posts: 8
Joined: Fri Aug 11, 2006 10:38 pm

SigGen 0.2.4 and the Character Page

Postby fhmilamber » Tue Mar 27, 2007 12:40 pm

Thanks, worked perfect for me. :)
User avatar
fhmilamber
WR.net Apprentice
WR.net Apprentice
 
Posts: 19
Joined: Sat Mar 03, 2007 10:08 pm
Location: Kansas

Re: SigGen 0.2.4 and the Character Page

Postby shan_aya » Mon Apr 23, 2007 10:27 pm

hum...
please i need help...


i use this in profil phphbb :
Code: Select all
[url=http://loupsjustice.guild-heberg.fr/roster/char.php?name=Felysaya&server=Kirin%20Tor][img]http://loupsjustice.guild-heberg.fr/roster/addons/siggen/sig/Felysaya.png[/img][/url]


how using your new format displaying signature in phpbb ?

and secondary how activate uniuploader fix in UU permitting each member save their image to server almost long guild update

thx
Last edited by shan_aya on Mon Apr 23, 2007 11:04 pm, edited 2 times in total.
shan_aya
WR.net Journeyman
WR.net Journeyman
 
Posts: 132
Joined: Fri Aug 11, 2006 12:58 pm

Re: SigGen 0.2.4 and the Character Page

Postby chapi456 » Thu May 10, 2007 6:11 am

Same issue : in phpbb as url like
Code: Select all
http://something.com?member=Blabla
( url with '?' are not recognised as images) ... is there a way to have a direct address (without a parameter : generate sig on update ? , ...)

Another issue in French : Draenei is written : Draeneï ...
Changing this in localization file leads to no sig or ava anymore :(
Last edited by chapi456 on Thu May 10, 2007 6:15 am, edited 3 times in total.
chapi456
WR.net Apprentice
WR.net Apprentice
 
Posts: 4
Joined: Tue May 01, 2007 7:22 pm

Next

Return to SigGen

Who is online

Users browsing this forum: No registered users and 1 guest

cron