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
slackervaara
Worker
Worker



Joined: Aug 26, 2007
Posts: 236

PostPosted: Sat Nov 10, 2007 11:43 am Reply with quote

I had earlier a working Nukecops GoogleTap on my PHP-Nuke 7.2. I upgraded to 7.6, latest patched and latest Sentinel this week. The Google Tap ability was naturally lost everywhere, but not in the blocks 5 Last Links and Top 10 Links, where I can see the link: [ Only registered users can see links on this board! Get registered or login! ]
Why are html working in just these two blocks on the site?

I uninstalled the 5 Last Links block and tried to add it again, but it blocked the site with the error:
Parse error: syntax error, unexpected T_STRING in C:\xampp\htdocs\nuke\blocks\block-Last_5_Links.php on line 29
line 29 is:
Code:


$content .= "<img src=images/blocks/icon_dot.gif>&nbsp;<a href=\"modules.php?name=Web_Links&l_op=visit&amp;lid=$lid\ " target=\"_blank\">$title</a><br>";



I can install block-Last_5_Links_GT_Next_Gen without problems. Grateful for an explaination![/code]


Last edited by slackervaara on Sat Nov 10, 2007 10:39 pm; edited 2 times in total 
View user's profile Send private message
montego
Site Admin



Joined: Aug 29, 2004
Posts: 9457
Location: Arizona

PostPosted: Sat Nov 10, 2007 2:53 pm Reply with quote

The problem is that when you upgraded, you lost all your original core file edits. There were edits required to mainfile.php, header.php, footer.php at a minimum that I can recall.

Or, you can get my ShortLinks (was patterned off of GT-NExtGEn) and re-do your edits that way.

What I hated about the old GT and GTNG was that it required you to hard-code your links in the blocks. Even the .4a beta version of GTNG did not have the blocks auto-tap working properly. I have extended this quite a bit and you no longer have to modify your block files.

_________________
Where Do YOU Stand?
HTML Newsletter::ShortLinks::Mailer::Downloads and more... 
View user's profile Send private message Visit poster's website
slackervaara







PostPosted: Sun Nov 11, 2007 11:06 pm Reply with quote

Thanks. Can you understand why the links blocks show html, when I click on the links despite that Google Tap is not anylonger used? Unfortunately, the code I posted above is also changed to html despite it was not it prior to posting.
 
montego







PostPosted: Mon Nov 12, 2007 7:29 pm Reply with quote

The old GoogleTap and GT-NExtGEn required you to physically modify the block files to hard-code the links as shortened. That is why you are still seeing those are 'tapped'... ???

Again, I suspect the reason why the "Google Tap is not anylonger used" is the reason I gave above in my first post that you have probably overwritten your core file edits and possibly even your .htaccess file?

You might be better off just starting over with incorporating my ShortLinks mod for this. The shortened links are almost identical to the previous GT-NExtGEn.
 
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 ©