Counter conditioned Avatar & Usertext - SP1 1.0 You want to show Avatar and User text just if a user reached a pre-setted Post-Count use this hack. You can set the counter to a limit the user must have in the Admin Center. Avatars and Usertext have to be activated! If you don't want to display one of these or both u have to turn them off like before the hack! dOCda S! http://gpu.hackers.sk/hacks/index.htm Sources/Display.pl $postinfo = qq~$txt{'26'}: $userprofile[6]
~;
if ($tusert ne '' && $tusert ne 'OFF') { if ($userprofile[6] >= $tusert) { $userprofile[12] = qq(
$userprofile[12]
); } else { $userprofile[12] = qq(); } } if ($tusert ne '' && $tusert ne 'OFF') { if ($userprofile[6] < $tusert2) { $userprofile[13] = qq(); } }
Sources/AdminEdit.pl if ($line eq $language) { $selected = " selected" } $yymain .= " if ($tusert == OFF) { $tusert = ""; } if ($tusert2 == OFF) { $tusert2 = ""; } $txt{'591'} $usertxt{'01'} $usertxt{'02'} $godmem = $FORM{'godmem'} || 500; $tusert = $FORM{'tusert'} || "OFF"; $tusert2 = $FORM{'tusert2'} || "OFF"; \$GodPostNum = $godmem; # Number of Posts required to show person as 'god' membergroup \$tusert = $tusert; # Number of Posts required to show user text \$tusert2 = $tusert2; # Number of Posts required to show avatar english.lng $txt{'749'} = "The 'number of posts' box can only contain digits."; $usertxt{'01'} = "# Posts to show user text"; $usertxt{'02'} = "# Posts to show avatar";