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.

Ronnie


My Latest Replies (From Various Topics)

Viewing 25 replies - 51 through 75 (of 102 total)
Author Replies
Author Replies
Posted: Tuesday Feb 5th, 2013 at 6:00 am #40843
Ronnie
Username: Zeeflo

And when you have set it up, run a backup job by clicking Run Now. Then download the backup thats created, unzip it, and see if everything is backed up as it should be. If it is, leave and forget it untill you need it!

I noticed that you have 0 defined in how many backups to keep. You might want to change this to something like 20, 30 or something.. If you leave it at 0, it will keep all backups for ever and you will run out of space at some point :)

Posted: Tuesday Feb 5th, 2013 at 5:39 am #40839
Ronnie
Username: Zeeflo

Hi Brian.

You can see my setup here: http://www.sofshop.dk/wpBackup.pdf
Compare my settings to yours, and see how it works out for you :)

You can see how I set up my CRON in the top to the right.

Posted: Monday Feb 4th, 2013 at 6:42 pm #40793
Ronnie
Username: Zeeflo

Thats the easy part :)

Posted: Monday Feb 4th, 2013 at 3:03 pm #40773
Ronnie
Username: Zeeflo

Yes, you are absolutely correct. And unfortunately there are users of S2member who forgets to safeguard their settings when they upgrade, to much distress and flaming here ;) – expecting S2member can magically restore lost database entries that were deleted. And backups is a city in russia for them as well.

Data will fail, so my advise is always – PLAN for it, and do backups of what you cannot lose to data/hardware failure.
Everything that would take you 2-3 tops hours to restore is worth backing up – as well as custom coded php.

I can recommend using the plugin: backWPup – it works like a charm.
I do backups of everything every 2nd hour during work hours, and every 4th hour during evening/night time, and I have set it to retain the last 24 backups, so I always have a day and a half backups ready to deploy, with auto removal the oldest when the 25th backup is being made.
This plugin automates the process with cron, lets you select what to backup, even custom root dirs as well (e.g. /var/www/*), it auto halts the mysql/sql databases when it grabs a snapshot and much more.
It will backup to FTP, Amazon, Dropbox, NAS, even email.. It is really well thought of this plugin, and really really easy to use. Its the sort of plugin you install, set up, and forget about – untill you need it. And when you DO need it, youre happy you had it!

Im not the creator of it, but it is a really nice plugin that hos MORE then 1 time saved my butt! :)

Posted: Monday Feb 4th, 2013 at 1:23 pm #40753
Ronnie
Username: Zeeflo

Yes, unfortunately almost EVERY single wordpres plugin developer doesnt care to proper code their stuff.
I dont think I have ever had a plugin that would delete their settings and wipe their database strings when its removed..

Posted: Monday Feb 4th, 2013 at 8:00 am #40675
Ronnie
Username: Zeeflo

@ Jason

I can confirm that the Javascript JWplayer Key in the header is working with your new release 130203.

Posted: Saturday Feb 2nd, 2013 at 12:24 pm #40467
Ronnie
Username: Zeeflo

@Jason

Ive edited my style.css accordingly, how ever, it doesnt produce an error, it produces nothing.
An example page is: http://www.movielocker.dk/index.php/adgang-i-12-timer-uden-abonnement/
The input fields should have been 50%, theyre still 100% :)

I appriciate your help!

EDIT-

The stylesheet can be seen here:

http://www.movielocker.dk/wp-content/themes/on-demand/style.css

Posted: Saturday Feb 2nd, 2013 at 11:06 am #40433
Ronnie
Username: Zeeflo

Unfortunately, if I put it in my themes, header.php in the HEAD , its not gonna cut it. We had to go through all our posts and put it in the shortcode.

Perhaps a theme bug? Perhaps something completely diffirent.. But putting it in the HEAD didnt cut it for me.

Posted: Thursday Jan 31st, 2013 at 6:37 pm #40209
Ronnie
Username: Zeeflo

@ Jason, this is information for you just in case you should ever get presented with a problem like this.

I had to subscribe for a business support account at AWS to get this issue solved, and here it is for “free”.

When CF asks for a file and JW player returns the error “ID not found on server”, its actually NOT because JW cannot find the file, CF just reports back File cannot be found.
What in FACT is happening is that, Cloudfront CAN find the file in the bucket, but the file has an encoding error.
While most players, JWplayer, VLC etc will automatically correct these errors if its streamed from another CDN or played locally etc, CF will _not_, and it refuses to stream it – but it returns an error saying: File does not exicst.

Thats it :) So if people get this error, they better do another encoding and/or check logs, or try reuploading it (errors can also occur when during transfers) :)

  • This reply was modified 3 years, 11 months ago by  Ronnie.
Posted: Thursday Jan 31st, 2013 at 9:28 am #40131
Ronnie
Username: Zeeflo

@ Jason, youre the man!

First RC for 6.2 is out, if you want to get ahead with s2member support for 6.2 when ever its out.
http://developer.longtailvideo.com/trac/browser/tags/mediaplayer-6.2-rc1

ALSO, if I have a JW license, I have to add the key in the shortcode, how ever, @ Longtail video its suggested to just put it in the header like this:

<head>
<script type="text/javascript" src="/jwplayer/jwplayer.js" ></script>
<script type="text/javascript">jwplayer.key="i8jKx6H1c5u4EYDxTNGYTM2ZCo146KKdvBMZUA==";</script>
</head>

Would it not be easier for us/you to be able to do the same? I mean, if I buy a license and I have 500 posts, I have to manually update each post with a key.. :/

Posted: Thursday Jan 31st, 2013 at 8:18 am #40112
Ronnie
Username: Zeeflo

Your error is right there. The file or folder on line 4 (‘/framework/theme.php’); isnt there.

PHP is not my strong side, so either go to a chat iRC server like Freenode and ask in the #php channel or wait for someone here who’s better then @ stuff like this.. I only know that this would work, somehow..

Sorry I cant help any further.

Posted: Thursday Jan 31st, 2013 at 7:31 am #40105
Ronnie
Username: Zeeflo

the whole code after */ :)

