underpressure2019
Forum Replies Created
-
Here is a link for ya underpressure
http://wp-events-plugin.com/documentation/(under events about half way down left hand side)
Pretty sure this is the information you are looking for (or anyone else that stumbles across this lonely post looking for answers.
I was able to partially resolve the issue with :“DOMContentLoaded Event” checkbox, under “Other Settings”
Image still is not responsive in upper left.
have you checked the ‘Allow Shortcodes’ checkbox within the Slider Settings?
A. allow shortcodes has been checked
I’ve had a look at the link provided, and I’m not seeing any content for any of the slides?
A. you must be logged in to view the sliders. You can log in by clicking/tapping the facebook, google, or twitter icons provided. alt. I can provide you with a temporary login, however the process is quicker/simpler by using a login method provided then returning to the main page (original link).
- This reply was modified 7 years, 2 months ago by underpressure2019.
You are indeed correct, simply using a chrome browser on an Android device will work properly and display all Super Socializer logins. The login persists however, when the login is in a native app in the form of a webview as written and further discussed HERE directly from Google.
Here is also a link to the app in question so that you may demo it directly. Alternatively you may add your login to any app in a webview and notice the issues with the Google login option.
- This reply was modified 7 years, 4 months ago by underpressure2019.
understandable, thank you for your help and support.
in addition I thought it might be helpful to add the functions code from the progress bar.
<?php // Exit if accessed directly if ( !defined( 'ABSPATH' ) ) exit; /** * Returns plugin version * * @uses bppp() plugin's main instance * * since 1.0 */ function bppp_get_plugin_version() { return bppp()->version; } /** * Url to images dir * * @uses bppp() * @return string the url * * since 1.0 */ function bppp_get_images_url() { return bppp()->images_url; } /** * Register points filter * * The callback must either return bool (eg. TRUE, which equals 100%) or a percentage (eg. 50) * @param type $label * @param type $callback * @param type $points * @param type $args * * since 1.0 */ function bppp_register_progression_point( $label, $name, $callback, $points, $args = false ) { $point = array( 'label' => $label, // label for this item aka 'name' => $name, // display name 'callback' => $callback, // name of the function used to retrieve the user's percents for this item 'points' => $points // number of points this item potentially gives ); if( $args ) $point['args'] = $args; bppp()->query->points[] = apply_filters( 'bppp_register_progression_point_'. $label, $point ); } /** * Get points total * * @return int * * since 1.0 */ function bppp_get_total_points() { $total = 0; foreach( ( array ) bppp()->query->points as $item ) { $total+= $item['points']; } return $total; } /** * Builds a link to message composer on users list * * Display progression percent in Profile Status column * if no data is found, shows a send message button * * @since 1.0 */ function progress_bar_add_percent_column_content( $value, $column_name, $user_id ) { if ( 'progress_profile' == $column_name ) { if( !bp_is_active( 'messages') ) { $warning = __( 'BuddyPress Message Component must be activated.', 'buddy-progress-bar' ); return $warning; } $user = get_userdata( $user_id ); $user_percent = get_user_meta( $user_id, '_progress_bar_percent_level', true ); if( bp_is_active( 'messages') ) { $link = wp_nonce_url( bp_loggedin_user_domain() . bp_get_messages_slug() . '/compose/?r=' . bp_core_get_username( $user_id ) ); } $recipient = ' '. bp_core_get_username( $user_id ); $ico = '<span class="dashicons dashicons-email-alt"></span>'; $defaults = array( 'id' => 'complete_profile_message-'.$user_id, 'component' => 'messages', 'must_be_logged_in' => true, 'block_self' => true, 'wrapper_id' => 'complete-profile-message-'.$user_id, 'wrapper_class' =>'complete-profile-message', 'link_href' => $link, 'link_title' => __( 'Send a message to', 'buddy-progress-bar' ) . $recipient, 'link_text' => $ico, 'link_class' => 'send-message', ); if( isset( $user_percent ) && $user_percent != 0 ) { return sprintf( '%s %%', $user_percent ); } else { $btn = bp_get_button( $defaults ); return apply_filters( 'progress_bar_get_send_private_message_button', $btn ); } } return $value; } add_filter( 'manage_users_custom_column','progress_bar_add_percent_column_content', 10, 3 ); /** * Add Welcome page menu * * @since 1.0 */ function bppp_about_screen_page() { add_dashboard_page( 'About Progress Bar', 'About Progress Bar', 'read', 'bppp-about', 'bppp_about_screen' ); } add_action('admin_menu', 'bppp_about_screen_page'); /** * Remove welcome link from wp admin menu * * @since 1.0 */ function bppp_about_screen_remove_menu() { remove_submenu_page( 'index.php', 'bppp-about' ); } add_action( 'admin_head', 'bppp_about_screen_remove_menu' );thank you for getting me started in the right direction here.
I have attached a the code of more of what I am looking for but for some reason I am not finding the function I need from the buddy profile progress bar functions.php to use as a condition. Here is what I have, any idea what I might be doing wrong?
I have added the full code with my addition/** * Change avatar quality */ function heateor_ss_custom_social_avatar( $avatar, $avuser, $size, $default, $alt = '' ) { global $theChampLoginOptions; if ( isset( $theChampLoginOptions['enable'] ) && isset( $theChampLoginOptions['avatar'] ) ) { // put your condition below if ( 1 ) { if( isset( $user_percent ) && $user_percent != 0 ) // condition for best quality $avatarType = 'thechamp_large_avatar'; } else { // condition for average quality $avatarType = 'thechamp_avatar'; } $userId = 0; if ( is_numeric( $avuser ) ) { if ( $avuser > 0 ) { $userId = $avuser; } } elseif ( is_object( $avuser ) ) { if ( property_exists( $avuser, 'user_id' ) AND is_numeric( $avuser->user_id ) ) { $userId = $avuser->user_id; } } elseif ( is_email( $avuser ) ) { $user = get_user_by( 'email', $avuser ); $userId = isset( $user->ID ) ? $user->ID : 0; } if ( $avatarType == 'thechamp_large_avatar' && get_user_meta( $userId, $avatarType, true ) == '' ) { $avatarType = 'thechamp_avatar'; } if ( ! empty( $userId ) && ( $userAvatar = get_user_meta( $userId, $avatarType, true ) ) !== false && strlen( trim( $userAvatar ) ) > 0 ) { return '<img alt="' . esc_attr( $alt ) . '" src="' . $userAvatar . '" class="avatar avatar-' . $size . ' " height="' . $size . '" width="' . $size . '" style="height:'. $size .'px;width:'. $size .'px" />'; } } return $avatar; } add_filter( 'get_avatar', 'heateor_ss_custom_social_avatar', 100003, 5 );in my case it was the theme, ensure “theme” on whichever page you are setting the short code to is set to default or try changing the theme on your press site/page
2nd part resolved,
I inadvertently switched the page template if anyone else comes across this and has a similar problem.Sorry it has taken so long to get back I am working on a larger scale project working with this and remembered I still needed this information while looking up a problem I just encountered. So 1st Thank you for getting back, 2nd:
To answer this initial question, I am throwing around a few ideas. I am working also with Gamipress (in fear of violating forum terms) So, the parameters are as follows:
a member must spend x amount coins to unlock. How that is done doesnt matter. ie they could use the Gamipress points to buy a “widget” if a widget is seen on their profile it unlocks a clear pic or
option 2; currently BP offers a “profile completion bar” and an award is given to those who compete it. If that award is seen then offer clear avatar.2nd Part
I am now experiencing problems with the login feature. The buttons aren’t working properly (at all). They used to work fine now nothing. I had disabled the plugin and since enabling it it doesn’t seem to be working if I type in the short code on a “regular” or “added” (non registration) page. It will work however on the registration page. This problem has probably been asked and answered so a link to it will suffice. Thank you for your help with this project in advance.link-http://typhoonapps.com
- This reply was modified 7 years, 6 months ago by underpressure2019. Reason: added link