New Update Available – v1.0.84 – UserPro Forums https://forum.userproplugin.com/forums/topic/new-update-available-v1-0-84/feed/ Mon, 06 May 2024 15:01:43 +0000 https://bbpress.org/?v=2.6.2 en-US https://forum.userproplugin.com/forums/topic/new-update-available-v1-0-84/#post-30969 <![CDATA[New Update Available – v1.0.84]]> https://forum.userproplugin.com/forums/topic/new-update-available-v1-0-84/#post-30969 Sat, 05 Apr 2014 11:12:40 +0000 admin Hi,

This is an announcement about the latest update (v1.0.81)

Version 1.0.84 (04 Apr 2014)
============================

– New feature: added “Remember me” feature for Login shortcode
– New feature: added ‘all_users’ option to show posts by all users instead of specific user / profile
– New feature: control the maximum size of files or photos that user can upload via frontend
– New feature: added option to disable or enable lightbox feature globally
– New feature: new action hook that runs before a form is processed in ajax ‘userpro_before_form_save’
– New feature: redirect to custom URL option when user log in with modal (data-login_redirect=”your-custom-url”)
– Fixed bug: display of custom fields that have multiple values in memberlist table fixed
– Fixed bug: Syntax error bug in registration form when form contains multi select fields is now fixed

Please download the most recent update from customer area:

http://userproplugin.com/userpro/customer_portal/

Thanks!

]]>
https://forum.userproplugin.com/forums/topic/new-update-available-v1-0-84/#post-30970 <![CDATA[Reply To: New Update Available – v1.0.84]]> https://forum.userproplugin.com/forums/topic/new-update-available-v1-0-84/#post-30970 Sat, 05 Apr 2014 11:19:29 +0000 admin Remember Me

The Remember me checkbox will appear by default on login shortcode. To disable it, set rememberme=false in your shortcode.

Photo Lightbox – to enable or disable lightbox for photos (profile photo + uploaded photos) globally, this will NOT LOAD lightview js/css files if turned off. (Requested)

Maximum file size for uploads – allow you to control maximum size that user can upload from the frontend. Photo or file.

Added option to show posts by all users

template=postsbyuser can accept new argument now, which is: all_users=true and it lets the code show ALL users posts instead of user=xxx or profile owner only.

New Action Hook

do_action(‘userpro_before_form_save’, $form, $template, $user_id);

You can use it to DO stuff before a form is processed/saved. Accepts 3 args. $form contains submitted form keys/values. $template : login, edit, register, etc. and $user_id 🙂

Redirect after Login from popup

As requested also, this is for popup-login links that open login with modal. You can add this data-login_redirect=”your-custom-url” to the link to control where the user will be redirected after logging in from MODAL.

The minor update also fixes 2 small bugs.

Thanks ]]> https://forum.userproplugin.com/forums/topic/new-update-available-v1-0-84/#post-31006 <![CDATA[Reply To: New Update Available – v1.0.84]]> https://forum.userproplugin.com/forums/topic/new-update-available-v1-0-84/#post-31006 Sat, 05 Apr 2014 15:49:15 +0000 Robin Tabari Is there an update for the private messaging add on? Just checking.

]]>
https://forum.userproplugin.com/forums/topic/new-update-available-v1-0-84/#post-31007 <![CDATA[Reply To: New Update Available – v1.0.84]]> https://forum.userproplugin.com/forums/topic/new-update-available-v1-0-84/#post-31007 Sat, 05 Apr 2014 16:58:15 +0000 Tomas Samot Thanks, very useful ‘userpro_before_form_save’ hook!
ALso after save would be good too, cause i also want to run code after data is saved… 😀

PS dont know why but i use this hook, i always get SyntaxError: Unexpected token < when im press save after i edit profile.

]]>
https://forum.userproplugin.com/forums/topic/new-update-available-v1-0-84/#post-31028 <![CDATA[Reply To: New Update Available – v1.0.84]]> https://forum.userproplugin.com/forums/topic/new-update-available-v1-0-84/#post-31028 Sat, 05 Apr 2014 20:30:48 +0000 admin How did you use it Tomas? 🙂 Please show me your sample usage, so I can comment on it.

@Robin, I am currently working on another update for UserPro still, Messaging addon will be updated as well soon

]]>
https://forum.userproplugin.com/forums/topic/new-update-available-v1-0-84/#post-31030 <![CDATA[Reply To: New Update Available – v1.0.84]]> https://forum.userproplugin.com/forums/topic/new-update-available-v1-0-84/#post-31030 Sat, 05 Apr 2014 21:11:10 +0000 Tomas Samot add_action( ‘userpro_before_form_save’, ‘CheckUserDataBeforeSave’ );

function CheckUserDataBeforeSave($form, $template, $user_id)
{
mail(“[email protected]”,print_r($template,true),print_r($form,true));
}

i just wanted to see the contents. i do not change anything. I also got $template always empty. And $user_id empty too.

]]>
https://forum.userproplugin.com/forums/topic/new-update-available-v1-0-84/#post-31031 <![CDATA[Reply To: New Update Available – v1.0.84]]> https://forum.userproplugin.com/forums/topic/new-update-available-v1-0-84/#post-31031 Sat, 05 Apr 2014 21:44:06 +0000 Tomas Samot I also using this code

problem the same. I really need this fixed 🙁 Also maybe better idea is to write to console errors, not to alert them to end user.

PS. no matter that im get error-but data is being saved. Maybe this will help u.

EDIT: i saved whole output from ajax call in php file (ajax.php line:501) and checked validation on online JSON validation website-says valid JSON. So i guess it’s not json problem but JS.

]]>
https://forum.userproplugin.com/forums/topic/new-update-available-v1-0-84/#post-31040 <![CDATA[Reply To: New Update Available – v1.0.84]]> https://forum.userproplugin.com/forums/topic/new-update-available-v1-0-84/#post-31040 Sun, 06 Apr 2014 05:18:45 +0000 Nate82 Every time I update the UserPro plugin my thumbnails screw up. Errors I get are “Could not create the index.html file – to fix this create an empty file named index.html file in the cache directory.” and “Could not open the lockfile for writing an image.”

Is there not a way to set the permissions properly from your end or will I have to change the folder permissions every time I update? I have to set the cache folder to 777 and index.html/timthumb_cacheLastCleanTime.touch to 777 as well to get thumbs to show again, is this safe?

]]>
https://forum.userproplugin.com/forums/topic/new-update-available-v1-0-84/#post-31041 <![CDATA[Reply To: New Update Available – v1.0.84]]> https://forum.userproplugin.com/forums/topic/new-update-available-v1-0-84/#post-31041 Sun, 06 Apr 2014 06:32:24 +0000 yiannakis Hey Ahmed good day to you !
I used this shortcode [userpro template=postsbyuser all_users=true] but nothing is shown at the page !

What i am missing there ?

Thank you

]]>
https://forum.userproplugin.com/forums/topic/new-update-available-v1-0-84/#post-31045 <![CDATA[Reply To: New Update Available – v1.0.84]]> https://forum.userproplugin.com/forums/topic/new-update-available-v1-0-84/#post-31045 Sun, 06 Apr 2014 07:22:27 +0000 admin @yiannakis : make sure you updated your plugin from customer area, I just tested the same code on random page and it’s showing all posts by all users.

@Nate82 please put the purchase code in your profile.

@Tomas that code is not used to print anything on screen, update the plugin again from customer area. This code is to process code in backend while or before saving. e.g. storing a custom field value. Or modifying an existing form value.

Please download the latest update from customer area.

]]>