Simple way to make WowRoster work as a module in PhP-Nuke

phpNuke integration forum

Re: Simple way to make WowRoster work as a module in PhP-Nuk

Postby yahooadam » Wed Aug 01, 2007 5:02 am

have you checked the line
$go_to_address1="http://www.yoursitehere/roster/index.php";

have you tried copying the address into your browser and opening it ?
Its very easy to get the capitalisation wrong and then it wont work on a lot of servers
yahooadam
WR.net Apprentice
WR.net Apprentice
 
Posts: 10
Joined: Sun Jul 29, 2007 3:40 am

Simple way to make WowRoster work as a module in PhP-Nuke

Postby ThunderPally » Mon Aug 06, 2007 11:03 am

I am using Post nuke and trying to get the guild roster to load into a module.

i followed the directions above to the "T" but when i click on the link on my home page i get the following: You can't access this file directly...

However, the url that i place in the above index.php file works just fine. any ideas?
User avatar
ThunderPally
WR.net Apprentice
WR.net Apprentice
 
Posts: 16
Joined: Sun Aug 05, 2007 5:50 am

Simple way to make WowRoster work as a module in PhP-Nuke

Postby ThunderPally » Tue Aug 07, 2007 11:11 am

I was getting the following error when i tried to view the Module.

"You can't access this file directly... "

Then I replaced this :
Code: Select all
if (!defined('MODULE_FILE')) {   die ("You can't access this file directly...");}require_once("mainfile.php");$module_name = basename(dirname(__FILE__));get_lang($module_name);


With This:

Code: Select all

if (!defined('LOADED_AS_MODULE'))
{
    die ("You can't access this file directly...");
}


and it is working just fine
User avatar
ThunderPally
WR.net Apprentice
WR.net Apprentice
 
Posts: 16
Joined: Sun Aug 05, 2007 5:50 am

Re: Simple way to make WowRoster work as a module in PhP-Nuk

Postby Zeshi » Tue Aug 14, 2007 9:25 pm

No matter what i do everytime i click the Link to load in to the roster module it brings up a full white page. Could it be becuase im using phpnuke 8? I have done all of the things CHMOD set to 777 and ive tried both Codes and the Link is 100% correct. Im stumped.
Last edited by Zeshi on Tue Aug 14, 2007 9:26 pm, edited 1 time in total.
Zeshi
WR.net Apprentice
WR.net Apprentice
 
Posts: 3
Joined: Tue Aug 14, 2007 9:07 pm

Re: Simple way to make WowRoster work as a module in PhP-Nuk

Postby Ghostmaster » Thu Aug 30, 2007 5:12 pm

Zeshi wrote:No matter what i do everytime i click the Link to load in to the roster module it brings up a full white page. Could it be becuase im using phpnuke 8? I have done all of the things CHMOD set to 777 and ive tried both Codes and the Link is 100% correct. Im stumped.


A complet white page could be coursed any error. Turn on debug mode for your phpnuke and see what error its spits out. Evnt. do it on a testsite for safety reasons.

/Ghostmaster
Ghostmaster
WR.net Apprentice
WR.net Apprentice
 
Posts: 23
Joined: Sun Jul 30, 2006 3:54 am

Simple way to make WowRoster work as a module in PhP-Nuke

Postby Ratty » Thu Aug 30, 2007 5:21 pm

stop with php-nuke and build own site :P

like www.mofopower.com
Ratty
WR.net Apprentice
WR.net Apprentice
 
Posts: 11
Joined: Wed Aug 30, 2006 11:26 pm

Re: Simple way to make WowRoster work as a module in PhP-Nuk

Postby pzibian » Sun Sep 02, 2007 11:34 pm

Im trying to something similar although it is the dkp im trying to get to open in an iframe, its opens ok in a frame and looks good.

But my only problem is when i click a link it maximises the dkp site and its no longer in an iframe, can this be fixed?
pzibian
WR.net Apprentice
WR.net Apprentice
 
Posts: 3
Joined: Tue May 22, 2007 12:10 pm

Re: Simple way to make WowRoster work as a module in PhP-Nuk

Postby ThunderPally » Mon Sep 03, 2007 3:08 am

I had the same challenges with my sites at first.

www.blizzardofoz.net
www.deathwingnoremorse.com

I got started by following the steps in this link:

http://www.wowroster.net/Forums/viewtop ... e+mod.html

but I was still getting an error that was caused by a var in the code that needed to be replaced due to the version that i was running. after that it worked just fine. I have attached the module that i use, have fun. if you have changed the install location of your roster, you will need to change the following line

$go_to_address1="./roster/index.php";

While this module works fine for me on my sites, please review the code and use at your own risk.
Attachments
pnrostermodule.zip
PostNuke Roster module
(2.02 KiB) Downloaded 97 times
User avatar
ThunderPally
WR.net Apprentice
WR.net Apprentice
 
Posts: 16
Joined: Sun Aug 05, 2007 5:50 am

Re: Simple way to make WowRoster work as a module in PhP-Nuk

Postby palmore » Fri Dec 07, 2007 4:15 am

I have this installed on my Postnuke site, and it's working fine with one exception, I get an error for each mouse over that "overlib_n is not defined"

I've scanned thru the source code (view source) on the published page and see that its listing the correct data at the bottom of the page is it does on a working non-iframe version. But mouse over tool tips do not show in the iFrame and again, I get that error reported in the firefox error console.

ideas?

non-working
http://www.wowgeenius.com/modules.php?o ... me=gRoster

working
http://labs.wowgeenius.com/roster/
palmore
WR.net Apprentice
WR.net Apprentice
 
Posts: 2
Joined: Wed Nov 28, 2007 9:43 am

Re: Simple way to make WowRoster work as a module in PhP-Nuk

Postby palmore » Wed Dec 12, 2007 6:43 am

Well after digging I found the solution, it was not related to iFrame but to Magic Quotes...

I had sybase style quotes on, after turning them off... it began to function as expected.


; Use Sybase-style magic quotes (escape ' with '' instead of \').

magic_quotes_sybase = off
palmore
WR.net Apprentice
WR.net Apprentice
 
Posts: 2
Joined: Wed Nov 28, 2007 9:43 am

Re: Simple way to make WowRoster work as a module in PhP-Nuk

Postby Tinker » Sat Jan 26, 2008 4:29 pm

Hi guys/ girls
ok i did everything you guys are saying to do and i still get a blank page my Web site keeps crashing trying to install vwar so i need a good roster i know i have it correct .. Still getting a blank page

please help i really need this

see for your self it all right http://www.sia-hq.com/modules.php?name=Roster

the site is www.sia-hq.com
Tinker
WR.net Apprentice
WR.net Apprentice
 
Posts: 1
Joined: Sat Jan 26, 2008 4:19 pm

Previous

Return to phpNuke

Who is online

Users browsing this forum: No registered users and 0 guests

cron