stalks
Newbie


Joined: Nov 11, 2008
Posts: 4
|
Posted:
Wed Nov 12, 2008 8:00 am |
|
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&op=modifydownloadrequest&lid=([0-9]*)"',
'"(?<!/)modules.php\?name=Downloads&op=NewDownloads&newdownloadshowdays=([0-9]*)"',
'"(?<!/)modules.php\?name=Downloads&op=NewDownloadsDate&selectdate=([a-zA-Z0-9+]*)"',
'"(?<!/)modules.php\?name=Downloads&op=getit&lid=([0-9]*)"',
'"(?<!/)modules.php\?name=Downloads&op=(MostPopular)&ratenum=([0-9]*)&ratetype=(num|percent)"',
'"(?<!/)modules.php\?name=Downloads&op=(NewDownloads|MostPopular)"',
'"(?<!/)modules.php\?name=Downloads&cid=([0-9]*)&orderby=([a-zA-Z0-9+]*)"',
'"(?<!/)modules.php\?name=Downloads&min=([0-9]*)&cid=([0-9]*)"', //Must make code chg to work!
'"(?<!/)modules.php\?name=Downloads&op=search&query=([/:\-{}()\,\._&a-zA-Z0-9+=]*)&min=([0-9]*)&orderby=([a-zA-Z0-9+]*)&show=([0-9]*)"', //Must make code chg to work!
'"(?<!/)modules.php\?name=Downloads&op=search&query=([/:\-{}()\,\._&a-zA-Z0-9+= ]*)&orderby=([a-zA-Z0-9+]*)"', //Must make code chg to work!
'"(?<!/)modules.php\?name=Downloads&min=([0-9]*)&op=search&query=([/:\-{}()\,\._&a-zA-Z0-9+= ]*)"',
'"(?<!/)modules.php\?name=Downloads&op=search"', //Must make code chg to work!
'"(?<!/)modules.php\?name=Downloads&op=gfx&random_num=([0-9]*)"',
'"(?<!/)modules.php\?name=Downloads&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 |
|
montego
Site Admin/Owner


Joined: Feb 12, 2005
Posts: 1294
|
Posted:
Wed Nov 12, 2008 9:09 am |
|
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 |
|
montego
Site Admin/Owner


Joined: Feb 12, 2005
Posts: 1294
|
Posted:
Fri Nov 14, 2008 7:05 am |
|
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 |
|