Go Back   vb.org Archive > vBulletin Modifications > vBulletin 3.8 Modifications > vBulletin 3.8 Add-ons
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools
AWCoding- Mentor Details »»
AWCoding- Mentor
Version: 1.0.0, by AWJunkies AWJunkies is offline
Developer Last Online: Apr 2012 Show Printable Version Email this Page

Category: Miscellaneous Hacks - Version: 3.8.x Rating:
Released: 09-15-2010 Last Update: Never Installs: 9
DB Changes Uses Plugins
Translations  
No support by the author.

VBulletin 3.5.x+/3.6.x+/3.7.x+/3.8.x+/4.0.x+

CLICK HERE TO MARK MOD INSTALLED


AWCoding- Mentor
Version 1.0.0
Release Date: 16th September 2010

Software Provided and coded by AWCoding

What Software Is:
It auto assigns a mentor unless they entered a correct referrer at registration then that person becomes there mentor. The software has an on and off feature for PMing the mentor about his new mentee as well as auto adding the two (mentor and mentee) as friends. You can select what usergroups are able to mentor and from these groups it selects a random person per new user registered to mentor. The software is used more or less as a help and go to person for new users to go to for help and questions. Makes things more personable and a point of contact for users. This will reduce heavy traffic to the owner/admins and spread help through the other groups (moderators and supermods). You can even create your own Mentor group and select from that group. You can also edit the mentor of a user by editing the user in adminCP. There is an option to show the mentee in userCP who there mentor is and a link to their profile.

Version History
Code:
Release version: 1.0.0
Release Date: 16th September 2010
Initial Release No Updates
System Requirements
VBulletin 3.5.x+/3.6.x+/3.7.x+/3.8.x+/4.0.x+

Install Guide
Just run the XML then:
EDIT PHRASE "welcomepm" BODY and put %mentor% where the link and username of mentor should go

Example text to add (English):
If you have any questions or issues contact your mentor: %mentor%

Example of what complete phrase (English):
Thanks for registering at $vboptions[bbtitle]! We are glad you have chosen to be a part of our community and we hope you enjoy your stay.

If you have any questions or issues contact your mentor: %mentor%

All the best,
$vboptions[bbtitle]


Final words
Please check out my new vb4 upgraded website HERE, I know it was long overdue. You will see other products like Donation System, Subscription System, Credit Purchase System, Pirate Poker System.
Much more to come in the future stay tuned for: Product System, Advertisement System, and Raffle/Lottery System.
I sincerely hope that you enjoy this software.

LITE SOFTWARE LINKS:
Click Here
Click Here
Click Here

Thank you!
Adam Ellis (AWJunkies)


Copyright
AWCoding Mentor ?2010 by AWNetwork, Inc.


CLICK HERE TO SHOW YOUR SUPPORT MOD INSTALLED

Download Now

File Type: zip AWCoding- Mentor V1.0.0.zip (3.2 KB, 49 views)

Show Your Support

  • This modification may not be copied, reproduced or published elsewhere without author's permission.

Comments
  #2  
Old 09-16-2010, 06:58 PM
AWJunkies AWJunkies is offline
 
Join Date: Jan 2005
Location: San Diego
Posts: 947
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Reserved first post
Reply With Quote
  #3  
Old 09-17-2010, 05:06 AM
Hornstar Hornstar is offline
 
Join Date: Jun 2005
Location: Australia
Posts: 2,469
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Nice work Adam. This sounds very similar to something I was hearing from another software company. This will really help promote activity from new members.
Reply With Quote
  #4  
Old 09-17-2010, 07:51 AM
MichaelDance MichaelDance is offline
 
Join Date: Dec 2009
Location: Warwickshire, UK
Posts: 156
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

seems cleaver, i'll install it
Reply With Quote
  #5  
Old 09-17-2010, 01:34 PM
Alfa1's Avatar
Alfa1 Alfa1 is offline
 
Join Date: Dec 2005
Location: Netherlands
Posts: 3,537
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Very interesting. Could you add screen shots?
Reply With Quote
  #6  
Old 09-17-2010, 06:22 PM
AWJunkies AWJunkies is offline
 
Join Date: Jan 2005
Location: San Diego
Posts: 947
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Alfa1 View Post
Very interesting. Could you add screen shots?
When I get a chance I will do videos and new screen shots of all software. Just super busy finishing up Pirate Poker Platinum and Product System. So just hang in there till I can get everything all done and put up. I have three new LITE software to put up as well.
Reply With Quote
  #7  
Old 11-18-2010, 02:36 PM
swapps swapps is offline
 
Join Date: Sep 2008
Posts: 12
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Installed! Every radio-button is enabled and 2 Users are in a new created Mentor-Usergroup.

phrases welcomepm and awcm_mentorpm are edited.

But when i register a new member no one get an PM.

Any Ideas?
Reply With Quote
  #8  
Old 11-23-2010, 05:43 PM
swapps swapps is offline
 
Join Date: Sep 2008
Posts: 12
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I found the problem: The choosen mentorgroup MUST BE PRIMARY.
To get it working with a secondary group you should change in the Plugin "AWC-Welcome PM":

Find an Replace:
PHP Code:
$mentor_info $this->dbobject->query_first(
                                SELECT userid, username  
                                FROM `"
.TABLE_PREFIX."user`  
                                WHERE usergroupid IN ("
.$this->registry->options['awcm_usergroups'].")  
                                ORDER BY RAND()  
                                LIMIT 1 
                            "
); 
WITH:

PHP Code:
$mentor_info $this->dbobject->query_first(
                                SELECT userid, username  
                                FROM `"
.TABLE_PREFIX."user`  
                                WHERE FIND_IN_SET(`"
.$this->registry->options['awcm_usergroups']."`, membergroupids)  
                                ORDER BY RAND()  
                                LIMIT 1 
                            "
); 
This will only working with ONE defined group (without commas). You cant define more then one group in this hack.
Reply With Quote
  #9  
Old 11-24-2010, 02:53 AM
EddyMaxx EddyMaxx is offline
 
Join Date: Jan 2010
Posts: 78
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

swapps... I'm a little confused. You mean this

Code:
$mentor_info = $this->dbobject->query_first(" 
                                SELECT userid, username  
                                FROM `".TABLE_PREFIX."user`  
                                WHERE FIND_IN_SET(`".$this->registry->options['awcm_usergroups']."`5)  
                                ORDER BY RAND()  
                                LIMIT 1 
                            ");
Reply With Quote
  #10  
Old 11-24-2010, 09:54 AM
swapps swapps is offline
 
Join Date: Sep 2008
Posts: 12
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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
Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 02:46 PM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2024, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.04742 seconds
  • Memory Usage 2,336KB
  • Queries Executed 24 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (2)bbcode_code
  • (4)bbcode_php
  • (1)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (4)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (1)pagenav_pagelink
  • (10)post_thanks_box
  • (10)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (10)post_thanks_postbit_info
  • (9)postbit
  • (1)postbit_attachment
  • (10)postbit_onlinestatus
  • (10)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.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/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.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
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_attachment
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete