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

Reply
 
Thread Tools Display Modes
  #11  
Old 02-18-2007, 09:30 PM
oldford's Avatar
oldford oldford is offline
 
Join Date: Feb 2003
Posts: 100
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Yeah, I just noticed this also after upgrading to 3.6.4

It looks like VB switched variable names. In 3.5 it was $sub[title] but I haven't been able to figure out what it has been switched to in 3.6.4

I asked over at VB.com and they said $sub[title] had been changed to $subscription[title] however that still doesn't work for me. I still get a blank in the emails.
Reply With Quote
  #12  
Old 02-28-2007, 09:34 AM
LordDB LordDB is offline
 
Join Date: Aug 2006
Location: CoffeeFads.Co.Uk
Posts: 189
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by oldford View Post
Yeah, I just noticed this also after upgrading to 3.6.4

It looks like VB switched variable names. In 3.5 it was $sub[title] but I haven't been able to figure out what it has been switched to in 3.6.4

I asked over at VB.com and they said $sub[title] had been changed to $subscription[title] however that still doesn't work for me. I still get a blank in the emails.

Hi there

You can do this instead for the Subscription confirmation email:

Open the XML file & find:

Code:
vbmail_start();
$useremail = "$user[email]";
$subsubject = "$sub[title] - Royal Subscription";
$adminmessage = "Dear $user[username], \n\nThank you for subscribing to: Royal Membership! You've now been automatically upgraded, and have full Access to The Royal Enclosure and Elite Zones! Let me know if you have any questions.\n\nVisit Forum CellPDA.tk now to enjoy your Royal Membership privileges.\n\nhttp://www.norfolkmanagementrentals.co.uk\n\nYour financial support is much appreciated!\n\nSincere regards\n\ndaPLAYBOY\n\nMega Admin";
vbmail($useremail, $subsubject, $adminmessage);
vbmail_end();
see where it says:

Code:
$subsubject = "$sub[title] - type in your own title here"
This will work for you with no problems!

Do the same with the 'Expired' code, too!

Br.
Reply With Quote
  #13  
Old 02-28-2007, 03:17 PM
kontrabass kontrabass is offline
 
Join Date: Feb 2002
Posts: 139
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by daPLAYBOY View Post
Hi there

You can do this instead for the Subscription confirmation email:

Open the XML file & find:

Code:
vbmail_start();
$useremail = "$user[email]";
$subsubject = "$sub[title] - Royal Subscription";
$adminmessage = "Dear $user[username], \n\nThank you for subscribing to: Royal Membership! You've now been automatically upgraded, and have full Access to The Royal Enclosure and Elite Zones! Let me know if you have any questions.\n\nVisit Forum CellPDA.tk now to enjoy your Royal Membership privileges.\n\nhttp://www.norfolkmanagementrentals.co.uk\n\nYour financial support is much appreciated!\n\nSincere regards\n\ndaPLAYBOY\n\nMega Admin";
vbmail($useremail, $subsubject, $adminmessage);
vbmail_end();
see where it says:

Code:
$subsubject = "$sub[title] - type in your own title here"
This will work for you with no problems!

Do the same with the 'Expired' code, too!

Br.
Sure, that will work, but it won't output the sub title variable. I mean, if you have multiple subscription names, hard coding the title isn't really a solution. It works ok as a temporary fix, but it would be best to output the sub name as a variable.
Reply With Quote
  #14  
Old 07-09-2007, 11:25 PM
Hornstar Hornstar is offline
 
Join Date: Jun 2005
Location: Australia
Posts: 2,469
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I would like to send out a different pm/email for each different subscription.

It is a shame this is not a supported hack by now, because it would be ultimate!

I really need this by OCT as I will be going away for a month, so hopefully someone can come up with one for the community.
Reply With Quote
  #15  
Old 07-10-2007, 01:07 AM
bada_bing's Avatar
bada_bing bada_bing is offline
 
Join Date: Feb 2004
Location: Michigan
Posts: 1,698
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

This is great info.. Thanks
Reply With Quote
  #16  
Old 11-27-2007, 02:07 PM
klaush klaush is offline
 
Join Date: Oct 2005
Posts: 340
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by oldford View Post
Yeah, I just noticed this also after upgrading to 3.6.4

It looks like VB switched variable names. In 3.5 it was $sub[title] but I haven't been able to figure out what it has been switched to in 3.6.4

I asked over at VB.com and they said $sub[title] had been changed to $subscription[title] however that still doesn't work for me. I still get a blank in the emails.
Hello,

did any of you solve this for 3.6.8?

Thanks...
Reply With Quote
  #17  
Old 01-11-2008, 07:48 AM
kafi kafi is offline
 
Join Date: Apr 2004
Posts: 379
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Is there anyone to pick this add-on? I wish I can send more than one reminder:

1 month ahead
2 weeks ahead
1 week ahead
1 day ahead
Reply With Quote
  #18  
Old 01-15-2008, 11:38 AM
butty butty is offline
 
Join Date: Nov 2001
Location: manchester, uk
Posts: 125
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by ChurchMedia View Post
I have one that isn't quite ready to release, but you shouldn't have any problems. It will send an email to the admin and user when someone pays for a subscription and then also send an email to the admin and user when it expires (at midnight it sends out the expiration emails).

Just go through the code and customize it for your needs. Then add it as a product.

I'm using it with no problems.
been looking for something like this, much respect to you my friend!
Reply With Quote
  #19  
Old 04-09-2008, 01:00 AM
RetroDreams RetroDreams is offline
 
Join Date: Nov 2002
Posts: 238
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by kafi View Post
Is there anyone to pick this add-on? I wish I can send more than one reminder:

1 month ahead
2 weeks ahead
1 week ahead
1 day ahead
Definitely needed.
Reply With Quote
  #20  
Old 04-12-2008, 08:54 PM
CAAC CAAC is offline
 
Join Date: Mar 2008
Posts: 7
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Just copy the suscription reminder script file as many times as you need. Then change the variables in each file to the appropriate days in advance. Then add the new scripts to the scheduled tasks. I did this and my board now sends out a reminder 1 month, 2 weeks and 2 days ahead of the subscription expiration. It works great.

Tim
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 03:07 PM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2024, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.05877 seconds
  • Memory Usage 2,276KB
  • Queries Executed 14 (?)
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
  • (4)bbcode_code
  • (5)bbcode_quote
  • (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
  • (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_postinfo_query
  • fetch_postinfo
  • 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_display_complete
  • post_thanks_function_can_thank_this_post_start
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete