vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.6 Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=194)
-   -   Mini Mods - MNG - Send Custom PM or Email to User on Paid Subscription (https://vborg.vbsupport.ru/showthread.php?t=174436)

stamos2003 06-25-2008 02:06 PM

awesome, I will give it a try!

Konstantinos 07-19-2008 07:33 AM

Quote:

* Email text always includes the expiry date of the subscription (hardcoded).
* Email text always includes a link to the members' profile.
how do we include this in pm too

Konstantinos 08-02-2008 05:59 AM

Quote:

Originally Posted by fariborz (Post 1557308)
I installed in 3.7.1 PL2
I have not any problem with this product, just can't send any email to users.

well if this is not a problem than what whould be ? :D

MrEyes 08-08-2008 10:09 AM

I have installed this on my 3.7.2 test forum and everything seems to work as intended which is great.

However, I have noticed a quirk....

If an admin goes to ACP Paid Sub Manager and edits an existing user subscription then a PM is also sent to the user. Is there anyway to stop this from happening?

And, I have a couple of suggestions....

It would be great to have replacement variables in the PM text, for example:

Quote:

Hello {UserName}

Thanks for subscribing to {PaidSubName}, I can confirm that we have received your payment of {PaidSubAmount} and your account has now been upgraded
So this would be received as


Quote:

Hello JohnDoe

Thanks for subscribing to The Greatest Subscription on Earth, I can confirm that we have received your payment of ?1,000,000 and your account has now been upgraded
Another suggestion, which I am sure many people will really appreciate is the ability to run custom SQL calls on subscription. As a silly example, buying a paid sub increases your post count by 100 and gives you 1000 in casino money (see Casino mod here on vb.org) So you would define additional SQL as:

Quote:

update user set posts = posts + 100 where userid = {userid}
update user set casino_cash = casino_cash + 1000 where userid = {userid}
And finally, another suggestion - have the ability to exclude usergroups/userid from receiving the PM

EDIT: Note to self, read the entire mod description before wading in with a "quirk report" ;) However having the ability to exclude userid from the PM could prevent this. So if an admin is making a sub edit they temporarily add the userid into exclusions, make the edit and then remove it.

EDIT 2: If for whatever reason you do not want to make these changes do you mind if I take the current mod code base and extend it to perform these functions?

ringleader 08-13-2008 08:11 PM

Hey guys, I've been reading the posts and keeping up with the suggestions and such on this thread, but I've been snowed under with work for the past while (new job and all that jazz).

I will be free in about 2 weeks to begin working on this again immediately. Thanks for supporting the mod! Apologies for not getting the time to respond earlier.

fariborz 08-18-2008 11:35 AM

I'm using vBulletin 3.7.2 PL2, and i'm moving my second DataBase to other server.
After that your problem is not worked for me!!
and after add paid i received this error:

FATAL ERROR

Unable to proceed with save while $errors array is not empty in class vB_DataManager_PM in [path]/includes/class_dm.php on line 810
#0 vb_error_handler(256,

===================

What can i do now?

kafi 09-11-2008 09:10 AM

Some of my users got PM and Email although I havent updated or changed their subscriptions.
The time when messages was sent gives me hint that this happen somehow along with subscription script reminder.

Is that possible? What really trigger these mesages in this add-on?

fariborz 09-15-2008 12:25 AM

please update this plugin, i so need to using this :(

nocturnix 12-07-2008 01:29 PM

I would love to see an update too!

stamos2003 01-29-2009 01:49 PM

what about an option for sending PMs on subscription end? ;)


All times are GMT. The time now is 05:41 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.01224 seconds
  • Memory Usage 1,737KB
  • 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
  • (5)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)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
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete