The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
Can someone please modify this hack to do this, If possible?
Hi I just installed Mists "Minimum Posts to View Memberlist hack"
which can be found Here and I would like to know if it is possible to do the same thing, but making it so the member has to make 5 posts before they can view other members profiles? I dont know the first thing about coding and would appreciate any help I can get. Thanks in advance Rebel38 |
#2
|
||||
|
||||
Run this query in phpmyadmin:
[sql]INSERT INTO setting (settingid,settinggroupid,title,varname,value,desc ription,optioncode,displayorder) VALUES (NULL,7,'Minmimum Posts to view Profiles','profileminposts','0','Here you enter the number of posts a user must have before he/she can view a members profile.','','6');[/sql] Now open member.php, and find: Code:
if ($action=="getinfo") { $templatesused = "getinfo_sendpm,aol,icq,yahoo,getinfo_birthday,getinfo_customfields,getinfo"; include("./global.php"); Code:
if ($bbuserinfo[posts] < $profileminposts) { eval("standarderror(\"".gettemplate("error_profileminposts")."\");"); } Code:
Sorry you need at least $profileminposts posts before you can view this members profile. Satan |
#3
|
|||
|
|||
Thanks hellsatan, Works great.
much appreciated for the mate. Thanks Rebel38 |
#4
|
||||
|
||||
No problems
Satan |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|