Go Back   vb.org Archive > vBulletin Modifications > Archive > vB.org Archives > vBulletin 2.x > vBulletin 2.x Full Releases
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools
Auto add users to PerlDesk DB upon vB registration Details »»
Auto add users to PerlDesk DB upon vB registration
Version: 1.00, by noppid noppid is offline
Developer Last Online: Sep 2015 Show Printable Version Email this Page

Version: 2.3.x Rating:
Released: 09-10-2003 Last Update: Never Installs: 2
 
No support by the author.

Version .10 | Copywrite noppid 2003
This code will automatically add users to a perldesk MySQL database
upon registration to a vBulletin forum. This is achived in two steps.

a.) When the user registers, an entry into a new table will be made with
that users login information for perldesk.

b.) When the user is approved and sent an activation notice they will
be added to the perldesk users database upon activation. This is done
to give some control of the building of the users database in perldesk.
Otherwise each registration would automatically add a user to perldesk
too. Some may prefer this, who knows? If so put the code all in
part one, it should work but was not tested.

If an error occurs the techadmin in your config.php will be notified
via email as to which function failed so you can take action. Once
operating properly the only error we can foresee is that a username
is already in use on the perldesk users database and not in vBulletin.
This would cause the user to be added only to vBulletin and the techadmin
will be notified via email to add the user to perldesk by hand. If the
techadmin is sent any emails the user did not get added to perldesk.
Errors are unlikely though and the routines will aid installation
troubleshooting only most likely.

Outlined below are the four steps necessary to make the code functional.
You must have your perldesk MySQL database access information and access to
your vBulletin installation's FTP or equivelent to patch the two files. You
also need access to your vBulletin MySQL database to run a MySQL query to
add the necessary table for the code to work. phpMyAdmin works well for this.

Two files need to be edited on your vBulletin installation, register.php
in the forums folder and config.php in the forums/admin folder.

A table needs to be added to your vbulletin installation's MySQL database
as well.

There is no screen shot since the process is transparent in the background.

Show Your Support

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

Comments
  #2  
Old 09-12-2003, 08:41 AM
Floris Floris is offline
 
Join Date: Jan 2002
Posts: 1,898
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

If a user changes his vbulletin password, is the pass in the perldesk db also changed ?
Reply With Quote
  #3  
Old 09-12-2003, 09:13 AM
Dean C's Avatar
Dean C Dean C is offline
 
Join Date: Jan 2002
Location: England
Posts: 9,071
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Good thinking there floris

This is an excellent idea for hosting companies.

[high]* Mist likes [/high]
Reply With Quote
  #4  
Old 09-12-2003, 09:20 AM
PixelFx PixelFx is offline
 
Join Date: Dec 2002
Posts: 1,117
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I'm buying perl desk soon so I'll add installed now are there any issues I should look out for? and I was hoping a hack like this would come out, thanks very much this saves a lot of work
Reply With Quote
  #5  
Old 09-12-2003, 05:15 PM
noppid noppid is offline
 
Join Date: Mar 2003
Location: Florida
Posts: 1,875
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by PixelFx
I'm buying perl desk soon so I'll add installed now are there any issues I should look out for? and I was hoping a hack like this would come out, thanks very much this saves a lot of work
Well right off the bat one shortcoming may be as xiphoid pointed out, if a user changes their vB password the Perldesk password is not auto changed. This can become a feature though easily I'm sure.

I wrote this about 6 months ago and was sitting on it. I didn't really plan to release it but found it and said what the hay.


Also the code was originally written to be used on boards where email verification is on for registration.
Reply With Quote
  #6  
Old 09-26-2003, 01:41 AM
PixelFx PixelFx is offline
 
Join Date: Dec 2002
Posts: 1,117
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I just bought the latest version of perldesk so would love to see any updates if you have time to work on it, I'll send you a link when I have it setup and intergrated into my site layout
Reply With Quote
  #7  
Old 10-01-2003, 03:12 AM
FlyBoy73 FlyBoy73 is offline
 
Join Date: Jan 2002
Location: Texas, USA
Posts: 297
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

This is absolutely awesome! I put in a request at Scriptlance to have someone integrate this with my vbulletin database but the prices I was getting was about $200.00! Thank you so much for this hack as I am going to be using Perl Desk for my members on my larger communities..
Reply With Quote
  #8  
Old 10-01-2003, 04:50 AM
SteveK SteveK is offline
 
Join Date: Oct 2001
Location: Seattle, WA USA
Posts: 41
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

This will work in VB3 with some slight changes.
Reply With Quote
  #9  
Old 10-01-2003, 02:30 PM
noppid noppid is offline
 
Join Date: Mar 2003
Location: Florida
Posts: 1,875
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by dFrisk
This is absolutely awesome! I put in a request at Scriptlance to have someone integrate this with my vbulletin database but the prices I was getting was about $200.00! Thank you so much for this hack as I am going to be using Perl Desk for my members on my larger communities..
There's a donation button at the bottom of our forums.

I'm glad it's helpful.
Reply With Quote
  #10  
Old 10-04-2003, 03:54 AM
FlyBoy73 FlyBoy73 is offline
 
Join Date: Jan 2002
Location: Texas, USA
Posts: 297
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I'll be using it..
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 01:28 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.04922 seconds
  • Memory Usage 2,287KB
  • Queries Executed 23 (?)
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_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (6)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
  • (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_display_complete
  • post_thanks_function_can_thank_this_post_start
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete