colouro
Forum Replies Created
-
I have found the problem…
I was trying to get user id before user logs in. The function is called before log in happens… Maybe I could get user ID from your plugin within $user_profile array? In $user_profile array is an ID wich is FB ID. Maybe we can get other ID named wp_id or somehow…
Then we could update user meta ??Thanks!
Hi ??
Thank you for your help.
There is still one problem.
nextend_fb_user_logged_in – not working.
but the same code with nextend_fb_user_account_linked actions works fine.what could we do?
When I log in with FB connect, it does not update any user meta. What am I doing wrong?
Added this code in my functions.php:
function my_fb_login_function($user_profile, $facebook){ $curr_user = wp_get_current_user(); if( $curr_user->ID == 1 ) { // Just for admin update_user_meta( $curr_user->ID, 'gender', $user_profile["gender"] ); } } add_action( 'nextend_fb_user_logged_in', 'my_fb_login_function' );
Thanks, everything is working fine for me ??
How can I contavt you?
Now I see that when i click register, everything works fine, but when i wan tto login there is no facebook button
If anyone wants to know how to get around this problem, so I did the following:
Line 130: replaced the “
is_singular()
” to “!is_page()
“
Line 134: wrote$wpfbogp_description = "<YOUR_TEXT>";
I used:
get_the_title($post->ID)
to get the post title.
get_field("<FIELD_NAME>", $post->ID )
to get custom field value ( advanced custom fields plugin )Conclusion: if it is page, then it uses site description, if it is single post, then it uses custom description…
Hi there again ??
The same problem is in version 1.4.38.
How can I get version 1.4.35?Thank you very much! is it fixed in “Nextend Google Connect” too?
Also it would be great if we could write “OR” in other languages and to write a path where to redirect after loging in like profile page.Forum: Plugins
In reply to: [Invite Friends to Register] localization possible?Into wich lang directory?
Forum: Plugins
In reply to: [WordPress GPS] [Plugin: WordPress GPS] hook problemI have found an answer to it by myself…
So if you want pointers to be seen in custm post types, you need to name hook like this: “edit.php?post_type=examplePostType” and edit plugins include/gb_gps.php fule.
- Open file.
- Find the function “play_scenario”.
- Change
global $pagenow
toglobal $current_screen
. - Change line
if(GBGPS_Scenario::STOP == $this->scenarios[$id]->process($pagenow) {
To
if(GBGPS_Scenario::STOP == $this->scenarios[$id]->process($current_screen->parent_file)) {
Forum: Hacks
In reply to: Can't get jQuery ajax to workYou’re right! There was ” $.datepicker.parseDate(..” and I changed it to $jQ. You have very good skills! I hope there is someone that values your skills and pays respective salary!
Thank you for wasting your time for my pathetic problems and me.
respectfully
RobertasForum: Hacks
In reply to: Can't get jQuery ajax to workThank you so much! Now it works very well!!!!!! Thank you!
Forum: Hacks
In reply to: Can't get jQuery ajax to workAlmost done! :))) It pust url into adress bar, but does not redirects me to that page :DD ridiculously pathetic :)))
Edit: Everything is working, sorry for disturbing ??
Forum: Hacks
In reply to: Can't get jQuery ajax to workpreventDefault(); stoped my default action, how can I start it after i set globals and get alert message?