af3
Forum Replies Created
-
I am actually using buddyboss platform and buddyboss child theme; i added the above at /wp-content/themes/buddyboss-theme-child/buddypress/activity/index.php and just after the activity form because I want the event to be displayed underneath it. I think you can find the same template file if u are using other themes and look for the activity template file. Thanks
Ah, its in the plugin already 🙂 thx
So this is under WP HR Manager Pro Bundle 01 ?
Oh, seems like this is working, added in the buddypress index.php template file.
<?php /** Check if there is an event today, if yes then display it **/ $EM_Events = EM_Events::get( array( 'scope' => 'today' ) ); if ($EM_Events) { echo '<span class="todays-event">Events Today</span>'; foreach ( $EM_Events as $EM_Event ){ echo '<i class="bb-icon-chevrons-right"></i>'; echo '<a href="'.$EM_Event->output('#_EVENTURL').'">'.$EM_Event->output('#_EVENTNAME').'</a>'; echo ' '; } } ?>Super! Thanks @danieliser – looking fwd to the new conditions. Cheers for the really prompt reply.
Forum: Plugins
In reply to: [Perfect Survey] Tips and IdeasSome suggestions:
a) Integration with buddypress/buddyboss so user can post poll in activity streams and display results on their profile page, visible to all (ony for their poll if they decide to open up the statistics).
b) Restrict poll by username and not only IP
c) shortcode for page/post to show statistic to public for any polls selected by admin to be made publicThanks!!!
Just for those using SC, if you add delay in WP Telegram setting for 1 min, the above should now work ..
Forum: Plugins
In reply to: [Next Active Directory Integration] Compatibility with Buddyboss themeI realized the minimum plan is USD640/yr, quite steep for an individual explorer like me. I think its a great plugin and I value hard work and creativity and hours and hours of working on the plugin every day. I am sure that’s probably the right fees. I just cant afford it for now. Thanks for responding.
For whatever reason, this seemingly straight fwd get_post_meta function keeps returning empty $post_ID , any ideas?
/* WP Telegram - modify post URL */ add_filter( 'wptelegram_p2tg_post_data_full_url_value', function ( $url, $post ) { if ('wpsc_ticket_thread' === $post->post_type ) { $post_ID = get_post_meta($post->ID,'ticket_id',true); // Get the URL somehow. $url = get_permalink( $post_ID ); } return $url; }, 10, 2 ); /* WP Telegram - modify post URL */Thank you so much!!!
a) This works okay — thanks.
b) This still give empty $post_ID, not sure why it is not returning the $post_ID
c) the image in the post is in the form of img src=http://myserver.com/?wpsc_img_attachment=923 – i tried this to get term_id = 923 — havent tested/* WP Telegram - use custom image */ add_filter( 'wptelegram_p2tg_post_data_featured_image_url_value', function ( $url, $post ) { if ('wpsc_ticket_thread' === $post->post_type ) { // Get the term id from featured_img url $url_components = parse_url($url); parse_str($url_components['query'], $term_query); $term_ID = $term_query['wpsc_img_attachment']; // This will give the full file path and not url $url_path = get_term_meta( $term_ID, 'file_path', true ); // Convert file path to url $url = 'http://'.$_SERVER['HTTP_HOST'].str_replace($_SERVER['DOCUMENT_ROOT'], '', $url_path); } return $url; }, 10, 2 ); /* WP Telegram - use custom image */d) Also added this to get the ticket title — but i cant get the topic title.
/* WP Telegram - use custom topic */ add_filter( 'wptelegram_p2tg_post_data_post_title_value', function ( $post_title, $post ) { if ('wpsc_ticket_thread' === $post->post_type ) { global $wpdb; $ticket_subject = $wpdb->get_var( "SELECT ticket_subject FROM ".$wpdb->prefix."wpsc_ticket WHERE historyId = " . $post->ID ); $post_title = $ticket_subject; } return $post_title; }, 10, 2 ); /* WP Telegram - use custom topic */Forum: Plugins
In reply to: [Video Conferencing with Zoom] Sync schedule meeting in zoom to wordpressThanks for the info. Is there a shortcode to display a list of zoom meetings in frontpage ?
Ok, found out that this is by design.
I edited \includes\admin\tickets\create_ticket\submit_ticket.php line 41 & 48:
if(is_user_logged_in() || $current_user->has_cap('wpsc_agent') ){to allow agents to send support request too.Look for this plugin also WPJBM Application
oh the meta key is _applying_for_job_id 🙂
Forum: Plugins
In reply to: [Post State Tags] How to use this in custom-post-type listingThanks John, i just added this to their code to enable the css in this cpt listing. but it’s changing the plugin core code — anyway, it works.
<span class="post-state"><span class="'. $status->name . ' states">...- This reply was modified 6 years, 9 months ago by af3.