Making tutorials - your wishlist

Reply

Join Date: Jun 2007
Posts: 1,227
Reputation: kkeith29 has a spectacular aura about kkeith29 has a spectacular aura about kkeith29 has a spectacular aura about 
Solved Threads: 167
kkeith29's Avatar
kkeith29 kkeith29 is offline Offline
Nearly a Posting Virtuoso
 
0
  #91
Oct 16th, 2009
Thats the same one I told you about. Its the flv-player.net one.

No problems with it.
Google is your friend.

Use [code] tags.

If you have found a solution to your problem, please mark the thread as SOLVED.
Reply With Quote Quick reply to this message  
Join Date: Sep 2007
Posts: 1,453
Reputation: cwarn23 has a spectacular aura about cwarn23 has a spectacular aura about cwarn23 has a spectacular aura about 
Solved Threads: 136
cwarn23's Avatar
cwarn23 cwarn23 is online now Online
Nearly a Posting Virtuoso
 
0
  #92
Oct 16th, 2009
Originally Posted by kkeith29 View Post
Thats the same one I told you about. Its the flv-player.net one.

No problems with it.
Could I just confirm that it is totally free even if I have advertisements on my site?
Try not to bump 10 year old threads as it can be really annoying.
Like php then read my website at http://syntax.cwarn23.net/
Star-Trek-Atlantis - now that's what I call a movie ^_^
My favourite PC. - MacGyver Fan
Bad english note: dis-iz-2b4u
Reply With Quote Quick reply to this message  
Join Date: Sep 2007
Posts: 1,453
Reputation: cwarn23 has a spectacular aura about cwarn23 has a spectacular aura about cwarn23 has a spectacular aura about 
Solved Threads: 136
cwarn23's Avatar
cwarn23 cwarn23 is online now Online
Nearly a Posting Virtuoso
 
0
  #93
Oct 16th, 2009
I have just modified my tutorial script and the script is as follows:
  1. <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
  2. <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
  3. <head>
  4. <title>My Blog</title>
  5. <meta http-equiv="Content-Type" content="text/html;charset=utf-8" />
  6. <style type="text/css">
  7. body {
  8. font-family: arial,"arial black","sans serif";
  9. font-size: 12px;
  10. }
  11. #container {
  12. width: 500px;
  13. }
  14. .gray {
  15. background-color: #999;
  16. }
  17. .light-gray {
  18. background-color: #ccc;
  19. }
  20. #container .entry {
  21. width: 500px;
  22. margin-top: 10px;
  23. margin-bottom: 5px;
  24. border: 1px #333 solid;
  25. }
  26. #container .entry .name {
  27. align:right;
  28. padding-right:5px;
  29. padding-left:5px;
  30. padding-top:5px;
  31. padding-bottom:0px;
  32. }
  33. #container .entry .content {
  34. align:left;
  35. padding-right:5px;
  36. padding-left:5px;
  37. padding-top:0px;
  38. padding-bottom:5px;
  39. }
  40. #previewbox {
  41. background-color: #ccc;
  42. align:left;
  43. padding:5px;
  44. width:490px;
  45. border: 1px #333 solid;
  46. }
  47. </style>
  48. <script type="text/javascript">
  49. function preview() {
  50. var data=document.getElementById('data').value;
  51. data=data.replace(/</g,"&lt;").replace(/>/g,"&gt;");
  52. document.getElementById('previewbox').innerHTML="<b>Preview</b><br>"+data;
  53. }
  54. </script>
  55. </head>
  56. <body bgcolor="#F4F4FF">
  57. <div id="container">
  58. <?php
  59.  
  60. $str=file_get_contents('data.txt');
  61. $data = array_chunk(explode("\r",trim($str)),2);
  62. $str=strlen($str);
  63. $i = 0;
  64. $colors=array(0=>'gray',1=>'light-gray');
  65. if ($str>4) {
  66. foreach( $data as $value ) {
  67. list ($name,$content)=$value;
  68. echo <<<ENTRY
  69. <div class="entry {$colors[$i]}">
  70. <div class="name">{$name}</div>
  71. <div class="content">{$content}</div>
  72. </div>
  73. ENTRY;
  74. $i=(($i==1)?0:1);
  75. }
  76. }
  77.  
  78. if ( isset( $_POST['submit'] ) ) {
  79. $name = htmlentities( $_POST['name'],ENT_QUOTES );
  80. $entry = str_replace( array("\r\n","\r","\n"),'<br />',htmlentities( $_POST['data'],ENT_QUOTES ) );
  81. //can add error handling here, check for duplicate entries
  82. echo <<<ENTRY
  83. <div class="entry {$colors[$i]}">
  84. <div class="name">{$name}</div>
  85. <div class="content">{$entry}</div>
  86. </div>
  87. ENTRY;
  88. if (strlen($entry)>4) {
  89. file_put_contents( 'data.txt',"\r".$name."\r".$entry,FILE_APPEND );
  90. }
  91. }
  92.  
  93. ?>
  94. <div class="form">
  95. <form action="index.php" method="post">
  96. <table border=0 cellpadding=0 cellspacing=0 style="width:497px;">
  97. <tr>
  98. <td align="left">Entry:</td>
  99. <td align="right">Name: <input type="text" name="name" />
  100. <input type="button" value="Preview" onclick="javascript:preview();">
  101. <input type="submit" value="Submit" name="submit"></td>
  102. </tr>
  103. <tr>
  104. <td align="left" colspan=2><textarea cols="58" rows="7" style="width:497px;height:125px;" name="data" id="data"></textarea></td>
  105. </tr>
  106. </table>
  107. </form>
  108. </div>
  109. <div id="previewbox" style="padding:5px;"></div>
  110. </div>
  111. </body>
  112. </html>
Let me know if the above script should have extra changes? Also does the flv player mentioned in post #91 cost anything if I have advertisement in my site as it would make it classed as a commercial site?
Last edited by cwarn23; Oct 16th, 2009 at 6:36 am.
Try not to bump 10 year old threads as it can be really annoying.
Like php then read my website at http://syntax.cwarn23.net/
Star-Trek-Atlantis - now that's what I call a movie ^_^
My favourite PC. - MacGyver Fan
Bad english note: dis-iz-2b4u
Reply With Quote Quick reply to this message  
Join Date: Jun 2007
Posts: 1,227
Reputation: kkeith29 has a spectacular aura about kkeith29 has a spectacular aura about kkeith29 has a spectacular aura about 
Solved Threads: 167
kkeith29's Avatar
kkeith29 kkeith29 is offline Offline
Nearly a Posting Virtuoso
 
0
  #94
Oct 18th, 2009
Sorry it took so long to respond.

The code looks good. There are still a few inline styles that need to be added the head css.

I am not sure if advertisements makes your site commercial. Personally I don't think it does. I always considered it to be commercial if you sold products, but I am guessing that if your site makes money (no matter how) its commercial.

If you can't find a definite answer just email them and ask.
Google is your friend.

Use [code] tags.

If you have found a solution to your problem, please mark the thread as SOLVED.
Reply With Quote Quick reply to this message  
Join Date: Sep 2007
Posts: 1,453
Reputation: cwarn23 has a spectacular aura about cwarn23 has a spectacular aura about cwarn23 has a spectacular aura about 
Solved Threads: 136
cwarn23's Avatar
cwarn23 cwarn23 is online now Online
Nearly a Posting Virtuoso
 
0
  #95
Oct 18th, 2009
Originally Posted by kkeith29 View Post
I am not sure if advertisements makes your site commercial. Personally I don't think it does. I always considered it to be commercial if you sold products, but I am guessing that if your site makes money (no matter how) its commercial.

If you can't find a definite answer just email them and ask.
Well the main question about the license was that are there even two versions of the flv player where one can be bought for commercial use and the other for free without commercial use. That is how most of the flv players work but in this ones licenses I can't find anything disallowing or allowing commercial use. And there seems to only be on version (license wise) available and that is the free edition. So I am rather confused about that unmentioned
section and would you have any knowledge on what the general agreement for commercial use is? Thanks.
Try not to bump 10 year old threads as it can be really annoying.
Like php then read my website at http://syntax.cwarn23.net/
Star-Trek-Atlantis - now that's what I call a movie ^_^
My favourite PC. - MacGyver Fan
Bad english note: dis-iz-2b4u
Reply With Quote Quick reply to this message  
Join Date: Oct 2006
Posts: 957
Reputation: ardav will become famous soon enough ardav will become famous soon enough 
Solved Threads: 126
ardav's Avatar
ardav ardav is offline Offline
Posting Shark
 
1
  #96
