Send Subscription Email of Embedded Videos in Clip-Bucket v2

Hello,

Per a customer’s article suggestion posted on our Forum (http://forum.arvixe.com/smf/clip-bucket-software/suggest-articles-to-be-written/msg60009/#msg60009), this article will give you step-by-step instructions on how to make Clip-Bucket send Subscription Emails for posted embedded videos too. By default, Clip-Bucket only sends out emails when videos are uploaded. This has been tested on v2.6, however, it should work on the whole v2 branch.

1. Open ./plugins/embed_video_mod/embed_video_mod.php
2. Find

<code>function embed_video_check($vid)
	{
		global $myquery,$db;</code>

and replace with the following:

<code>function embed_video_check($vid)
	{
		global $myquery,$db,$userquery;</code>

3. Find

<code>$db-&gt;update(tbl("video"),array("status","refer_url"),array('Successful',$ref_url)," videoid='$vid'");</code>

and after that line, paste:

<code>$userquery-&gt;sendSubscriptionEmail($vdetails,true);</code>

4. Save & Upload.

And that’s it! If you get stuck at any step or for some reason it is not working for you, please let me know as soon as possible so I can work on your specific situation. Should you have any comments or article suggestions, please feel free to post them here. Have a great day!

Best Regards,

Richi

Looking for quality Clip-Bucket hosting? Try out Arvixe and you won’t be disappointed.
Tags: , , , , , , , , , , , , , , | Posted under ClipBucket | RSS 2.0

Author Spotlight

Richi González

Richi González

I started programming when I was 12. I'm a Developer and have been working with the Clip-Bucket script since it came out. I'm the Liaison between Arvixe and Clip-Bucket, so anything you need regarding Clip-Bucket or any particular computer-related subject you need, let me know so I can assist you.

Leave a Reply

Your email address will not be published. Required fields are marked *


9 − = 6

You may use these HTML tags and attributes: <a href="" title="" rel=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>