vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin.org Site Feedback (https://vborg.vbsupport.ru/forumdisplay.php?f=7)
-   -   Why is there a Membership list anyway? (https://vborg.vbsupport.ru/showthread.php?t=298964)

TTayfun 07-17-2013 09:26 AM

@Paul M I think calendar.php should be limited from guest ;)

Paul M 07-18-2013 05:34 PM

For what reason ?

Simon Lloyd 07-19-2013 04:46 AM

Quote:

Originally Posted by Paul M (Post 2434320)
For what reason ?

So spammers get confused and wear the wrong underwear on the wrong day :)

socialteenz 07-19-2013 06:03 PM

Quote:

Originally Posted by Simon Lloyd (Post 2434373)
So spammers get confused and wear the wrong underwear on the wrong day :)

Nuff said :D

Bryan Ex 01-01-2014 11:43 PM

Members list is actually very useful on my website. My board caters to maple syrup producers and the added profile fields let them search for other local producers or producers with similar equipment. Given we often meet at various trade shows and tours it's a very helpful feature.

Calendar on the other hand I have tried to use on multiple boards and always seems to end up ignored and neglected in the long run.

Simon Lloyd 01-02-2014 03:38 PM

Quote:

Originally Posted by TTayfun (Post 2434098)
@Paul M I think calendar.php should be limited from guest ;)

If you really want to hide it from guests simply put this in a plugin
PHP Code:

if(THIS_SCRIPT == 'calendar' AND is_member_of($vbulletin->userinfo,1,3,8)){
header'Location: http://www.google.com' ) ;


Use global_complete as the hook

No any person not logged in, banned or awaiting email confirmation will get redirected when trying to view the calendar, of course you dont have to redirect them you can display a message...etc

I've just added the above to show folk how they can deny any usergroup from any script :)
enjoy!

BirdOPrey5 01-03-2014 10:36 AM

Can replace the header line above with this to show the usual vBulletin no-permission message-
PHP Code:

print_no_permission(); 



All times are GMT. The time now is 09:32 AM.

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.00980 seconds
  • Memory Usage 1,728KB
  • 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_php_printable
  • (3)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (1)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (7)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