vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   Modification Graveyard (https://vborg.vbsupport.ru/forumdisplay.php?f=224)
-   -   Secret Admirer (https://vborg.vbsupport.ru/showthread.php?t=55119)

Splinteroid 10-24-2004 08:58 PM

Hi, I installed this perfectly and it seems to work fine, exept it won't allow a certain usergroup use it, it gives them the 'you do not have permission to view this' page. I tried messing with the options for that usergroup but I just can't get it to work. its driving me nuts. Anyone have a solution?

buro9 10-24-2004 10:31 PM

Wow, a 2.3.x install?

Erm, check the secret_admirer.php file and find the following:

Code:

//
// This is a standard array, seperate the USERGROUP id's with commas... this
// is NOT user id's... these are the id's of the usergroups who you wish to
// exclude from participating in the secret admirer hack.
//
$EXCLUDED_USERGROUPS = array(1,3,4,9);

Remove the ones you want to be able to use it ;)

Note that you should always exclude anonymous users as these would confuse the hell out of the system.

The other groups above were on my board Coppa, Unactivated and Banned.

Kassandra 10-29-2004 07:05 AM

Quote:

Originally Posted by buro9
Wow, a 2.3.x install?

Erm, check the secret_admirer.php file and find the following:

Code:

//
// This is a standard array, seperate the USERGROUP id's with commas... this
// is NOT user id's... these are the id's of the usergroups who you wish to
// exclude from participating in the secret admirer hack.
//
$EXCLUDED_USERGROUPS = array(1,3,4,9);

Remove the ones you want to be able to use it ;)

Note that you should always exclude anonymous users as these would confuse the hell out of the system.

The other groups above were on my board Coppa, Unactivated and Banned.

Thank you for the help. Was just what we need. Appreciated greatly. :)

wolfyman 07-22-2005 02:20 PM

doesthis work for vb3?

buro9 07-22-2005 02:26 PM

Quote:

Originally Posted by wolfyman
doesthis work for vb3?

https://vborg.vbsupport.ru/showthrea...secret+admirer


All times are GMT. The time now is 08:15 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.01207 seconds
  • Memory Usage 1,727KB
  • 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
  • (2)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (2)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (5)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