latest stable versions: v150827 (changelog)

Old Forums (READ-ONLY): The community now lives at WP Sharks™. If you have an s2Member® Pro question, please use our new Support System.

About: DrByte

Sorry, I've not written a description yet. I'll get to it soon!


Topics I'm Subscribed To

Viewing 19 topics - 1 through 19 (of 19 total)
Topic Count Last Reply
if you are having bad luck playing media file

By:  DrByte in: Community Forum

voices: 1
replies: 0

3 years, 8 months ago  DrByte

ccbill error

By:  DrByte in: Community Forum

voices: 3
replies: 6

4 years, 3 months ago  Cristián Lávaque

Varnish Cache cPanel

By:  DrByte in: Community Forum

voices: 4
replies: 5

4 years, 6 months ago  Philly

Amazon S3 mp4 broken after move to bluehost 1 2

By:  Arthur Klein in: Community Forum

voices: 2
replies: 26

4 years, 6 months ago  DrByte

Locally Served Video File with JW Player

By:  360 cold in: Community Forum

voices: 2
replies: 2

4 years, 6 months ago  360 cold

s2member not working with theme (fatal error)

By:  Brian Malone in: Community Forum

voices: 3
replies: 4

4 years, 6 months ago  DrByte

Jw Player New code conflict

By:  DrByte in: Community Forum

voices: 4
replies: 5

4 years, 6 months ago  DrByte

Disable SSL for Amazon® CloudFront CNAME

By:  DrByte in: Community Forum

voices: 3
replies: 4

4 years, 6 months ago  DrByte

wowza based video selling with s2 integration

By:  HostStreamSell in: Community Forum

voices: 2
replies: 2

4 years, 7 months ago  HostStreamSell

S2 member and htaccess error

By:  Mamdouh Samy in: Community Forum

voices: 5
replies: 12

4 years, 7 months ago  DrByte

Streaming Vs Downloading

By:  DrByte in: Community Forum

voices: 1
replies: 0

4 years, 7 months ago  DrByte

Cannot stop WordPress toolbar from appearing

By:  Mark Davies in: Community Forum

voices: 2
replies: 2

4 years, 9 months ago  Mark Davies

S3 Cloud – rtmp – can't problems? please help

By:  David Armstrong in: Community Forum

voices: 3
replies: 2

4 years, 9 months ago  DrByte

Google Checkout Payment declined Yet Allow Re

By:  DrByte in: Community Forum

voices: 1
replies: 0

4 years, 10 months ago  DrByte

htaccess – iOS JW Player MP4 stream 1 2

By:  Bendix in: Community Forum

voices: 6
replies: 30

4 years, 10 months ago  Bendix

S2 Members – BE WARNED!

By:  BD Dale in: Community Forum

voices: 9
replies: 19

4 years, 10 months ago  Cristián Lávaque

Secured File Folder really safe?

By:  adam chen in: Community Forum

voices: 3
replies: 6

4 years, 10 months ago  adam chen

Viewing 19 topics - 1 through 19 (of 19 total)

My Latest Replies (From Various Topics)

Viewing 25 replies - 1 through 25 (of 39 total)
Author Replies
Author Replies
Posted: Thursday Sep 13th, 2012 at 2:03 am #25128
DrByte
Username: DrByte

OK, I understand.

Can you guys test ccBill and see if any can complete the registration process using ccBill

Thank you

Sam

Posted: Wednesday Sep 12th, 2012 at 9:07 am #25011
DrByte
Username: DrByte

I found this in the URL Approval Page Template under ccBill® Approval/Denial URLs ( required )

/?s2member_pro_ccbill_return&s2member_paypal_return=1&s2member_paypal_proxy=ccbill&s2member_paypal_proxy_use=x-preview

Are both suppose to be in there? Paypal and ccbill?

/?s2member_pro_ccbill_return=1

give this

/?s2member_pro_ccbill_return&s2member_paypal_return=1&s2member_paypal_proxy=ccbill&s2member_paypal_proxy_use=standard-emails……..

  • This reply was modified 4 years, 3 months ago by  DrByte.
Posted: Wednesday Sep 12th, 2012 at 8:59 am #25007
DrByte
Username: DrByte

Hi Cris,

IPN. I think ccBill updated their system and somehow both sides are not communication as it should be

Thanks

Sam

  • This reply was modified 4 years, 3 months ago by  DrByte.
Posted: Tuesday Jul 10th, 2012 at 11:30 am #18813
DrByte
Username: DrByte

Thanks guys

Well, I had couple of members complaining that after filling the PayPal Pro form and submitting it, it somehow loops back to the top of the form where they have to fill it back again (the form)

