Skip to:
Content
Pages
Categories
Search
Top
Bottom

Search Results for 'buddypress'

Viewing 25 results - 31,401 through 31,425 (of 94,566 total)
  • Author
    Search Results
  • #166135
    @mercime
    Participant

    Cool. Marking this as resolved.

    #166134
    @mercime
    Participant
    #166132
    @mercime
    Participant

    @ivevera Thank you for posting back with the culprit, an SEO plugin as one of suspected conflicts. You could also post at that seo plugin author’s forums that it’s not “playing nice” with BuddyPress pages.

    Marking this topic as resolved.

    #166129

    In reply to: MEMBER PROFILE PAGE

    @mercime
    Participant

    @pedropapito BuddyPress is installed by default in the main site. If you want BuddyPress to be “installed” in sub.dominio.com, then you’d have to add the following to your wp-config.php file:
    define ( 'BP_ROOT_BLOG', $blog_id );
    That way, the avatar link would go to the profile page of the member in sub.dominio.com and not to the main site.
    reference: https://codex.buddypress.org/user/install-buddypress-on-a-secondary-blog/

    #166127
    @mercime
    Participant

    @visualizeedits assuming you’ve found the bridge script between MyBB forum and WordPress, you would still be required to bridge MyBB with BuddyPress and Cubepoints unless you do not intend to record the activities of the members in your forums in their profile pages.

    If you only need members to pay for some enhancements in their forum profiles, adding BuddyPress may be an overkill for your site. You might be better off just using s2member plugin.

    #166126

    In reply to: Pending Notifications

    b a
    Participant

    OKay, I followed this guy http://androoha.com/web-design-tuts/80-custom-notifications-buddypress-en

    And it did a trick, in some way, so I will extend my question here.

    I managed to add function which adds notifications to database when I like an activity.
    It displays it well when I have only 1 notification with such component_action.
    But when I have to, it just merges my notifications into one, or something like this, sometimes it even brokes (but might be another issue)

    so here is my code in functions.php

    function bp_members_format_notifications( $action, $item_id, $secondary_item_id, $total_items, $format = 'string' ) { 
    	global $bp; 
    
    	switch ( $action ) {
    		case 'new_likes': 
    			$thanks_for      = $item_id; 
    			$who_thanked     = $secondary_item_id; 
    			$link = '/heregoeslink'; 
    			$return = '<a href="'.$link.'">'. $who_thanked .' liked your link!</a>'; 
    		break;
    	} 
    
    	return $return; 
    }

    I have 5 notifications in database with new_likes component_action and 4 of them belong to current user. so $total_user contains “4”,

    now I want to remake this code to display user notifications separatly.

    Many thanks even for reading till this )) I also try to continiue thiking for an answer and if something I’ll post it here

    #166125

    In reply to: Pending Notifications

    b a
    Participant

    Please try to supply answers to the following questions.

    1. Which version of WordPress are you running?
    Lastest (stable)
    2. Did you install WordPress as a directory or subdomain install?
    Directory
    3. If a directory install, is it in root or in a subdirectory?
    Root
    4. Did you upgrade from a previous version of WordPress? If so, from which version?
    No
    5. Was WordPress functioning properly before installing/upgrading BuddyPress (BP)? e.g. permalinks, creating a new post, commenting.
    Yes
    6. Which version of BP are you running?
    Lastest (stable)
    7. Did you upgraded from a previous version of BP? If so, from which version?
    No
    8. Do you have any plugins other than BuddyPress installed and activated? If so, which ones?
    Yes, many plugins and all of them BP related, since I don’t have any error/problem with my current installation, I won’t insert here this big list. Need to mantion BP Like/Dislike though
    9. Are you using the standard BuddyPress themes or customized themes?
    Standart
    10. Have you modified the core files in any way?
    Yes, In many way 😀
    11. Do you have any custom functions in bp-custom.php?
    No
    12. If running bbPress, which version? Or did your BuddyPress install come with a copy of bbPress built-in?
    Lastest, I downloaded it from WP Plugins
    13. Please provide a list of any errors in your server’s log files.
    Strange but no errors (with Debug turned off)
    14. Which company provides your hosting?
    Local installation
    15. Is your server running Windows, or if Linux; Apache, nginx or something else?
    Linux Ubuntu, apache 2.2 php5

    #166124
    modemlooper
    Moderator

    Version on codex is not fully working on BuddyPress 1.7. Also, it may not work on your device. And, you need to read the setup instructions.

    #166122
    timchu
    Participant

    I am using bp default theme, basically it is working fine on all mobile format, only problem is the header image appear twice.
    Hope someone can help?

    #166121
    Liltiger
    Participant

    Hi there,

    I searched prior support topics on this & I’ve followed the ticket below. It says it’s closed now, but my activity feed is still temper mental. It seemed to work the week prior and then it stopped, started up again yesterday, and stopped again today…

    What do I need to do to keep it going? I need BP Media images to go through and show up on the Image Feed Widget plugin.

    Much Thanks,

    Jamie

    http://buddypress.trac.wordpress.org/ticket/5020

    #166118
    Liltiger
    Participant

    Hey,

    If you go to Dashboard Settings > Buddypress > Settings, then the first option is ‘Show the Toolbar for logged out users’. Just uncheck it.

    My theme is also has a setting for the login toolbar, so you may want to check out your theme settings.

    I hope it helps!

    #166110
    praveshraheja
    Participant

    any one here to help me
    installed and activated plugin and in widget area it is asking to put Birthday field Name (or ID)

    from where i can get this ?

    and as said in plugin page Birthday field must have been previously created in the Buddypress profile page so i opened USERS >Profile Fields >Add New Field

    here i user date selector to create it and after that in registration page user have to put their date of birth .but from where i can get Birthday field Name (or ID) please help .Thankyou

    #166109
    dmd54
    Participant

    Ok. I was finally able to get WP to reinstall and it appears to be working now.

    Thanks

    #166096
    @mercime
    Participant

    @dmd54 what hnla said.

    When I press view I just get the home page

    That’s default behavior when you go to register page while you’re logged in. Log out first.

    #166095

    In reply to: Register page bug

    @mercime
    Participant

    @gothmarilyne check Settings > BuddyPress > Pages and check if there are Pages assigned to Register and Activate.

    #166092
    programer2013
    Participant

    hi all.i want the profile page of user to be served as main page of my buddypress ..i have used static page option..as by default ..buddyrpess create three pages..activity.groups etc.
    so i can make them as main static page..my requironments is..i want the user profile page to be serve as main page..thanks for ur reply in advance

    #166091
    programer2013
    Participant

    hi all.i want the profile page of user to be served as main page of my buddypress ..i have used static page option..as by default ..buddyrpess create three pages..activity.groups etc.
    so i can make them as main static page..my requironments is..i want the user profile page to be serve as main page..thanks for ur reply in advance

    @mercime
    Participant

    Submit Trac Ticket about this issue – https://buddypress.trac.wordpress.org/newticket log in with WP username/password

    #166086
    gametako
    Participant

    i found the error… its that internally BP saves the pages as lowercase, but when using upper case (arabic in URLs are sent to the server in upper case for some reason) then it gives off the 404 errors.

    what do you guys suggest i should do?

    darrenmeehan
    Participant

    I’m currently customizing the BuudyPress Like plugin to include the “Like” button on comments in the BuddyPress’s activity though I could do with some help.
    to figure out if its a comment or parent activity item we’re dealing with, can you figure out whats wrong with the following code?
    if ( !bp_activity_comment_id() ){` $type = ‘activity’;
    }

    else {
    $type = ‘activity_comment’;
    }`

    Has anyone carried out any work on something similar? I’ve finding it hard completing this, I’ve been reading through a ton of buddyPress code but can’t quite get my head around how to organize this

    #166079
    Number_6
    Participant

    Hi guys, hope someone can help,

    I edited the .pot file in PoEdit which generated the .mo file. I moved both into the languages folder naming them buddypress-en_US. The codex instructions said to upload the .po file, so I assumed that means I’d have to rename the extension from .pot to .po, so I did that.

    I have nothing.

    What am I doing wrong?

    gametako
    Participant

    hello guys,

    i have a strange issue where link to groups around the site work fine, but as soon as i copy the link of the group and paste it in a new browser window, i get a 404

    for example if you go to http://www.gametako.com/%D9%85%D8%AC%D9%85%D9%88%D8%B9%D8%A7%D8%AA-%D8%A7%D9%84%D9%85%D8%B7%D9%88%D8%B1%D9%8A%D9%86 it will give you an empty page, but if you click on the groups link on the top of the page (where its the same link btw) it will take you to the groups page.

    its really confusing and I have no way of approaching on how to debug this. any ideas?

    rcain
    Participant

    @bp-help

    good suggestions. thx. 2 of them r new to me, so other people may find them helpful also.

    on our sites we r using::

    Keith Graham’s most excellent ‘stop-spammer-registrations-plugin’ – https://wordpress.org/plugins/stop-spammer-registrations-plugin/

    – has stopped over 53,000 spammers since feb this year! it uses external lookups on StopForumSpam, ProjectHoneyPot, BotScout, (Akismet, which we dont use), others – thus great collective benefit/advance warning of bad traffic. also traps brute force attacks (bad logins/registrations/comment posts, etc), etc. is simple enough to play nice with most plugins.

    to try & keep as much load off the front-end of the server as possible, we also have set up:

    linux iptables ( & ufw add on )- as the basis of all firewall stuff. also has our manually maintained blacklists & whitelists. various custom rule chains setup. takes a while to get your head around, but is essential.

    linux fail2ban – essentially an add on to iptables, puts people in jail for bad behaviour – eg: brute force attacks against ssh, ftp, mail logins. we also have set up custom rules detecting bad activity against wp-login.php itself via fail2ban. am looking to do some more with this.

    linux apache – mod-security2, libapache2-mod-evasive, libapache2-mod-antiloris, libapache2mod-spamhaus – which help protect against general bad behaviour, DDOS, blank header attacks, the infamous ‘Loris’ script (which we’ve experienced!), and bot-nets. still assessing how effective these r.

    we have also had to tune apache on our VPS for resilience in the face of DDOS type attacks and heavy-handed brute force attacks.

    some further good tips here: http://www.dannytsang.co.uk/index.php/apache-2-hardening-tips/ & elsewhere.

    linux logwatch – reports various access stats (the good & the bad & the ugly) via email – very useful indeed for checking whther situation is under control (or not).

    linux rkhunter – scans for rootkits on the server from time to time – just be sure – & particularly useful if u ever do get infected in hunting down the intruder’s code.

    obviously we also have file system bolted down. (there is a good wp plugin to check permissions bolt-down, i forget what its called). we also spend a LONG time analysing logs etc.

    anway, that takes care of many of the bad boys, but we r still left with the following problems to crack:

    1) we have observed that many bad bots/scripts are exhibiting ‘learning behaviour’ (ie. heuristic) and r finding ways around fail2ban rules/jails, etc. in particular:

    a) rotating IP addresses to match ‘ban counts’ – currently we have them wasting an IP address every 3-4 attempts, but they still seem to have an inexhaustable supply, else are spoofing extreamly well.

    b) varying their retry period to match the length of jail sentence. (ie. they are not wasting their mips whilst in jail, just enough to detect when they are released,record it, and tune their future responses).

    2) content scrapers, probes and bad-bots generally – these r wasting enormous resource on our servers. typically i would suggest such ‘bad traffic’ is responsible for over 50% of total server load (ie. not good at peak times on a busy site). additional problems we r facing here:

    a) bad bots often spoof the agent string to pretend to be eg. google, bing, etc. the only way u can tell is by reverse lookup of ip address and try and match to one of well known range of ‘good bot’ addresses. but, despite fact that many ranges are well known, most of them are never actually published or confirmed, many are variable. i am not aware of any definitve list of ip addresses of good bots (though there is http://www.iplists.com/ whichis not bad, & http://www.webmasterworld.com/search_engine_spiders/ which is often helpful – these are very much ‘best efforts/as seen in the wild’ lists.). this problem worsens with the rise of social network agregation services, other (legitimate) content agregators, and personal content aggregating software on mobiles, tablets, etc.

    idea: i am thinking of writing a script/plugin/rule to do smart lookup of ip against good bots list, & to automatically maintain that (collective) list. ideally, this is a service that someone like spamhause, or projecthoneypot should offer, since they already have the infrastructure. but, we’ll see. the script will detect traffic ‘purporting to be a SE bot, of any kind and to ban it via iptables if it isnt in the approved list/doesnt check out. the risk is in false positives and harming ones SEO. anyone any thought in this area?

    b) probes & sniffers hunting out wp/bp forms, ajax ports, plugin files, forms, etc – in advance of main attack by penatration/spamming bots. typically always use swiftly rotated ip’s. many many variants out there. usually they have no luck on our sites, but that does not stop them trying in vast numbers (bot-nets, collectives? hives?) and harming out response times, etc.

    idea: url obfuscation has been brought up on this forum before, particularly for eg: login, registration, admin url’s, etc. i am thinking of creating a plugin to dynamically hash encode links of choice using someething based on wp forms nonce system. not only useful for causing probes & hackers pain, but also to help thwart media thieves. obviously, scripters will soon respond by just snanning for link titles in html, so not bullet proof in any way, but they will at least be on 1-time request code, so causing them page reload every request & less sophisticted scripts will be totally wasting their own time.

    anyway. these have been my thought so far. would love to hear experience/insights of others.

    unfortuntely wordpress & buddypress sites in particular represent the richest of prizes for hackers, content scrapers, spammers, etc – & they r really on our case. furthermore, there is some BIG money involved, from porn to pharma to credit card fraud; that means some very smart programmers being paid excellent rates, to hack our systems, full time. add to that, the 10’s of millions of infected machines out there (often unknowingly) operating as botnet drones, trying to pernetrate our servers 24×7, steal our machine resources and steal our members personal data. it is a war of attrition.

    all further experience, ideas welcome, here.

    #166070
    Tecca
    Participant

    You can make your own. Here’s mine as an example. You’ll need to tinker around with the CSS or code if you’d like to display them differently. What the below does is it shows a number (the amount of notifications you have) when you have one or more. It is hidden when there are none to display. Hovering over the number will display your notifications in a drop-down.

    Place into bp-custom.php:

    /**
    * Add Notification number to template
    */
    function my_bp_adminbar_notifications_menu() {
    global $bp;
    
    if ( !is_user_logged_in() )
        return false;
    
    echo '<div class="notices"><ul class="notices">';
    _e( '', 'buddypress' );
    
    if ( $notifications = bp_core_get_notifications_for_user( $bp->loggedin_user->id ) ) { ?>
        <li class="parent"><span class="notice-badge"><?php echo count( $notifications ) ?></span>
    <?php
    }
    
    echo '</a>';
    echo '<ul class="sub-menu">';
    
    if ( $notifications ) {
        $counter = 0;
        for ( $i = 0; $i < count($notifications); $i++ ) {
            $alt = ( 0 == $counter % 2 ) ? ' class="alt"' : ''; ?>
    
            <li<?php echo $alt ?>><?php echo $notifications[$i] ?></li>
    
            <?php $counter++;
        }
    } else { ?>
    
        <li><a href="<?php echo $bp->loggedin_user->domain ?>"><?php _e( 'You have no new alerts.', 'buddypress' ); ?></a></li>
    
    <?php
    }
    
    echo '</ul></li>';
    echo '</ul></div>';
    }

    CSS:

    /*-------------------------- Notification dropdown -----------------------------------*/
    .notice-badge { font-weight: bold; cursor: default; background: #d33939; padding: 0 3px; border-radius: 10px }
    .parent.user-bar { width: 86px; text-align:left; float: right; font-weight: bold; }
    .notices { float: right; margin:0; line-height: 45px; z-index: 9999; }
    .notices a { color: #ffffff; }
    .notices ul, .notices { margin:0 2px 0 0; padding:0; list-style-type:none; list-style-position:outside; position:relative; }
    .notices ul a:link, .notices ul a:active, .notices ul a:visited { display:block; padding: 0; text-decoration:none; }
    .notices ul ul a:link, .notices ul ul a:active, .notices ul ul a:visited { width: 480px; display:block; padding:0 7px; text-decoration:none; }
    .notices ul ul a:hover { color: #0d385f; text-shadow: none; }
    .notices ul li { float:left; position:relative; background:none; padding:0 12px; }
    .notices ul li:hover { transition: all 100ms ease-in; }
    .notices ul ul { width: 480px; line-height: 35px; background: #ffffff; position:absolute; right: 0; top:45px; text-align:left; padding:0; display:none; border:1px solid #eeeeee; border-bottom:none; border-top:none; box-shadow:0 0 2px rgba(0, 0, 0, 0.15), 0 3px 5px rgba(0, 0, 0, 0.1); }
    .notices ul ul a { color:#248361; font-weight: bold; }
    .notices ul li ul a { float:left; }
    .notices ul li ul ul { left:-170px; top:2px; margin:0px; border-right:3px solid #cccccc; border-top:1px solid #eeeeee; }
    .notices ul li ul li { width: 480px; padding:0; margin:0; border-bottom:1px solid #eeeeee; max-width:none; list-style-type:none; text-shadow: none; }
    .notices ul li ul li:hover { background: #f5f5f5; }
    .noticesn ul li:hover ul ul, ul li:hover ul ul ul, ul li:hover ul ul ul ul { display:none; }
    .notices ul li:hover ul, .notices ul li li:hover ul, .notices ul li li li:hover ul, .notices ul li li li li:hover ul { display:block; }
    .notices ul li ul.children li { list-style-type:none; }
    .notices ul li ul li.current-menu-item { background:#f5f5f5; }
    .notices ul li ul li.current-menu-item a { color:#585858; }
    .notices ul li.current-menu-item span { color:#585858; }
    .notices ul li.parent { background-image: url(images/menu-arrow-transparent.png); background-position: center center; background-repeat: no-repeat; }
    .notices ul li.parent:hover { background-image: url(images/menu-arrow1.png); background-position: 14px 36px; background-repeat: no-repeat; }
    .notices ul li ul li.parent:hover { background-image: url(images/menu-arrow-left.png); background-position: 152px center; background-repeat: no-repeat; }

    Place into header.php or wherever you’d like your notifications shown:
    <?php my_bp_adminbar_notifications_menu()?>

Viewing 25 results - 31,401 through 31,425 (of 94,566 total)
Skip to toolbar