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)

troppodel 01-31-2009 06:46 AM

hi friend nice mod
can you update your mod and add the possibility to limited other usergroups and for specified forum?

thanks

Ted S 01-31-2009 03:30 PM

Neither of those functions is on my current to do list but you could easily modify the code yourself to add them until such time as I do a major upgrade.

troppodel 02-02-2009 11:09 AM

ok thanks please let me know when you update your mod and add these features
Ivan

Ted S 02-02-2009 03:15 PM

Quote:

Originally Posted by troppodel (Post 1731764)
ok thanks please let me know when you update your mod and add these features
Ivan

There is no plans for a major upgrade at this time. I expect to do a feature overhaul mid to late year depending on interest.

titodj 02-03-2009 03:50 PM

I've used this mod for a long time, and it works perfect.
But now I would like to be able to tell the users either to get registered or to come back in XX time.. but I cant figure out what is the current cookie expiration time?

Ted S 02-03-2009 04:02 PM

The system uses a default vbulletin cookie and honestly I'm not sure how long it lasts. If you want to check the cookie's expiration just view the site as a guest and open the cookie through your browser. Sorry I can't be of more help.

titodj 02-03-2009 04:09 PM

Woow, that helped, I was able to find the cookie from the website, but it was set to expire a year from today.
Could you point me as of how ti find that VB default cookie to see if the expiration can be modified?
Thanks...

Ted S 02-03-2009 04:34 PM

That's a simple enough task.
Inside the xml file for this plugin find the line:
Code:

vbsetcookie('userlgv', $lgv);
Change as follows:
Code:

vbsetcookie('userlgv', $lgv, time()+86400*5);
5 is the number of days and can be changed as you see fit.

I didn't test this so I suggest you manually check that the cookie worked right.

titodj 02-03-2009 04:39 PM

Thank you VERY much.. I will try and post the results.

Ted S 02-03-2009 04:58 PM

Please do as I'll be using your experience to make a little update so this is easier for others in the future.


All times are GMT. The time now is 10:51 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.01173 seconds
  • Memory Usage 1,735KB
  • 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
  • (2)bbcode_code_printable
  • (1)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