You are missing our premiere tool bar navigation system! Register and use it for FREE!

NukeCops  
•  Home •  Downloads •  Gallery •  Your Account •  Forums • 
Readme First
- Readme First! -

Read and follow the rules, otherwise your posts will be closed
Modules
· Home
· FAQ
· Buy a Theme
· Advertising
· AvantGo
· Bookmarks
· Columbia
· Community
· Donations
· Downloads
· Feedback
· Forums
· PHP-Nuke HOWTO
· Private Messages
· Search
· Statistics
· Stories Archive
· Submit News
· Surveys
· Theme Gallery
· Top
· Topics
· Your Account
Who's Online
There are currently, 520 guest(s) and 0 member(s) that are online.

You are Anonymous user. You can register for free by clicking here
GT-NextGEn Based Blocks Hack
Add Onsmontego writes "This useful hack makes use of GoogleTap (GT-NextGEn 0.4beta) from http://www.gt-nextgen.com 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. Get it from Montego Scripts here: GTBlocks Hack

Features:
  • 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-Filename.php

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

    GTB-block-Old_Articles.php

  • 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 Raven PHP Scripts.
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 at Montego Scripts. Regards,
montego "
Posted on Sunday, October 23 @ 17:07:39 CEST by VinDSL
 
Related Links
· More about Add Ons
· News by VinDSL


Most read story about Add Ons:
Release Msn Block Checker 2.0

Article Rating
Average Score: 0
Votes: 0

Please take a second and vote for this article:

Excellent
Very Good
Good
Regular
Bad


Options

 Printer Friendly Page  Printer Friendly Page

 Send to a Friend  Send to a Friend

Threshold
The comments are owned by the poster. We aren't responsible for their content.

No Comments Allowed for Anonymous, please register
Powered by TOGETHER TEAM srl ITALY http://www.togetherteam.it - DONDELEO E-COMMERCE http://www.DonDeLeo.com - TUTTISU E-COMMERCE http://www.tuttisu.it
Web site engine's code is Copyright © 2002 by PHP-Nuke. All Rights Reserved. PHP-Nuke is Free Software released under the GNU/GPL license.
Page Generation: 0.089 Seconds - 532 pages served in past 5 minutes. Nuke Cops Founded by Paul Laudanski (Zhen-Xjell)
:: FI Theme :: PHP-Nuke theme by coldblooded (www.nukemods.com) ::