Main/Alt Relations not showing

Scans for, and displays main/alt relations in your Guild

Moderator: PleegWat

Main/Alt Relations not showing

Postby Hakuoro » Tue Oct 31, 2006 9:50 pm

Ok after reading some stuff and trying for hours, I decided to register and make a post.

I just recenly updated to WoWRoster version 1.7.1 and installed this addon.
The regex I would like to use is /([\w]+)'s alt/
So that when I make a note in a player's public or officer note (depends on setting) that player would show up as alt.

Example
I have an alt named Eruruw who has "Hakuoro's alt" (without the quote's ofc) in her public note. Apply to field is set to pulic note.

But Eruruw isnt showing as a alt.

To make things worse the addon changed my regex to /([\\w]+)\'s alt/

WTF im I doing wrong? Cuz im about this --->> close to deleting the addon.

Edit: the site ofc :)
http://twilightbrigade.hopto.org/roster ... AltMonitor


Hakuoro
Last edited by Hakuoro on Tue Oct 31, 2006 9:52 pm, edited 1 time in total.
Hakuoro
WR.net Apprentice
WR.net Apprentice
 
Posts: 2
Joined: Tue Oct 31, 2006 9:42 pm

Main/Alt Relations not showing

Postby PleegWat » Tue Oct 31, 2006 10:17 pm

Ah, I know already. You probably have the magic quotes directive in PHP set to off. Then the config lib has to add slashes to the data you upload before sending it to the database. However, in roster 1.7.1 this is also done by settings. Which leads to this problem.

Now for the fix: Find this block in config.lib.php (line 176-181):

Code: Select all
        // Slash global data if magic_quotes_gpc is off.
        
if ( !get_magic_quotes_gpc() )
        {
            
$_GET $this->slash_global_data($_GET);
            
$_POST $this->slash_global_data($_POST);
        } 


And delete it.
I <3 /bin/bash
User avatar
PleegWat
WoWRoster.net Dev Team
WoWRoster.net Dev Team
 
Posts: 1636
Joined: Tue Jul 04, 2006 1:43 pm

Re: Main/Alt Relations not showing

Postby Hakuoro » Tue Oct 31, 2006 10:35 pm

PleegWat wrote:Ah, I know already. You probably have the magic quotes directive in PHP set to off. Then the config lib has to add slashes to the data you upload before sending it to the database. However, in roster 1.7.1 this is also done by settings. Which leads to this problem.

Now for the fix: Find this block in config.lib.php (line 176-181):

Code: Select all
        // Slash global data if magic_quotes_gpc is off.
        
if ( !get_magic_quotes_gpc() )
        {
            
$_GET $this->slash_global_data($_GET);
            
$_POST $this->slash_global_data($_POST);
        } 


And delete it.


Yup that fixed the slash problem.

Thnx for your help.
Hakuoro
WR.net Apprentice
WR.net Apprentice
 
Posts: 2
Joined: Tue Oct 31, 2006 9:42 pm


Return to AltMonitor

Who is online

Users browsing this forum: No registered users and 0 guests

cron