Ravens PHP Scripts: Code Hacks



Search on This Topic:   
[ Go to Home | Select a New Topic ]
 

 

Downloads - Allow Guests To See But Not Download More about

Posted on Tuesday, October 07, 2003 @ 19:11:06 CDT in Code Hacks
by Raven

As you know, I offer a hack to the Downloads module that allows you to protect/restrict certain files to registered users only. Well, what if you want to allow all visitors to see the downloads but only registered users to actually download them? See this post.
 

 

Providing proper BFAST affiliate links More about Read More...

Posted on Saturday, September 13, 2003 @ 05:06:44 CDT in Code Hacks
by Raven

raphaelbtt writes:  
If you manage advertising for affiliate links on your site, you may be asked to insert a 1x1 pixel with a separate link as the image. Of course, using PHP-Nuke, this is not possible natively, since they only give you fields to fill in for the Click URL and Image URL.

But, by modifying one line in the block-Advertising.php file in your blocks folder, you can add the 1x1 pixel. I don't know if this really makes a difference, but when it comes to getting credit for your click-throughs, it wouldn't hurt "one bit" to do as they ask... Read More...
 

 

Restrict Selected Downloads To Registered Users Only More about

Posted on Friday, August 15, 2003 @ 13:25:12 CDT in Code Hacks
by Raven

Ever have the need to protect only certain downloads to registered users only? Well, this programming hack (no database changes) will easily let you do that! Simply replace one function in the Downloads module with this, add the download that you want protected, and you're done! Get it in the Download's area.
 

 

Bettertopics v1.0 - Topics Hack More about

Posted on Saturday, June 28, 2003 @ 19:26:52 CDT in Code Hacks
by raven

Master-V writes:  
Well, I decided to release the topics hack that I am using on my site, yakster.net. This is a simple hack of the PHP-Nuke 6.5 topics module. I found the original Topics module to be very bland looking, so I hacked the module to make it more visually appealing. I know for sure that it works on 6.5 and 6.7 (it might work on other versions)

You can view it here
Download it here

No registration required!
 

 

Register and Activate Users With No Email Message! More about

Posted on Thursday, May 01, 2003 @ 21:49:53 CDT in Code Hacks
by gcf

I have a hack that I just put together for this. For anyone wanting to have a site where the user is automatically registered and activated, this will do it! It is a very small hack that is simple to install. Get it from the downloads section in Modules.

I have left it up to the admins to modify the _YOUWILLRECEIVE message that is in the language files folder. Or, seacrh for _YOUWILLRECEIVE in Your_Account/index.php and just mask it out.
 



Page 8 of 8 (47 total stories) [ << | < | 3 | 4 | 5 | 6 | 7 | 8 ]  

News ©

Site Info

Last SeenLast Seen
  • moekin
  • kguske
Server TrafficServer Traffic
  • Total: 507,192,625
  • Today: 117,353
Server InfoServer Info
  • Mar 25, 2025
  • 02:19 pm CDT