<?xml version='1.0' encoding='UTF-8'?><feed xmlns='http://www.w3.org/2005/Atom' xmlns:openSearch='http://a9.com/-/spec/opensearchrss/1.0/'><id>tag:blogger.com,1999:blog-6748137641733869667</id><updated>2008-01-31T18:00:47.608-08:00</updated><title type='text'>PHPmotion help</title><link rel='alternate' type='text/html' href='http://www.elixiraddons.com/blogs/phpmotion/'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6748137641733869667/posts/default'/><link rel='http://schemas.google.com/g/2005#feed' type='application/atom+xml' href='http://www.elixiraddons.com/blogs/phpmotion/atom.xml'/><author><name>elixir</name></author><generator version='7.00' uri='http://www.blogger.com'>Blogger</generator><openSearch:totalResults>6</openSearch:totalResults><openSearch:startIndex>1</openSearch:startIndex><openSearch:itemsPerPage>25</openSearch:itemsPerPage><entry><id>tag:blogger.com,1999:blog-6748137641733869667.post-4457375552575026976</id><published>2007-11-21T19:55:00.000-08:00</published><updated>2007-11-21T19:59:47.238-08:00</updated><title type='text'>Prevent robot spams using CAPTCHA IMAGE</title><content type='html'>I heard lot of complaints related to the relaxed registration rules of PHPMotion compared to Vbullettin and PHPBB etc.&lt;br /&gt;I myself ran into a serious robot spamming on my website CONTACT page.&lt;br /&gt;Here is a free, elegant solution I found from http://captchas.net&lt;br /&gt;&lt;br /&gt;Here is how it works.&lt;br /&gt;&lt;br /&gt;1) Register at http://captchas.net/ and get a userid and secret key for yourself.&lt;br /&gt;2) Download the following 3 files from http://captchas.net/ for PHP solution.&lt;br /&gt;They have solutions for ASP, Perl, Python and JSP also.&lt;br /&gt;&lt;br /&gt;2.1) query.php (The code you want to put in the page you want to protect against robot spam)&lt;br /&gt;2.2) check.php (The code you want to put in the page you process the data submitted by the form)&lt;br /&gt;2.3) CaptchasDotNet.php (you don't need to change this).&lt;br /&gt;&lt;br /&gt;3) Use the userid and key to customize the following invocation (files 1 and 2):&lt;br /&gt;$captchas = new CaptchasDotNet ('userid','secret_key',&lt;br /&gt;                                'file_loc','3600',&lt;br /&gt;                                'abcdefghkmnopqrstuvwxyz','6',&lt;br /&gt;                                '240','80');&lt;br /&gt;&lt;br /&gt;&lt;span style="font-style:italic;"&gt;file_loc&lt;/span&gt; is a path to a directory on your server with write access.&lt;br /&gt;&lt;br /&gt;See the code in action on &lt;a href="http://www.elixiraddons.com/contact.php"&gt;my site&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;We can use the same to protect the registration page of PHPM as well.&lt;br /&gt;&lt;br /&gt;Hope this helps!</content><link rel='alternate' type='text/html' href='http://www.elixiraddons.com/blogs/phpmotion/2007/11/prevent-robot-spams-using-captcha-image.html' title='Prevent robot spams using CAPTCHA IMAGE'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=6748137641733869667&amp;postID=4457375552575026976' title='0 Comments'/><link rel='replies' type='application/atom+xml' href='http://www.elixiraddons.com/blogs/phpmotion/atom.xml' title='Post Comments'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6748137641733869667/posts/default/4457375552575026976'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6748137641733869667/posts/default/4457375552575026976'/><author><name>elixir</name></author></entry><entry><id>tag:blogger.com,1999:blog-6748137641733869667.post-3302424684460018045</id><published>2007-10-13T08:08:00.000-07:00</published><updated>2008-01-31T18:00:47.639-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='PHPmotion Category Counter'/><title type='text'>Category Counter (Part 2)</title><content type='html'>&lt;span style="font-weight:bold;"&gt;Part 1&lt;/span&gt; showed you how to add number of videos to the Category list on the left side menu in PHPmotion. &lt;br /&gt;&lt;br /&gt;This explains how to add the counter on the second page you see when you select videos from a specific category.&lt;br /&gt;&lt;br /&gt;See &lt;a href="http://phpmotion.com/forum/index.php?topic=1333"&gt;PHPmotion forum&lt;/a&gt;  for more background.&lt;br /&gt;&lt;br /&gt;&lt;a href="http://video.victorc21.com/category_home.php?cid=Comedy"&gt;See a live demo !&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight:bold;"&gt;Caution:&lt;/span&gt;This assumes that you have some experience modifying PHP code even though I made it as simple as I can.&lt;br /&gt;&lt;br /&gt;Basically you will be adding code to the following files. Make a copy of these files first.&lt;br /&gt;&lt;br /&gt;1) category_home.php (step 1)&lt;br /&gt;2) templates/inner_category_home.htm (step 2)&lt;br /&gt;&lt;br /&gt;&lt;a href="http://www.elixiraddons.com/blogs/phpmotion/category_home.txt"&gt;View code&lt;/a&gt;</content><link rel='alternate' type='text/html' href='http://www.elixiraddons.com/blogs/phpmotion/2007/10/category-counter-part-2.html' title='Category Counter (Part 2)'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=6748137641733869667&amp;postID=3302424684460018045' title='1 Comments'/><link rel='replies' type='application/atom+xml' href='http://www.elixiraddons.com/blogs/phpmotion/atom.xml' title='Post Comments'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6748137641733869667/posts/default/3302424684460018045'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6748137641733869667/posts/default/3302424684460018045'/><author><name>elixir</name></author></entry><entry><id>tag:blogger.com,1999:blog-6748137641733869667.post-5643582051348942608</id><published>2007-10-10T20:30:00.000-07:00</published><updated>2007-10-13T08:21:55.616-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Category Counter'/><title type='text'>Category Counter (Part 1)</title><content type='html'>This explains the step by step procedure to add number of videos to the Category list on the left side menu in &lt;a href="http://phpmotion.com"&gt;PHPmotion&lt;/a&gt;. You access this by selecting CATEGORY tab.&lt;br /&gt;&lt;br /&gt;See &lt;a href="http://phpmotion.com/forum/index.php?topic=1333"&gt;PHPmotion forum &lt;/a&gt; for more background.&lt;br /&gt;&lt;br /&gt;&lt;a href="http://video.victorc21.com/category.php"&gt;View live demo !&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;p&gt;&lt;b&gt;Caution:&lt;/b&gt;This assumes that you have some experience modifying PHP code even though I made it as simple as I can.&lt;br /&gt;&lt;br /&gt;&lt;p&gt;Basically you will be adding code to the following files. Make a copy of these files first.&lt;br /&gt;&lt;br /&gt;1) category.php (step 1)&lt;br /&gt;2) templates/inner_category.htm (step 2)&lt;br /&gt;&lt;br /&gt;&lt;a href="http://www.elixiraddons.com/blogs/phpmotion/category.txt"&gt;View code&lt;/a&gt;</content><link rel='alternate' type='text/html' href='http://www.elixiraddons.com/blogs/phpmotion/2007/10/counter-count-for-categories.html' title='Category Counter (Part 1)'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=6748137641733869667&amp;postID=5643582051348942608' title='0 Comments'/><link rel='replies' type='application/atom+xml' href='http://www.elixiraddons.com/blogs/phpmotion/atom.xml' title='Post Comments'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6748137641733869667/posts/default/5643582051348942608'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6748137641733869667/posts/default/5643582051348942608'/><author><name>elixir</name></author></entry><entry><id>tag:blogger.com,1999:blog-6748137641733869667.post-2123379184471117028</id><published>2007-10-10T07:24:00.000-07:00</published><updated>2007-10-12T18:32:05.137-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='PHPmotion Upload EDIT button'/><title type='text'>EDIT button for UPLOAD</title><content type='html'>This explains the step by step procedure to add EDIT on the second upload page in &lt;a href="http://phpmotion.com/"&gt;PHPmotion&lt;/a&gt; where you select the file.&lt;br /&gt;&lt;br /&gt;See &lt;a href="http://phpmotion.com/forum/index.php?topic=1249"&gt;PHPmotion forum &lt;/a&gt;for more background.&lt;br /&gt;&lt;br /&gt;&lt;p&gt;The UPLOAD page has RESET and UPLOAD buttons now. We will be adding a new EDIT button so that you can go back to the previous page&lt;br /&gt;without loosing the details you entered. Please do not use the browser back button any more and use EDIT button instead.&lt;br /&gt;&lt;br /&gt;&lt;p&gt;&lt;b&gt;Caution:&lt;/b&gt;This assumes that you have some experience modifying PHP code even though I made it as simple as I can. I have identified the new lines (total three places) using BEGIN/END boundary lines.&lt;br /&gt;&lt;br /&gt;Let me know if you need any help.&lt;br /&gt;&lt;br /&gt;&lt;p&gt;Basically you will be adding code to the following files. Make a copy of these files first (for later restoration) in case you mess up.&lt;br /&gt;&lt;br /&gt;1)uploader.php (step 1, two places)&lt;br /&gt;2)templates/templates/inner_upload_video.htm (step 2, one place) &lt;/p&gt;&lt;br /&gt;&lt;br /&gt;&lt;a href="http://www.elixiraddons.com/blogs/phpmotion/edit.txt"&gt;View code&lt;/a&gt;</content><link rel='alternate' type='text/html' href='http://www.elixiraddons.com/blogs/phpmotion/2007/10/edit-button-for-upload.html' title='EDIT button for UPLOAD'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=6748137641733869667&amp;postID=2123379184471117028' title='0 Comments'/><link rel='replies' type='application/atom+xml' href='http://www.elixiraddons.com/blogs/phpmotion/atom.xml' title='Post Comments'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6748137641733869667/posts/default/2123379184471117028'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6748137641733869667/posts/default/2123379184471117028'/><author><name>elixir</name></author></entry><entry><id>tag:blogger.com,1999:blog-6748137641733869667.post-4041317667461857150</id><published>2007-10-09T21:51:00.000-07:00</published><updated>2007-10-12T21:55:11.099-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Template Engine TinyButStrong TBS'/><title type='text'>TinyButStrong (TBS) - PHP Template Engine of PHPmotion</title><content type='html'>PHPmotion uses a Template Engine for PHP called &lt;br /&gt;&lt;a href="http://www.tinybutstrong.com"&gt;TinyButStrong (TBS)&lt;/a&gt;. &lt;br /&gt;If you want to customize PHPmotion, you may have to edit the php code and the associated HTML template files.&lt;br /&gt;&lt;br /&gt;This is what you see in the php files of PHPmotion code.&lt;br /&gt;&lt;br /&gt;$TBS = new clsTinyButStrong;    &lt;br /&gt;$TBS-&gt;LoadTemplate("template_name");&lt;br /&gt;$TBS-&gt;Render = TBS_OUTPUT;&lt;br /&gt;$TBS-&gt;Show();&lt;br /&gt;&lt;br /&gt;Inside the HTML template you will see TBS specific tags like &lt;br /&gt;[blk1;block=begin][blk1.val][blk1;block=end]&lt;br /&gt;&lt;br /&gt;&lt;a href="http://www.tinybutstrong.com/examples.php"&gt;More details&lt;/a&gt;</content><link rel='alternate' type='text/html' href='http://www.elixiraddons.com/blogs/phpmotion/2007/10/phpmotion-uses-template-engine-for-php.html' title='TinyButStrong (TBS) - PHP Template Engine of PHPmotion'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=6748137641733869667&amp;postID=4041317667461857150' title='0 Comments'/><link rel='replies' type='application/atom+xml' href='http://www.elixiraddons.com/blogs/phpmotion/atom.xml' title='Post Comments'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6748137641733869667/posts/default/4041317667461857150'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6748137641733869667/posts/default/4041317667461857150'/><author><name>elixir</name></author></entry><entry><id>tag:blogger.com,1999:blog-6748137641733869667.post-8408314788606128802</id><published>2007-10-07T09:16:00.000-07:00</published><updated>2007-10-12T18:32:39.247-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='PHPmotion YouTube videos'/><title type='text'>Import YouTube videos into PHPmotion</title><content type='html'>I took the &lt;a href="http://phpmotion.com/forum/index.php?topic=580.0"&gt;code to import You Tube videos &lt;/a&gt;&lt;br /&gt;posted on the &lt;a href="http://phpmotion.com/forum/index.php?topic=580.0"&gt;PHPmotion forum &lt;/a&gt; sometime back and worked on the issues (database insert, thumb nail image generation etc.) &lt;br /&gt;they mentioned and got it to work.&lt;br /&gt;&lt;br /&gt;Here is the end result &lt;a href="http://video.victorc21.com"&gt;http://video.victorc21.com&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;This downloads the video (flv file) to your server, performs the DB insert into PHP motion database (makes think PHP motion that this was uploaded by a user) and creates a thumb nail image you see on the home page, using ffmpeg utility .&lt;br /&gt;&lt;br /&gt;Give it a try and let me know your thoughts.&lt;br /&gt;&lt;br /&gt;Did this due to the huge demand for this feature. PHPmotion sells a mod for this and I haven't seen it yet.&lt;br /&gt;Please let me know your feedback if you have used it. I don't want to re-invent the wheel.&lt;br /&gt;&lt;br /&gt;I am already looking at the Youtube APIs to get various reports (like top rated videos, comedy videos, most recent videos etc.) which can be used to automatically download to your PHPmotion site. Possibilities are plenty I guess ? Not sure what makes sense (if at all).&lt;br /&gt;&lt;br /&gt;This can be enhanced to:&lt;br /&gt;1) import videos to the members only area after login instead of importing to the public area without login or registration.&lt;br /&gt;&lt;br /&gt;2) Import 10 top rated comedy videos from YT within the last 24 hrs (members only).&lt;br /&gt;&lt;br /&gt;3)List video titles from YT and do selective import&lt;br /&gt;&lt;br /&gt;4) Anything interesting ?&lt;br /&gt;&lt;br /&gt;If there is sufficient demand, I will be more than happy to work on these features ....&lt;br /&gt;&lt;br /&gt;Looking forward to the feedback from the pros.</content><link rel='alternate' type='text/html' href='http://www.elixiraddons.com/blogs/phpmotion/2007/10/import-youtube-videos-into-phpmotion.html' title='Import YouTube videos into PHPmotion'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=6748137641733869667&amp;postID=8408314788606128802' title='0 Comments'/><link rel='replies' type='application/atom+xml' href='http://www.elixiraddons.com/blogs/phpmotion/atom.xml' title='Post Comments'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6748137641733869667/posts/default/8408314788606128802'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6748137641733869667/posts/default/8408314788606128802'/><author><name>elixir</name></author></entry></feed>
