David Glez
Forum Replies Created
-
Forum: Plugins
In reply to: [qTranslate X] One issueRepost:
I only happens in customized templates, for example, this is one of them:
<?php get_header(); ?>
<div class=”container”>
<div id=”primary” class=”col-md-8″>
<div class=”row”><? bp_get_template_part( ‘groups/page-activity’ ); ?></div>
</div>
<?php get_template_part( ‘sidebar’); ?>
</div>
<? get_footer();?><?php bp_get_template_part( ‘groups/page-activity’ ); ?> <– It contains the function I mentioned in the previous post
Thanks!
Forum: Reviews
In reply to: [Rating-Widget: Star Review System] Perfect PluginHello @ratingwidget,
we are still under development, but I have deployed Rating Widget with another well-known plugin, Event Manager. When completed, I’ll share. I’m just saying that this plugin is very powerful. Great work.
Cheers!
Yes, this code is in function.php my theme, but the placeholder is the placeholder folder event manager
I created a file, customavatar.php and I have risen to the placeholders folder, call the placeholder #_RATINGS with this code:
add_filter (’em_location_output_placeholder’ ‘my_em_placeholder_mod’, 1,3);
my_em_placeholder_mod function ($ replace, $ EM_Location, $ result) {
if ($ result == ‘#_RATINGS’) {
ob_start ();
$ template = em_locate_template (placeholders / customavatar.php ‘, true, array (‘ EM_Event ‘=> $ EM_Location));
$ replace = ob_get_clean ();
}
return $ replace;
}It is correct, but as I said above does not return me different ID’s, only 1 ID.
thanks
Hello,
I created a list of events and I created a PLACEHOLDER, his name is #_RATINGS. The purpose is to show the Reviewer ratings through a shortcode, this is the idea:
Function:
Echo rw_get_user_rating ($userID = false);
Or shortcode:
[ratingwidget post_id = 123]
The problem is that only returns me 1 ID. Something I’m doing wrong, can you help me?
Thank you.
Hello Angelo
Thanks for answering.
Returns only one ID, how you could show different ID’s?
Thank you very much.
Forum: Plugins
In reply to: [Events Manager - Calendar, Bookings, Tickets, and more!] Create PlaceholderHi,
Perfect, thank you!