Download Profile: GTBlocks Hack


 Download Profile: GTBlocks Hack

** Edited by montego to fix block_CollapsingForums and add additional blocks used on Montego Scripts

This useful "hack" makes use of the GoogleTap (GT-NextGEn 0.4beta) hack from and applies it to block files as well. No more modifying actual block code. Simply create a file in the GoogleTap directory with the right naming convention and with the right $urlin/$urlout and .htaccess file re-write statements, and you can GT blocks very easily and only those that matter to you. You can also "tap" your block-Modules.php file so that you do not need the Main Menu tweak!


  • After installing GT-NextGEn 0.4, and this hack, you can simply write new GoogleTap files for blocks and .htaccess rewrite rules rather than having to modify block code directly.
  • Uses a very simple hack to the mainfile.php script in the render_blocks function. It will look for a GTB-* file corresponding to the block being rendered.
  • NOTE: Is not intended to work with RSS feeds as these need to remain in the link structure from the providing site as well as content blocks are not supported because you have control over the links directly and therefore, do not need them to be GoogleTap'd.
  • Simply place new PHP scripts in the GoogleTap directory with the following naming convention:

    GTB-<<block file name>>

    For example, for the block of Old Articles, it would have this name:


    You can simply look at the file names in your blocks directory or also within table nuke_blocks.
  • Simply place your urlin/out statements in the appropriate GTB-* file and ensure that the rewrite statements already in GT will cover rewriting the URLs. Add rewrite rules as needed.
  • Two sample GTB-* files are provided in the GoogleTap directory in this download, one for the basic nuke block-Old_Articles.php and the other for Raven's popular block-ForumsCollapsing.php block found at

It is my intent to continue to write GTB-* files for the core nuke blocks as well as some additional popular blocks, but feel free to create your own and give back to the community by adding the statements in a new Topic post in the Forums and/or give to me to place within the downloads here.


Version: 0.4 1.1
Filesize: 12.78 Kb
Added on: Thu Oct 20 20:25:33 EDT 2005
Downloads: 232
Home Page:

DIRECTIONS: To download the file "GTBlocks Hack", you need to retype the displayed passcode, and click the button below.

Security Code
Security Code
Type Security Code

[ Modify | Report Broken Link]

Downloads ©
Please Link to Me!

Site Menu
icon_home.gif Home
· Montego's Blog
icon_community.gif Community
tree-T.gif Advertising
tree-T.gif Newsletters
tree-T.gif Downloads
tree-T.gif Content
tree-L.gif Surveys
nuke.gif Projects
tree-T.gif HTML Newsletter
tree-T.gif Downloads
tree-T.gif Mailer
tree-T.gif ShortLinks
tree-L.gif DynamicTitles
som_downloads.gif Support
tree-T.gif Issue Tracker
tree-T.gif Forums
tree-L.gif Sitemap
icon_members.gif Members Only
Access restricted to our members Private Messages
Access restricted to our members Members List
tree-L.gif Your Account
favoritos.gif News
icon_poll.gif Misc
Supported Projects!
Site Info
Your IP:

Welcome, Anonymous
Security Code
Security Code
Type Security Code

· Register
· Lost Password
Server Date/Time
15 December 2018 11:10:50 EST (GMT -5)
Misc Info

FatWallet Coupons and Deals

Join the HoneyPot Project and help stop spam!

RavenNuke(tm) - Most secure and fast PHP-Nuke on the web!

Get TegoNuke(tm) ShortLinks from this site and more...

This site is valid CSS!

RSS/XML Feed Previews