PDA

View Full Version : [3.0.0 GOLD] Forums access options (minimum posts to acces, create new threads, reply


VBDev
04-30-2004, 10:00 PM
[3.0.0 GOLD] Forums access options (minimum posts to acces, create new threads, reply)

Total hack's description : http://www.vbulletindev.net/forums/hacks_root.php?do=aff_hack&hackid=65

http://www.vbulletindev.net

Please click https://vborg.vbsupport.ru/ (https://vborg.vbsupport.ru/vborg_miscactions.php?do=installhack&threadid=64607) 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/

wrongful
05-01-2004, 02:48 PM
Does this overide Forum Permissions?

VampireMan
05-01-2004, 05:12 PM
looks good , this is a must have for me. It's going to save me from doing it manually ;)

Rampag33
05-01-2004, 06:13 PM
Nice, needed it alot earlier, thinking about it since I hard coded this one melf.

Very nicely done

Majik?
05-01-2004, 10:56 PM
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:

Jadelit
05-02-2004, 12:19 AM
it would be great if the user could see how many posts he/she needs to view.

Marulatree
05-03-2004, 10:57 AM
Good question! VBDEV?
Does this overide Forum Permissions?

VBDev
05-03-2004, 03:03 PM
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

Jadelit
05-04-2004, 04:48 AM
Um.. a person without the required posts is still able to view the thread by clicking on the latest post link from the index.

VBDev
05-04-2004, 04:55 AM
@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

Jadelit
05-04-2004, 07:03 AM
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.

Jadelit
05-09-2004, 08:21 AM
I this going to be fixed?

QATAR SPEED
06-14-2004, 10:18 PM
*bump*

hukgwai
06-27-2004, 02:09 AM
Ajoutez en dessous :

what does that mean?

over write? add at end?

Kihon Kata
06-27-2004, 04:53 AM
Clicks to Install! Took me 7 minutes and I am NOT a pro vB.

Thanks

jlaine
08-05-2004, 02:38 AM
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?

alshehi
08-05-2004, 02:46 PM
<a href="http://www.vbulletinclub.com/index.php?styleid=43" target="_blank">http://www.vbulletinclub.com/index.php?styleid=43</a>

Rambo
08-07-2004, 01:09 AM
Um.. a person without the required posts is still able to view the thread by clicking on the latest post link from the index.

I got the exact same problem also..

Ye going to be sorting this? o.O

GunsNetwork
10-08-2004, 02:26 PM
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

GunsNetwork
10-08-2004, 02:28 PM
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

H2k
12-28-2004, 12:55 PM
is this hack work with vb3.0.3

sandviper
02-04-2005, 02:22 PM
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.

Rambo
02-06-2005, 05:18 PM
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.

macooper
08-21-2005, 07:01 AM
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.

I know this is a bit late, but I only just started playing with this hack. I had the same problem with guest access to the forum, and solved it by changing the forumdisplay code to this

if ($foruminfo[access_nb]<=$bbuserinfo[posts] || $bbuserinfo[usergroupid]==6 || $foruminfo[access_nb] == 0)
eval('print_output("' . fetch_template('FORUMDISPLAY') . '");');
else print_no_permission();

All this does is ignore the view permission if the required post count is set to 0, and that is the default in the database column, so it resolves the guest access issues.

Malke
12-27-2005, 09:04 PM
seems like a good hack but i would like an error message when someone uses a direct link