vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.7 Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=228)
-   -   Add-On Releases - Limited Guest Viewing -- Motivate Guests to Register (https://vborg.vbsupport.ru/showthread.php?t=178720)

Ted S 10-11-2008 04:18 AM

Quote:

Originally Posted by SFertitta72 (Post 1642376)
Is this compatible with 3.6.10??

:)

No. This is for 3.7.

Traxdata 10-22-2008 09:00 AM

Quote:

Limited Guest Viewing -- Motivate Guests to Register
for guests only or can I motivate some usergroups to post with this hack?
thank you

bond010007 10-24-2008 12:26 AM

<font color="green">great mod i really looking for one like that yhank you so much</font>

shadyninja 10-26-2008 11:21 PM

my favorite mod

Ted S 10-27-2008 12:20 AM

Quote:

Originally Posted by Traxdata (Post 1650273)
for guests only or can I motivate some usergroups to post with this hack?
thank you

This is written for guests and isn't about posting but registering. I'd suggest looking at welcome headers if you want to get more posting.

desmomax 10-27-2008 02:36 PM

great mod.. but i dont understand how it works.
i mean, i have set all my forum in order to let see the subjects but not read the threads to not-registered users.

Now i have installaed your mod but, if i try to read a thread not logged on, i see the normal error message that explain that i dont have permission or.. etc..

so.. what i did wrong? why dosnt work?

many thanx

Ted S 10-27-2008 03:34 PM

Quote:

great mod.. but i dont understand how it works.
That's a bit of an odd statement but ok....

Quote:

i mean, i have set all my forum in order to let see the subjects but not read the threads to not-registered users.

Now i have installaed your mod but, if i try to read a thread not logged on, i see the normal error message that explain that i dont have permission or.. etc..
If you've set your forums not to let guests view threads then this mod won't do anything. The point of the mod is to stop people from viewing more than a certain number of threads (i.e. they can see 5 then can't see anymore) hence the name "limited guest viewing". To make it "work" they [guests] have to be able to see threads. If you don't want them seeing threads ever don't use this mod.

desmomax 10-27-2008 03:46 PM

OK.. i understand, now it works.. i gave full access to visitor and your mod stop them after xx thread read..
very nice!
a question:

it works just with cookies? if a user delete his cookies he can read 5 more thread?

Ted S 10-27-2008 06:58 PM

Yes it is cookie based. Yes if they remove cookies it will reset their count so they can read again.

wma 10-27-2008 09:53 PM

hello,

great mod! i have installed it in my vb 3.7.3 PL1, but the mod dont work.

my guests are have full access to the forums and to the threads. now i've installed the mod and ste the view limit to 2 (for a test). i choose another browser (safari, normaliy i surf with IE) and browse through my board. but i didn't get any message.

here are my settings:

Enable Limited Guest Viewing
yes

Enable Register Take-Over Message
yes

Register Take-Over Message Count
2

Enable Register Block Page
no

Register Block Page Count
10

i have test it with another browser (firefox), but the mod don't work.

any idea?

thanks for help!

best regards
tom

Ted S 10-27-2008 10:02 PM

Quote:

Originally Posted by wma (Post 1654127)
hello,

great mod! i have installed it in my vb 3.7.3 PL1, but the mod dont work.

my guests are have full access to the forums and to the threads. now i've installed the mod and ste the view limit to 2 (for a test). i choose another browser (safari, normaliy i surf with IE) and browse through my board. but i didn't get any message.

here are my settings:

Enable Limited Guest Viewing
yes

Enable Register Take-Over Message
yes

Register Take-Over Message Count
2

Enable Register Block Page
no

Register Block Page Count
10

i have test it with another browser (firefox), but the mod don't work.


any idea?

thanks for help!

best regards
tom

In firefox browse to see if you have the cookie with the name "lgv". Let me know if those shows up or not (as a guest of course).

wma 10-27-2008 10:14 PM

hi and thanks for your fast replay!

so, i have read your install instruction again ;-) ... and put the $lgv... in the template navbar (at the end). in safari i have seen ONE TIME the message, but no more. in firefox i dont see the message.

so i open firebug and allow cookies, here are the results:

bcuserlgv=31; expires=Tue, 27 Oct 2009 23:10:40 GMT; path=/; domain=www.xxxxxxx.de

i can't see the message in FF too.

best regards,
tom

TheFocusElf 10-28-2008 12:35 AM

