nicola
Forum Replies Created
-
Forum: Plugins
In reply to: [BuddyPress Facebook] Working on Member Pages But Not On Groupshi, in the file /include/facebook-groups-extension.php
Just edit near line 158 :
<a href="<?php echo fbplus_field_onecj();?>" ><img src="<?php bloginfo('wpurl'); ?>/wp-content/plugins/buddypress-facebook/img/facebook_social.gif"></a>hf !
Forum: Plugins
In reply to: [Media Library Assistant] rtmedia and mla lightboxThank you for your help !! It’s working 🙂
Best support ever !
For those who are trying to do it here is my setup yo use “facebook style lightbox” from rtmedia / buddypress :
1/ I have copied /examples/buddypress-hooks-example.php.txt to your /wp-content/plugins directory, renamed it to buddypress-hooks-mla.php
2/ Activate the plugin in admin panel
3/ In the admin panel, go to Settings -> MLA -> MLA Gallery
4/ At the end of the page, add a template :
Name :
rtmedia
Open :
<ul class='rtmedia-list rtmedia-list-media'>
Item :<li class="rtmedia-list-item"> <a href="[+link_url+]"> <div class="rtmedia-item-thumbnail">[+thumbnail_content+]</div> <div class="rtmedia-item-title">[+title+]</div> </a> </li>Close :
</ul>Then save and choose from dropdown menu ‘rtmedia’ as ‘Markup Template’.
5/ In the gallery page add the mla shortcode :
[mla_gallery buddypress_urls=cover]I’m using some image attribute , so my shortcode is :
[mla_gallery buddypress_urls=cover tax_query="array( array( 'taxonomy' => 'rt_pays', 'field' => 'slug', 'terms' => 'france' ) )"]Thanks again.
Forum: Plugins
In reply to: [Media Library Assistant] rtmedia and mla lightboxThanks David For all the details.
In fact i’m using your templating system in the admin panel with the specific shortcodes you made [+something+].
I’v looked through the doc to use filter. but i dont understand how it work. I’ve activated the plugin /examples/buddypress-hooks-example.php.txt and uncommented
I’m using in my page :
[mla_gallery my_filter="mla_gallery_item_values_filter" tax_query="array( array( 'taxonomy' => 'rt_pays', 'field' => 'slug', 'terms' => 'france' ) )"]Or :
[mla_gallery mla_gallery_item_values_filter="buddypress_urls" tax_query="array( array( 'taxonomy' => 'rt_pays', 'field' => 'slug', 'terms' => 'france' ) )"]but cant get the attachement page url.
my idea was to use :
<ul class='rtmedia-list rtmedia-list-media'> <li class="rtmedia-list-item"> <a href="[+MEDIA URL -or RTMEDIA PERMALINK ? +]"> <div class="rtmedia-item-thumbnail"><img src="[+link_url+]" ></div> <div class="rtmedia-item-title"></div> </a> </li> </ul>and something like this [+MEDIA URL -or RTMEDIA PERMALINK ? +] to get buddypress /rtmedia attachement url of the image.
What do you think its better to use ? and how filter are working ? (sorry i’m pretty noob for this).
Really thanks for your help
Forum: Plugins
In reply to: [Media Library Assistant] rtmedia and mla lightboxHey !
Thank you for your answer.
Yes is the “Facebook style lightbox”. I’m triyng to get it work with mla. I’ve modified the template base.
I’ve got something but, i dont know how to get media URL like this :
http://site.url/members/user/media/187/My template is :
<ul class='rtmedia-list rtmedia-list-media'> <li class="rtmedia-list-item"> <a href="[+MEDIA URL -or RTMEDIA PERMALINK ? +]"> <div class="rtmedia-item-thumbnail"><img src="[+link_url+]" ></div> <div class="rtmedia-item-title"></div> </a> </li> </ul>If you have any idea … i’m in :p
Forum: Plugins
In reply to: [BuddyPress Wall] How to set the News Feed as the defaultHello !
I will be very intrested about this feature, or maybe a mix betwin activity and news feed on the same wall.
Ty