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, 58 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 - Reverse GT not working with Zina module [ ]
 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
OPPressed
Nuke Cadet
Nuke Cadet


Joined: May 04, 2006
Posts: 3


PostPosted: Thu May 04, 2006 2:21 pm Reply with quoteBack to top

Hey, I'm having trouble getting the reserve GT code to work with the audio module Zina.. I have the module named 'Audio' and when I enabled debug mode it says the name is correct and present in header. Here's my GT-Audio.php


Code:
<?php

$urlin = array(
"'(?<!/)modules.php\?name=Audio&amp;op=modload&amp;file=index&amp;p=([a-z]*)'"
);

$urlout = array(
"audio-\\1.html"
);

?>


I'm just trying to get one entry to work before I do the rest. I have checked the URL a hundred times, and have no idea why its not working. I'm using phpnuke 7.7 fully patched.

Here is an example of the url that will not convert.
modules.php?name=Audio&op=modload&file=index&p=jungle

Any ideas would be great, thanks.
Find all posts by OPPressedView user's profileSend private message
OPPressed
Nuke Cadet
Nuke Cadet


Joined: May 04, 2006
Posts: 3


PostPosted: Sat May 06, 2006 10:27 pm Reply with quoteBack to top

Ok, I got a lil further this time..

I changed zina's index.php as follows:
$z_self = "${z_self}name=$this_name&op=modload&file=index&";

TO

$z_self = "modules.php?name=$this_name&op=modload&file=index&";


Though now im having problems with URL's like this:

modules.php?name=Audio&op=modload&file=index&p=jungle/boxset

It outputs /audio-jungle.html/boxset or /audio-jungle/boxset.html

I can't get it to output /audio-jungle-boxset.html

Any ideas?

Thanks
Find all posts by OPPressedView user's profileSend private message
OPPressed
Nuke Cadet
Nuke Cadet


Joined: May 04, 2006
Posts: 3


PostPosted: Sat May 06, 2006 11:12 pm Reply with quoteBack to top

I got it to work, just had to rearrange some things.

"'(?<!/)modules.php\?name=Audio&amp;op=modload&amp;file=index&amp;p=([a-z]*)/([-_a-zA-Z0-9]*)'",
"'(?<!/)modules.php\?name=Audio&amp;op=modload&amp;file=index&amp;p=([a-z]*)'"
Find all posts by OPPressedView user's profileSend private message
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.177 Seconds - 344 pages served in past 5 minutes. Nuke Cops Founded by Paul Laudanski (Zhen-Xjell)
:: FI Theme :: PHP-Nuke theme by coldblooded (www.nukemods.com) ::