I couldn’t duplicate that issue my self…When I asked (country), they both said Australia. So, I gave both a link to a PayPal button (Not the Pro Form) and they both where able to pay and create the membership.

Not sure/

Would be any issue if I have the site on both, W3 Total Cache and Varnish Cache? BTW, no issues with Google Wallet and ccBill

Sam

Posted: Wednesday Jun 27th, 2012 at 2:34 pm #17679
DrByte
Username: DrByte

Hi Arthur, glad it’s working for you now..my guess it was the domain DNS Propagation setup was not completed when you were trying to figure it out.

Sam

Posted: Tuesday Jun 26th, 2012 at 1:00 pm #17558
DrByte
Username: DrByte

Hi Arthur,

Give Jason some time…he might be busy trying to get an update or new a version of S2.

You might want to try the JW Player Examples in the download section of S2M, just to see if the problem goes away.

Other than that, not sure if your host setup is a mix of www and http. You can’t mix as you will get errors using S2m

Your host server might be limited in memory or it might be miss configured to work correctly with WordPress and S2

I might suggest changing host companies. Never dealt with Bluehost, but been using Certified Hosting Solutions for many years now, they are great and they give you lots of stuff including much more server resources than the others.

When a hosting company advertise (unlimited everything) It does NOT include server resources (CUP, Memory, …)
Plus with Certified Hosting Solutions, you can pay a little extra and get a protection against high server load. Meaning, they will not terminate your account if you go above the limits.

THAT’S OFF COURSE IF YOUR PROBLEM DOES NOT GO AWAY

You might also ask the host if the DNS transfer is complete. I keep my domain and hosting apart.

Sam

Posted: Tuesday Jun 26th, 2012 at 3:21 am #17488
DrByte
Username: DrByte

It might be, usually it takes about 24 to 48 hours for the setup to complete. I sujest to wait a day and try again.

He can be reached at http://www.s2member.com/contact/

Best

Posted: Tuesday Jun 26th, 2012 at 3:04 am #17483
DrByte
Username: DrByte

You are welcome..NP at all

For some reason this works fine:

http://erichschiffmann.com/wp-content/plugins/s2member-files/s2member-file-inline/s2member-skip-confirmation-no/s2member-file-remote/s2member-file-storage-s3/access-s2member-level2/Y_Yoga_Movie_640x360.mp4

after reloading the url couple of times

Something wrong with the JW Player Plugin you are using..Did you upgrade it lately? I know they just released a new version..It might be it..Try reloading an older version of this plugin and see if that’s the problem.

If not, then it has to do something with the bluehost config setup. There may be a hook to by-pass some host restrictions. It would be a good idea to email Jason and see what he says. (S2M Support)

Sam

  • This reply was modified 4 years, 6 months ago by  DrByte.
Posted: Tuesday Jun 26th, 2012 at 2:03 am #17475
DrByte
Username: DrByte

I see,

can you check and see if you have .htaccess under the plugin directory /s2member-files

Posted: Tuesday Jun 26th, 2012 at 1:41 am #17469
DrByte
Username: DrByte

OK,

Amazon keys and setup might be fine at AWS side, but It might not be configured correctly at the S2M side. I know AWS gives you 2 access keys..try to generate a new one and used it instead of the old one you have now on your site (S2M setup)

Did you just copy your files/database from GoDaddy to Bluehost as is? I mean by relative path something like this /home/user/www/

Yes, mp3 plays after couple of clicks..But I am sure it has to do with JW Player plugin setup and bluehost. When you just have one mp3 instead of a playlist, will it do the same?

Posted: Tuesday Jun 26th, 2012 at 1:14 am #17461
DrByte
Username: DrByte

One more thing

is your relative path on the new host the same as the old host?

Posted: Tuesday Jun 26th, 2012 at 1:09 am #17460
DrByte
Username: DrByte

Ok, Thanks

http://erichschiffmann.com/wp-content/plugins/s2member-files/s2member-file-inline/s2member-skip-confirmation-no/s2member-file-remote/s2member-file-storage-s3/access-s2member-level2/Y_Yoga_Movie_640x360.mp4

is giving me 500 server error.

Using:

erichschiffmann.com/?s2member_file_download=Y_Yoga_Movie_640x360.mp4

it gives me

NoSuchKey

The specified key does not exist.Y_Yoga_Movie_640x360.mp4E2F6A81ADFCC88B1ujIUFv0YsU06GdqUI5ss4YHzrca0COdNyCeuCpBVbpCuWWEhVb9Rp2jceiPrAfEb

Make sure you have a valid key
http://es-s2member-files.s3.amazonaws.com

Are you using cloudfront or just S3?

The first error (click couple of times for the movie to start) ..It has to do something with JW Player WordPress Plugin installed.. Try the default player and see if the multi click error gores away.

