vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 4.x Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=245)
-   -   Show Thread Enhancements - Limited Guest Viewing -- Motivate Guests to Register (https://vborg.vbsupport.ru/showthread.php?t=231352)

Winter Sonata 02-15-2011 08:26 PM

Quote:

Originally Posted by MorgUk (Post 2162911)
Got it working eventually :) Cheers.

What is your vb version, pls ?

OldSchoolDSL 02-15-2011 08:41 PM

Quote:

Originally Posted by OldSchoolDSL (Post 2132735)
1/2 works

Register Take-Over Message never seems to show.

However, the Register Block Page works fine.

4.0.8 PL2

The above still holds true on 4.1.1

But thats good enough for me

calvinnguyen 02-18-2011 04:33 AM

So far, this is working on vb 4.1.2. Thanks Ted

emath 02-18-2011 09:11 AM

anymore feedback for vb4.1.2 ? anyone else tried?

staffurdu 02-19-2011 09:13 AM

Can I include one more usergroup other than Unregistered Usergroup? If NOT then how can I change usergroup from Unregistered Usergroup to another.

tdkmatt 02-19-2011 10:19 AM

works fine

Videx 02-19-2011 01:59 PM

Quote:

Originally Posted by staffurdu (Post 2164231)
Can I include one more usergroup other than Unregistered Usergroup? If NOT then how can I change usergroup from Unregistered Usergroup to another.

No, this mod is only designed to get guests to register. You can always try to modify the xml if you know what you're doing. But I bet whatever you're trying to accomplish can already be done with vb elsewhere.

solohdes 02-19-2011 05:28 PM

Works perfect on 4.1.1, thanks.

Ted S 02-19-2011 11:02 PM

Quote:

Originally Posted by staffurdu (Post 2164231)
Can I include one more usergroup other than Unregistered Usergroup? If NOT then how can I change usergroup from Unregistered Usergroup to another.

Either way you will have to modify the sourse code of the hack. Right now the mod checks the $show['guest'] flag. You would replace this with a group check for whatever group or groups you wish to exclude.

staffurdu 02-20-2011 03:07 AM

Quote:

Originally Posted by Videx (Post 2164280)
No, this mod is only designed to get guests to register. You can always try to modify the xml if you know what you're doing. But I bet whatever you're trying to accomplish can already be done with vb elsewhere.

Unfortunately, I am NOT that expert. Would you be please so kind to tell me how can I do this with this mod OR with another way?

What I want to do is ---->> I want to restrict the daily thread views for Registered Usergroup members (and if possible for one more usergroup Lurkers otherwise I will have to delete it if I can restrict only one usergroup).

Quote:

Originally Posted by Ted S (Post 2164446)
Either way you will have to modify the source code of the hack. Right now the mod checks the $show['guest'] flag. You would replace this with a group check for whatever group or groups you wish to exclude.

Following is the only line where I have found the $show['guest'] flag:
Code:

if ($show['guest'] AND !$lvgbot AND $vbulletin->options['lgvon'])
What should I change in this? (Sorry I dont have much knowledge about these things thats why I dont know what changing must be done. :o)


All times are GMT. The time now is 12:49 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.01377 seconds
  • Memory Usage 1,740KB
  • 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_code_printable
  • (6)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (2)pagenav_pagelinkrel
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)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