DF_Missingrecipe

Addons for WoWRosterDF

DF_Missingrecipe

Postby Kelv » Thu Feb 22, 2007 10:26 pm

Quick n dirty port.

Edit:

Sorry been /afk for a while updated with robojerks fixes for images and Jewelcrafting.
Attachments
df_missingrecipe.zip
(5.14 KiB) Downloaded 485 times
Last edited by Kelv on Thu Mar 08, 2007 8:01 pm, edited 1 time in total.
Kelv
WR.net Apprentice
WR.net Apprentice
 
Posts: 49
Joined: Fri Dec 08, 2006 8:52 pm

DF_Missingrecipe

Postby robojerk » Thu Feb 22, 2007 10:49 pm

Change it to this..

Code: Select all
$form = '<form action="index.php" method="GET">
   <input type="hidden" name="name" value="'.$module_name.'">
  <input type="hidden" name="file" value="addon">
  <input type="hidden" name="roster_addon_name" value="missingrecipe">';


I still think this mod can be modified to work with either the stand alone or DF version of wowroster
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

DF_Missingrecipe

Postby niagairt » Tue Feb 27, 2007 10:24 am

I notice that this is missing Jewelcrafting in the missing.php file

So I guess (using my rudimentary knowledge of this) you would add

Code: Select all
case 'Jewelcrafting':
   $url = 'http://wow.allakhazam.com/db/skill.html?line=755';
   $skill = 'Jewelcrafting';
   break;


but I am not quite sure what to do in the file index.php with the array

any help would be appreciated
Last edited by niagairt on Tue Feb 27, 2007 10:33 am, edited 1 time in total.
Rogues may do it from behind, but mages do it hard and fast.
Image
User avatar
niagairt
WR.net Apprentice
WR.net Apprentice
 
Posts: 36
Joined: Wed Jan 10, 2007 7:16 am
Location: Forks, WA

DF_Missingrecipe

Postby niagairt » Thu Mar 01, 2007 6:29 pm

No help on this?
Rogues may do it from behind, but mages do it hard and fast.
Image
User avatar
niagairt
WR.net Apprentice
WR.net Apprentice
 
Posts: 36
Joined: Wed Jan 10, 2007 7:16 am
Location: Forks, WA

DF_Missingrecipe

Postby robojerk » Thu Mar 01, 2007 7:55 pm

didn't even notice that..

in index.php add this line.
"Jewelcrafting" => $wordings[$roster_conf['roster_lang']]['Jewelcrafting'],


Here it is working
http://www.blacktemplars.org/index.php? ... singrecipe

Shrump I know is a Jewlcrafter
Last edited by robojerk on Thu Mar 01, 2007 7:56 pm, 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

DF_Missingrecipe

Postby niagairt » Thu Mar 01, 2007 8:04 pm

Thank you for your help Robo.....
Rogues may do it from behind, but mages do it hard and fast.
Image
User avatar
niagairt
WR.net Apprentice
WR.net Apprentice
 
Posts: 36
Joined: Wed Jan 10, 2007 7:16 am
Location: Forks, WA

DF_Missingrecipe

Postby niagairt » Thu Mar 01, 2007 8:25 pm

OK, Now its pulling the images from the wrong directory

It wants to pull them from http://www.XXXXXXX.com/images/wowroster ... eld_21.jpg

and it should be

http://www.XXXXXXX.com/ftb/images/wowro ... eld_21.jpg

I am not sure where to add the FTB in the missing.php file
Rogues may do it from behind, but mages do it hard and fast.
Image
User avatar
niagairt
WR.net Apprentice
WR.net Apprentice
 
Posts: 36
Joined: Wed Jan 10, 2007 7:16 am
Location: Forks, WA

DF_Missingrecipe

Postby robojerk » Thu Mar 01, 2007 8:55 pm

change line 85 to this

Code: Select all
$recipes[$nr]['icon'] = str_replace("src=\"/images/icons", "src=\"".$roster_conf['interface_url']."Interface/Icons", $recipes[$nr]['icon']);
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

DF_Missingrecipe

Postby niagairt » Thu Mar 01, 2007 9:39 pm

Worked like a charm, thank you!!!!
Rogues may do it from behind, but mages do it hard and fast.
Image
User avatar
niagairt
WR.net Apprentice
WR.net Apprentice
 
Posts: 36
Joined: Wed Jan 10, 2007 7:16 am
Location: Forks, WA

DF_Missingrecipe

Postby Sylna » Sat Mar 10, 2007 8:11 pm

When choosing a profession and a char i get, the following error:

Bad Gateway
Web server received an invalid response while acting as a gateway or proxy server.

The requestet url was:
http://.../index.php?name=WoWRosterDF&f ... eadd=Sylna

Can you imagine what went wrong?
Last edited by Sylna on Sat Mar 10, 2007 8:12 pm, edited 1 time in total.
Sylna
 

DF_Missingrecipe

Postby Kelv » Sun Mar 11, 2007 12:10 am

Not off the top of my head.. sorry, mind posting a full link?
could this be a leo thing, Robojerk?
Kelv
WR.net Apprentice
WR.net Apprentice
 
Posts: 49
Joined: Fri Dec 08, 2006 8:52 pm

Re: DF_Missingrecipe

Postby robojerk » Sun Mar 11, 2007 1:07 am

He needs to post a full URL to see what is going on. Without it I have no clue.


Kelv wrote:could this be a leo thing, Robojerk?

No
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: DF_Missingrecipe

Postby Sylna » Sun Mar 11, 2007 4:38 am

The Full URL is:
http://www.bund-der-traeumer.de/index.p ... eadd=Sylna

but it is not public accessible, so i put a screenshot to this post.

I just figured out something new. When I delete the profession from the missing.php then I get a "real" error generated by the missingrecipes-addon. To give an example, I commentet out the following:
Code: Select all
case 'Enchanting':
$url = http://wow.allakhazam.com/db/skill.html?line=333';
break;


and then choose Enchanting as profession. I also put that screenshot to this post.

hth, Sylna
Attachments
Last edited by Sylna on Sun Mar 11, 2007 4:39 am, edited 1 time in total.
Sylna
 

DF_Missingrecipe

Postby robojerk » Sun Mar 11, 2007 9:39 pm

I can't mess with the site to see what is going on.

I know the Addon connects to a 3rd party site. The EnUS version connects to Allakhazam. I don't know about the german one. Is your site behind a firewall blocking all outgoing connections?
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: DF_Missingrecipe

Postby Sylna » Tue Mar 13, 2007 9:11 pm

There ist no firewall that blocks outgoing http-traffic. When i log on in the server console i can browse the links from the php-files without problems.
Sylna
 

Next

Return to WoWRosterDF Addons

Who is online

Users browsing this forum: No registered users and 0 guests

cron