42 reputation
7
bio website
location
age
visits member for 2 years, 6 months
seen Feb 21 at 13:23

Feb
1
comment wp-editor-area textarea disapear on cancel-comment-reply-link click
@Wyck sorry won't happen again
Feb
1
revised wp-editor-area textarea disapear on cancel-comment-reply-link click
added 8 characters in body
Jan
30
asked wp-editor-area textarea disapear on cancel-comment-reply-link click
Sep
2
accepted How to let user select role upon registration in Facebook-AWD?
May
29
awarded  Popular Question
May
1
awarded  Popular Question
Feb
21
asked How to let user select role upon registration in Facebook-AWD?
May
5
comment Roles at registration (classipress)
hi can you post your register form and register process function that classipress uses by delfault
Apr
26
asked how to translate countries output from wp database?
Apr
22
revised Force users to complete their profile after they register? How to
corrected figure it out
Apr
22
suggested suggested edit on Force users to complete their profile after they register? How to
Apr
22
comment Force users to complete their profile after they register? How to
then i just tried to replace pre_get_posts by appthemes_init with no luck, but replacing pre_get_posts with appthemes_before_header did the trick. no more redirections errors and the access is prevented ..cool ;) please note that !is_admin() is not working why???!!! i had to replace it with !current_user_can( 'administrator' )) and it works. now i keep in bulding may reg forms and recontact you if any other issues, but i will also provide the code and mark your answer as useful very thx again eric. have an email adress plz...
Apr
22
accepted Force users to complete their profile after they register? How to
Apr
22
comment Force users to complete their profile after they register? How to
@ericssocial thax for your comment :) i have already tried all what you have suggested with no luck, even reinstall from scratch. No i havent't any plugins installed. well i figured it out (i think so ), i have tried to use pre_get_posts action with an echo rather thant wp_redirect my surprise that what i am trying to echo is displayed on header and some pages. then i rememred that the jobroller theme i am using have it's own developer API with built-in hooks action see here link 1 link 2..[...]
Apr
21
revised Force users to complete their profile after they register? How to
unclosed brackets in code
Apr
20
comment Force users to complete their profile after they register? How to
[..] when i log in site is redirected to http: //mydomain.com//registration-step-2/ as add_action('wp_login','check_reg'); did the job. when i tr to access another part of the site using nav menu my site is supposed to prevent access and stay at http: //mydomain.com//registration-step-2/ and that what i really got in my url. te only matter is that at thes step my ste is loading slowly and at end i got Erreur 310 (net::ERR_TOO_MANY_REDIRECTS) and per url http: //mydomain.com//registration-step-2/. that let me suppose that your code did the trick i want, but i couldn't get rideof error
Apr
20
suggested suggested edit on Force users to complete their profile after they register? How to
Apr
20
awarded  Commentator
Apr
20
comment Force users to complete their profile after they register? How to
hi.. i can say that your code is very clear and simple to unsderstand. I really liked the pre_get_posts to restrict users from accessing site if they don't get ride of step 2.well done!! unfortunately, add_action('pre_get_posts','check_reg_on_page');' causes an infinite redirect loop Erreur 310 (net::ERR_TOO_MANY_REDIRECTS) : Too much redirections on google chrome. i don't know if it's a conflict with the jobroller theme or with the hook itself. can you help with this ??? NB: my site is on localhost with the virtual host manager of easyphp so i can have maydomain.com [...]
Apr
19
awarded  Supporter