Forum Replies Created
-
Oh i find error, or some bug? I need to clear activity and all goes back to normall. Strange:)
in reply to: Fatal error – bug – last updateFrom apache log:
PHP Fatal error: Cannot use string offset as an array inIts :
PHP123456789101112131415case 'update_post':$status .= '<div class="userpro-sc-img" data-key="profilepicture"><a href="'.$userpro->permalink( $user_id ).'">'.get_avatar( $user_id, '50' ).'</a></div><div class="userpro-sc-i"><div class="userpro-sc-i-name"><a href="'. $userpro->permalink( $user_id ) .'" title="'. __('View Profile','userpro'). '">'. userpro_profile_data('display_name', $user_id).'</a>'. userpro_show_badges( $user_id, false, array('custom'));$status .= '<span class="userpro-sc-i-info">';$status .= sprintf(__('has updated a <a href="%s">%s</a>.','userpro'), get_permalink($var1), $var3);if ($var2 != '') {$status .= '<span class="userpro-sc-i-sp">"'.$var2.'"</span>';}$status .= '</span>';$status .= '</div><div class="userpro-sc-i-time">{timestamp}</div></div><div class="userpro-clear"></div>';$activity[$user_id][$timestamp] = array('user_id' => $user_id, 'status' => $status, 'timestamp' => $timestamp );break;in reply to: Fatal error – bug – last updateHello i create some brutal repair for that.
plugins/userpro/social-connect.php and plugins/userpro/shortcode-social-connect.php
We change:
"&profilepicture="+profilepicture
to:
"&profilepicture="+encodeURIComponent(profilepicture)
In plugins/userpro/functions/hooks-filters.php
We change:
"lib/timthumb.php?src=".$url."
to:
"lib/timthumb.php?src=".(strpos($url,"http") !== false ? urlencode($url) : $url)."
The problem it’s witch facebook login link, it’s delete everything after ? xxx & (his and its very important). Timthumb dont recongnize than url from facebook.
in reply to: error login facebookHello.
mail-function.php
:
Line: 104 (something like that)PHP12$message=stripslashes($message);$message=htmlspecialchars_decode($message);Before all wp_mail function you need to add:
PHP12$message=stripslashes($message);$message=htmlspecialchars_decode($message);In template of you wordpress you need add support to text/html e-mail, in you’re functions.php you need to add:
PHP1234add_filter( 'wp_mail_content_type', 'set_content_type' );function set_content_type( $content_type ){return 'text/html';}I think that’s everything.
in reply to: Html EmailI just do html e-mail with editing code in userpro. I try to write how to do that, but i dont guarante..
in reply to: Html EmailBut we got problem with miniatures in the newest version . – in facebook registration
in reply to: error login facebookThe problem it’s with getting current page number in user profile with that..
in reply to: Integrate pagination to postbyuserIt might be problem with you theme.
in reply to: 1.0.89 breaks several pluginsSome road map for upcomming relasion ?
in reply to: New Update Available – v1.0.89Ok.. only activity information..
in reply to: Fallowers – for what?For now i don’t get any help from this support. All my questions it’s to hard and they don’t want give any response.. Any..
in reply to: Integrate pagination to postbyuserI cannot get paged number in postbyuser template… BUt i don’t know why.. I try to add some global variables but it’s don’t help.
in reply to: Integrate pagination to postbyuserIts very hard what i see.. I mean the problem it’s with getting paged from current page. Function don’t want to get that from query..
in reply to: Integrate pagination to postbyuserAhmed please reponse for that what we can do with this ?
in reply to: User posts in profile – pagination