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:
and this way my dynamic metatags module for news articles works good !
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
*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))
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