Question about direct file access

Download, Present, and receive support for third party WoWRoster AddOns and modifications
WoWRoster AddOns and Mods are supported by the author only
Please understand that some AddOns and Mods may require advanced skills to employ

Question about direct file access

Postby Canesfan625 » Tue Sep 16, 2008 9:24 pm

Hello everyone.

I run the roster on an e107 site and we have a custom plug in that lets people link their WoW toons to their e107 profile and shows them in a table. now the problem is that the name is also a link to their Roster profile. How would I go about enabling that link to be able to access the profiles without getting the access is invalid error?

any help will be awesome

thanks
Canesfan625
WR.net Apprentice
WR.net Apprentice
 
Posts: 1
Joined: Fri Sep 12, 2008 8:35 pm

Question about direct file access

Postby PleegWat » Wed Sep 17, 2008 12:52 am

You shouldn't. That message is there for several reasons. One of those is that if you include a file directly it'll be missing part of the roster environment. If you really want to include files directly you'll have to research what settings.php and index.php do to load that environment. Once you worked that out, you'll also know how to make sure the warning doesn't show up.

Alternatively, use an iframe or a href to roster.
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

Question about direct file access

Postby zanix » Wed Sep 17, 2008 7:02 am

If I understand you correctly, you need a link to the Roster character based on a name correct?

Then just use the name instead of the member id
roster/index.php?p=char-info&a=c:Name
SEO/Friendly URL: roster/trunk/char/info/a=c:Name.html

You can also specify realm and region
roster/index.php?p=char-info&a=c:Name@US-Realm
SEO/Friendly URL: roster/trunk/char/info/a=c:Name@US-Realm.html
Last edited by zanix on Wed Sep 17, 2008 7:02 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


Return to AddOns and Mods

Who is online

Users browsing this forum: No registered users and 0 guests

cron