kapilaya
Forum Replies Created
-
Total yes. I will go to pro. All my research took me to Youzify as best option. My only doubt is will I get Photo Albums feature in PRO version ?
Thanks friends
Update:
Problem is fixed with these changes as follows:
1.- Manually creating privacy field in wp_bp_activity table.
2.- Adding this code:
$privacy = !empty( $privacy ) ? $privacy : ‘public’;
in line 279 in class.youzify_attachments.php at /plugins/youzify/includes/public/core/
Photos are displayed in youzify widget as desired. There is not any wp filter on args of db insert function so modifying the code is the only way.
These changes will be lost in the next plugin update so please let me know some permanent way to fix the problem.
By the way the code is easy to follow, thanks a lot for that.
Thanks in advance
Versions:
Wordpress (localhosted): Versión 5.8.2
Idioma del sitio: es_ES
Theme: ExS ProVersión: 1.7.6
Buddypress: Versión 9.1.1
Youzify: Versión 1.1.5- This reply was modified 3 years, 3 months ago by kapilaya.
Update: I realized media table wp_youzify_media is always empty. Even with rtmedia inactive. Activity uploads are not being inserted in your media table. This error is reported:
Database Error in WordPress: [Unknown column 'privacy' in 'field list'] SELECT privacy from wp_bp_activity WHERE id = 608 Database Error in WordPress: [Column 'privacy' cannot be null] INSERT INTO <code>wp_youzify_media</code> (<code>media_id</code>, <code>item_id</code>, <code>component</code>, <code>user_id</code>, <code>privacy</code>, <code>type</code>, <code>time</code>, <code>data</code>, <code>source</code>) VALUES ('247', '608', 'activity', 1, NULL, 'image', '2021-11-15 10:06:15', '0', 'activity_photo')
That is right, there is not privacy field in bp-activity table. I manually created privacy field in activity table and the media item is inserted in youzify_media table but with no src or media_id so item is showed as an empty frame in Photos youzify widget. Just a test.
Something is missing and I donot what exactly. Youzify Configuration maybe? Will it work in Pro version?
Thanks friends
Many thanks
best wishes
Eduardo
Forum: Fixing WordPress
In reply to: how to remove sidebar in one page (2013)??
there is not loop-page.php in my theme folder (magazine basic).