Check if user is on showthread.php
RateU Offline
Administrator
*******
Posts: 2,350
Joined: Mar 2010
Post: #4
RE: Check if user is on showthread.php
I don't know where you want to put your code.
If you do it in your plugin, just hook to showthread_start. Something like this:

PHP Code:
$plugins->add_hook('showthread_start','myred');
function myred(){
	redirect('index.php','You are redirected to index','Redirecting');
}


(This post was last modified: 12-15-2015 02:06 AM by RateU.)
12-15-2015 02:04 AM
Find all posts by this user Quote this message in a reply

« Next Oldest | Next Newest »

Messages In This Thread
Check if user is on showthread.php - Hugop - 12-11-2015, 08:31 AM
RE: Check if user is on showthread.php - RateU - 12-15-2015 02:04 AM

 Standard Tools
Forum Jump: