Bravo List
Register
Go Back   > Bravo List > Source Code > Archived Trackers > TBDev
Reply
  #1  
Old 18th December 2009, 15:13
InFeRnO InFeRnO is offline
Senior Member
 
Join Date: Jul 2008
Posts: 29
Default Block members from downloading until they have two posts
Hi looking for a litt;e help on this peice of code

PHP Code:
stdhead("Browse");
if (
$CURUSER['post_count'] <=2)
{
stdmsg("Sorry...""You Need a Minimum Of Two Forum Posts  (Go To The Forums <a href=\"forums.php\">To Make Your Posts</a>)");
stdfoot();
exit;

i want to stop users with under two posts being able to view browse page but this code blocks all users

does any one have an idea as to what im doing wrong thanx
Reply With Quote
Reply

Tags
block , downloading , members , posts

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
[PMBT 2.x]Add last forum posts to index joeroberts Mods & Themes 3 16th July 2013 04:01
torrent strike forum threads and posts not counted inebunit Torrent Strike 7 10th January 2010 14:16
I'm downloading from myself... Verix Template Shares 13 7th June 2009 16:31
Members Upload dusco Template Shares 4 9th February 2009 02:53
To All Members Subzero Annoucements 0 19th October 2008 17:51



All times are GMT +2. The time now is 12:36. vBulletin skin by ForumMonkeys. Powered by vBulletin® Version 3.8.11 Beta 3
Copyright ©2000 - 2024, vBulletin Solutions Inc.