Skip to:
Content
Pages
Categories
Search
Top
Bottom

Search Results for 'wordpress'

Viewing 25 results - 7,801 through 7,825 (of 32,677 total)
  • Author
    Search Results
  • #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.

    #244040
    djsteveb
    Participant

    man your theme there has a lot of places where the background color is set.. some for different screen sizes.. some just setting the background for menu and the search box..

    open up your style.css and do a ctrl+f (find) for: background

    start trying different values is all I can guess. I can’t find that particular rule using property inspector or firebug.. maybe you just need to add the rule. (save a copy of your original)

    I’m not really sure, and not a css expert or anything..

    But this isn’t really a byddypress fourm question – it’s more of a question for the theme and plugin designers perhaps.. maybe do some searches for “modifying wordpress themes”

    #244032
    djsteveb
    Participant

    @projectslimited – yeah, welcome to the club! I had one bp site with registration turned off for 18 months.. turned it on to test some thing – hours later – dozens of new “groups” and spam accounts.

    My main site I depend on buddypress humanity as main line of defense.. but also add the plugin “good question” (changing the defaults on these two!)

    I also use “geo ip block” on all wp sites now. (changing some defaults)

    that seems to help 95% – then I got so tired of the manual spammers that I added the apache gep redirect thing from maxmind lite.. and block all visits from Russia, China, Ukraine, and a few others completely.

    Saves a ton of bandwidth and server resources – and makes it easier to find the cdir blocks of US and UK ISPs to block via htaccess (none of my web site visitors are using COLO Crossing Transport to visit my site- so all their cidrs eg:
    23.94.144.0/20
    23.94.144.0 – 23.94.159.255

    blocked…

    I have been messaging with a wordpress plugin author about modding his plugin that pulls info from failed logins and puts them into iptables – suggesting a few mods that can make that info useful to those of us who do not have access to or want to get into iptables modsec stuff – hopefully those suggestions will come into a new version of that plugin later this year.

    with my multi-site setup I use a ‘new blog defaults’ plugin to set any new blogs created to automaticcaly have the noindex setting in wordpress, and noinded nofollow settings from yaost.. so even if one manual spammer gets in and makes blog – it does no good, and does not show up on the radar of the other spammers.

    I recently had to block Japan entirely as I started getting daily spam hits from there.. of course each person’s setup will vary – I can’t block all countries on all my sites, so some sites I set the ip geo block to whitelist just one or two.. on other sites I setup a blacklist to block 20 or so..

    prateekvarma
    Participant

    Wordpress version 4.3
    Buddypress Version 2.3.3
    Website : http://viajesdespegar.com/pvarma/wordpress

    Issue : When a user finishes the registration process, and an email activation link is sent – the link gives an error “Invalid activation key.” on clicking/pasting on browser/entering the key manually.

    No plugins used, the only plugin is Buddypress. The standard Twenty Fifteen theme used.

    It’s a fresh install on WordPress and Buddypress, i am just trying to see how Buddypress is. I have been going through the forum to find answers, but most of the topics are closed by calling it an “old issue”, and the old threads did not solve my issue either.

    Any help is highly appreciated.
    Thanks!

    #244020
    CarrieOlsen
    Participant

    I recently installed and set up BuddyPress, and when I try to create a group from the backend, I am taken to the Groups page on the front end of the site, and there is nothing there on the page. I used the default Groups page that BuddyPress created when I installed it. If I navigate directly to the groups page on the front end of the site (mywebsite.com/groups), I get the same blank page. It has the page header “Groups,” but there is nothing else on the page.

    Wordpress version 4.3 and BuddyPress version 2.3.3. I am using a one-page theme: Alma, from themeforest.net.

    My website is http://carrieolsenvo.com.

    #244019
    sudip23
    Participant

    I am using wordpress for my site http://www.trendingtop5.com. I am using the customize theme trending top 5. I want to change my site’s back ground colour from white to anything else. But I can’t do it. please help meto guide the proper way. Is it can be done by theme editing or anything else.

    #244015
    Henry Wright
    Moderator

    Just looked it up

     * Filter SQL query strings to swap out the 'meta_id' column.
     *
     * WordPress uses the meta_id column for commentmeta and postmeta, and so
     * hardcodes the column name into its *_metadata() functions. BuddyPress, on
     * the other hand, uses 'id' for the primary column. To make WP's functions
     * usable for BuddyPress, we use this just-in-time filter on 'query' to swap
     * 'meta_id' with 'id.

    Seems as though it’s used to make WP *_metadata() functions compatible with BP.

    shubham9
    Participant

    i am using wordpress 4.3 along with buddypress and i want that the activity streams ahould be shown on the users profile . now it should be so that the users who are friends should be able to see the activity done bytheir friend and no one else. like we have on facebook. can anybody help?

    #244006
    Don Caprio
    Participant

    For some years now, I’ve used different user management plugins and I have some custom WordPress fields. I’m no longer using any of them and decided to go for BuddyPress but after installing BuddyPress, I was expecting the sync option to copy these fields to Xprofile but it didn’t.

    I have a lot of users and I’m not sure creating these fields all over again using extended profile is the best option.

    Is there a way to sync these wp fields (facebook, twitter, google+ website, author bio) to buddypress extended profile?

    I’m using the latest version of Buddypress and WordPress.

    Any help will be appreciated.

    #244004
    Henry Wright
    Moderator

    I agree it sounds as though you’ll need a bookmarking plugin as the “core”. There are most probably lots to choose from in the WordPress Plugin Directory. My advice is set up a WordPress site locally for testing, install BuddyPress and try out some of the bookmarking plugins to see which suits your idea best.

    #244001
    Jason West
    Participant

    Hi,

    Ever since installing Buddypress, we seemingly have an influx of visitors which just continually visit the site. This increases server load and slows down the server considerably. We have blocked out some of the main troublesome IP’s, but it seems to be a relentless flow of spambot traffic. We did have over 6000 rogue registrations, which have now been removed and stopped by using the Buddypress Humanity plugin!

    I have also used Wordfence in order to track these “visits” and on the screenshot below you can see the kind of thing we are up against.

    Wordfence

    Can anyone recommend a decent way to block these out.

    Please note I am not blocking the troublesome IP’s at WordPress/Wordfence level however am using CSF on our WHM in order to add the IP’s to the IP tables block. We do want to have many of these sites on our server, which is a very high powered VPS, but at the moment we are unsure whether it is even worth continuing.

    I have done a search for this issue both on this forum and on Google and haven’t yet found a trusted way of getting rid of them.

    Any help would be appreciated!

    Buddypress: 2.3.3
    Wordpress: 4.3
    Theme: Snaptube

    Thanks!

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