ukndoit
Forum Replies Created
-
I even tried:
$tuser->set_role("access_s2member_level0");That did not work either. Still the new user, was set to “no role”.
Oh. why not have it notify you, before it demotes them, so then you can just search the notification. I think you may also be able to have it add a log file, so that you can see things. Look at the log file to see what you can have logged.
Also, here is a work around… have your website backed up regularly, then you can search backup databases for what they had before. I know that is not the best way to do it, but it could work. 😉
HTH
-RichardNevermind. Somehow it created an index.html file with all the gibberish…
I deleted it.
That fixed it. I guess the server was set to serve up index.html before index.php
so I deleted the html file. no need for it.
Sorry.
-Richard
Do you mean what current level they are at? or what current custom capabilities they have?
Whatever you do, don’t get an “InstantSSL” from namecheap. Nothing instant about it. Got one from them, and it has been 7+ days, still no certificate. Nothing instant about it, as I said above. So mad at them, I just had to tell you that because they said to make sure you have an SSL Cert…
🙂 no problem. Nothing but love here, my friend. I appreciate the help. 🙂
will test it out later when I’m back to working on that page. working on other pages right now, while it is fresh in my head ;o}
Thanks again. 🙂
My RMFM does not include swear word… I use “Freaking” instead of the F bomb. 🙂 haha
and Second M is “My” lol
AKA: Read MY Freaking Message. haha 😉 was just playing around with you. I take no offense when people use RTFM.I did read all of that, but there was no answer. I searched google, no answer, anywhere. I read the entire page, MF. RMFM I said “Is there a way… to search for all members that have the same value I’m looking for, IN PHP?” ;p} lol
LOL, I read every page S2Member put out. MF ;o)
why not install Jason’s ezphp plugin or whatever it is called, where you can put php code between [php][/php] tags and then just do this:
[php]wp_redirect(“http://example.com/account/”);[/php]
or are you trying to redirect them after they login?
what is RTFM?
I set that up, but for some reason, it executes on every page load… I followed the example, but I don’t know how to make it ONLY execute if it needs to.
I tried everything, but for some reason, it messed up the CSS so nothing looked right, even though I did not have it execute unless the certain variables existed that I was looking for, which included a private key I passed in the notification, so because that private key is not sent, it should just skip running. But that did not happen.
So is there a way to have it run only when called, but not every time someone loads any page?
thanks,
-Richardwow, that is what the problem was. My bad. I thought if I did not put a value/label, that the option would be there for BOTH. my bad.
That fixed it.
Thank you so much!!
Forum: Fixing WordPress
In reply to: sql not workingI see my crucial mistake in this:
$_amtClosed = $wpdb->get_var( $wpdb->prepare( "SUM(f1) from scards" ) );particularly this one:
"SUM(f1) from scards"I forgot the SELECT part of that statement… I corrected that, but the code is still not working.
Oh. The unique Id, I set this way:
niche
just that single word.
then for the Field Label I put: Your Industry