wowdbu down & judgehype changed @

Requests, feedback, and general discussion about WoWRoster
DO NOT post topics about WoWRoster AddOns here!

wowdbu down & judgehype changed @

Postby titan99 » Thu Feb 22, 2007 9:26 am

if the set localization is French, wowdbu is site principal of link information but this one is down


moreover judgehype has to change l'@ of research the laster @ is :


Code: Select all
http://worldofwarcraft.judgehype.com/index.php?page=squete&Ckey=Le+messager+vengeur&obj=&desc=&minl=65&maxl=65


now

Code: Select all
http://worldofwarcraft.judgehype.com/index.php?page=bc-result&Ckey=Le%20messager%20vengeur



it would be well to set link site in admin panel :)
User avatar
titan99
Roster AddOn Dev
Roster AddOn Dev
 
Posts: 129
Joined: Sat Jan 13, 2007 8:11 am
Location: Montpellier - France

Re: wowdbu down & judgehype changed @

Postby titan99 » Thu Feb 22, 2007 10:24 am

i'm change php code for modify externe database site in admin panel

// sql modify
Code: Select all
INSERT INTO `roster_config` ( `id` , `config_name` , `config_value` , `form_type` , `config_type` )
VALUES (
'6001', 'quest_link_name_1', 'http://worldofwarcraft.judgehype.com/index.php?page=bc-result&Ckey=', 'text{128|30', 'data_links'
), (
'6002', 'quest_link_url1_1', 'http://worldofwarcraft.judgehype.com/index.php?page=squete&Ckey=', 'text{128|30', 'data_links'
), (
'6003', 'quest_link_url1_2', '&obj=&desc=&minl=', 'text{128|30', 'data_links'
), (
'6004', 'quest_link_url1_3', '&maxl=', 'text{128|30', 'data_links'
);

INSERT INTO `roster_config` ( `id` , `config_name` , `config_value` , `form_type` , `config_type` )
VALUES (
'6011', 'quest_link_name_2', 'url2', 'text{128|30', 'data_links'
), (
'6012', 'quest_link_url2_1', 'http://worldofwarcraft.judgehype.com/index.php?page=squete&Ckey=', 'text{128|30', 'data_links'
), (
'6013', 'quest_link_url2_2', '&obj=&desc=&minl=', 'text{128|30', 'data_links'
), (
'6014', 'quest_link_url2_3', '&maxl=', 'text{128|30', 'data_links'
);

INSERT INTO `roster_config` ( `id` , `config_name` , `config_value` , `form_type` , `config_type` )
VALUES (
'6021', 'quest_link_name_3', 'url3', 'text{128|30', 'data_links'
),  (
'6022', 'quest_link_url3_1', 'http://worldofwarcraft.judgehype.com/index.php?page=squete&Ckey=', 'text{128|30', 'data_links'
), (
'6023', 'quest_link_url3_2', '&obj=&desc=&minl=', 'text{128|30', 'data_links'
), (
'6024', 'quest_link_url3_3', '&maxl=', 'text{128|30', 'data_links'
);


//localization frFR.php modife
//ADD
Code: Select all
$wordings['frFR']['admin']['quest_link_name_1'] = "Nom du lien 1";
$wordings['frFR']['admin']['quest_link_name_2'] = "Nom du lien 2";
$wordings['frFR']['admin']['quest_link_name_3'] = "Nom du lien 3";

$wordings['frFR']['admin']['quest_link_url1_1'] = "- URL de 1";
$wordings['frFR']['admin']['quest_link_url2_1'] = "- URL de 2";
$wordings['frFR']['admin']['quest_link_url3_1'] = "- URL de 3";

$wordings['frFR']['admin']['quest_link_url1_2'] = "- Paramétre de 1";
$wordings['frFR']['admin']['quest_link_url2_2'] = "- Paramétre de 2";
$wordings['frFR']['admin']['quest_link_url3_2'] = "- Paramétre de 3";

$wordings['frFR']['admin']['quest_link_url1_3'] = "- Paramétre de 1";
$wordings['frFR']['admin']['quest_link_url2_3'] = "- Paramétre de 2";
$wordings['frFR']['admin']['quest_link_url3_3'] = "- Paramétre de 3";

//Remplacer
Code: Select all
      $questlinks[0]['frFR']['name']='JudegeHype FR';;
      $questlinks[0]['frFR']['url1']='http://worldofwarcraft.judgehype.com/index.php?page=squete&Ckey=';
      $questlinks[0]['frFR']['url2']='&obj=&desc=&minl=';
      $questlinks[0]['frFR']['url3']='&maxl=';

      $questlinks[1]['frFR']['name']='WoWDBU FR';
      $questlinks[1]['frFR']['url1']='http://wowdbu.com/7.html?m=2&mode=qsearch&title=';
      $questlinks[1]['frFR']['url2']='&obj=&desc=&minl=';
      $questlinks[1]['frFR']['url3']='&maxl=';

      $questlinks[2]['frFR']['name']='Allakhazam US';
      $questlinks[2]['frFR']['url1']='http://wow.allakhazam.com/db/qlookup.html?name=';
      $questlinks[2]['frFR']['url2']='&obj=&desc=&minl=';
      $questlinks[2]['frFR']['url3']='&maxl=';

to

Code: Select all
$questlinks[0]['frFR']['name']=$roster_conf['quest_link_name_1'];
      $questlinks[0]['frFR']['url1']=$roster_conf['quest_link_url1_1'];
      $questlinks[0]['frFR']['url2']=$roster_conf['quest_link_url1_2'];
      $questlinks[0]['frFR']['url3']=$roster_conf['quest_link_url1_3'];

      $questlinks[1]['frFR']['name']=$roster_conf['quest_link_name_2'];
      $questlinks[1]['frFR']['url1']=$roster_conf['quest_link_url2_1'];
      $questlinks[1]['frFR']['url2']=$roster_conf['quest_link_url2_2'];
      $questlinks[1]['frFR']['url3']=$roster_conf['quest_link_url2_3'];

      $questlinks[2]['frFR']['name']=$roster_conf['quest_link_name_3'];
      $questlinks[2]['frFR']['url1']=$roster_conf['quest_link_url3_1'];
      $questlinks[2]['frFR']['url2']=$roster_conf['quest_link_url3_2'];
      $questlinks[2]['frFR']['url3']=$roster_conf['quest_link_url3_3'];
Last edited by titan99 on Thu Feb 22, 2007 11:06 am, edited 1 time in total.
User avatar
titan99
Roster AddOn Dev
Roster AddOn Dev
 
Posts: 129
Joined: Sat Jan 13, 2007 8:11 am
Location: Montpellier - France

wowdbu down & judgehype changed @

Postby Malkom » Thu Feb 22, 2007 10:36 am

Good Idea titan ^^

But we have to run a sql request wit the first code in you post ?

And in what page of admin panel is it display ?



EDIT :

1) ok sql work fine but you have forgotten a "(" just before "6002" ;)

2) Your sql request modify the 3 links : all link are to JudgeHype...

3) In your link to JH, you always use the ancient link (squete) and not the new one (bc-result)

4) I think the name of the button on the quest page is hard coding... may be it's good to change this to ^^
Last edited by Malkom on Thu Feb 22, 2007 10:54 am, edited 3 times in total.
Image
User avatar
Malkom
WR.net Journeyman
WR.net Journeyman
 
Posts: 144
Joined: Tue Jan 09, 2007 11:02 am
Location: France - 91 - Longjumeau

Re: wowdbu down & judgehype changed @

Postby lesablier » Fri Feb 23, 2007 12:48 am

Arf

Seems we working on same problem :

http://www.wowroster.net/Forums/viewtop ... html#15874
lesablier
WR.net Journeyman
WR.net Journeyman
 
Posts: 77
Joined: Sat Jul 15, 2006 4:01 pm


Return to General Support & Feedback

Who is online

Users browsing this forum: No registered users and 0 guests

cron