![]() |
Minimum posts to view memberlist
Minimum posts to view memberlist
What does this hack do? This allows you to have an option in your admin cp where you can define a minimum number of posts that a user must have to view the memberlist. If the user doesn't have enough posts they will get an error telling them they need so many posts (which you defined in the admin cp) to view the memberlist. Regards - miSt |
Good Lord. I dont get why these are useful. :x
|
Mist, in your queries, what are the '6' and the '10' and the '18' there for at the end of them?
|
They are the display order in the option settings :)
- miSt |
I still dont get it. Please be more specific?
|
Ok well when you goto your admin cp and click vbulletin options. You have a list of things. They are in order. Just like the forums. It's just that the link to change the display order and add settings etc are hidden.
It's just a way of ordering the list of options. - miSt |
Ok i get it.
|
Thanks. This should help cut down on the spam e-mails that my members have been receiving. I'm installing it now.
Edit: Your instructions say to locate require ("./global.php"); within memberlist.php. I just thought that you might want to know that my memberlist.php has require("./global.php"); instead of require ("./global.php");. And if it helps, I'm using vBulletin 2.3.0. Another problem I ran into was with the query. I got this error after trying to edit it via phpmyadmin: Code:
Error |
Correct query to run:
INSERT INTO setting (settingid,settinggroupid,title,varname,value,desc ription,optioncode,displayorde r) VALUES (NULL,7,'Minmimum Posts','memberlistminposts','0','Here you define the number of posts a user must have before he/she can view the memberlist.','','6') |
Needs a semi-colon on the end *writes down to edit instructions later*
- miSt |
All times are GMT. The time now is 10:03 AM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|