Ravens PHP Scripts: Forums
 

 

View next topic
View previous topic
Post new topic   Reply to topic    Ravens PHP Scripts And Web Hosting Forum Index -> GT - Next Gen and Standard
Author Message
Bigboy177
Worker
Worker



Joined: Jul 07, 2004
Posts: 192

PostPosted: Thu Oct 28, 2004 12:36 pm Reply with quote

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

_________________
Only registered users can see links on this board! Get registered or login! 
View user's profile Send private message
Raven
Site Admin/Owner



Joined: Aug 27, 2002
Posts: 17088

PostPosted: Thu Oct 28, 2004 5:28 pm Reply with quote

Is this block on the right side? If so, try it on the left. I have several blocks that will not GT on the right side but they will on the left.
 
View user's profile Send private message
Bigboy177







PostPosted: Thu Oct 28, 2004 5:47 pm Reply with quote

I've fixed the problem I was missing / in every path in the php file... Smile Now it's working like a charm... Smile
 
Display posts from previous:       
Post new topic   Reply to topic    Ravens PHP Scripts And Web Hosting Forum Index -> GT - Next Gen and Standard

View next topic
View previous 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
You can attach files in this forum
You can download files in this forum


Powered by phpBB © 2001-2007 phpBB Group
All times are GMT - 6 Hours
 
Forums ©