Welcome, Guest. Please Login or Register.
May 10, 2025, 06:33:16 PM
Home Help Search Log in Register
News: If you are still using YaBB SE, please consider upgrading to SMF as soon as possible.

YaBB SE Community  |  Development  |  Mod Ideas and Creation  |  Minimum posts for avatar « previous next »
Pages: [1] Reply Ignore Print
Author Topic: Minimum posts for avatar  (Read 561 times)
Rahven
Noobie
*
Posts: 8


All your llama are belong to us!

Minimum posts for avatar
« on: March 19, 2003, 12:39:30 PM »
Reply with quote

Hi all,

I'm not entirely sure this is on the right board, but I'm not about to double post, so here goes...

Does anyone know of a way to only allow users to have avatars after they reach X amount of posts? Am I a dummy and just no look hard enough, or is it not out there?

I'd like to be able to allow certain groups to have avatars regardless, moderators, administrator, yadda. But for regular users only after so many posts.

Any help would be appreciated, even if it's just to tell me that I posted to the wrong board. Thanks in advance.

-Rahven
Logged

So it was more interesting acting with insane people with knives in their hands... that's where you're not really acting, you're like 'Get that knife away from my face.
-Bruce Campbell
Spaceman-Spiff
Mod Team
YaBB God
*****
Posts: 3689


My $txt[228]

Re:Minimum posts for avatar
« Reply #1 on: March 19, 2003, 07:52:45 PM »
Reply with quote

edit Profile.php
search for:   if ($allowpics)replace with:   if ($allowpics && $memsettings[6] >= 100)Where 100 is the minimum number of posts
there are 2 same lines in Profile.php that u need to change like above...

edit Display.php
search for:   if ($showuserpic && $allowpics)replace with:   if ($showuserpic && $allowpics && $userprofile[$user]['posts'] >= 100)
Logged

   My mods, ysePak, codes, tutorials
    Support question IMs = bad.
Pages: [1] Reply Ignore Print 
YaBB SE Community  |  Development  |  Mod Ideas and Creation  |  Minimum posts for avatar « previous - next »
 


Powered by MySQL Powered by PHP YaBB SE Community | Powered by YaBB SE
© 2001-2003, YaBB SE Dev Team. All Rights Reserved.
SMF 2.1.4 © 2023, Simple Machines
Valid XHTML 1.0! Valid CSS

Page created in 0.012 seconds with 20 queries.