Here a post that might help you
http://www.longtailvideo.com/support/forums/jw-player/setup-issues-and-embedding/21793/error-2032-mp3

Sam

Posted: Tuesday Jun 26th, 2012 at 12:16 am #17453
DrByte
Username: DrByte

Hi

503: Service Temporarily Unavailable
Too many IP addresses accessing one secure area!
Please contact Support if you need assistance.

Try to clear it

Sam

Posted: Monday Jun 25th, 2012 at 11:57 pm #17450
DrByte
Username: DrByte

Can you send a link to a page that host one of your media files.

No need to post your .htaccess

Sam

Posted: Monday Jun 25th, 2012 at 7:51 pm #17431
DrByte
Username: DrByte

Try absolute path to JW Player files

http://www.site.com/jwplayer/jwplayer.js

Also,

/wp-content/plugins/s2member-files/s2member-file-inline/

Might not work on some hosting accounts. Try the default.

  • This reply was modified 4 years, 6 months ago by  DrByte.
Posted: Monday Jun 25th, 2012 at 7:45 pm #17430
DrByte
Username: DrByte

HI,

Check your .htaccess file. There must be something in there that you left behind.

Did you flush the permalinks? Try that..

After upgrading S2m, Advance URL structure in some hosts does not work. Try the default first

Sam

Posted: Monday Jun 25th, 2012 at 7:37 pm #17429
DrByte
Username: DrByte

Searching your issue, they suggest deactivating your plugins one by one and see if the error goes away. If not then check if your theme is compatible with the new version of WP.

Sam

Posted: Friday Jun 15th, 2012 at 8:19 am #16581
DrByte
Username: DrByte

If your host allows you to run PHP scripts and if your host will allow you to install ffmpeg, you can use this script to request any frame of the video file to use as the preview image.

s1.addVariable('image', 'http://my.domain.com/path-to-file/ffmpeg_image.php?file=video.flv&time=00:00:00&browser=false');

ffmpeg_image.php

<?php

// generate a preview image from an FLV file on-the-fly, or to save
// Will - 10-16-07
// call with: ffmpeg_image.php?file=video.flv&time=00:00:05&browser=true
// call with: ffmpeg_image.php?file=video.flv&percent=75.3&browser=true
// no time defaults to "00:00:00" (first frame), no browser defaults to "true"

$videofile = (isset($_GET['file'])) ? strval($_GET['file']) : 'video.flv';
$image = substr($videofile, 0, strlen($videofile) - 4);

// debug ("    File: ", $videofile);
// debug ("   Image: ", $image);

$time = (isset($_GET['time'])) ? strval($_GET['time']) : '00:00:00';

// check time format
if (!preg_match('/\d\d:\d\d:\d\d/', $time))
{
  $time = "00:00:00";
}

// debug ("    Time: ", $time);

if (isset($_GET['percent']))
{
  $percent = $_GET['percent'];

 
// debug (" Percent: ", $percent);

 
ob_start();
  passthru("ffmpeg.exe -i \"". $videofile . "\" 2>&1");
  $duration = ob_get_contents();
  ob_end_clean();

 
// debug ("Duration: ", $duration);

 
preg_match('/Duration: (.*?),/', $duration, $matches);
  $duration = $matches[1];

 
// debug ("Duration: ", $duration);

 
$duration_array = split(':', $duration);
  $duration = $duration_array[0] * 3600 + $duration_array[1] * 60 + $duration_array[2];
  $time = $duration * $percent / 100;

 
// debug ("    Time: ", $time);

 
$time = intval($time/3600) . ":" . intval(($time-(intval($time/3600)*3600))/60) . ":" . sprintf("%01.3f", ($time-(intval($time/60)*60)));

 
// debug ("    Time: ", $time);

}

$browser = (isset($_GET['browser'])) ? strval($_GET['browser']) : 'true';

// debug (" Browser: ", $browser);

if ($browser == "true")
{
  header('Content-Type: image/png');
  passthru("ffmpeg.exe -vcodec png -i \"" . $videofile . "\" -ss " . $time . " -vframes 1 -f image2 -");
}
else
{
  passthru("ffmpeg.exe -vcodec png -i \"" . $videofile . "\" -ss " . $time . " -vframes 1 -f image2 \"" . $image . "\"%d.png");
}

function
debug($text1, $text2)
{
  print "<pre>\n";
  print $text1 . $text2 . "\n";
  print "</pre>\n";
}

?>
Posted: Wednesday Jun 13th, 2012 at 4:56 pm #16397
DrByte
Username: DrByte

Hi, Don’t forget to buy additional SSL certificate for your CNAMES…otherwise it will not work