Posted: Thursday Jan 31st, 2013 at 6:56 am #40095
Ronnie
Username: Zeeflo

try this:

$url_to_redirect = "www.google.com"; add_filter( 'login_redirect', create_function( '$url,$query,$user', 'return $url_to_redirect;' ), 10, 3 );
  • This reply was modified 3 years, 11 months ago by  Ronnie.
Posted: Thursday Jan 31st, 2013 at 6:39 am #40089
Ronnie
Username: Zeeflo

After the last */

you could add something like this:

function my_login_redirect( $redirect_to, $request, $user ){
    //is there a user to check?
    if( is_array( $user-&gt;roles ) ) {
        //check for admins
        if( in_array( "administrator", $user-&gt;roles ) ) {
            // redirect them to the default place
            return $redirect_to;
        } else {
            return home_url();
        }
    }
}
add_filter( 'login_redirect', create_function( '$url,$query,$user', 'return "www.google.com";' ), 10, 3 );

This will make all who is member of the Administrator group go to the Dashboard, and everyone else is sent to google.com _after_ they log in.

Of course, you would change that with the URL of the page you want them to go to..
If this does not work, delete it again from your functions.php

–EDIT

Nonetheless, your S2member ->General Options ->Member Login Page should work for all logins with the execption like jason said.

  • This reply was modified 3 years, 11 months ago by  Ronnie.
  • This reply was modified 3 years, 11 months ago by  Ronnie.
Posted: Thursday Jan 31st, 2013 at 6:02 am #40082
Ronnie
Username: Zeeflo

A small hint, Jason asked you to check if you had a conflicting login redirect. If you have this, it would be in your /themes/YOURTHEMEFOLDER/functions.php, not in the actual wp-login.php.

Posted: Thursday Jan 31st, 2013 at 5:55 am #40079
Ronnie
Username: Zeeflo

Youre welcome :)

Posted: Thursday Jan 31st, 2013 at 5:51 am #40076
Ronnie
Username: Zeeflo

If you use Teamviewer, I can help you out for 20-30 minutes, if you dont know how to do that.

Posted: Thursday Jan 31st, 2013 at 5:48 am #40075
Ronnie
Username: Zeeflo

Jason, or anyone else for that matter cant sort out lost/overwritten SQL data..
Maybe you could check your SQL data via phpmyadmin or something, and go see if your old settings are in fact still there?

Posted: Thursday Jan 31st, 2013 at 5:46 am #40073
Ronnie
Username: Zeeflo

Theres actually some threads about this issue in these forums.
Your best approach is to use the s2hack and add some custom php to it like discussed in this thread:

http://www.s2member.com/forums/topic/custom-button-on-paypal-pro-form/

Posted: Thursday Jan 31st, 2013 at 5:43 am #40071
Ronnie
Username: Zeeflo

Hey, Im not the one not reading the HOW-To’s and disregarding the warnings..
Im not gonna start a flame war with you, but I hardly suspect that the staff here at S2member can magically restore your sql and settings out of thin air.

Good luck.

Posted: Thursday Jan 31st, 2013 at 5:35 am #40069
Ronnie
Username: Zeeflo

Perhaps, ask if your host has backups?

Posted: Thursday Jan 31st, 2013 at 5:30 am #40067
Ronnie
Username: Zeeflo

No, if I have to use your terminology, youre complaining that its the dealers fault you didnt drive carefully and crashed..

Posted: Thursday Jan 31st, 2013 at 5:24 am #40065
Ronnie
Username: Zeeflo

Use your backup?

Posted: Thursday Jan 31st, 2013 at 5:21 am #40064
Ronnie
Username: Zeeflo

Its sad, true. But you really should proceed with backups before doing anything like this.
Dataloss is to be expected, so plan for it. If your data is not important, dont back up, but if it is, back it up!

With that being said, you should ALWAYS backup before you upgrade anything, not just s2member!

Posted: Thursday Jan 24th, 2013 at 7:44 am #39397
Ronnie
Username: Zeeflo

Clearing your chrome, or any other browsers cache shouldnt have an effect, what so ever, on how you have configured your s2member.

Also, if you have not installed/updated any plugins that “takes over your login”, and you have not added anything to your functions.php, I dont know how you would proceed, except for creating a rule in your functions.php..
But that should not be necessary as S2member controls this.

Perhaps you should wait for official support on this.

Viewing 25 replies - 51 through 75 (of 102 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.