The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
Disallow guests to view threads, must register first Details »» | |||||||||||||||||||||||||||
Disallow guests to view threads, must register first
Developer Last Online: Jun 2020
Yes I know that there is already a a feature to stop guests from viewing threads, but then this also shows all the posts and threads counters to zero, and under Last Post it will say never (which sucks ). But, with my hack, it just asks guests to either login or register when viewing a thread and still shows all the right numbers
Instructions Open archive/index.php and find PHP Code:
PHP Code:
PHP Code:
PHP Code:
PHP Code:
PHP Code:
Show Your Support
|
Comments |
#42
|
|||
|
|||
Great hack, I too am wondering how it could be used selectively on one or more specific forums though.
|
#43
|
|||
|
|||
Quote:
|
#44
|
||||
|
||||
Very nice, i have only one problem, for those of us using portals such as vbindex i figured out taht you can still view threads as unregistered by clicking under "latest threads". Is there any way from preventing unregistered users from doing this?
|
#45
|
||||
|
||||
Quote:
So here we go: Open up the vbindex.php for vBIndex and find PHP Code:
PHP Code:
|
#46
|
||||
|
||||
Great hack, thank you. Can someone tell me how to accomplish this though: I have a few forums that only certain usergroups (paid subscribers) can access, but I want regular registered users to be able to see the post counts and threads, but not the content, just like guests now see with this hack (as opposed to "Never" and 0's). Is this possible? Thank you. Also, it works perfect for guests in these areas, just not registered users.
|
#47
|
||||
|
||||
anyone?
|
#48
|
|||
|
|||
this is very cool
|
#49
|
||||
|
||||
I checked my stats and we now have on average between 40 to 55 new registrations a day with this, thanks (compared to our usual 5 a day)! But man, I apologize to ask again, but I have a paid restricted area that we used to get about 3 people a week sign up for, but now we only one in the last month, and it's definitely because these protected areas always look empty. Any advice?
|
#50
|
||||
|
||||
Quote:
Below the newly added code from this hack, add the following: PHP Code:
|
#51
|
||||
|
||||
Thank you very much! That worked. I had to go through and add one for each forum. Not sure if there's an easier way, but this works. Thank you very much.
Here's what I added which is for 3 different forums that are only for certain groups (paid subscribers): PHP Code:
|
#52
|
||||
|
||||
Well I spoke too soon. Although it workds perfect if you manually change users to a primary usergroup, it blocks out "Secondary Usergroups" that are paid subscribers who have legitimate access.
What I'm wondering is if I can simply use the same codes, but instead of print_no_permission, add say three more that say if in a certain usergroup (paid subscribers that listed as registered id:2, and a secondary usergroup, id:35), then grant permission. For example, PHP Code:
|
#53
|
||||
|
||||
Easier way would be to do it like this:
PHP Code:
|
#54
|
||||
|
||||
Quote:
PHP Code:
|
#55
|
||||
|
||||
could it be not only no_permission,
but BIG letters: REgister as well? |
#56
|
||||
|
||||
Quote:
|
#57
|
|||
|
|||
This is a Fantastic hack but I would like it to see it take one step further
I would like it to do what it does now but only if there is X amount of guests in the forum Say when 10 people(or any #) are guests the script kicks in Is this possible? |
#58
|
||||
|
||||
Can this be done in 2.3.4? If so, can someone steer me in the right direction?
Thanks, Shady |
#59
|
||||
|
||||
Gary, great hack. Is there a way to turn this off for only one forum? I have a Guest forum that has site features etc that I link to across the site.
Thanks!!! -Jason |
#60
|
||||
|
||||
Replace
PHP Code:
PHP Code:
|
#61
|
||||
|
||||
Thanks!!!!!
|
#62
|
|||
|
|||
Quote:
How about configuring multiple forums that a user CAN view as a guest? Is there a simpler way than writing a statement for each forum? I tried the code below with no luck. PHP Code:
|
#63
|
||||
|
||||
Quote:
PHP Code:
PHP Code:
|
#64
|
|||
|
|||
Great, thanks!
|
#65
|
||||
|
||||
Glad I could help
|
#66
|
|||
|
|||
I have installed this and it is working great for us. I have one question though is there any way to get the thread title to appear in the title or in the actual text of the error page? The thread/forum/post ID# is in the url. I have tried a couple of things with out any success.
|
#67
|
|||
|
|||
Great hack! My question is this, I have about 3 forums with a few selected sub-forums I want to allow. How do I deperate them?
I tried the above and can only get one or two to work. |
#68
|
|||
|
|||
Thank you for this good hack, but....
Very important: Open template:threadbit and find: PHP Code:
PHP Code:
Notice: Make this change with all your styles. Best regards |
#69
|
|||
|
|||
God bless all the makers of "fancy" hacks (I've installed a few myself ), but this one is really useful. Thanks!
|
#70
|
||||
|
||||
Quote:
|
#71
|
|||
|
|||
Quote:
Please respond. |
#72
|
||||
|
||||
Quote:
|
#73
|
|||
|
|||
Quote:
|
#74
|
|||
|
|||
Quote:
|
#75
|
||||
|
||||
Quote:
|
#76
|
||||
|
||||
Anyone know if vb changed this in Gold (so I don't have to add this)?
|
#77
|
||||
|
||||
Quote:
|
#78
|
|||
|
|||
Quote:
Also, I just wanted to confirm it will allow google bot, adsense bot (2 different google bots), yahoo, MSN or other big bots. Seems like you had added some. But I am technically challenged. Please respond. And once again thanks for helping us out |
#79
|
||||
|
||||
Quote:
|
#80
|
|||
|
|||
Quote:
|
#81
|
||||
|
||||
Does this work with vB 3.0.0 Final? I cant find the first edit in showthread.php
|
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|