https://www.icyphoenix.com/viewtopic.php?f=35&t=911&p=7416#p7416
-----------------------------------
Zuker
Sun 14 Jan, 2007 13:34

Re: Hide Code Request
-----------------------------------
mmm
try this
i''m not sure that this will work  :mricy: 

open BBcode.php

find

[code linenumbers=false]			if($userdata['session_logged_in'])
			{
				$sql = "SELECT p.poster_id, p.topic_id
					FROM " . POSTS_TABLE . " p
					WHERE p.topic_id = $topic_id
					AND p.poster_id = " . $userdata['user_id'];
				$resultat = $db->sql_query($sql);
				$show = $db->sql_numrows($resultat) ? true : false;
				if ( ($userdata['user_level'] == ADMIN) || ($userdata['user_level'] == MOD))
				{
					$show = true;
				}
			}[/code]

replace with

[code linenumbers=false]if (  (($userdata['session_logged_in']) || ($userdata['user_posts'] < 200) && ( $userdata['user_level'] = ADMIN && $userdata['user_level'] = MOD ) )
					{
					$show = true;
				}[/code]

I've set 200 as an example

 :chef:


