Go Back   vb.org Archive > Community Discussions > Modification Requests/Questions (Unpaid)

Reply
 
Thread Tools Display Modes
  #1  
Old 08-06-2002, 06:04 PM
ladyfyre's Avatar
ladyfyre ladyfyre is offline
 
Join Date: Nov 2001
Posts: 151
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default Need to hire someone ASAP for an integration

Ok all, I posted a request a few days ago for a two fold need....but one of those needs has just taken a major priority, and I now need it ASAP.

The attached file is a .pl script which is used for subscription access maintenance for a paid area. It is designed to work with an .htaccess file, but it is also designed with a db option in mind.

I need someone to find a way to tie this into the VB structure, so that on sucessful payment, the user is moved from one usergroup to another...and on expiration of their billing (or cancellation), the user is then put back into the "registered" usergroup.

PLEASE help me out on this one...I can pay via Paypal or Credit Card.

Actually...after looking one more time, this might not be so bad after all.....

It only really uses two validation variables: username and password. These do NOT have anything to do with the user's username and password that they use to access the boards. They are simply the payment verification info.

Sooooo......

If we can add two fields into the user's data table, for username and password, and get the .pl file to pass them to our vb database, then it would simply be a matter of setting up a "upgrade" page link in the user's profile which would ask them to confirm their payment username and passcode (although this would have to be set up so that no two board handles could be upgraded based on the same username/password combo from the payment module to prevent password sharing.

The confirm would upgrade them into the usergroup....and upon expiration of the account, the username/password would have to be looked up and the attached user account moved back into the registered usergroup.
Attached Files
File Type: txt verotelrum_pl.txt (8.9 KB, 24 views)
Reply With Quote
  #2  
Old 08-07-2002, 08:34 PM
Paul Paul is offline
 
Join Date: Jan 2002
Posts: 211
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I am so confused as to what you're trying to do

Where does the username/password combination confirming payment come from? Some sort of 3rd party billing site? Is that what this perl script integrates with?

Or does this perl file allow you to set access? Changing a user's usergroup is simple, requiring a few lines of code. Please help me understand this further.

P.S. - I don't particularly like the idea of charging for help
Reply With Quote
  #3  
Old 08-07-2002, 09:12 PM
ladyfyre's Avatar
ladyfyre ladyfyre is offline
 
Join Date: Nov 2001
Posts: 151
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Thanks for answering!!!!!! I was starting to lose hope....

The script works with a 3rd party billing site. When a person signs up for a membership, the site accesses that script, and the script is supposed to write the username & password (both randomly selected) to a data file which the .htaccess file calls to. Problem is, i am not trying to secure a directory....so the .htaccess method does NO good. What i am trying to accomplish, is to get the system to automatically upgrade a user to a set usergroup when they sign up, and then when the system deletes their access due to cancellation, have them returned to the standard registered users group.
Reply With Quote
  #4  
Old 08-08-2002, 12:37 PM
treszoks treszoks is offline
 
Join Date: Oct 2001
Posts: 20
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Since the user/pass from this script does not match the vb user/pass, how will you relate them together? I see a method of doing this, but it might require an additional script to work. I could alter the perl one to add the user/pass info to another db table. Then the vb person who signed up would go to another script to type in the user/pass for this account and it would automatically upgrade their vb usergroup. Deleting would be slightly more difficult, but it could probably be added directly to the perl script to alter the matching vb-stored user/pass info and modify their usergroup. Do you have the perl DBI installed so you can accesss mysql?
Reply With Quote
  #5  
Old 08-08-2002, 12:49 PM
ladyfyre's Avatar
ladyfyre ladyfyre is offline
 
Join Date: Nov 2001
Posts: 151
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

To address the first question of how to relate them together:

Ok...my mind tends to work a little different, so feel free to correct me if i am wrong here (i am not a programmer, just a self taught webmistress who dabbles in picking up new stuff)....anyway, here is what i was thinking:

Add a field into the user data table to hold the subscription username value for that userid.

Upon signing up, the member is directed to a URL you determine in the verotel's site CP....preferably a private .htaccessed directory. In that directory, make the index.php a script which will ask them for 4 things: Their board username and password (although it would be great if it would auto-detect the ones who have cookies enabled), and their payment username and password (sent to them by verotel).

That script would confirm against the data file the verotelrum.pl script has already added them into, and in the case of the username/password matching, the system would add V-paymentID# into the paymentID field in their userdata....and upgrade them to the proper usergroup. In the event of a mismatch, it would simply give them a wrong password error.

On the removal of an account, it would simply search the userbase for the payment code from the field, and upon finding it, would delete the usercode, and move them back into the registered usergroup.

Don't know if any of this makes sense to anyone but me though.

Perl DBI?? i THINK so.....but honestly am not positive. This is, however a colocated server..and since i own it, i can add pretty much anything i need to.
Reply With Quote
  #6  
Old 08-08-2002, 09:45 PM
treszoks treszoks is offline
 
Join Date: Oct 2001
Posts: 20
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

That's pretty much exactly what I said. Shouldn't be too hard to setup.
Reply With Quote
  #7  
Old 08-09-2002, 01:03 AM
ladyfyre's Avatar
ladyfyre ladyfyre is offline
 
Join Date: Nov 2001
Posts: 151
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

very cool

thank you VERY much for looking into this for me!!!
Reply With Quote
  #8  
Old 08-09-2002, 12:31 PM
treszoks treszoks is offline
 
Join Date: Oct 2001
Posts: 20
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Were you wanting me to help you with this or do you have it taken care of?
Reply With Quote
  #9  
Old 08-09-2002, 02:50 PM
ladyfyre's Avatar
ladyfyre ladyfyre is offline
 
Join Date: Nov 2001
Posts: 151
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

i definitely want you to help me with this!!!! please let me know what you need from me in order to get started.
Reply With Quote
  #10  
Old 08-10-2002, 11:30 PM
Scott MacVicar Scott MacVicar is offline
 
Join Date: Oct 2001
Location: Glasgow, Scotland
Posts: 1,199
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Or you could just add one column called membersareaaccess and use mod_auth_mysql so that they could use the same username and password

I sent you an icq amber in case you havent read it.
Reply With Quote
Reply

Thread Tools
Display Modes

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 06:58 PM.


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.04795 seconds
  • Memory Usage 2,262KB
  • Queries Executed 12 (?)
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
  • (1)ad_showthread_firstpost
  • (1)ad_showthread_firstpost_sig
  • (1)ad_showthread_firstpost_start
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)navbar
  • (3)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
  • (10)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