Montego Scripts: Forums
 

 

View next topic
View previous topic
Post new topic   Reply to topic
Author Message
stalks
Newbie
Newbie



Joined: Nov 11, 2008
Posts: 4

PostPosted: Wed Nov 12, 2008 8:00 am Reply with quote

Hi,

I am having a bit of problem enabling TEGO Shortlinks to work with NSN GR Downloads. I have the latest version of NSN GR Downloads and have applied both the Captcha mod and installed the NSN GR Downloads Tap 1.2.2.


The debugging info is as below.

[ShortLinks_Function] = Present In Header
[ShortLinks_ModuleName] = Downloads
[ShortLinks_FilePath] = GT File :: ShortLinks/GT-Downloads.php :: Does Exist
[ShortLinks_FilePath] = GT File :: ShortLinks/GTZ-PageTap.php :: Does Exist



The download menu appears shortend but items within the download module do not.

You can see the problem in action here removed. Am I missing something glaringly obvious? Apologies if I am. I have searched through this forum and cannot seem to find a path to go down.




Any help/advice would be greatly appreciated.

StalkS


Maybe the info below can help?

.htaccess
Quote:
#NSN GR Downloads
RewriteRule ^download-mod-([0-9]*).html modules.php?name=Downloads&op=modifydownloadrequest&lid=$1 [L]
RewriteRule ^download-file-([0-9]*).html modules.php?name=Downloads&op=getit&lid=$1 [L]
RewriteRule ^downloads-(NewDownloads|newdownloads).html modules.php?name=Downloads&op=NewDownloads [L]
RewriteRule ^download-shownew-([0-9]*).html modules.php?name=Downloads&op=NewDownloads&newdownloadshowdays=$1 [L]
RewriteRule ^download-seldate-([a-zA-Z0-9+]*).html modules.php?name=Downloads&op=NewDownloadsDate&selectdate=$1 [L]
RewriteRule ^downloads-(MostPopular|mostpopular).html modules.php?name=Downloads&op=MostPopular [L]
RewriteRule ^download-(MostPopular|mostpopular)-([0-9]*)-(num|percent).html modules.php?name=Downloads&op=MostPopular&ratenum=$2&ratetype=$3 [L]
RewriteRule ^download-sort-([0-9]*)-orderby-title([aA]).html modules.php?name=Downloads&cid=$1&orderby=titleA [L]
RewriteRule ^download-sort-([0-9]*)-orderby-title([dD]).html modules.php?name=Downloads&cid=$1&orderby=titleD [L]
RewriteRule ^download-sort-([0-9]*)-orderby-date([aA]).html modules.php?name=Downloads&cid=$1&orderby=dateA [L]
RewriteRule ^download-sort-([0-9]*)-orderby-date([dD]).html modules.php?name=Downloads&cid=$1&orderby=dateD [L]
RewriteRule ^download-sort-([0-9]*)-orderby-hits([aA]).html modules.php?name=Downloads&cid=$1&orderby=hitsA [L]
RewriteRule ^download-sort-([0-9]*)-orderby-hits([dD]).html modules.php?name=Downloads&cid=$1&orderby=hitsD [L]
RewriteRule ^download-paging-([0-9]*)-([0-9]*).html modules.php?name=Downloads&min=$1&cid=$2 [L]
RewriteRule ^download-search-([[:punct:]/:\-\'{}()._&a-zA-Z0-9+=]*)-([0-9]*)-([a-zA-Z0-9+]*)-([0-9]*).html modules.php?name=Downloads&d_op=search&query=$1&min=$2&orderby=$3&show=$4 [L]
RewriteRule ^download-search-([[:punct:]/:\-\'{}()._&a-zA-Z0-9+=]*)-([a-zA-Z0-9+]*).html modules.php?name=Downloads&d_op=search&query=$1&orderby=$2 [L]
RewriteRule ^download-searchp-([0-9]*)-([[:punct:]/:\-\'{}()._&a-zA-Z0-9+=]*).html modules.php?name=Downloads&min=$1&d_op=search&query=$2 [L]
RewriteRule ^download-search.html modules.php?name=Downloads&op=search [L]
RewriteRule ^download-gfx-([0-9]*).html modules.php?name=Downloads&op=gfx&random_num=$1 [L]
RewriteRule ^downloads-cat([0-9]*).html modules.php?name=Downloads&cid=$1 [L]
RewriteRule ^downloads.html&min=([0-9]*)&cid=([0-9]*)$ modules.php?name=Downloads&min=$1&cid=$2 [L]
RewriteRule ^downloads.html downloads.html [L]

#Submit_Downloads
RewriteRule ^submit-download-terms.html submit-download.html&op=TermsUse [L]
RewriteRule ^submit-download.html submit-download.html [L]


GT-Downloads

Quote:
$urlin = array(
'"(?<!/)modules.php\?name=Downloads&amp;op=modifydownloadrequest&amp;lid=([0-9]*)"',
'"(?<!/)modules.php\?name=Downloads&amp;op=NewDownloads&amp;newdownloadshowdays=([0-9]*)"',
'"(?<!/)modules.php\?name=Downloads&amp;op=NewDownloadsDate&amp;selectdate=([a-zA-Z0-9+]*)"',
'"(?<!/)modules.php\?name=Downloads&amp;op=getit&amp;lid=([0-9]*)"',
'"(?<!/)modules.php\?name=Downloads&amp;op=(MostPopular)&amp;ratenum=([0-9]*)&amp;ratetype=(num|percent)"',
'"(?<!/)modules.php\?name=Downloads&amp;op=(NewDownloads|MostPopular)"',
'"(?<!/)modules.php\?name=Downloads&amp;cid=([0-9]*)&amp;orderby=([a-zA-Z0-9+]*)"',
'"(?<!/)modules.php\?name=Downloads&amp;min=([0-9]*)&amp;cid=([0-9]*)"', //Must make code chg to work!
'"(?<!/)modules.php\?name=Downloads&amp;op=search&amp;query=([/:\-{}()\,\._&amp;a-zA-Z0-9+=]*)&amp;min=([0-9]*)&amp;orderby=([a-zA-Z0-9+]*)&amp;show=([0-9]*)"', //Must make code chg to work!
'"(?<!/)modules.php\?name=Downloads&amp;op=search&amp;query=([/:\-{}()\,\._&amp;a-zA-Z0-9+= ]*)&amp;orderby=([a-zA-Z0-9+]*)"', //Must make code chg to work!
'"(?<!/)modules.php\?name=Downloads&amp;min=([0-9]*)&amp;op=search&amp;query=([/:\-{}()\,\._&amp;a-zA-Z0-9+= ]*)"',
'"(?<!/)modules.php\?name=Downloads&amp;op=search"', //Must make code chg to work!
'"(?<!/)modules.php\?name=Downloads&amp;op=gfx&amp;random_num=([0-9]*)"',
'"(?<!/)modules.php\?name=Downloads&amp;cid=([0-9]*)"',
'"(?<!/)modules.php\?name=Downloads"'
);

$urlout = array(
'download-mod-\\1.html',
'download-shownew-\\1.html',
'download-seldate-\\1.html',
'download-file-\\1.html',
'download-\\1-\\2-\\3.html',
'downloads-\\1.html',
'download-sort-\\1-orderby-\\2.html',
'download-paging-\\1-\\2.html', //Must make code chg to work!
'download-search-\\1-\\2-\\3-\\4.html', //Must make code chg to work!
'download-search-\\1-\\2.html', //Must make code chg to work!
'download-searchp-\\1-\\2.html',
'download-search.html', //Must make code chg to work!
'download-gfx-\\1.html',
'downloads-cat\\1.html',
'downloads.html'
);

?>


Last edited by stalks on Wed Nov 12, 2008 9:51 am; edited 2 times in total 
View user's profile Send private message
montego
Site Admin/Owner
Site Admin/Owner



Joined: Feb 12, 2005
Posts: 1399

PostPosted: Wed Nov 12, 2008 9:09 am Reply with quote

stalks,

The issue really is that you have a PHP error somewhere in your footer area as your footer.php is not being called OR its stopping before it completes.

This is actually causing ALL of your modules not to have their links shortened, not just NSN GR Downloads.

Fix that parse error and I think these will all work. You will need to turn PHP error reporting on. I.e., config.php, set $display_errors to true and see if it points you to where the problem is.

_________________
“To err is human, but when the eraser wears out ahead of the pencil, you’re overdoing it.”
-- Josh Jenkins 
View user's profile Send private message Visit poster's website
stalks
Newbie
Newbie



Joined: Nov 11, 2008
Posts: 4

PostPosted: Wed Nov 12, 2008 9:44 am Reply with quote

montego - Thank you so much!! I completely forgot I was trying to use an old counter script in the footer. I removed it and it worked straight away. Mr. Green

Regards

StalkS
 
View user's profile Send private message
montego
Site Admin/Owner
Site Admin/Owner



Joined: Feb 12, 2005
Posts: 1399

PostPosted: Fri Nov 14, 2008 7:05 am Reply with quote

Very good. Thanks for letting us know.

_________________
“To err is human, but when the eraser wears out ahead of the pencil, you’re overdoing it.”
-- Josh Jenkins 
View user's profile Send private message Visit poster's website
Display posts from previous:       
Post new topic   Reply to topic

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


Powered by phpBB © 2001-2007 phpBB Group
All times are GMT - 4 Hours
 
Forums ©
linear-bunch