Search Results for 'buddypress'
-
AuthorSearch Results
-
January 2, 2013 at 11:50 pm #149495
In reply to: BP_DISABLE_ADMIN_BAR not working
January 2, 2013 at 9:47 pm #149491In reply to: How to remove header image in BP columns?
Tony
ParticipantIt’s still not working… Could it be a conflict between the BP Columns theme and the BuddyPress Default theme?
First, I tried the bp-custom.php method and that didn’t work. Then I deleted that bp-custom.php file and tried the following…
Added this code (without the opening and closing ) in my BP Columns theme’s functions.php file right under the opening < ?php
define( ‘BP_DTHEME_DISABLE_CUSTOM_HEADER’, true );That didn’t work so I also added that above code in my BuddyPress Default theme’s functions.php file right under the opening < ?php and that didn't work either.
Any other ideas? Thanks to all for trying to help.
January 2, 2013 at 9:35 pm #149489In reply to: Ever growing database tables – is this normal?
m@rk
Participant@apeatling So, is an overview of BuddyPress’ current default database tables available somewhere? Can’t find it neither in the codex nor elsewhere?
About to delete my old wp_user_*_activity tables now, finally. Have other tables become outdated/ obsolete relics since initial BP releases?
Thx in advance!
January 2, 2013 at 8:54 pm #149487In reply to: Missing argument 2 for wpdb – BP Group Reviews
intimez
Participant@boonebgorges possible SQL injection vulnerability
January 2, 2013 at 7:54 pm #149485In reply to: Forums activated, but do not appear
danbpfr
ParticipantFirst, open bb-config file and retrieve the double slash in the uri path. You must have this
`$bb->uri = ‘http://dev.cityblocchicago.com/wp-content/plugins/buddypress/bp-forums/bbpress/;`
Control also your wp-config.php file and htaccess and check for this double slash issue.
As “dev” is a sub-domain of cityblocchicago.com, be carefull with the install path of WP.When on the group page, you have a menu called “admin” on the right
Click on it and then on “settings”.Normally you see a checkbox “activate discussion forum” for this group. If you have allowed group creation for all your site members, the box is already checked by default. If not, check it and save.
Now the group menu has a forum tab. Click on it and you have access to a “new topic” button
January 2, 2013 at 7:09 pm #149481ProgramerJutsu
ParticipantThanks also in word press/ buddy press, under the pages tab of editing you can click your page and hit text instead of view and enter your html there.
Good tips, thanksJanuary 2, 2013 at 7:02 pm #149479In reply to: [Resolved] My Join Group button is acting funny
Ben Hansen
ParticipantJanuary 2, 2013 at 6:18 pm #149477@mercime
ParticipantYou could do that for HTML and CSS but I would think you’d rather stage this in a separate development installation via XAMPP/MAMP/WAMP That way, you’d be able to test the theme first and also have a backup of your theme should anything go awry in your server online.
I think you mean Javascript instead of Java, a different animal altogether. Again, I suggest you create/update theme in local server first. WordPress Codex for creating themes – https://codex.wordpress.org/Theme_Development
January 2, 2013 at 6:10 pm #149476In reply to: [Resolved] Installation issue
@mercime
Participant@chouf1 thanks for heads up on the admin login. I’ve removed the info above.
@bhupendra13 looks like the issue with permalinks/component pages have been fixed in your installation. You need to know that the BP Default child theme you’re using has not been updated for the last two years so there will be issues which would crop up later. I suggest updating the header.php file of the child theme.
January 2, 2013 at 4:52 pm #149470In reply to: Buddypress Like – Notification Hack
black key
Participant// the problem with your code:
$bp->bp_like->slug = ‘bp_like’;
——————————————————
function bp_like_setup_globals() {
global $bp, $current_blog;
$bp->bp_like=new stdClass();
$bp->bp_like->id = ‘bp-like’;
$bp->bp_like->slug = ‘bp_like’;
$bp->bp_like->notification_callback = ‘bp_like_format_notifications’;
$bp->active_components[$bp->bp_like->slug] = $bp->bp_like->id;
do_action( ‘bp_like_setup_globals’ );
}
add_action( ‘bp_setup_globals’, ‘bp_like_setup_globals’ );function bp_like_format_notifications( $action, $item_id, $secondary_item_id, $total_items,$format=’string’) {
global $bp;
$glue=”;
$user_names=array();
$activity = new BP_Activity_Activity( $activity_id );
$link=ac_notifier_activity_get_permalink2( $activity_id );//si c’est le posteur d’origine, dites que vous êtes, d’autre dire de% s après
if($activity->user_id==$bp->loggedin_user->id){
$text=__(“your”);
$also=””;
}
else{
$text=sprintf(__(“%s’s”), bp_core_get_user_displayname ($activity->user_id));//quelqu’un
$also=” also”;
}
$ac_action=’new_bp_like_’.$item_id;if($action==$ac_action){
//if ( (int)$total_items > 1 ) {
// $users=ac_notifier_find_involved_persons($activity_id);
$total_user= $count=count($users);//montrent de nombreux utilisateurs uniques ont commenté
if($count>2){
$users=array_slice($users, $count-2);//simplement indiquer le nom de deux affiches, le repos doit être aussi et ‘n’ autre a également commenté
$count=$count-2;
$glue=”, “;
}
else if($total_user==2)
$glue=” xxxxxxxxx “;//si il ya 2 utilisateurs uniques, disons x et y commentéforeach((array)$users as $user_id)
$user_names[]=bp_core_get_user_displayname ($user_id);if(!empty($user_names))
$commenting_users=join ($glue, $user_names);if($total_user>2)
$text=$commenting_users.” xxxxxxxxxxxxxxxx “.$count.” xxxxxxxxx”.$also.” xxxxxxxxxxxxxxxx on “.$text. ” post”;//peut-on changer la poste à quelque chose de significatif en fonction de l’élément d’activité?
else
$text=$commenting_users.$also .” xxxxxxxxxxxx on “.$text. ” post”;if($format==’string’)
return apply_filters( ‘bp_activity_multiple_new_likes_notification’, ‘‘ . $text . ‘‘);
else{
return array(‘link’=>$link,
‘text’=>$text);
}
return false;
}}
January 2, 2013 at 4:25 pm #149464In reply to: Activation link in 1.7-bleeding
Roger Coathup
ParticipantHasn’t @ray already raised this on the trac?
We’ve also been having issues with activation links not redirecting correctly in 1.7
January 2, 2013 at 4:15 pm #149463In reply to: [Resolved] URL issues
Zarmaka
ParticipantYes it does happen with buddypress default aswell.
I dont have much detail, other than this problem only occurs on some accounts, and passes with time, but its very annoying for the users.And its ONLY the username link that seems affected.
and sorry about the wrong link.
http://www.skriveglede.netJanuary 2, 2013 at 2:29 pm #149457In reply to: Menu Tab Names Won't Change. How do I Change Them?
danbpfr
ParticipantHi,
you probably try to modify the buddypress.po file. It would be better you use the po file who comes with your genesis theme. Also don’t forget to save the modified po file with poEdit to generate the mandatory mo file
The pot file contains the translatable strings and the file names/numbers who they are.
The po file has exactly the same content + translated strings
The mo file is the compiled po fileThe translation is executed by PHP’s gettext function who read the compiled mo file. Po and Pot files are human readable files and aren’t necessary to be on the server.
January 2, 2013 at 1:54 pm #149451In reply to: Installing BuddyPress on the Sterling Theme
Hugo Ashmore
ParticipantWell if mercime has said it’s likely only three files need modding then it’s perhaps Step 3 b.
In other words header.php, sidebar.php, footer.php copied from the bp examples and renamed to header-buddypress.php etc then you can edit those files to match your themes html structure, i.e comparing the themes header.php file to the bp version and ensuring the BP version matches the themes.
January 2, 2013 at 1:48 pm #149450In reply to: Display recent topics of all groups on sidebar
danbpfr
Participanthi @m1000,
you can’t call a same function twice on the same page. That’s probably what happens when the normal loop fires “music” content and your custom widget calls the same function for “all” content…
Did you tried this plugin ? https://wordpress.org/support/plugin/bp-recent-groups-topics
Don’t hesitate to open it and view how it works ! 😀
January 2, 2013 at 1:28 pm #149449In reply to: Installing BuddyPress on the Sterling Theme
JimmyGibbs
ParticipantHey, yes I read it, it’s the same instructions that are on the BP Compatibility, what I don’t understand is: what new files should I create and where to put them, and, what to paste inside them, thanks for all your help!
January 2, 2013 at 1:06 pm #149447@mercime
ParticipantI’ve just installed a buddypress theme … on my site and I’m totally lost as to how to add a login, members, groups, activity stream, forums etc.
You also need to install and activate BuddyPress and go through the Installation Wizard to assign the BP Pages. Did you already do all that? A BP-compatible theme still requires the BP plugin.
January 2, 2013 at 1:05 pm #149446In reply to: Installing BuddyPress on the Sterling Theme
Hugo Ashmore
ParticipantBeaten to it by Mercime 🙂 Please have a stab at the process though if it’s only a few files then it oughtn’t to be too difficult.
Before Mercime does do this for you, have you read through the link I provided? Wanting to diverge from the BP theme while not child themeing it, but attempting to shoehorn BP into a third party theme is really something the user takes upon themselves to at least make a stab at.
January 2, 2013 at 1:03 pm #149445In reply to: Installing BuddyPress on the Sterling Theme
JimmyGibbs
ParticipantHey! Thanks for the reply! It would be awesome if you could help a bit with this as I don’t have much experience with WordPress theme files, could you please let me know what files I should create and what to write inside? Thank you so much!
January 2, 2013 at 1:03 pm #149444In reply to: Installing BuddyPress on the Sterling Theme
Hugo Ashmore
ParticipantHave you checked the BP documentation yet?
https://codex.buddypress.org/legacy/wordpress-to-buddypress-theme/#step-three
Have you a basic degree of HTML/PHP knowledge, you will need a basic level to be bale to copy/paste the markup structure of BP template files to match the themes structure which is what step three is about and I’m afraid is a manual process.
If you can’t manage the adjustment of the files it may be better to wait for BP 1.7 to drop as that will work with any theme.
January 2, 2013 at 1:01 pm #149443In reply to: Installing BuddyPress on the Sterling Theme
@mercime
ParticipantInitial scan shows that you only need to create two/three files for alignment and compatibility.
January 2, 2013 at 12:55 pm #149442In reply to: [Resolved] Third Party Themes Installation error
@mercime
Participant@dazunj Thanks for posting your solution. There are themes which do not require the BP template pack plugin at all 🙂
January 2, 2013 at 11:31 am #149439In reply to: Activation link in 1.7-bleeding
Paul Wong-Gibbs
KeymasterIf the page mapping is correct, and you’ve tried disabling all other plugins to see if the problem goes away, please report a bug on https://buddypress.trac.wordpress.org so that someone can investigate. You can use your username and password from this site. Thanks!
January 2, 2013 at 10:48 am #149437In reply to: [Resolved] Third Party Themes Installation error
dazunj
Participant@mercime, I tried and got a solution, it worked when i deactivated the buddypress template pack plugin.
🙂January 2, 2013 at 10:25 am #149436In reply to: Happy New Year
@mercime
ParticipantHappy New Year! Here’s to another exciting year with BuddyPress.
Cheers! Kampai! Salud! -
AuthorSearch Results