vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   Modification Requests/Questions (Unpaid) (https://vborg.vbsupport.ru/forumdisplay.php?f=112)
-   -   Auto changing members from "registered" to other group? (https://vborg.vbsupport.ru/showthread.php?t=47274)

Kathy 01-02-2003 04:59 PM

Auto changing members from "registered" to other group?
 
Okay, this may be a wild shot but this would be of great help to me.

I currently use PHPSHOP for my online store. My members can purchase "improved" membership status (avatars, custom title, etc) via my store.

My store places the order and when I've confirmed the payment, the store allows me to change the order from "pending" to "confirmed".

Once I do this, I have to send an email to one of my helpers who then logs into the vbulletin admin control panel to:

1. Change their status from "registered" to
Crown Jewels
Ruby or
Diamond

(These three have varying levels of membership based on payment/donation)

2. Add their username to the top of the forum home page where we hand add their name for display "Thank you to our newest subscribers"

Each of the three donor levels has a list (we keep the newest three subscribers in the three lists at the top of forum home page)

What I'd like....is to figure out how to get phpshop to send a script/command to my vb when I click on the "confirmed" status in orders that have those purchases of donors within them.

I've asked a phpshop coder to help write a script, but he's not familiar with vbulletin.

Of course, this is a side line...does VB3 have this capacity? I really need to be able to hook up my phpshop store with my vb (so that shop talks to vb) because I believe someday I'll have to go to subscriber based site anyway.

Thanks for any help on how to get this accomplished.. :D

Xenon 01-02-2003 05:06 PM

well, you can do this, by just use the right queries:

[sql]UPDATE user SET usergroupid=x WHERE userid=y[/sql]
this will move th user to a new usergroup


All times are GMT. The time now is 09:20 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.01004 seconds
  • Memory Usage 1,706KB
  • 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
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (2)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
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete