Clicking an item in the GuildVault give a 404 error

Displays the Guild vault introduced in WoW 2.3

Moderator: Nefuh

Clicking an item in the GuildVault give a 404 error

Postby secretone » Thu Feb 07, 2008 7:27 am

Hi Nefuh,

I am sorry, I have found another problem while using this within Dragonfly.

When I click an item that is in the GuildVault I get a 404 error page not found.

Below is the URL created for a typical item. (website name changed)
Code: Select all
http://mywebsite.com/dragonfly/RosterActivity&file=addon&roster_addon_name=guildvault&tab=Tab1&item=1&itemcount=5&action=order


With my limited knowledge of the way DF works should the link be
Code: Select all
http://mywebsite.com/dragonfly/index.php?name=RosterActivity&file=addon&roster_addon_name=guildvault&tab=Tab1&item=1&itemcount=5&action=order


It looks as if it's missing the index.php?name= part.

So in includes/lib_functions.php I have changed line 61 from
Code: Select all
$tab_content .= ">\n<a href=\"./$script_filename&amp;tab=$tab&amp;item=$item_num&amp;itemcount=".$content[$item_num]['count']."&amp;action=order\" target=\"_self\"><img src=\"./".$roster_conf['img_url']."Interface/Icons/";

to
Code: Select all
$tab_content .= ">\n<a href=\"./index.php?name=$script_filename&amp;tab=$tab&amp;item=$item_num&amp;itemcount=".$content[$item_num]['count']."&amp;action=order\" target=\"_self\"><img src=\"./".$roster_conf['img_url']."Interface/Icons/";


I hope that is right. Worked when I clicked the item.
Last edited by secretone on Thu Feb 07, 2008 7:53 am, edited 2 times in total.
Image
User avatar
secretone
WR.net Apprentice
WR.net Apprentice
 
Posts: 62
Joined: Wed Feb 28, 2007 6:33 pm
Location: Kent, UK

Clicking an item in the GuildVault give a 404 error

Postby Nefuh » Thu Feb 07, 2008 10:29 pm

Thanks for the info.

Nefuh
Administrator of the german User2User Community for WoWRoster.
Guild Master from Scum from Hell - Horde @ EU-Anetheron.
User avatar
Nefuh
WoWRoster.net Dev Team
WoWRoster.net Dev Team
Roster AddOn Dev
Roster AddOn Dev
 
Posts: 213
Joined: Fri Sep 15, 2006 8:34 pm
Location: Krefeld Germany

Clicking an item in the GuildVault give a 404 error

Postby zanix » Fri Feb 08, 2008 12:03 am

SigGen 0.2.6 it works in Roster 1.7.3 or RosterDF 1.7.3 with no modification

First I made a function that all links pass through
Then I detect a constant that is only in DF (BASEURL)
The 'link' function then adjusts the link according to what Roster it is running in

I hope this helps a bit
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

Clicking an item in the GuildVault give a 404 error

Postby Nefuh » Fri Feb 08, 2008 1:01 am

Thanks for the information zanix.

On the next release i will remember all your information. With the next release there will be many changes, i think about:

* Only one Addon for all, not more splitting the main guildvault, the logs and the ordering system
* Only one Addon for normal Roster and DF-Version
* Additional features (like printable view of ordered items)
* a makelink function like in Roster 2.0, where all links pass through
* a web configuration, where the settings can be change (no more need to manually edit the conf.php)

But i can´t say a release date, at the moment. I will do a complete recode and optimize all, on the knowledge base i get in the past and on the information that were posted ;)

Nefuh
Administrator of the german User2User Community for WoWRoster.
Guild Master from Scum from Hell - Horde @ EU-Anetheron.
User avatar
Nefuh
WoWRoster.net Dev Team
WoWRoster.net Dev Team
Roster AddOn Dev
Roster AddOn Dev
 
Posts: 213
Joined: Fri Sep 15, 2006 8:34 pm
Location: Krefeld Germany

Clicking an item in the GuildVault give a 404 error

Postby secretone » Fri Feb 08, 2008 4:27 am

Hi Nefuh,

Just want to say thank you and to Zanix and the rest of the team for all the good work that you do.

Really looking forward to the new version, all you have mentioned in what you plan for the next realese are good things.

Could I just add that an option to turn on/off the ordering system and have optional link to thottbot or where ever for a more complete description of the item would be useful additions.

many thanks

Secretone
Image
User avatar
secretone
WR.net Apprentice
WR.net Apprentice
 
Posts: 62
Joined: Wed Feb 28, 2007 6:33 pm
Location: Kent, UK

Clicking an item in the GuildVault give a 404 error

Postby Nefuh » Fri Feb 15, 2008 2:48 am

Hey secretone,

the new version 10 of the addon is ready and could be downloaded.

Now guildvault has a webconfiguration, where you can disable the ordering system and set to link the items to Allakhazam, Thottbot, WoWhead (default when nothing else is set), Buffed (german) or SpeedyDragon (german).

You can try to enable show_prices (use fopen to get data). Then the addon will first look in the database for itemprices and when nothing is found it tries to load the data from Allakhazam and store it in the database (pricecache).

Now only 1 Addon is needed (even for WoWRosterDF).

And the new version 10 comes with an own authorization system (so more need to use the roster password in the addon).

Hoppefully all works as it should ;)

Nefuh

Edit: Removed PHP4 note. Thanks Zanix for the info.
Last edited by Nefuh on Fri Feb 15, 2008 4:01 am, edited 1 time in total.
Administrator of the german User2User Community for WoWRoster.
Guild Master from Scum from Hell - Horde @ EU-Anetheron.
User avatar
Nefuh
WoWRoster.net Dev Team
WoWRoster.net Dev Team
Roster AddOn Dev
Roster AddOn Dev
 
Posts: 213
Joined: Fri Sep 15, 2006 8:34 pm
Location: Krefeld Germany

Clicking an item in the GuildVault give a 404 error

Postby zanix » Fri Feb 15, 2008 3:25 am

Roster itself requires PHP 4.3 or higher

So I don't think saying if you have php4 or higher applies
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 Guildvault

Who is online

Users browsing this forum: No registered users and 0 guests

cron