vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.8 Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=235)
-   -   Miscellaneous Hacks - AWCoding- Mentor (https://vborg.vbsupport.ru/showthread.php?t=250640)

Jay106n 01-20-2011 07:09 AM

Is there a difference in the german and english versions? I want to make this work so a secondary usergroup will be the mentor group with the english version 3.8.6 and 3.8.0

Jay106n 01-21-2011 08:15 AM

Quote:

Originally Posted by swapps (Post 2125290)
I use vbulletin 3.8.6. in german language.

After the AddOn-Installation you will find a "PlugIn" named "AWC-Welcome PM".
You can edit the PHP-Code:

Change
PHP Code:

WHERE usergroupid IN (".$this->registry->options['awcm_usergroups']."

INTO something like that:
PHP Code:

WHERE FIND_IN_SET('X'membergroupids

(replace X with the variable or insert the secondary groupid manually)

see: http://dev.mysql.com/doc/refman/5.0/...on_find-in-set

membergroupids is the stringlist

Got it working. Thanks :)

Jay106n 01-21-2011 11:30 AM

Can there be a way to rotate through the mentor usergroup rather than being random?

Jay106n 02-17-2011 05:53 PM

With this installed anybody who refers a person to the forum is automatically their mentor.Is there a way to stop a non-mentor user from receiving the notification if they directly refer somebody to the forum? I don't want my non-mentor users to become a mentor just because they referred somebody.

AWJunkies 03-08-2011 05:30 PM

Thanks for helping eachother. I will have an update as soon as I can get to it huge work load right now with tons of software.


All times are GMT. The time now is 12:28 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.00962 seconds
  • Memory Usage 1,729KB
  • 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
  • (1)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
  • (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