Skip to:
Content
Pages
Categories
Search
Top
Bottom

Search Results for 'wordpress'

Viewing 25 results - 7,801 through 7,825 (of 32,687 total)
  • Author
    Search Results
  • rygramer
    Participant

    Hi all, I am trying to make certain Profile tabs (i.e. “Activity”) hidden for ALL users except for those assigned specific roles (i.e. Administrators). Any ideas?

    Here is the context of my question:

    • A user will create an extended profile and be assigned the role of “subscriber”
    • Several other users with the roles of “administrator” will ‘mention’ the subscriber in a forum that only the administrators will have access to
    • These mentions will populate on the subscriber’s profile under “Activity -> Mentions”
    • The subscriber (or all other subscribers for that matter) must not see these mentions, but the administrators should

    I am not quite sure if I am headed down the right path. Thanks for any advice!

    WordPress 4.3
    bbPress 2.5.8
    BuddyPress Version 2.3.3
    Farben Basic theme
    (currently working from a local server, so cannot share link)

    #244195
    Datenfresser
    Participant

    Hi,
    is there anybody who have made experiences with the Plugin “App Presser” (an app, to create an mobile app out of your wordpress-site). The BuddyPress-Extension of the app is very expensive (400-500 $) so I don’t know if to buy it.

    * Does it work fine?
    * Do you know apps which are created with AppPresser?
    * How often is the Plugin updated? (compatibility with current WordPress Versions?)
    * Whats about the support?

    Greetings, Miriam

    #244174
    shanebp
    Moderator

    If you think you’ve found a bug in 2.3.3, you can submit a ticket here.
    Be sure to include some screenshots.

    #244160
    Florian
    Participant

    Hi,

    Many versions back of BuddyPress, I added the following to the bp-custom.php file in the plugins folder:

    define ( ‘BP_AVATAR_THUMB_WIDTH’, 200 );
    define ( ‘BP_AVATAR_THUMB_HEIGHT’, 200 );
    define ( ‘BP_AVATAR_FULL_WIDTH’, 450 );
    define ( ‘BP_AVATAR_FULL_HEIGHT’, 450 );

    Now the thumbnail resizing is no longer working. Without this text the thumbnails are compressed to 50×50. With this in it compresses them to 450×450 (just like the full sized avatars). The thumbnails are not resizing to 200×200.

    I have also changed the media settings in WordPress to reflect the desired size but it’s had no impact on the avatar thumbnails.

    Does anyone have any ideas about this?

    Many thanks,

    Florian

    #244159
    sharmavishal
    Participant
    #244157
    NorbRus
    Participant

    Hello!
    I have my site gs-admins.ru with BuddyPress 2.3.3 and WordPress 4.3 installed. Everything was OK, but now I have some trouble with private messages.
    Look at this:
    was – click.
    now – click.
    And I have no idea how to fix it. Can you help me please?
    Thank for your attention.

    #244138
    nilje
    Participant

    No, there is no other plugin which could cause it
    I’ve made a screenshot
    http://www.danielaholl.de/Apublic/Unbenannt-1.jpg
    I think the left side is the WordPress registration and right the one for buddypress.. there are my custom profile fields too.

    #244129
    nilje
    Participant

    thanks… thats not really compareable, the double password entering is just for precaution.
    I’ve never seen anywhere to enter my username twice.. And what if they enter two different ones, they don’t know for sure with which one they could login. That’s just odd for everyone who don’t know it’s about WordPress and Buddypress.

    Your link couldn’t help me, the topics are about not using usernames at general, I need it, but not twice. I dont’t trust the Plugin Simplr Registration Form Plus+, sounds good but there are many who had problems with their databases after using it..

    #244125
    danbp
    Participant

    You think right. BuddyPress need this field to sync with WordPress.
    It’s really confusing for the user to set the username twice.
    And what about entering password twice ?

    Read from here:
    https://buddypress.org/support/topic/hide-the-username-and-display-firstnamelastname/

    #244120
    nilje
    Participant

    Hi,

    At my registration page I have two required username fields. One for WordPress itself and one for buddypress I think. How can I set to just fill out the one for wordpress and set the same username for buddypress as well? It’s really confusing for the user to set the username twice.

    Thanks!

    #244114
    danbp
    Participant

    Invite Anyone is a separate plugin. Related question should be asked on the plugin support.

    Tafmakura
    Participant

    Found the solution, by placing buddypress.js in my child theme file (childtheme/buddypress/js/buddypress.js) as advertised, the problem was the activity privacy plugin https://wordpress.org/plugins/buddypress-activity-privacy/ this conflicts with my overide, afteruninstalling it my buddypress.js works!!!

    shadow_boi
    Participant

    Hi,

    i am using latest version of wordpress with buddypress and theme my login, all are in chinese locale.

    the issue was, when a user registers at my site, activation email wasnt being sent. after some digging, i found out that the email title is all garbage character (seems like chinese chars are not properly handled), so my email is consider spam and not sent.

    SMTP error from remote mail server after end of data:
    550 High probability of spam

    Subject: =?UTF-8?B?W2hvdyB0byB2YW5dIOa/gOa0u+aCqOeahOW4kOaItw==?=
    Message-ID: <764b42eca94b21df3d2691685ffc4642@mysite.com>
    X-Priority: 3
    X-Mailer: PHPMailer 5.2.10 (https://github.com/PHPMailer/PHPMailer/)
    MIME-Version: 1.0
    Content-Type: text/plain; charset=UTF-8
    Content-Transfer-Encoding: 8bit

    感谢您的注册!完成您帐号的激活,请点击下面的链接:

    http://mysite.com/activate/8ff52832cde4d7d22080bd3488666f82/

    as you can see, the subject field is not properly populated.

    so my question is:
    1) how to update the buddypress activation subject? If i really want to use chinese, how should i properly encode it? If it cant be done, how to change it to all english?

    2) i would more prefer the second way. right now buddypress somehow overwrites theme my login activation email functionality. how can i use the theme my login activation functionality instead of the buddypress one? With theme my login, i can easily manage email text.

    thanks in advanced!

    #244100
    danbp
    Participant

    See template entry.php

    https://buddypress.trac.wordpress.org/browser/tags/2.3.3/src/bp-templates/bp-legacy/buddypress/activity/entry.php

    Caution: modification are preferably done via child-theme.

    #244097
    AilyRoot
    Participant

    Hi

    we run latest wordspress 4.3 +bbpress 2.5.8+buddypress 2.3.3 and we are just told that

    “bbPress also has admin side, and there you can easily remove large number of topics filtered by forum or user”

    I did google and someone say admin panel path is /bb-admin ? but it shows 404 and I do see it on top menu bar either

    is there any any admin panel for bbpress/buddypress or it is just integrated with wordpress’s admin?

    #244090
    itslino
    Participant

    There’s two main issues I’m having the first being that gravatars won’t update. Specifically for users who can choose directly from the wordpress files. Since my site allow people to sign up, the issue doesn’t happen for any new uploads directly uploaded but it does happen if you upload using choose image rather than browse.

    so if you see my profile has no picture set up but it still displays one despite it not having one set up: here

    I honestly have no idea what to do at this point to the point that I’m considering just removing Gravatar.

    #244082
    danbp
    Participant

    That’s WP Toolbar user menu with BP user menu as subnav.
    https://codex.wordpress.org/Toolbar

    Googling for custom howdy menu will bring a lot of answers.

    #244073
    Henry Wright
    Moderator

    Hey djsteveb

    Thanks for your feedback! As you say it could be a plugin conflict or maybe even a theme issue.

    Not using GitHub isn’t a problem. Once you’ve completed all of your tests, can you post the issues you find on the plugin’s support forum? I’d be happy to take a look

    djsteveb
    Participant

    “when user reply or comment on any post” – when I hear that I think of replying to a post in wordpress language, which is a chrono blog post, and not a ‘static “page” ‘ – however I am going to assume you mean replying in the various comment reply places all throughout buddypress; like activity comments, group updates, etc.

    I am confused by what you are saying, but it’s only becuase I have no clue about how any of these things work. I’m still trying to learn php and then going to try to learn how wp and bp actually works – and that looks like it’s gonna take a long time.

    However now that you have provided some details I am sure one of the much smarter people around here will be able to guide you in the right direction.

    #244065
    AilyRoot
    Participant

    Hi guys
    we are looking for solution to get buddypress notifications work on our theme, we know it will be shown on wordpress’s default top tool bar but we want it to show somewhere else.

    We are using WP 4.3 with buddypress 2.3.3, we have added these to theme’s functions.php

    
    function bpfr_add_notification_to_page_title( $title, $original_title, $sep  ) {
    	
    	//do not change if the user is not logged in
    	if( ! is_user_logged_in() )
    		return $title;
    	
    	$user_id = get_current_user_id();//logged in user's id
    	
    	$count = bp_notifications_get_unread_notification_count( $user_id );
    	
    	if( $count > 0 )
    		$title = sprintf( "You Have %d New Notification(s) - ", $count );
    	
    	return $title;
    	
    	
    }
    add_filter( 'wp_title', 'bpfr_add_notification_to_page_title', 100, 3 );
    

    then we add these to theme ‘s menu location

    
    <?php echo bp_notifications_get_unread_notification_count( bp_loggedin_user_id() ); ?>
    

    but it is showing nothing, what is the correct steps to make this work please?

    thanks

    #244064
    shanebp
    Moderator

    Do you know how do_action works?
    There is no need to include any WP or BP files.
    Just make sure the hooks are available when you call them.
    For example, in your plugin loader, use ‘bp_ready’ hook to call a function that will include any of your plugin files that rely on BP hooks.

    #244052
    danbp
    Participant

    By default, when using BP’s site wide activity component and if user is logged in, you’ll see a Fav/Unfav button under each activity. This means that you can fav/unfav an activity, not directly a post.

    codex - activity stream screenshot

    To get a similar button near a blog post, you’re no more on the activty page and need to add a separate code. Read from here how to do this. More or less…

    WP Favorite plugin is not made to work with BuddyPress, just aside.
    Edit: you’re lucky, found this topic how to make it work.
    https://wordpress.org/support/topic/wp-favorite-posts-and-buddypress

    #244049
    hotconductor
    Participant

    When users receive a private message notification, they have started to just reply via email. This ofcourse goes to the default wordpress admin email, or wordpress@website.com. How/where can we change the reply-to field on a PM notification, to go to the original sender’s email account?

    #244047
    chriotte
    Participant

    Hi, I’m creating a page where I want to list all members and then let the users filter them by for example location by checking checkboxes.
    I created a quick mockup in photoshop of what I’m creating.
    mockup

    I’m working in the members-loop.php and my code works backend, my problem is to connect to front-end. Firstly I have an empty array of locations I want to filter by $locationValg. If I manually add a location, let’s say Oslo (The capital of Norway) to the Array, the loop spits out users wich have set the location to Oslo. So the code itself works. Prior to starting, I heard that you could connect front-end to the back-end by using Ajax and jQuery.
    After hours of trying and googling I’m not able to figure this out. Right now I’m just debugging with a button to echo out some words from a PHP function to see if it works, but ultimately I want the users to check the box “Oslo”, and The script add Oslo to my $locationValg array and rerun the script.

    This is my members-loop (a bit messy right now after hours of testing). The code is semi-Norwegian and English, so sorry for the confusion.

    Any advice for a PHP-Wordpress-Buddypress starter? 🙂

    <?php
    
    /**
     * BuddyPress - Members Loop
     *
     * Querystring is set via AJAX in _inc/ajax.php - bp_legacy_theme_object_filter()
     *
     * @package BuddyPress
     * @subpackage bp-legacy
     */
    
    ?>
    
    <?php
    
    $locationValg = array();
    setVerdier();
    
    if(isset($_POST['action']) && !empty($_POST['action'])) {
        $action = $_POST['action'];
         switch($action) {
            case 'test' : setEcho();break;
            case 'post' : setEcho();break;
    
            // ...etc...
        }
    setVerdier();
     }
    
    function setEcho(){
    	echo"trykket på knapp";
    }
    
    function setVerdier(){
    
    global $locationValg;
    
    /*$locationValg[] = "Oslo";
    $locationValg[] = "Telemark";
    $locationValg[] = "sd";
    echo $locationValg[1]; */
    lagListe();
    }
    
    /**
     * Fires before the display of the members loop.
     *
     * @since BuddyPress (1.2.0)
     */
    function lagListe(){ 
    		
    global $locationValg;
    
    do_action( 'bp_before_members_loop' ); ?>
    
    <?php if ( bp_get_current_member_type() ) : ?>
    	<p class="current-member-type"><?php //bp_current_member_type_message() ?></p>
    <?php endif; ?>
    
    <?php if ( bp_has_members( bp_ajax_querystring( 'members' ) ) ) : ?>
    
    	<div id="pag-top" class="pagination">
    
    		<div class="pag-count" id="member-dir-count-top">
    
    			<?php //bp_members_pagination_count(); ?>
    
    		</div>
    		<input type="submit" value="Last side" id="lastsideBtn"/>
    		<div id="sorteringsvalg"> 
    		<h2> Sorter artister</h2>
    		<ul>
    		<label for="oslo">Oslo</label>
    		<li><input type="checkbox" id="oslo" name="Oslo" value="Oslo"/></li>
    		</ul>
    
    		</div>
    		<div class="pagination-links" id="member-dir-pag-top">
    
    			<?php //bp_members_pagination_links(); ?>
    
    		</div>
    
    	</div>
    
    	<?php
    
    	/**
    	 * Fires before the display of the members list.
    	 *
    	 * @since BuddyPress (1.1.0)
    	 */
    	do_action( 'bp_before_directory_members_list' ); ?>
    
    	<ul id="members-list" class="item-list"> 
    
    <?php
    $numbersOfLocationsChecked = count($locationValg);
    
     while ( bp_members() ) : bp_the_member(); ?>
    	
    	<?php //$brukerType = bp_member_profile_data('field=Type');;
    
    //	echo 'brukertype:' . $brukerType;	
    
    $user = new WP_User( bp_get_member_user_id() );
    $userLocation = bp_get_member_profile_data('field=Område'); 
    //dele opp basert på komma
    $ordSomSkalDeles = $userLocation;
    $oppdeltOrd = explode(',', $ordSomSkalDeles);
    $antallOppdelteOrd = count($oppdeltOrd);
    //echo("Lengde" . $numbersOfLocationsChecked);
    //echo "Arrayinnhold: " .  $locationValg[1];
    //echo "Lokasjon fra profil: " . $userLocation;
    
    //This will check if the users hasent cheked anything, and prints all data
    if($numbersOfLocationsChecked == 0){
    	//print alt
    	//I know, this is not good coding with the same lines copy pasted
    if ( $user->roles[0] == 'subscriber' ){ ?>
    		<li <?php bp_member_class(); ?>>
    			<div class="item-avatar">
    			<a href="<?php bp_member_permalink(); ?>"><?php bp_member_avatar('type=full&width=100%&height=180'); ?></a>
    		</div>
    			<div class="item">
    				<div class="item-title">
    					<a href="<?php bp_member_permalink(); ?>"><?php bp_member_name(); ?></a>
    				</div>
    					<div class="item-title">
    					<a href="<?php bp_member_permalink(); ?>"><?php bp_get_member_type($user_id); ?></a>
    				</div>
    				<div class="musikertype">
    					<span><?php bp_member_profile_data('field=Type'); ?></span>
    				</div>
    				<div class="musikerlokasjon">
    					<span><?php bp_member_profile_data('field=Område'); ?></span>
    				</div>
    				<div class="musikerprissjikte">
    					<span><?php bp_member_profile_data('field=Prissjikte'); ?></span>
    				</div>
    
    				<?php
    				/**
    				 * Fires inside the display of a directory member item.
    				 *
    				 * @since BuddyPress (1.1.0)
    				 */
    				do_action( 'bp_directory_members_item' ); ?>
    
    				<?php
    				//bp_member_profile_data('field=Type');
    				 /***
    				  * If you want to show specific profile fields here you can,
    				  * but it'll add an extra query for each member in the loop
    				  * (only one regardless of the number of fields you show):
    				  *
    				  * bp_member_profile_data( 'field=the field name' );
    				  */
    				?>
    			</div>
    
    			<div class="action">
    
    				<?php
    
    				/**
    				 * Fires inside the members action HTML markup to display actions.
    				 *
    				 * @since BuddyPress (1.1.0)
    				 */
    				do_action( 'bp_directory_members_actions' ); ?>
    
    			</div>
    
    			<div class="clear"></div>
    		</li>
    <?php } 
    	//Ferdig med å printe ut alt
    }else{
    	//print kun field med riktig område
    	for($i = 0;$i< $numbersOfLocationsChecked;$i++){
    		for($x = 0;$x < $antallOppdelteOrd;$x++){ 
    		//echo("oppdelte ord før løkke " . $oppdeltOrd[0] );
    		$omrade = str_replace(' ', '', $oppdeltOrd[$x]);
    		//echo("oppdelte ord før løkke område " . $omrade . " SLUTT");
    		$omradeFraValgt = str_replace(' ', '', $locationValg[$i]);	
    		$printet = false;	
    		if($omrade===$omradeFraValgt){
    		//	echo("oppdelte ord fra løkke " . $oppdeltOrd[$x] );
    			//printing only data where the lcoation is selected
    			if ( $user->roles[0] == 'subscriber' ){ ?>
    		<li <?php bp_member_class(); ?>>
    			<div class="item-avatar">
    			<a href="<?php bp_member_permalink(); ?>"><?php bp_member_avatar('type=full&width=100%&height=180'); ?></a>
    		</div>
    			<div class="item">
    				<div class="item-title">
    					<a href="<?php bp_member_permalink(); ?>"><?php bp_member_name(); ?></a>
    				</div>
    					<div class="item-title">
    					<a href="<?php bp_member_permalink(); ?>"><?php bp_get_member_type($user_id); ?></a>
    				</div>
    				<div class="musikertype">
    					<span><?php bp_member_profile_data('field=Type'); ?></span>
    				</div>
    				<div class="musikerlokasjon">
    					<span><?php bp_member_profile_data('field=Område'); ?></span>
    				</div>
    				<div class="musikerprissjikte">
    					<span><?php bp_member_profile_data('field=Prissjikte'); ?></span>
    				</div>
    
    				<?php
    				/**
    				 * Fires inside the display of a directory member item.
    				 *
    				 * @since BuddyPress (1.1.0)
    				 */
    				do_action( 'bp_directory_members_item' ); ?>
    
    				<?php
    				//bp_member_profile_data('field=Type');
    				 /***
    				  * If you want to show specific profile fields here you can,
    				  * but it'll add an extra query for each member in the loop
    				  * (only one regardless of the number of fields you show):
    				  *
    				  * bp_member_profile_data( 'field=the field name' );
    				  */
    				?>
    			</div>
    
    			<div class="action">
    
    				<?php
    
    				/**
    				 * Fires inside the members action HTML markup to display actions.
    				 *
    				 * @since BuddyPress (1.1.0)
    				 */
    				do_action( 'bp_directory_members_actions' ); ?>
    
    			</div>
    
    			<div class="clear"></div>
    		</li>
    <?php } 
    
    		$printet = true;
    		//slutt på løkka som skal sjekke profil ord
    		} else{
    
    			//echo $omrade . " og " . $omradeFraValgt . " er ulike";
    		}
    			//Stopper løkka dersom den printes ut siden det kan være flere med samme lokasjon
    			if($printet == true){
    				break;
    			}
    
    		}
    	}
    
    }
    
    	endwhile; ?>
    
    	</ul>
    
    	<?php
    
    	/**
    	 * Fires after the display of the members list.
    	 *
    	 * @since BuddyPress (1.1.0)
    	 */
    	do_action( 'bp_after_directory_members_list' ); ?>
    	<?php bp_member_hidden_fields(); ?>
    		<div class="pagination-links" id="member-dir-pag-bottom">
    			<?php //bp_members_pagination_links(); ?>
    		</div>
    	</div>
    
    <?php else: ?>
    
    	<div id="message" class="info">
    		<p><?php _e( "beklager, ingen funnet", 'buddypress' ); ?></p>
    	</div>
    
    <?php endif; ?>
    
    <?php
    
    /**
     * Fires after the display of the members loop.
     *
     * @since BuddyPress (1.2.0)
     */
    do_action( 'bp_after_members_loop' );
    
    } ?>
    
    <script src="https://code.jquery.com/jquery-2.1.4.min.js"></script>
    <script type="text/javascript">
    
    var testBtnClick = function()
    {
    /* $.ajax({
                //url: '_inc/ajax.php',
                success: function(data) {
                  alert("fikk til");
                }
            }); */
    
    $.ajax({ 
    	url: '/members-loop.php',
             data: {action: 'test'},
             type: 'post',
             success: function(output) {
                          alert("Gått gjennom");
                      }
    		});
    
    }
    
    document.getElementById('lastsideBtn').onclick = testBtnClick;
    
    </script>
    
    
    #244043
    djsteveb
    Participant

    @itslino – yeah I don’t see much about them in there either – the theme docs are a mess here, and non-existent for 2015 theme as well.

    There was some site that listed a bunch of wordpress code and buddypress code – searchable and such, but I can’t .. wait I think it’s called hookr.io or something – found it – http://hookr.io/plugins/buddypress/#index=a if you type css in the filter box it limits what is displayed – it may help – but not sure. I have no idea how that works, if it’s up to date, and if all bp styling stuff actually has “css” in it’s tag or whatever.

    I guess you could change to 2014 theme and go to each page and right click property inspector and copy the css.. then put that into notepad and search for everything “buddypress” – at least that’s what I have been thinking about doing.. I think there is also some different styles with 2014 and 2015 depending on what screen size you are viewing with – so may hve to check various media queries.. no idea if there is a better way.

    I want to make some custom bp themes, but I can’t even get proper docs on working with latest / best coding practices with the wp default themes at the moment. There is some details on thesis.com err.. themeshaper.com – I think that stuff is out of date though –

    If you get it figured out I’d love to see some info put together on all this.

Viewing 25 results - 7,801 through 7,825 (of 32,687 total)
Skip to toolbar