I have the mod installed, but it is not showing in on any pages, or even on VBA's CMPS.

I searched the thread and am shrugging in dismay.

Ted S 10-28-2008 04:26 AM

Quote:

Originally Posted by TheFocusElf (Post 1654205)
I have the mod installed, but it is not showing in on any pages, or even on VBA's CMPS.

I searched the thread and am shrugging in dismay.

Have you added the variable to your templates? Are you viewing the threads as a guest?

Ted S 10-28-2008 04:27 AM

Quote:

Originally Posted by wma (Post 1654134)
hi and thanks for your fast replay!

so, i have read your install instruction again ;-) ... and put the $lgv... in the template navbar (at the end). in safari i have seen ONE TIME the message, but no more. in firefox i dont see the message.

so i open firebug and allow cookies, here are the results:

bcuserlgv=31; expires=Tue, 27 Oct 2009 23:10:40 GMT; path=/; domain=www.xxxxxxx.de

i can't see the message in FF too.

best regards,
tom

Looks like the cookie made it. Did you add the variable to your templates to make the message show up?

wma 10-28-2008 06:23 AM

hello,

"... and put the $lgv... in the template navbar (at the end)"

yes, i do so, but nothings show. i put the variable only to the template $navbar.

is this right?

Ted S 10-28-2008 06:44 AM

The variable is $lgvmessage and should go in the navbar template for each style where it is modified (this may require editing multiple templates if you offer more than one style).

wma 10-28-2008 07:22 AM

hi ted,

the i do it right.
ich haveput the variable in the main style (and this is the only style) at the end of the template navbar. here is a snap :

PHP Code:

...
<!-- / 
PAGENAV POPUP -->
</if>

$ad_location[ad_navbar_below]
$lgvmessage 

after i edit the navbar i have seen the message for one time in safari, but no times in IE or in FF. i surfed as guest...


best regards,
tom

TheFocusElf 10-28-2008 12:03 PM

Quote:

Originally Posted by Ted S (Post 1654281)
Have you added the variable to your templates? Are you viewing the threads as a guest?

Ted, I want to thank you for your reply. And yes I did make all the changes specified, removing the "guest viewing" portion of code, etc.

About an hour AFTER making this post, it suddenly started working and displaying on my testing machine, so... cache issue? I don't know. But it is working, and it is fantastic. So I thank you.

Embedded some video too! :D

desmomax 10-28-2008 01:28 PM

I dont understand.. i have to insert in navbar the text like this:

<!-- / PAGENAV POPUP -->
</if>
$lgvmessage

or as inserted above:
<!-- / PAGENAV POPUP -->
</if>

$ad_location[ad_navbar_below]
$lgvmessage

anyway.. i cant see nothing in my navbar..
why?
thanx

Ted S 10-28-2008 05:58 PM

Quote:

Originally Posted by desmomax (Post 1654506)
I dont understand.. i have to insert in navbar the text like this:

<!-- / PAGENAV POPUP -->
</if>
$lgvmessage


or as inserted above:
<!-- / PAGENAV POPUP -->
</if>

$ad_location[ad_navbar_below]
$lgvmessage


anyway.. i cant see nothing in my navbar..
why?
thanx

Either way is fine.

Why? Not sure... if it's installed, on and the cookie is set it will show up. Send me a URL...

abrecher 10-29-2008 04:18 PM

Is there any way we can use an image instead of the text that's shown to guests ?

Ted S 10-29-2008 10:19 PM

Quote:

Originally Posted by abrecher (Post 1655435)
Is there any way we can use an image instead of the text that's shown to guests ?

You sure can... just edit the template file limited_guest_viewing to have whatever HTML you like. For the block message you would have to add the image to the message phrase; you can't change the entire page to be an image although I doubt that was your question :D

wma 10-29-2008 11:05 PM

ted,

it works. now. after 2 days of install. i think, my system stores an older cookie ... a very great work and many thanks for support!

and now .. i need a hack to motivate users, who registered and have still 0 posts on there counter ;-)))))

best regards,
tom

M A T 10-30-2008 02:26 AM

Good, worked !

MonkYZ 11-02-2008 10:37 AM

Is there a way i could "reset" the counter ? Let's say, after a week or so, even guests to be allowed (again) to see the pages for "x" times.

Also, i was wondering, is this search engines friendly ? I am afraid for some search bots to not be stopped by Limited Guest Viewing :)

