![]() |
[3.0.0 GOLD] Forums access options (minimum posts to acces, create new threads, reply
[3.0.0 GOLD] Forums access options (minimum posts to acces, create new threads, reply)
Total hack's description : http://www.vbulletindev.net/forums/h...hack&hackid=65 http://www.vbulletindev.net Please click https://vborg.vbsupport.ru/ if you like this hack With this hack, you can choose the minimum number of posts a user must have to access a forum, the minimum number of posts he must have to be able to create new threads, and the minimum number of posts he must have to be able to reply in this forum https://vborg.vbsupport.ru/ |
Does this overide Forum Permissions?
|
looks good , this is a must have for me. It's going to save me from doing it manually ;)
|
Nice, needed it alot earlier, thinking about it since I hard coded this one melf.
Very nicely done |
Looks like this would be an easier way to set these settings, but it could've already been done with secondary usergroups and promotions. I think this way looks easier and less hassle though. :up:
|
it would be great if the user could see how many posts he/she needs to view.
|
Good question! VBDEV?
Quote:
|
No, it doesn't override Forums permissions but, if you allow a certain usergroup to access the forum and that a user of this usergroup has not enough of posts, he will not be able to do what he wants in this forum
|
Um.. a person without the required posts is still able to view the thread by clicking on the latest post link from the index.
|
@Jadelit : sure of it ??? I didn't test that but I don't think coz if the user hasn't enough posts, he can't see the showthread, the no permission page is displayed
|
yes I am sure of it.. I registered a test user and clicked on the link and it worked.. I was able to view the thread and all of its posts.
|
I this going to be fixed?
|
*bump*
|
Ajoutez en dessous :
what does that mean? over write? add at end? |
Clicks to Install! Took me 7 minutes and I am NOT a pro vB.
Thanks |
I installed this recently - the intent for me was to limit one forum from users without the required amount of posts.
I since found out that it prevents anyone not logged in, from viewing ANY forum at all - no matter what the settings are on. If I remove the changes from forumdisplay.php, the situation is rectified and one can view individual forums again if not logged in. Any suggestions? |
<a href="http://www.vbulletinclub.com/index.php?styleid=43" target="_blank">http://www.vbulletinclub.com/index.php?styleid=43</a>
|
Quote:
Ye going to be sorting this? o.O |
Took me a while to figure out why Guests / Visitors could not view my website. Well the problem turned out to be this hack. This line of code change is what did it.
In forumdisplay.php, find : ********************************************* eval('print_output("' . fetch_template('FORUMDISPLAY') . '");'); ********************************************* and replace with : ********************************************* if ($foruminfo[access_nb]<=$bbuserinfo[posts] || $bbuserinfo[usergroupid]==6) eval('print_output("' . fetch_template('FORUMDISPLAY') . '");'); else print_no_permission(); ********************************************* Now for the good news is, the hack still works, even with this portion of the code taken out. Yes all the defaults were at 0 but still no guests could even view the website. So in the end I would like to understand WHY the above code did not allow the guests to view the website and what mods could be done to allow me to upgrade this on portion of the code back into forumdisplay.php I am running 3.0.3 if that matters. Guns Network Staff |
Ditto what jlaine said above, so I guess I am not the only one having the same problem. But the hack still keeps running.
GNS |
is this hack work with vb3.0.3
|
I'm running v3.06
I'm having the same problem as everyone else it seems. The following code is keeping guests from viewing forums that I have set as 0 posts required to view. --- if ($foruminfo[access_nb]<=$bbuserinfo[posts] || $bbuserinfo[usergroupid]==6) eval('print_output("' . fetch_template('FORUMDISPLAY') . '");'); else print_no_permission(); --- Has anyone figured out how to allow guests to view the forums that have the post count set to 0? I wanted to restrict certain forums, but the hack is affecting all of them. |
Hey,
Really good mod, but i have one question... Is it possible to show no permissions page when someone gets given the link to a topic in a forum that requires a certain amount of posts that he hasn't reached? Because i put some forums with the limit of 20 posts to access, but if you get the direct link to the thread you can look at the thread...so yeah wondeering if there is something u can do. |
Quote:
PHP Code:
|
seems like a good hack but i would like an error message when someone uses a direct link
|
All times are GMT. The time now is 04:53 PM. |
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:
|