siggen for non latin wowroster

A signature and avatar generator addon

Moderator: zanix

siggen for non latin wowroster

Postby thinkong » Fri Aug 18, 2006 12:52 pm

this is a patch? for siggen so it could be used for korean and hopefully chinese.


unzip the files and copy them to your addon/siggen folder
Last edited by thinkong on Sat Aug 19, 2006 2:26 am, edited 1 time in total.
thinkong
WR.net Apprentice
WR.net Apprentice
 
Posts: 14
Joined: Thu Jul 06, 2006 12:05 am

siggen for non latin wowroster

Postby zanix » Sat Aug 19, 2006 2:22 am

You need to get SigGen v0.1.9 first and edit that before you post your fixes here

PS: Don't edit the path for the main image folder or else you are gonna piss alot of people off when they try your "fix" and SigGen isn't working
Last edited by zanix on Sat Aug 19, 2006 2:28 am, edited 2 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

siggen for non latin wowroster

Postby zanix » Sat Aug 19, 2006 2:38 am

Anyway, I figured out what was changed
This edit just adds a localization set and removes the utf8 encoding from SigGen

siggen.php
Find
Code: Select all
// Get name from browser request
// url_decode() the name, then utf-8_encode() it
if( isset($_GET['name']) )
{
    
$char_name utf8_encode(urldecode($_GET['name']));
}
else 
// Try pulling from a "path_info" request
{
    
$char_name utf8_encode(urldecode(substr$_SERVER['PATH_INFO'],1,-)));

Replace with
Code: Select all
// Get name from browser request
// url_decode() the name, then utf-8_encode() it
if( isset($_GET['name']) )
{
    
$char_name urldecode($_GET['name']);
}
else 
// Try pulling from a "path_info" request
{
    
$char_name urldecode(substr$_SERVER['PATH_INFO'],1,-));
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 for non latin wowroster

Postby thinkong » Sat Aug 19, 2006 10:35 pm

oh.. didn't know there was a new version out :)

thanx anyways
thinkong
WR.net Apprentice
WR.net Apprentice
 
Posts: 14
Joined: Thu Jul 06, 2006 12:05 am

siggen for non latin wowroster

Postby zanix » Sun Aug 20, 2006 4:16 am

It's alright, just make sure you post changes based off the latest version
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


Return to SigGen

Who is online

Users browsing this forum: No registered users and 0 guests

cron