Questions about getting addons to work with wowrosterdf

Addons for WoWRosterDF

Questions about getting addons to work with wowrosterdf

Postby IslandStyle » Tue Apr 10, 2007 8:27 pm

I was just wondering if someone could give me an idea of how to get add-ons to work in wowrosterdf.
I am trying to get Equipment Viewer - gear snapshot to work with rosterdf. However i can't figure out how to get the filtering system to work properly.

when I change the class or any other options for the display and click the filter button to aplly the settings, I get an error that says :

Not Found

The requested URL /Dragonfly/addon.php was not found on this server.

Additionally, a 404 Not Found error was encountered while trying to use an ErrorDocument to handle the request.
Apache/1.3.31 Server at kalimdortribe.com Port 80

I should be able to run dragonfly and wowrosterDF from a directory on the site other then the root on the server with no issues or with any addon issues right?

Any help in giving me an idea of what I am doing wrong to get this addon to work with wowrosterDF would be greatly appreciated.

heres a link to the site addon Equipview
Image
Image
User avatar
IslandStyle
WR.net Apprentice
WR.net Apprentice
 
Posts: 41
Joined: Tue Jul 11, 2006 8:57 am

Questions about getting addons to work with wowrosterdf

Postby robojerk » Wed Apr 11, 2007 1:00 am

I haven't looked at the addon code, but the linking is incorrect.

You need to somehow change
http://kalimdortribe.com/Dragonfly/addo ... mit=Filter
to
http://kalimdortribe.com/Dragonfly/inde ... mit=Filter

Maybe post the unfinished addon, I'll look over it unless someone beats me to it.
Image
For the Horde!
Image
User avatar
robojerk
WR.net Master
WR.net Master
 
Posts: 484
Joined: Wed Jul 05, 2006 12:17 am
Location: -The OmniMatrix- Web 3.0

Re: Questions about getting addons to work with wowrosterdf

Postby IslandStyle » Thu Apr 12, 2007 7:28 pm

Hmm.. thanks for the help...
I must not be seeing something in the original code of the addon.
Heres what I have so far, if you have time and can look into it to point me in the right direction that would be great.
Attachments
equipview.zip
incomplete port of equip view to dragonfly
(4.52 KiB) Downloaded 366 times
Image
Image
User avatar
IslandStyle
WR.net Apprentice
WR.net Apprentice
 
Posts: 41
Joined: Tue Jul 11, 2006 8:57 am

Questions about getting addons to work with wowrosterdf

Postby robojerk » Thu Apr 12, 2007 11:43 pm

line 81 of index.php

Code: Select all
<form action="addon.php" method="GET" name="myform"


Try changing it to this..

Code: Select all
<form action="<?php echo getlink('&amp;file=addon');?>" method="GET" name="myform">
Last edited by robojerk on Fri Apr 13, 2007 12:28 am, edited 1 time in total.
Image
For the Horde!
Image
User avatar
robojerk
WR.net Master
WR.net Master
 
Posts: 484
Joined: Wed Jul 05, 2006 12:17 am
Location: -The OmniMatrix- Web 3.0

Re: Questions about getting addons to work with wowrosterdf

Postby IslandStyle » Fri Apr 13, 2007 1:07 am

robojerk wrote:line 81 of index.php

Code: Select all
<form action="addon.php" method="GET" name="myform"


Try changing it to this..

Code: Select all
<form action="<?php echo getlink('&amp;file=addon');?>" method="GET" name="myform">


Thanks Robo -
I tried the changes and when i try to filter and apply it it now just kicks me back to the home page for the site with this being the address:

http://kalimdortribe.com/Dragonfly/inde ... mit=Filter

I know whats missing from the address is this ?name=WoWRosterDF right after index.php - im just not sure how to append the line code that you gave me to reflect the module name.


Thanks for the help again - see I told you I was new to this dragonfly stuff and php.
Image
Image
User avatar
IslandStyle
WR.net Apprentice
WR.net Apprentice
 
Posts: 41
Joined: Tue Jul 11, 2006 8:57 am

Questions about getting addons to work with wowrosterdf

Postby robojerk » Fri Apr 13, 2007 1:24 am

doh! sorry..

Try something like this.. I'm not the greatest programmer either =)
Code: Select all
<form action="<?php echo '.getlink('&amp;file=addon').'?>" method="GET" name="myform">

or
Code: Select all
<form action="<?php echo '.getlink("&amp;file=addon").'?>" method="GET" name="myform">


getlink() should take you to the root of any module your viewing. ?name=WoWRosterDF

getlink('&file=addon') will take you to the file named addon.php in the module. ?name=WoWRosterDF&file=addon
Last edited by robojerk on Fri Apr 13, 2007 2:11 am, edited 1 time in total.
Image
For the Horde!
Image
User avatar
robojerk
WR.net Master
WR.net Master
 
Posts: 484
Joined: Wed Jul 05, 2006 12:17 am
Location: -The OmniMatrix- Web 3.0

Questions about getting addons to work with wowrosterdf

Postby robojerk » Fri Apr 13, 2007 9:41 am

Needs to be rewritten.
will get us sort of the correct URL.

but a new error
You don't have permission to access /Roster&file=addon&roster_addon_name=equipview&classFilter=Warlock&omit[]=Name&omit[]=Back&omit[]=Chest&omit[]=Feet&omit[]=Finger0&omit[]=Finger1&omit[]=Hands&omit[]=Head&omit[]=Legs&omit[]=MainHand&omit[]=Neck&omit[]=Ranged&omit[]=SecondaryHand&omit[]=Shoulder&omit[]=Trinket0&omit[]=Trinket1&omit[]=Waist&omit[]=Wrist&submit=Filter on this server.
Image
For the Horde!
Image
User avatar
robojerk
WR.net Master
WR.net Master
 
Posts: 484
Joined: Wed Jul 05, 2006 12:17 am
Location: -The OmniMatrix- Web 3.0

Questions about getting addons to work with wowrosterdf

Postby Anaxent » Fri Apr 13, 2007 10:24 am

for forms to work I had to take all the hisden variables and add them to the action url then change the form to a post instead of a get.
User avatar
Anaxent
WoWRoster.net Dev Team
WoWRoster.net Dev Team
 
Posts: 642
Joined: Tue Jul 04, 2006 6:27 am
Location: Phoenix, Az

Questions about getting addons to work with wowrosterdf

Postby Razac » Fri May 04, 2007 9:43 pm

ya get this working yet...

if Not I have a werking DF version :)
Razac
WR.net Journeyman
WR.net Journeyman
 
Posts: 145
Joined: Thu Jul 27, 2006 6:00 pm

Re: Questions about getting addons to work with wowrosterdf

Postby IslandStyle » Fri May 04, 2007 10:24 pm

No i never got the filter working part working - I got side tracked between RL and trying to get the event calendar working in DF
If you could upload a copy of it that would be great, and then I could see what I was doing wrong.

Thanks Razac...
Image
Image
User avatar
IslandStyle
WR.net Apprentice
WR.net Apprentice
 
Posts: 41
Joined: Tue Jul 11, 2006 8:57 am

Questions about getting addons to work with wowrosterdf

Postby Razac » Fri May 04, 2007 11:28 pm

sure may not be till Monday.

Cant access my server so i will figuring out why tonight. and then I dont do much but play WoW on the weekend. :)
Razac
WR.net Journeyman
WR.net Journeyman
 
Posts: 145
Joined: Thu Jul 27, 2006 6:00 pm


Return to WoWRosterDF Addons

Who is online

Users browsing this forum: No registered users and 1 guest

cron