• This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn more.
User Upgrade Conversation

User Upgrade Conversation 1.6

No permission to download

AndyB

Well-known member
#1
AndyB submitted a new resource:

User Upgrade Conversation - Sends a Conversation when a member does a User Upgrade.

Description:

Sends a Conversation when a member does a User Upgrade.

(Example of Conversation)

View attachment 106611

(Example of Options page)

View attachment 106612

Features:

Message can use two variables for personalization, {username} and {board_title}.

How this add-on works:

Every 10 minutes a Cron Entry will run and send Conversations(s) to any member who has upgraded.

Questions and Answers:

Q: Will a Conversation be sent to the...
Read more about this resource...
 

Zynektic

Well-known member
#4
Hi AndyB,

I am not sure why but I just upgraded three users manually (won a forum competition) and it sent them the conversation however, it had the wrong username in the conversation. A member just replied to it showing me that it showed 'David' rather than his username. I did also upgrade a user named David.

Now sure if its causing a conflict but I use Conversation Essentials if that helps and have no error to provide, thanks.
 

Cyb3r

Well-known member
#7
Hey @AndyB is there anyway to use this for certain user upgrade?

I want to send some info to my VIP members only.

Edit: Thanks got it working. :D

Edit 2: For feature reference here's how I got it working (solution by @AndyB):

AndyB said:
You could edit the PHP code by adding one line of code.

Andy/UserUpgradeConversation/CronEntry/UserUpgradeConversation.php

Original
PHP:
        // run query
        $data = $db->fetchCol("
        SELECT user_upgrade_id
        FROM xf_user_upgrade
        WHERE recurring = 0
        ");
Edited
PHP:
        // run query
        $data = $db->fetchCol("
        SELECT user_upgrade_id
        FROM xf_user_upgrade
        WHERE recurring = 0
        AND extra_group_ids = X
        ");
X = the VIP secondary group ID.
 
Last edited:

Gene Steinberg

Well-known member
#8
Question Andy: Our member upgrades are in subscription form. So does the member get a new conversation each time the membership renews (we have monthly, annual, etc.)??
 

Amin Sabet

Well-known member
#15
If I install this addon today, will it send a PM to users who did account upgrades in the past, or just the users who do the upgrade in the future?