Forum Replies Created
-
Author
-
November 11, 2015 at 20:21 in reply to: Non Admin User Error "There was a problem posting your update. Please try again. #86861lopregParticipant
Not at all. The problem also occurs on default 2015 theme
lopregParticipantHi @Radu
I trust you are having a great time. Please, I am still waiting for your response. Thanks.
lopregParticipantHell @Radu
Thanks a lot for this. It worked!
Please, is there also a way, I can move the button elements up closer to the widgetized sidebar elements?lopregParticipantHi,
Please, see http://campusportalng.com/.
I used Visual Composer for the homepage design and it added even more empty spaces as you can see on the site.
I tried some of the suggestions on the forum here, but I wasn’t still able to get rid of all the empty spaces. So I reverted to defaults for you to see. Thanks for anticipated kind response.lopregParticipantIt appears a lot of people are asking same question as I am. Please see http://codecanyon.net/item/userpro-user-profiles-with-social-login/5958681/comments?utf8=%E2%9C%93&term=manually+hook+in+permalink%28%29&from_buyers_and_authors_only=0&order_by=relevance
My problem is, I can’t seem to find how to implement the solution suggested there. Any help on this will be greatly appreciated cos I don’t seem to have any other option but to get userpro work with buddypress due to the nature of my project.
Please see the content of the api.php file below;(edit – I’ve attached the file instead since this post shows up in search results and we have to scroll far down to get past it.)
Attachments:
You must be logged in to view attached files.lopregParticipantThat will be great @laura. I have been scanning the net all day for a solution to this. I will really love to be able to redirect userpro profile to buddypress profile as s2member is not giving me exactly all I need
lopregParticipantWow. You are a life saver! That was actually where I got it wrong. It worked out immediately I created the correct file path you stated above. Thanks and Thanks again for your patience and understanding
lopregParticipantHi,
Sorry to bother you. I didn’t actually delete the add action code, I only temporarily tested the form code alone to be sure nothing is wrong with it. Your code actually fixed my bad function code but my form didn’t get to display anywhere on the page. I have also moved the general-header-section.php file to my child’s theme like you suggested but adding the code to the bottom did not still display the form anywhere.
I suspect something is preventing it from appearing below the menu because when I placed the form code alone in the function.php, it appeared at the top most of the site.Please, don’t be upset. I know this is not supported, I am only asking for your help as I couldn’t get help elsewhere.
Thanks for your anticipated kind response.lopregParticipantThanks a lot for the response. I tried the code but the form didn’t display anywhere on the site.
If I add only the form code without the function my_header_menu() code, the form display but not positioned in the desired location. Kindly review the code you supplied me. Thanks again.lopregParticipantAfter doing a google search, I came across this page http://codex.wordpress.org/Template_Tags/wp_dropdown_categories.
The issue I am having now is how to properly add the code to the function without breaking the site. Please, pardon me, am not that great with php.
Here is what I have at the moment which breaks on line 25;
<?php
/**
* @package WordPress
* @subpackage Kleo
* @author SeventhQueen <themesupport@seventhqueen.com>
* @since Kleo 1.0
*//**
* Kleo Child Theme Functions
* Add custom code below
*/
add_action( ‘wp_enqueue_scripts’, ‘load_buddypress_js’ );
function load_buddypress_js () {
if (bp_is_group() || is_page( ‘activity’ )) {
wp_enqueue_script(‘buddypress_query’,plugins_url() . ‘/buddypress/bp-core/js/jquery-query.min.js’,array(“jquery”));
wp_enqueue_script(‘buddypress_members’,plugins_url() . ‘/buddypress/bp-core/js/widget-members.min.js’,array(“jquery”));
wp_enqueue_script(‘buddypress_cookie’,plugins_url() . ‘/buddypress/bp-core/js/jquery-cookie.min.js’,array(“jquery”));
wp_enqueue_script(‘buddypress_scroll’, plugins_url() . ‘/buddypress/bp-core/js/jquery-scroll-to.min.js’, array(“jquery”));
wp_enqueue_script(‘buddypress_js’,get_template_directory_uri() . ‘/buddypress/js/buddypress.min.js’,array(“jquery”));
}
}
add_action(‘kleo_before_content’,’my_header_menu’);
function my_header_menu() {
<li id=”categories”>
<h2><?php _e( ‘Posts by Category’ ); ?></h2>
<form id=”category-select” class=”category-select” action=”<?php echo esc_url( home_url( ‘/’ ) ); ?>” method=”get”><?php
$args = array(
‘show_option_none’ => __( ‘Select category’ ),
‘show_count’ => 1,
‘orderby’ => ‘name’,
‘echo’ => 0,
);
?><?php $select = wp_dropdown_categories( $args ); ?>
<?php $replace = “<select$1 onchange=’return this.form.submit()’>”; ?>
<?php $select = preg_replace( ‘#<select([^>]*)>#’, $replace, $select ); ?><?php echo $select; ?>
<noscript>
<input type=”submit” value=”View” />
</noscript></form>
}
-
AuthorPosts