Thx in advance !

Armageddonz 11-02-2008 03:15 PM

Thanks for this useful mod. Mark as installed. =)

K4GAP 11-02-2008 03:41 PM

I'm wanting to install this but since I'm just a step above newbie, are all the bugs worked out yet? I'm a scaredy cat and don't want to have to dig into an area I don't know much about. Is it safe to just install from file? Or are there other things I'll have to do?

Thanks'
Gary

Ted S 11-02-2008 05:54 PM

Quote:

Originally Posted by GaryT (Post 1657930)
I'm wanting to install this but since I'm just a step above newbie, are all the bugs worked out yet? I'm a scaredy cat and don't want to have to dig into an area I don't know much about. Is it safe to just install from file? Or are there other things I'll have to do?

Thanks'
Gary

There are no known bugs for this addon. That said, if you are not comfertable running addons and modifying templates you should not use them or should have an admin on your team who can assist you.

The installation process is explained in the install file which can be found with the plugin zipfile.

Ted S 11-02-2008 05:55 PM

Quote:

Originally Posted by MonkYZ (Post 1657762)
Is there a way i could "reset" the counter ? Let's say, after a week or so, even guests to be allowed (again) to see the pages for "x" times.

This is certainly something you could add but does not exist in the system today.

Quote:

Originally Posted by MonkYZ (Post 1657762)
Also, i was wondering, is this search engines friendly ? I am afraid for some search bots to not be stopped by Limited Guest Viewing :)

Please read the main post and install file which explain how this addon works in relation to spiders.

abrecher 11-03-2008 02:53 AM

I think a good option to add to this mod is to have a link at the bottom of the annoyance message that allows them to skip signing up for another X posts read. We should be able to set that # and we could have a max # they can view until they're totally locked out.

Ted S 11-03-2008 04:07 AM

Quote:

Originally Posted by abrecher (Post 1658278)
I think a good option to add to this mod is to have a link at the bottom of the annoyance message that allows them to skip signing up for another X posts read. We should be able to set that # and we could have a max # they can view until they're totally locked out.

Thank you for your suggestion!

Traxdata 11-06-2008 08:39 PM

Quote:

Originally Posted by Ted S (Post 1653454)
This is written for guests and isn't about posting but registering. I'd suggest looking at welcome headers if you want to get more posting.

let me say, for selected usergroups? possible or not?
thank you!

Ted S 11-07-2008 04:08 AM

Quote:

Originally Posted by Traxdata (Post 1660775)
let me say, for selected usergroups? possible or not?
thank you!

Possible, sure. Take modification though.

Konstantinos 11-09-2008 08:23 AM

how can we make that this mod instead of the showthread to work for header or headinclude so that user has limited viewing to ALL forum pages like profiles etc

Ted S 11-10-2008 12:41 AM

Quote:

Originally Posted by Konstantinos (Post 1662211)
how can we make that this mod instead of the showthread to work for header or headinclude so that user has limited viewing to ALL forum pages like profiles etc

You would have to modify the addon to look at all pages and conditions... basically take the logging function and rewrite where it's called.

djwins 11-10-2008 08:25 AM

It would be cool if there was an option to "Include forum ids" in the admin page, rather than just exclude...

For those with many forums, it would be kind of annoying to enter in a whole bunch of numbers if they only want to use this on 1 or 2 forums.

Thanks for the cool mod!

desmomax 11-11-2008 08:49 AM

Quote:

Originally Posted by Ted S (Post 1654727)
Either way is fine.

Why? Not sure... if it's installed, on and the cookie is set it will show up. Send me a URL...

www.ilbraccoitaliano.net

ted,
i notice that a user can read anyway all threads.. it's enought click Archive and then your hack doesnt works and the user can read everything..

thanx

Ted S 11-11-2008 02:46 PM

Quote:

Originally Posted by desmomax (Post 1663422)
www.ilbraccoitaliano.net

ted,
i notice that a user can read anyway all threads.. it's enought click Archive and then your hack doesnt works and the user can read everything..

thanx

The archive is not covered by this hack nor is it meant to be.

desmomax 11-11-2008 03:02 PM

Ok.. i understand.. but so a guest is free to see all the threads..


All times are GMT. The time now is 09:15 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
  • Page Generation 0.01532 seconds
  • Memory Usage 1,840KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)bbcode_php_printable
  • (20)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (40)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • printthread_start
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete