You are missing our premiere tool bar navigation system! Register and use it for FREE!

NukeCops  
•  Home •  Downloads •  Gallery •  Your Account •  Forums • 
Readme First
- Readme First! -

Read and follow the rules, otherwise your posts will be closed
Modules
· Home
· FAQ
· Buy a Theme
· Advertising
· AvantGo
· Bookmarks
· Columbia
· Community
· Donations
· Downloads
· Feedback
· Forums
· PHP-Nuke HOWTO
· Private Messages
· Search
· Statistics
· Stories Archive
· Submit News
· Surveys
· Theme Gallery
· Top
· Topics
· Your Account
Who's Online
There are currently, 54 guest(s) and 0 member(s) that are online.

You are Anonymous user. You can register for free by clicking here
Nuke Cops :: View topic - Problem with javascript url in the forum... [ ]
 Forum FAQ  •  Search  •   •  Memberlist  •  Usergroups   •  Register  •  Profile •    •  Log in to check your private messages  •  Log in

 
Post new topic  Reply to topicprinter-friendly view
View previous topic Log in to check your private messages View next topic
Author Message
Dedo
Nuke Cadet
Nuke Cadet


Joined: Apr 28, 2004
Posts: 2


PostPosted: Tue Oct 26, 2004 11:52 am Reply with quoteBack to top

Hi! Smile

I've download google tap and everything goes fine!

But i have one problem with adr mod.

When i go to create a character i have to choose the race, the element and the alignment.

Image

here, for example, i select elvaan race.

Image

To view race information, i have to click in the link below:

Image

But the popup go to this url:

Image

So i have hume information that is the first race in the scroll down input.

Image

The script is this:

Code:
<!--
function getraceid(race)
{
      this.raceid = document.charform.race_text.options[document.charform.race_text.selectedIndex].value;
   window.open('modules.php?name=Forums&file=adr_mini_faq&mode=race&raceid=' + this.raceid , "FAQ" , 'scrollbars=yes');
}


and so in htacces file i put this:
Code:
RewriteRule ^pg-([a-zA-Z0-9_]*)-([a-zA-Z0-9_]*)-([a-zA-Z0-9_]*)([0-9]*).html modules.php?name=Forums&file=$1&mode=$2&$3=$4


and in header this:

Code:
"'(?<!/)modules.php\?name=Forums&file=([a-zA-Z0-9_]*)&mode=([a-zA-Z0-9_]*)&([a-zA-Z0-9_]*)=([0-9]*)'",

Code:
"pg-\\1-\\2-\\3\\4.html",


When before the url was
modules.php?name=Forums&file=adr_mini_faq&mode=race&raceid=4

now is

pg-adr_mini_faq-race-raceid.html4

when it has to be

pg-adr_mini_faq-race-raceid4.html

If you want to test you can go here:

http://www.yourff.it/forum-adr_character.html

user: test
pass: test

How can i solve this problem? Confused

Please help me! Sad

_________________
Your Final Fantasy Community
Find all posts by DedoView user's profileSend private messageVisit poster's website
Evaders99
Site Admin
Site Admin


Joined: Aug 17, 2003
Posts: 12388


PostPosted: Tue Oct 26, 2004 2:47 pm Reply with quoteBack to top

This is the code in your HTML:
Code:

function getraceid(race)
{
      this.raceid = document.charform.race_text.options[document.charform.race_text.selectedIndex].value;
   window.open('pg-adr_mini_faq-race-raceid.html' + this.raceid , "FAQ" , 'scrollbars=yes');
}


Note the this.raceid at the end

It looks like your GoogleTap is rewriting the URL before the JavaScript ever gets written. So doesn't look like you can use the JavaScript and the GoogleTap together

_________________
Helping those that help themselves
Read FIRST or DIE!

"Fighting is terrible, but not as terrible as losing the will to fight."
Star Wars Rebellion Network - Need Help? Evaders Squadron Coding
Find all posts by Evaders99View user's profileSend private messageVisit poster's websiteAIM Address
Calliemac
Nuke Cadet
Nuke Cadet


Joined: Oct 25, 2004
Posts: 2


PostPosted: Tue Oct 26, 2004 5:11 pm Reply with quoteBack to top

hi :P
I know what you mean it does it to me! If you hit refresh! If that don'twork you prbably got a virus!

_________________

Always ,
Calliemac
Find all posts by CalliemacView user's profileSend private messageYahoo Messenger
Dedo
Nuke Cadet
Nuke Cadet


Joined: Apr 28, 2004
Posts: 2


PostPosted: Wed Oct 27, 2004 7:10 am Reply with quoteBack to top

Sad
Can't i disable the html url only for this url? Confused

_________________
Your Final Fantasy Community
Find all posts by DedoView user's profileSend private messageVisit poster's website
Display posts from previous:      
Post new topic  Reply to topicprinter-friendly view
View previous topic Log in to check your private messages View next topic
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum



Powered by phpBB © 2001, 2005 phpBB Group

Ported by Nuke Cops © 2003 www.nukecops.com
:: FI Theme :: PHP-Nuke theme by coldblooded (www.nukemods.com) ::
Powered by · TOGETHER TEAM srl ITALY http://www.togetherteam.it · DONDELEO E-COMMERCE http://www.DonDeLeo.com
Web site engine's code is Copyright © 2002 by PHP-Nuke. All Rights Reserved. PHP-Nuke is Free Software released under the GNU/GPL license.
Page Generation: 0.400 Seconds - 245 pages served in past 5 minutes. Nuke Cops Founded by Paul Laudanski (Zhen-Xjell)
:: FI Theme :: PHP-Nuke theme by coldblooded (www.nukemods.com) ::