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 |
#182
|
||||
|
||||
Is this a good idea to install this hack? Do you think it'll get me more members?
|
#183
|
||||
|
||||
Quote:
The Default vB system allows you to disallow users from viewing the thread content but see the titles etc. |
#184
|
||||
|
||||
Quote:
Can view forum > Yes Can View Others Threads > Yes Can view thread content > No |
#185
|
|||
|
|||
lol, and good luck getting caught doing it. Myspace does the same thing as do other very large websites. You are highly unlikely to get penalized for something like this. Cloaking infers that you are showing DIFFERENT content to a search engine than a regular user. This isn't the case. The two see the exact same info they just must be registered to view it. Thus this is not cloaking. Do some research on the subject (I know quite a bit about the subject as I have built ip based cloaking system for sites in the past)
Quote:
|
#186
|
||||
|
||||
I'm very interested in this topic... not so much the arguing, but the tangible differences between this hack and the built-in method.
Also, was this a built-in feature in 3.0 or was it just added in 3.5? I don't recall vbulletin always having this. |
#187
|
|||
|
|||
THIS is NOT a built in feature.
|
#188
|
||||
|
||||
I didn't think so, but I haven't installed 3.5 yet. *shrug*
|
#189
|
|||
|
|||
Quote:
Which defeats the whole object if they can read the thread that way |
#190
|
|||
|
|||
I've spotted a problem with this. Even if you protect the Archive and threads from being viewed on the forum board.
They can still view them via the printthread.php link instead to bypass the permissions as a guest and still view the full thread as a printable thread version. By simply replacing the showthread name in the link they want to view with "printthread" instead. This can be done manually quite easy to view all threads as printable versions. Does anybody know how to use the same method to stop certain usergroups from accessing the printthread page? EDIT: Fixed it now for printthread. Find: Code:
globalize($_REQUEST, array('perpage' => INT, 'pagenumber' => INT)); Code:
$grouparray = array ( 3,4); if (in_array($bbuserinfo['usergroupid'],$grouparray) OR $bbuserinfo['userid'] == 0 AND !preg_match("#(google|slurp@inktomi|yahoo! slurp|lycos|ask jeeves|scooter|fast-webcrawler|turntinbot|msnbot|webcrawler|Infoseek|W3C_Val|googlebot)#si", $_SERVER['HTTP_USER_AGENT'])) { print_no_permission(); } |
#191
|
||||
|
||||
Quote:
it makes no difference what so ever. guests can still view thread content. iv had that option on since 3.5.0 was released even now i still have it on 3.5.2 and guests still can view the posts. if i edit the files that is explained on here would it work with 3.5.x ?? :ermm: |
#192
|
|||
|
|||
Quote:
|
#193
|
||||
|
||||
Yes thats correct. In the unregistered / not logged in usergroup - I selected those permissions and it didnt make a difference...
very annoying.. |
#194
|
|||
|
|||
Quote:
|
#195
|
||||
|
||||
that means in each category i have i will need to set the permission? but then it will display to them that no posts been made in that category.
I remember using your hack on the 3.0.x version... it was cool. It displayed the number of posts and latest post made etc... but then when the guest tried reading it or checking it out it will say log in.. |
#196
|
||||
|
||||
ok it displays PRIVATE... but it should act as normal.. thats what i want to show the guests and others that yeh there are posts inside that category.. but once some 1 clicks the category the LOGIN comes up
|
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|