Skip to content
WJunction - Webmaster Forum

Simple Hide hack [Phpbb]

Status
Not open for further replies.
here is a simple bbcode for phpbb :) if u havent alreadi uploaded bbcode.php jus replace with original one :)


http://www.megaupload.com/?d=QDH61XBD

Edited By Litewarez:

Changed Code (End of file)
Code:
$topic_id = request_var('t','');
		if ($topic_id > 0)
		{
			$sql = 'SELECT * FROM ' .POSTS_TABLE .' WHERE topic_id ="' . $topic_id . '" AND poster_id ="' . $user->data["user_id"].'"';
			$result = $db->sql_query($sql);
			$row = $db->sql_fetchrow($result);
			if(empty($row))
			{
				$code = "Please reply to see the download links!";
			}
		}

What this mod does is a short hack that HIDES EVERY CODE BLOCK to the user if he hasnt replied to the thread

Warning this will include guests sections :/
 
Status
Not open for further replies.

About the author

B
Active Member · Joined
195
Messages
0
Reactions
16
Points

Advertise on WJunction

Reach 1000's of webmasters, hosts & affiliates. Banner & sponsored-thread slots available.

Contact us
Back
Top Bottom