Replies
- Brajesh Singh on October 23, 2015 at 10:28 am in reply to: [Resolved] Gallery not showing all galleries #1133
Please visit Dashboard->MediaPress->Tools and post me the output. I will have a better idea after looking at the plugin you are using.
- Brajesh Singh on October 23, 2015 at 10:27 am in reply to: [Resolved] Gallery not showing all galleries #1132
If you are downloading the plugin, it should give you mediapress-master.zip
https://github.com/buddydev/mediapress/archive/master.zip
That link will give you the most updated copy.Just upload it and should work. if the upgrade does not fixes, please visit MediaPress->Tools in the dashboard and post me the output.
thank you
Bajesh - Brajesh Singh on October 23, 2015 at 10:07 am in reply to: [Resolved] Gallery not showing all galleries #1128
Hi,
Please deactivate the plugin. Then delete it. After that please download latest and upgrade. If you get fatal error on activation, just reactivate again.Then check if that makes it work.
If the site is not too much explicit then I will be fine, If it is too much explicit, I will try to assist you here on forums instead.
- Brajesh Singh on October 23, 2015 at 10:03 am in reply to: [Resolved] Gallery not showing all galleries #1126
Can you please link me here or PM me the site.
The directory lists only public galleries. So, I wanted to make sure there were atleast 34 galleries.PS: When was the last time you downloaded and updated MediaPress. we have almost daily updates(except a few days for last 2 months). The version is not true indicator as we commit the changes on github without bumping version for now.
- Brajesh Singh on October 23, 2015 at 10:00 am in reply to: [Resolved] Add member name (@MemberName) under title on thumbs #1124
Hi Johan,
no problem.
That is doable too and I already posted on how to make that in my 2nd post on this topic. I will just post it here too.Just changing the code of the function to this will make it work like you expected
function mpp_custom_add_user_link() { $user_id = mpp_get_media_creator_id(); $link = sprintf( "<a href='%s'>%s</a>", bp_core_get_user_domain( $user_id ), bp_core_get_username( $user_id ) ); echo $link; }
Hope that helps.
- Brajesh Singh on October 23, 2015 at 9:55 am in reply to: [Resolved] Gallery not showing all galleries #1123
Hi,
Are you on the latest version of MediaPress? When was the last time you downloaded it. Can you please visit Dashboard->MediaPress->All Galelries and verify that there are 34 galleries.Also, is there any plugin you are using that might be doing filter on pre_get_post action?
- Brajesh Singh on October 23, 2015 at 9:25 am in reply to: [Resolved] Gallery not showing all galleries #1120
Hi Terjemak,
I am sorry for the trouble.
Can you please post the screenshot? - Brajesh Singh on October 23, 2015 at 9:24 am in reply to: [Resolved] Add member name (@MemberName) under title on thumbs #1119
I see the issue, you had copied the code from email you recieved from this forum. That code had entities encoded. You should never use code from any email by this forum. Instead, should copy from the posts here.
I have updated the code
Here is your link
http://pastebin.com/YdV1hTEzI just removed the entities and It should work. Please give it a try.
- Brajesh Singh on October 23, 2015 at 9:13 am in reply to: [Resolved] Add member name (@MemberName) under title on thumbs #1116
Can you please post your functions.php on pastebin? I will update it.
It is not the above code, It is the place where you are posting code is causing this and that is generating php syntax error.
- Brajesh Singh on October 23, 2015 at 8:47 am in reply to: [Resolved] Add member name (@MemberName) under title on thumbs #1113
Hi Johan,
Please put this in your theme’s functions.phpadd_action( 'mpp_after_media_widget_item', 'mpp_custom_add_user_link' ); function mpp_custom_add_user_link() { //you may put some conditions here like //mpp_is_single_gallery(); //mpp_is_single_media(); //to avoid showing it on single gallery/media pages $user_link = bp_core_get_userlink( mpp_get_media_creator_id() ); echo $user_link; }
and check if ti works or not?
to add support in shortcodes too, we can add one more line:-
add_action( 'mpp_after_media_shortcode_item', 'mpp_custom_add_user_link' );
That will make it work in both.
Please check and let me know.