![]() |
Guests may only view first page of thread
i use a small template modification in my forums, so that guests may only view the first page of a thread. otherwise they will get a (error) message
maybe someone want to use this, too in the following, XX is the number of posts shown in a thread (i think default was 25) you need to replace this 2 times in the first 2 lines according to your posts/page postbit legacy add to the very beginning: Code:
<if condition="$post[postcount] > XX and !$bbuserinfo['userid']"> Code:
</if> its my first release to please be kind ;) |
great hack! keep up the good work
|
Yeah well done!
|
*installed*
|
Does this have an effect on the Google adsense bot's that are scanning your threads?
|
well i tried to set rel="nofollow" attributes for all other pages than page 1
so i think it wouldn't affect them at all |
It would be interesting to have the same hack that does the same but for the first post
|
Quote:
in postbit_legacy replace: PHP Code:
PHP Code:
|
Quote:
It would be better to get only 1 message |
Why are all the quotes (") in the code in the first box coming out as " ????
I actually tried to install this with just copying the code (without looking at it too closely) and nearly sent my server into septic shock! Once I replaced all the " with normal quotes it all worked, but it's very odd it's posted that way, and that no one else has commented on it. but other than that, I love the concept of this and it's working well on my forum. |
All times are GMT. The time now is 02:26 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:
|