Home › Forums › David Welch
David Welch
My Latest Replies (From Various Topics)
Author | Replies |
---|---|
Author | Replies |
Posted: Monday Feb 13th, 2012 at 9:56 pm #4982 | |
|
|
Are you sure it’s the IP Ban and not the Brute Force / IP Login Restriction? Are you able to re-set them using the button in s2member? Dave |
|
Posted: Monday Feb 13th, 2012 at 9:50 pm #4980 | |
|
|
You might look into using this hook:
I haven’t tested it, and that’s assuming you mean after they paid via paypal… lol! A simple wp_redirect() hook should do the trick I would think. Dave |
|
Posted: Monday Feb 13th, 2012 at 9:46 pm #4979 | |
|
|
I don’t know of any. I think the idea of the membership levels is to help prevent having to approve registrations. I’m sure it could be custom coded but I’ve never dealt with it myself. Dave |
|
Posted: Monday Feb 13th, 2012 at 9:44 pm #4978 | |
|
|
I’ve had this issue before when I created my own function to put the registration page in a shortcode function. I believe the issue is the tabindex setting on your inputs. The sequence can get thrown off sometimes for some reason when the code is generated. each of your inputs should have this option:
Of course the number will vary. Basically the tab button follows that sequence in order from smallest to largest. So if one is out of order, it will jump to it. Check and see if that is the issue. Sounds like your recaptcha might have a tabindex that falls between the two password fields tabindex’s. You’ll have to see if you can manipulate the code to change the tabindex if that is the problem. Dave |
|
Posted: Monday Feb 13th, 2012 at 9:36 pm #4977 | |
|
|
This is probably not the prettiest idea, but it should work. If you open wp-login.php on line 328 or so, you should see this:
If you comment it out it shouldn’t run:
You will of course have to code a hook or something to send the e-mail when you want it to be sent. The biggest issue though is that wordpress encrypts the passwords, so you would also have to save it in another part of the db during the function of wp-login.php you are editing and erase it later when you’re custom code sent the e-mail since you won’t be able to retrieve it when the e-mail is sent later. Or you could just send the e-mail later with just their username and tell them to use the password reset option… but that’s probably not good customer service. Not sure if that really helps.. lol! Dave |
|
Posted: Monday Feb 13th, 2012 at 9:08 pm #4976 | |
|
|
If you have access to the mysql db, you should be able to run these two queries to remove all IP restrictions:
This is taken from the following S2Member code: Hope that helps, |
|
Posted: Monday Feb 13th, 2012 at 8:23 pm #4968 | |
|
|
You need to wrap it in the following php tags.
Dave
|
|
Posted: Sunday Feb 12th, 2012 at 5:39 pm #4912 | |
|
|
If you open the page in the page editor, does it say that it is still protected in the s2member box (upper right)? If so, I would try disabling it there and see if that works. If so, it could be a bug with the options page saving correctly. Dave |
|
Posted: Sunday Feb 12th, 2012 at 5:37 pm #4910 | |
|
|
That’s part of the standard options (at least on the most recent release for sure). Go to General Options -> Registration/Profile Fields and Options When you click to create a new field, it loads a modal form. Scroll down to “Allow Profile Edits: *” drop down option. The 4th option is what you want (editable after registration and invisible during registration). Hope that helps, |
|
Posted: Sunday Feb 12th, 2012 at 5:11 pm #4908 | |
|
|
Sorry about that. What was the issue? Dave EDIT: I had another user with the same issue. I forget to tell people to start and end their php with the php tags. That’s probably why it was printing out instead of running.
|
|
Posted: Saturday Feb 11th, 2012 at 11:01 pm #4866 | |
|
|
LOL, my wife, who has no idea about programming, overheard the video he made and looked at it and said, “Oh, that’s a toolbar… I’ve used that before!” LOL People….. Dave |
|
Posted: Saturday Feb 11th, 2012 at 10:56 pm #4863 | |
|
|
LOL!! I just visited his own website and don’t get the same results… Nothing like jumping to conclusions without real proof… plus he’s spreading false info on the web about a great company!! What a waste of the last hour…. Dave |
|
Posted: Saturday Feb 11th, 2012 at 10:34 pm #4856 | |
|
|
That’s not a native function of S2member (at least not the free version). I’m not sure about the paid version. You could probably custom code it but I don’t know of any plugins that will do it off the top of my head. Dave |
|
Posted: Saturday Feb 11th, 2012 at 10:26 pm #4854 | |
|
|
Where is the link. I would love to see actual proof because I can’t even see your claims about their own website. LOL! I’ve been looking all over the place for this stuff to see what you are talking about and I can’t find it. I also can’t find your video on youtube. What is the link to your video or can you be more specific about where it is on this website? Thanks,
|
|
Posted: Saturday Feb 11th, 2012 at 8:55 pm #4842 | |
|
|
You can set this up under s2member -> Paypal Buttons Create the buttons under the correct level to make it easier and just follow the instructions and you should be good to go. Dave |
|
Posted: Saturday Feb 11th, 2012 at 8:23 pm #4838 | |
|
|
What intext ads are you talking about? Dave
|
|
Posted: Saturday Feb 11th, 2012 at 4:15 pm #4832 | |
|
|
Bendix, that’s only for how it is displayed in your admin panel, not the registration form inputs or labels. Jasmine, Are you using the standard registration page or are you integrating with another plugin besides s2member? What is your website url? Have you double checked to make sure the fields were saved? You said you saved them but I would double check to see if they are still listed. Dave |
|
Posted: Saturday Feb 11th, 2012 at 4:09 pm #4831 | |
|
|
I believe you would have to pull that data from the db yourself. Then you can hook into the profile when it is shown. Are you talking about the list you see in the admin side or the profile the user sees? Dave |
|
Posted: Saturday Feb 11th, 2012 at 3:48 pm #4829 | |
|
|
I’m sure there are other options, but this one should work and I love playing with the hooks and filters… lol! My suggestion would be to add a function to the user_register hook. Something like this should work (not tested) 1. Create a new file (if you don’t have one) in wp-content/mu-plugins/ called s2-hacks.php. You may also need to create the mu-plugins directory. 2. add this to that new s2-hacks.php file:
3. Again, I’ve not tested this fully so let me know if you have any issues. 4. You can also do other things with the content of that page by using the $user_id that is passed from wordpress. If you want to see all the variables s2member sends to their action hook, then change $user_id to $vars=array() and before the “}” add die(print_r($vars)); . May not be the best option but I hope that helps,
|
|
Posted: Saturday Feb 11th, 2012 at 3:30 pm #4828 | |
|
|
I think what adam is saying is that he wants Unregistered people to be redirected to the registration page instead of a wordpress “page” like the ones listed in the dropdown on the s2member options. My suggestion would be to add a function that hooks into s2member to disrupt the normal redirection process. I did a little testing and this seemed to work for me: 1. Create a new file (if you don’t have one) in wp-content/mu-plugins/ called s2-hacks.php. You may also need to create the mu-plugins directory. 2. add this to that new s2-hacks.php file:
3. Save the file and test it out. Non-logged in users should be re-directed to the registration page now. Again, I have not done extensive testing but it seems to work for me. Hope that helps, |
|
Posted: Saturday Feb 11th, 2012 at 10:39 am #4810 | |
|
|
To be honest, I’m not sure what you mean by paypal pricing table (learn something new every day). However, when you create a button in S2M they also list the option to copy/past html/php code for your button instead of the shortcode. You might have to scroll down a little to find it (depending on your screen size) under this heading “Resulting PayPal® Button Code: ( ultimately, your Shortcode will produce this snippet.” Not sure if that’s what you need. You could always add a function(s) to your functions.php file to handle any changes to the basic button code if you need to. Dave |
|
Posted: Friday Feb 10th, 2012 at 3:37 pm #4771 | |
|
|
Just looking at the html, the label has no class or id attached to it. You might be able to add a class to it with Jquery as suggested on this site: Beyond that, I’m not sure what file outputs the css for that item. Dave |
|
Posted: Friday Feb 10th, 2012 at 3:03 pm #4768 | |
|
|
I don’t use downloads, but just looking at the system, here is my guess: The redirection is only for non-members (those not logged in). There is an option under Download Options ->Download Limit Exceeded Page where you can specify a page for users to be redirected to when they reach their limit. Since you are setting the limit at 0, any time you click one, you’ve reached your limit. If you don’t have anything in that field, that might be why it’s directing to a blank page. Hope that helps, |
|
Posted: Friday Feb 10th, 2012 at 2:55 pm #4766 | |
|
|
The login page is a standard page (unless you want to get really creative with templates or shortcodes). It can be found here: http://yoursite.com/wp-login.php So if you are creating a link for your menu, you can use the custom link box on the left and put that url in it. If that’s not what you meant, let me know. Dave |
|
Posted: Friday Feb 10th, 2012 at 2:52 pm #4765 | |
|
|
Do you mean change the label of the fields when they are displayed on the page? Dave |