Oct 18th, 2009
Saw this on another forum when the same question was asked - don't know if it's relevant or if it is actually true:

The volume of dollars generated doesn't, in and of itself, make the site commercial or otherwise. The fact that it is being used in an attempt to generate revenue for a for-profit enterprise makes it commercial -- whether it is successful or not.
"...the woods would be a very silent place if no birds sang except for the best"
All opinions count.
F'enw i yw Mr. Blaidd. Byddwch yn ofalus - dwi'n cnoi.
Reply With Quote Quick reply to this message  
Join Date: Sep 2007
Posts: 1,453
Reputation: cwarn23 has a spectacular aura about cwarn23 has a spectacular aura about cwarn23 has a spectacular aura about 
Solved Threads: 136
cwarn23's Avatar
cwarn23 cwarn23 is online now Online
Nearly a Posting Virtuoso
 
0
  #97
Oct 20th, 2009
I have just uploaded the latest video tutorial at the below link and what are your comments and how good it is. Also do you agree that the quality needs increasing as I only just noticed.
http://syntax.cwarn23.info/media/new.html
Try not to bump 10 year old threads as it can be really annoying.
Like php then read my website at http://syntax.cwarn23.net/
Star-Trek-Atlantis - now that's what I call a movie ^_^
My favourite PC. - MacGyver Fan
Bad english note: dis-iz-2b4u
Reply With Quote Quick reply to this message  
Join Date: Jun 2007
Posts: 1,227
Reputation: kkeith29 has a spectacular aura about kkeith29 has a spectacular aura about kkeith29 has a spectacular aura about 
Solved Threads: 167
kkeith29's Avatar
kkeith29 kkeith29 is offline Offline
Nearly a Posting Virtuoso
 
0
  #98
Oct 20th, 2009
The tutorial seems pretty good so far. The video stops early again at 10 mins. 32 secs so I didn't see it all.

The video quality needs to be improved. It was hard to read some of the text on screen.

Once you fix the quality and length issues I will view it again.
Google is your friend.

Use [code] tags.

If you have found a solution to your problem, please mark the thread as SOLVED.
Reply With Quote Quick reply to this message  
Join Date: Sep 2005
Posts: 1,075
Reputation: digital-ether is just really nice digital-ether is just really nice digital-ether is just really nice digital-ether is just really nice 
Solved Threads: 66
Moderator
digital-ether's Avatar
digital-ether digital-ether is offline Offline
Veteran Poster
 
0
  #99
Oct 22nd, 2009
Here is the Video CMS I mentioned I would link.
http://phpmotion.com/

You might want to check it out.
www.fijiwebdesign.com - web design and development and fun
Cpanel Email - Let users Register email accounts on your website upon registration
Ajax Chat - Fully browser based chat!
Reply With Quote Quick reply to this message  
Join Date: Sep 2007
Posts: 1,453
Reputation: cwarn23 has a spectacular aura about cwarn23 has a spectacular aura about cwarn23 has a spectacular aura about 
Solved Threads: 136
cwarn23's Avatar
cwarn23 cwarn23 is online now Online
Nearly a Posting Virtuoso
 
0
  #100
Oct 23rd, 2009
Originally Posted by digital-ether View Post
Here is the Video CMS I mentioned I would link.
http://phpmotion.com/

You might want to check it out.
I just downloaded the cms and tried to run it but an error message appears saying the following:
Warning: dl() [function.dl]: Temporary module name should contain only filename in /home/****/classes/config.php on line 2
PHP script /home/****/classes/config.php is protected by phpSHIELD and requires the phpSHIELD loader phpshield.5.2.lin. The phpSHIELD loader has not been installed, or is not installed correctly. Please visit the phpSHIELD php encoder site to download required loader.
While I wait I will try some toubleshooting but what is the general solution to this problem as I have just downloaded phpshield.5.2.lin
Try not to bump 10 year old threads as it can be really annoying.
Like php then read my website at http://syntax.cwarn23.net/
Star-Trek-Atlantis - now that's what I call a movie ^_^
My favourite PC. - MacGyver Fan
Bad english note: dis-iz-2b4u
Reply With Quote Quick reply to this message  
Reply

Message:



Similar Threads
Other Threads in the PHP Forum
Thread Tools Search this Thread



About Us | Contact Us | Advertise | DaniWeb | Acceptable Use Policy | RSS Feed

©2003 - 2009 DaniWeb® LLC