Realm Status

phpNuke integration forum

Realm Status

Postby extremeshanonn » Sun Oct 01, 2006 11:35 pm

Good morning :) I have uploaded the roster to my new site that is coming online a while ago. When I have the stand alone version realm stauts worked great. Ever since I uploaded the Nuke module I have not go it to work. Is there a path issue I can fix or am I doing something wrong. Thanks for the help.

http://www.lordsofkarma.net/Dev/modules.php?name=Roster
Shannon

Drault 58 Warlock Lords of Karma on Windrunner

Image
User avatar
extremeshanonn
WR.net Apprentice
WR.net Apprentice
 
Posts: 11
Joined: Thu Jul 06, 2006 9:55 pm
Location: Alaska

Realm Status

Postby sedrikk » Wed Oct 04, 2006 9:39 am

My realm status works fine in "DIV Container" mode but doesnt work in Image mode. Havent been able to figure out why.
ImageImage
User avatar
sedrikk
WR.net Apprentice
WR.net Apprentice
 
Posts: 30
Joined: Wed Jul 05, 2006 11:56 pm

Re: Realm Status

Postby wacoede » Wed Oct 18, 2006 11:13 am

there seams to be a couple of issues with the Nuke Port of roster and the Realm Status image

first in the Menu.php its called via
Code: Select all
<img alt="WoW Server Status" src="' . $roster_conf['roster_dir'] . '/realmstatus.php" /> 


now this outputs
Code: Select all
http://yoursite.com/modules.php?name=Roster/realmstatus.php

which just doesn't work

so i tried changing that to
Code: Select all
<img alt="WoW Server Status" src="' . $roster_conf['roster_dir'] . '&op=realmstatus" /> 


and adding
Code: Select all
        case "realmstatus":
           require(
$roster_dir.'/realmstatus.php');
        break;
 


by all accounts this 'should' of worked but it didn't problay due to the fact the modules.php file wasn't designed to output images so i'm currently hunting through the Siggen files for the Nuke port as this does work and as far as i know this uses the GD2 library aswell, but i'm abit of a noob to PHP code

any help would be welcomed
User avatar
wacoede
WR.net Apprentice
WR.net Apprentice
 
Posts: 49
Joined: Sat Sep 02, 2006 2:07 am

Re: Realm Status

Postby sedrikk » Mon Oct 23, 2006 10:41 pm

I finally got mine working. I will see about writing up a bit of what i fixed.
ImageImage
User avatar
sedrikk
WR.net Apprentice
WR.net Apprentice
 
Posts: 30
Joined: Wed Jul 05, 2006 11:56 pm

Re: Realm Status

Postby extremeshanonn » Fri Oct 27, 2006 4:23 am

That would be great if you could post a Write up.
Shannon

Drault 58 Warlock Lords of Karma on Windrunner

Image
User avatar
extremeshanonn
WR.net Apprentice
WR.net Apprentice
 
Posts: 11
Joined: Thu Jul 06, 2006 9:55 pm
Location: Alaska

Re: Realm Status

Postby Rahtak » Sat Oct 28, 2006 2:18 am

post your finding i'll add the fix and update the zip.

might have found the problem with auto theme also just need more testing.
Rahtak
WR.net Journeyman
WR.net Journeyman
 
Posts: 78
Joined: Fri Jul 14, 2006 11:54 am

Re: Realm Status

Postby sedrikk » Fri Nov 03, 2006 12:44 am

Ok, so i think these are the only changes i made to get my realmstatus working.

open menu.php

Line 170 Find:
Code: Select all
      print '<img alt="WoW Server Status" src="'.$roster_conf['roster_dir'].'/realmstatus.php" /></td>';


Replace with:
Code: Select all
      print '<img alt="WoW Server Status" src="modules/Roster/realmstatus.php"></td>';



open realmstatus.php

Line 28 Find:
Code: Select all
require_once($roster_dir . '/settings.php' );
require_once($roster_dir . '/lib/xmlparse.php' );


Replace with:
Code: Select all
require_once('settings.php' );
require_once('lib/xmlparse.php' );
ImageImage
User avatar
sedrikk
WR.net Apprentice
WR.net Apprentice
 
Posts: 30
Joined: Wed Jul 05, 2006 11:56 pm

Re: Realm Status

Postby zapharian » Sun Nov 05, 2006 7:52 am

Can confirm that this fix works.

Thanx for posting it, helped out allot!
zapharian
WR.net Apprentice
WR.net Apprentice
 
Posts: 1
Joined: Wed Nov 01, 2006 5:05 am


Return to phpNuke

Who is online

Users browsing this forum: No registered users and 0 guests

cron