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, 48 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 - nukecops googletap rewrite question ? plz help me ! [ ]
 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
pacslim
Nuke Cadet
Nuke Cadet


Joined: Dec 02, 2004
Posts: 1


PostPosted: Tue Aug 15, 2006 9:05 am Reply with quoteBack to top

I've installed nukecops googletap on phpnuke 7.8 with all patches/updates,
but i don't like the way it rewrites my articles because i use a modified dynamic metatags module for my news (articles), it still works but if it redirects to sum url's (because of googletap rewrites) it doesnt work anymore, here an example:

If i click a news article on my home page it takes me too:

http://www.makaveliliveson.com/article-20--0-0.html

which doesn't show the dynamic articles metatags Sad
but if i go through the news sections menu to this article it has an url as:

http://www.makaveliliveson.com/article20.html

and this way my dynamic metatags module for news articles works good ! Very Happy
So this has to do with Nukecop's Googletap url redirecting so what do i need to change so all my news articles are cloaked like the last url, so how do i do all news articles without the --0-0.html and the - between article and the nr part? what do i need to change in my header and .htacces to get this working PLEASE SUMONE HELP ME ! THANKS ALLREADY Wink Arrow

*added following sum hours later:*
still no reply hope any one can help me, in the meanwhile i also look in the script for the dynamic metatags for phpnuke news articles in it is allready sum googletap compatility coding but not with googletap from nukecops.
I think they optimized it for nextgen's googletap (which is no longer online) the code i think i can also edit to get this working on both urls is the following but i dunno what to make of the following code to get this working on all my urls, plz sumeone help me :

Code:
// selects keywords and description from table metakeys
// selects article Date/time from table stories

         global $prefix, $dbi, $dynkeys, $description, $date;
         $remote = getenv ("REMOTE_ADDR");
         $uri = getenv ("REQUEST_URI");
         //echo "remote: $remote,<br>\n"
         //."uri: $uri<br>\n";
if (eregi("article([0-9]{1,5}).html",$uri,$regs)){
            //debug
            //echo "<b>debug all true!</b><br><br>\n";
            //echo "regs1: $regs[1]<br>\n";
            $storyid = $regs[1];
            $result = sql_query("select keywords, description from $prefix"._metakeys." WHERE storyid='$storyid'", $dbi);
$result2 = sql_query("select time from $prefix"._stories." WHERE sid='$storyid'", $dbi);
                 while(list($date) = sql_fetch_row($result2, $dbi))
Find all posts by pacslimView 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.174 Seconds - 231 pages served in past 5 minutes. Nuke Cops Founded by Paul Laudanski (Zhen-Xjell)
:: FI Theme :: PHP-Nuke theme by coldblooded (www.nukemods.com) ::