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, 43 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 - I've GT one of my custom modules... but it doesn't work... [ ]
 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
bigboy177
Lieutenant
Lieutenant


Joined: Jun 23, 2004
Posts: 152


PostPosted: Thu Oct 28, 2004 10:23 am Reply with quoteBack to top

OK. I've got a module called Conteudo it's a content module... but it is much better than the module in PHP-Nuke... I've tried to google tap this module... I think I did everything OK... But it's not working...

This is how the file GT-Conteudo.php looks like:
Code:

<?php

$urlin = array(
"'(?<!/)modules.php?name=Conteudo&amp;file=admin&amp;op=page_edit&amp;pid=([0-9]*)&amp;cid=([0-9]*)'",
"'(?<!/)modules.php?name=Conteudo&amp;file=admin&amp;op=page_change_status&amp;pid=([0-9]*)&active=([0-9]*)'",
"'(?<!/)modules.php?name=Conteudo&amp;file=admin&amp;op=page_delete&amp;pid=([0-9]*)'",
"'(?<!/)modules.php?name=Conteudo&amp;file=admin&amp;op=page&amp;mid=([0-9]*)&amp;cid=([0-9]*)'",
"'(?<!/)modules.php?name=Conteudo&amp;file=admin&amp;op=page_edit&amp;pid=([0-9]*)&amp;fckedit=([0-9]*)'",
"'(?<!/)modules.php?name=Conteudo&amp;file=admin&amp;op=ver_auto_page&amp;pid=([0-9]*)'",
"'(?<!/)modules.php?name=Conteudo&amp;file=upload&amp;pid=([0-9]*)'",
"'(?<!/)modules.php?name=Conteudo&amp;file=admin&amp;op=config'",
"'(?<!/)modules.php?name=Conteudo&amp;file=admin&amp;op=ver_auto'",
"'(?<!/)modules.php?name=Conteudo&amp;file=adminup'",
"'(?<!/)modules.php?name=Conteudo&amp;file=admin&amp;op=add_folder&amp;cid=([0-9]*)'",
"'(?<!/)modules.php?name=Conteudo&amp;file=admin&amp;op=edit_folder&amp;cid=([0-9]*)'",
"'(?<!/)modules.php?name=Conteudo&amp;file=admin&amp;op=page&amp;mid=([0-9]*)&amp;cid=([0-9]*)'",
"'(?<!/)modules.php?name=Conteudo&amp;file=index&amp;pa=list_pages_categories&amp;cid=([0-9]*)'",
"'(?<!/)modules.php?name=Conteudo&amp;pa=list_pages_categories&amp;cid=([0-9]*)'",
"'(?<!/)modules.php?name=Conteudo&amp;pa=showpage&amp;pid=([0-9]*)'",
"'(?<!/)modules.php?name=Conteudo'"
);

$urlout = array(
"recenzje-edit-\\1-page\\2.html",
"recenzje-change_status-\\1-page\\2.html",
"recenzje-delete\\1.html",
"recenzje-subpage-\\1-page\\2.html",
"recenzje-\\1-edit\\2.html",
"recenzje-privilages-\\1.html",
"recenzje-upload-\\1.html",
"recenzje-config.html",
"recenzje-ver_auto.html",
"recenzje-adminup.html",
"recenzje-new_folder.html",
"recenzje-edit_folder.html",
"recenzje-new.html",
"recenzje-index.html",
"recenzje-cat-\\1.html",
"recenzje-open-\\1.html",
"recenzje.html"
);

?>


And This is the modyfication I've made to .htaccess:
Code:

#Conteudo
RewriteRule ^recenzje-edit-([0-9]*)-page([0-9]*).html modules.php?name=Conteudo&file=admin&op=page_edit&pid=$1&cid=$2 [L]
RewriteRule ^recenzje-change_status-([0-9]*)-page([0-9]*).html modules.php?name=Conteudo&file=admin&op=page_change_status&pid=$1&active=$2 [L]
RewriteRule ^recenzje-delete([0-9]*).html modules.php?name=Conteudo&file=admin&op=page_delete&pid=$1 [L]
RewriteRule ^recenzje-subpage-([0-9]*)-page([0-9]*).html modules.php?name=Conteudo&file=admin&op=page&mid=$1&cid=$2 [L]
RewriteRule ^recenzje-([0-9]*)-edit([0-9]*).html modules.php?name=Conteudo&file=admin&op=page_edit&pid=$1&fckedit=$2 [L]
RewriteRule ^recenzje-privilages-([0-9]*).html modules.php?name=Conteudo&file=admin&op=ver_auto_page&pid=$1 [L]
RewriteRule ^recenzje-upload-([0-9]*).html modules.php?name=Conteudo&file=upload&pid=$1 [L]
RewriteRule ^recenzje-config.html modules.php?name=Conteudo&file=admin&op=config [L]
RewriteRule ^recenzje-ver_auto.html modules.php?name=Conteudo&file=admin&op=ver_auto [L]
RewriteRule ^recenzje-adminup.html modules.php?name=Conteudo&file=adminup [L]
RewriteRule ^recenzje-new_folder.html modules.php?name=Conteudo&file=admin&op=add_folder&cid=$1 [L]
RewriteRule ^recenzje-edit_folder.html modules.php?name=Conteudo&file=admin&op=edit_folder&cid=$1 [L]
RewriteRule ^recenzje-new.html modules.php?name=Conteudo&file=admin&op=page&mid=$1&cid=$2 [L]
RewriteRule ^recenzje-index.html modules.php?name=Conteudo&file=index&pa=list_pages_categories&cid=$1 [L]
RewriteRule ^recenzje-cat-([0-9]*).html modules.php?name=Conteudo&pa=list_pages_categories&cid=$1 [L]
RewriteRule ^recenzje-open-([0-9]*).html modules.php?name=Conteudo&pa=showpage&pid=$1 [L]
RewriteRule ^recenzje.html modules.php?name=Conteudo [L]


Can someone please advise something... Smile

_________________
http://www.info-gry.info
http://www.info-gry.prv.pl
http://www.infogry.info
Find all posts by bigboy177View user's profileSend private message
bigboy177
Lieutenant
Lieutenant


Joined: Jun 23, 2004
Posts: 152


PostPosted: Thu Oct 28, 2004 3:37 pm Reply with quoteBack to top

OK... I've found the problem... Thanks for aaaaaaaaallllllllllll your help Razz

_________________
http://www.info-gry.info
http://www.info-gry.prv.pl
http://www.infogry.info
Find all posts by bigboy177View user's profileSend private message
drmike
Nuke Cadet
Nuke Cadet


Joined: Nov 08, 2004
Posts: 3


PostPosted: Mon Nov 08, 2004 1:26 pm Reply with quoteBack to top

Care to kindly cure the rest of us in as I'm working on my own rules currently. Smile

-drmike

_________________
http://tdjc.be/
http://kpremixed.tdjc.be/
http://youtube.tdjc.be
Find all posts by drmikeView 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.178 Seconds - 277 pages served in past 5 minutes. Nuke Cops Founded by Paul Laudanski (Zhen-Xjell)
:: FI Theme :: PHP-Nuke theme by coldblooded (www.nukemods.com) ::