Example: https://site.com
and your CNAMES is video.site.com

then you need to buy an additional SSL certificate for video

Sam

  • This reply was modified 4 years, 6 months ago by  DrByte.
Posted: Sunday Jun 10th, 2012 at 2:16 am #16106
DrByte
Username: DrByte

Hello, nice

Your implementation is pretty good but not 100% secure.

rtmpe://96.8.126.73/hss/mp4:c236795e954e8d7120ec8c502fe123dc_t273_1024.mp4?privatetoken=&referer=http%3A%2F%2Fwww.urbansilat.com

File name:View Video.flv

RMTPE is OK, but there are dozens of software that can bypass it.

Download speed is about 150KB/s. It took .12 seconds to download your demo 1.84MB file.

I think you should allow a download option for something like the training site. Some people might want to take that video when they travel. Like in a hotel training room or so

Sam

Posted: Sunday Jun 10th, 2012 at 1:42 am #16105
DrByte
Username: DrByte

I think there is an error somewhere too, Advanced Mod-Rewrite Linkage does not work anymore..rolled back to basic download option and it’s working.

Something like this does not work anymore

/wp-content/plugins/s2member-files/s2member-file-inline/

Sam

Posted: Friday Jun 8th, 2012 at 8:31 am #15924
DrByte
Username: DrByte

Thanks Bob

http streaming over SSL is something I think will be from the past. It’s slow and does not work cross browsing. Amazon S3/Cloudfront is a good product but not perfect..YET. (Work in progress)

Anyway, Apple requires more than a standard SSL certificate that comes with a hefty price. NOT Interested at this time. :) So, I did only secure the registration page/admin and dumped SSL for the others.

Now, I have my site streaming on both protocol (rtmp and http) on most devices….. Now, do I worry about people downloading the media? Maybe I should have checked with Youtube before I opened my business….!! Not really. They will take it anyway using a very simple and free software. I literally can download anything Amazon S3/Cloudfront can offer. That’s when S2m comes in…It gives an extra layer of security to insure that not only that person pays but also is legit (Iran, Russia, Romania, China, UAE) Wonderful People. (If you ever wonder about that software, look no further than StreamTransport)

No worry BOB, just open a Youtube channel and some ads….Money Tree.

Sam

Posted: Friday May 18th, 2012 at 12:55 am #13844
DrByte
Username: DrByte

Perfect, thank you Jason

As Always, the BEST

Sam

Posted: Sunday Apr 1st, 2012 at 12:48 am #9687
DrByte
Username: DrByte

Hi, the first part which goes into the theme header.php is broken into 3 codes.

To make it easier for you to edit and add later on: Create a new folder under WordPress installation directory:
call it login-popup

http://yoursite.com/login-popup/

create 2 more folders under that: call the first js and the second css

http://yoursite.com/login-popup/js/
http://yoursite.com/login-popup/css/

Make sure all these folders have 755 or 777 permission

now, open your theme header.php and add this after the

<head> and before </head> tags

add the below

<script src="http://jqueryjs.googlecode.com/files/jquery-1.2.6.min.js" type="text/javascript"></script>

and

<script src="http://yoursite.com/login-popup/js/login_popup.js" type="text/javascript"></script>
<link rel="stylesheet" href="http://yoursite.com/login-popup/css/login-popup.css" type="text/css" media="screen" />

Download both files here: http://soft-data.s3.amazonaws.com/login-popup.zip

So it will look like this:

<link rel="stylesheet" href="http://yoursite.com/login-popup/css/login-popup.css" type="text/css" media="screen" />
<script src="http://jqueryjs.googlecode.com/files/jquery-1.2.6.min.js" type="text/javascript"></script>
<script src="http://yoursite.com/login-popup/js/login_popup.js" type="text/javascript"></script>

The second code goes anywhere you want in the theme. Since you want to use it in the menu bar, it might be in the herder.php too. or you can use it as is in your sidebar.

  • This reply was modified 4 years, 9 months ago by  DrByte.
  • This reply was modified 4 years, 9 months ago by  DrByte.
Posted: Saturday Mar 31st, 2012 at 6:34 am #9655
DrByte
Username: DrByte

Add this to your function.php file, right on top

<?php
function my_function_admin_bar($content) {
    return ( current_user_can("administrator") ) ? $content : false;
}
add_filter( 'show_admin_bar' , 'my_function_admin_bar');
?>

Sam

Viewing 25 replies - 1 through 25 (of 39 total)

Old Forums (READ-ONLY): The community now lives at WP Sharks™. If you have an s2Member® Pro question, please use our new Support System.

Contacting s2Member: Please use our Support Center for bug reports, pre-sale questions & technical assistance.