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)

Hornstar 03-29-2008 04:20 AM

Thanks! I am actually a user that requested this several times, and even has 2 coders going to make it for me before they vanished. So I am very happy that you have made this.

ps. Will you be upgrading this to 3.7 as well, as I plan on upgrading when vb 3.7 goes gold.

ringleader 03-29-2008 06:01 PM

Quote:

Originally Posted by rmxs (Post 1477063)
Can we use something like $user etc???

Not currently. The PM body and email body cannot take variables and interpret them, unfortunately. I'll try to think of a way around this though, but until then this is not possible.

Quote:

Originally Posted by Xeder (Post 1477108)
Thanks for this.
But i was hoping if u could add an option to send a copy of that pm to a defined staff?

Yes, I will be adding a cc list that you can send the same pm/email to other people like moderators or the admin (though there's already an option in vbulletin that sends an email to the admin when someone buys a paid subscription).

Quote:

Originally Posted by DssCrazy (Post 1477210)
Also where do you type in the message to let the member know when their Paid Subscription is almost up?

Custom messages for when a paid subscription is about to expire is not currently in version 1.0
It will be in a future version though, with the option to set when each subscriber is informed (currently subscribers are emailed by default in vbulletin 2-3 days before their subscription is to expire)

Quote:

Originally Posted by hornstar1337 (Post 1477354)
Thanks! I am actually a user that requested this several times, and even has 2 coders going to make it for me before they vanished. So I am very happy that you have made this.

I noticed that people were asking for the same mod that I needed myself.
I'm glad that you like it! :D

Quote:

Originally Posted by hornstar1337 (Post 1477354)
ps. Will you be upgrading this to 3.7 as well, as I plan on upgrading when vb 3.7 goes gold.

Yes, I will be updating this for 3.7 but only when a stable version is released.
The PM system in 3.7 for automated PM's is slightly different to the system in 3.6.8 I understand, so the PM bit in this mod will almost definitely not work in 3.7
If you (of anyone else for that matter) want to install it on a 3.7 board, the emails should work the way they are set at the moment ;)

codershark 03-29-2008 09:27 PM

please make it compatible for 3.7 8)

Code Monkey 04-02-2008 12:30 AM

Hi Ringleader. Thanks for making this mod. I had a customer that was using the other defunct one and it stopped working in 3.68.

I made a change to the cpnav_autopmemailpaidsub.xml so that it would load the menu item under the paid subscription menu instead of creating a whole new menu listing. Much neater that way. If anyone else wants to change this then just replace the contents of cpnav_autopmemailpaidsub.xml with the following code.

Code:

<?xml version="1.0" encoding="ISO-8859-1"?>

<navgroups product="autopmemailpaidsub" master="false">

    <navgroup phrase="paid_subscriptions" permissions="canadminusers" hr="true" displayorder="170">

        <navoption displayorder="500">
            <phrase>email_pm_manager</phrase>
            <link>pmemail.php?do=modify</link>
        </navoption>
    </navgroup>

</navgroups>

Also if you want to use variables then the best way is to use phrases instead of a text input box.

redraider 04-03-2008 11:56 PM

perfect! this is what I was looking for

ringleader 04-07-2008 12:28 PM

Quote:

Originally Posted by Code Monkey (Post 1480544)
Hi Ringleader. Thanks for making this mod. I had a customer that was using the other defunct one and it stopped working in 3.68.

I made a change to the cpnav_autopmemailpaidsub.xml so that it would load the menu item under the paid subscription menu instead of creating a whole new menu listing. Much neater that way. If anyone else wants to change this then just replace the contents of cpnav_autopmemailpaidsub.xml with the following code.

Code:

<snip>
Also if you want to use variables then the best way is to use phrases instead of a text input box.

Good idea, Code Monkey.
I guess I just started building it as though it was going to be larger initially than it actually ended up being :)

Re: variables.
I can't seem to get my head around how to construct a phrase like that, so that cleanliness was being kept for a later version. Sure no-ones particularly notices for the time being ;)


****** NOTE FOR ALL - JUST SO YOU ARE AWARE *********
Be aware all that if you manually change, delete or extend someone's subscription in the Admincp it will resend the email and/or PM to the person. This is because the subscription is re-built again by vbulletin, and the email/pm bit is executed on build.

It won't affect you really, is not particularly bad, and you probably won't ever encounter this anyway!

redraider 05-12-2008 05:02 PM

any changes for 3.7 version?

ringleader 06-01-2008 05:01 PM

I haven't a clue, redraider. I haven't upgraded my boards yet.

Since it doesn't use form tokens, it will work in versions up to 3.6.10

Let me know if you see any problems with it, will you?

MessiAz 06-13-2008 06:05 PM

i would like to see a 3.7.1 version
thank you

fariborz 06-24-2008 12:12 AM

I installed in 3.7.1 PL2
I have not any problem with this product, just can't send any email to users.

I like to to see your updates.
Thanks


All times are GMT. The time now is 01:04 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.02140 seconds
  • Memory Usage 1,746KB
  • 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
  • (2)bbcode_code_printable
  • (6)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (3)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