Search Results for 'forum'
-
AuthorSearch Results
-
November 18, 2013 at 1:47 pm #174395
In reply to: Using thesis+child theme with Bp+Bp theme?
@mercime
Participant@speedyworm BuddyPress uses the theme’s page.php to render the BP components. Have not seen a thesis theme for some time. Do check Thesis’s forums if someone already made the child theme for BP Theme Compatiblity already. If the page.php file of a thesis theme has the proprietary templating system where you cannot see the_title() and the_content() tags within the WP loop, then:
– create a new thesis child theme for BP
– copy over the parent theme’s page.php to the child theme
– change child theme’s page.php so that it contains the_title() and the_content() tags within the WP loop.November 18, 2013 at 8:12 am #174383In reply to: Trying to echo User role in all posts
noizeburger
Participant@dtabraham
I’m looking for the same functionality and would prefer, to pass the user role over to a custom xprofile field to integrate it in buddypress search.
Meanwhile I show the user roles with a function I found in the forums:bp-custom.php:
function pc_get_userrole ($user_id) { $user = new WP_User($user_id); $userclean = $user->roles[0]; return $userclean; } function get_user_role( $user_id ){ $user_data = get_userdata( $user_id ); if(!empty( $user_data->roles )) return $user_data->roles[0]; return false; }and then echo where you want (in my case I did it in member-header.php):
<?php echo get_user_role(bp_displayed_user_id()); ?>You can take a look here: link to a profile on my site
greetings
November 15, 2013 at 11:09 am #174264In reply to: Notification to user after saving profile changes
applegateian
ParticipantOk so
<?php do_action( 'template_notices' ); ?>is referenced in member-header.phpI have modified edit.php @henrywright-1 – as we’re not using the sub menu of activity, forums, etc.I just have profile and change avatar.
It’s been a while since this file was edited, but I’m wondering if it’s this line that’s affecting the notices:
<?php bp_profile_group_tabs_exc_empty(); ?>I’ll try with the default theme too and see what happens.
November 14, 2013 at 8:53 am #174221In reply to: Idea for school social network
@mercime
Participant@matejr That’s a tall order. Setting up what you envision would require custom plugins and modifications beyond the scope of these forums. Having said that, you might want to read the following posts which show some solutions used to get a better understanding of the scope of the project you want to take on.
– https://buddypress.org/2013/01/an-online-community-for-educators-built-with-buddypress/
– https://buddypress.org/2012/12/re-thinking-college-admissions-with-buddypress/November 13, 2013 at 9:38 pm #174209In reply to: [Resolved] Forums on multisite networks
Ben Hansen
Participantglad to help!
November 13, 2013 at 9:37 pm #174208In reply to: [Resolved] Forums on multisite networks
davejmason
ParticipantBlimey! That was pretty darn simple. Thanks for that!
November 13, 2013 at 6:56 pm #174201In reply to: [Resolved] Forums on multisite networks
Ben Hansen
Participanti think if you want the same forums to show up across the network you network activate if you want them to be individual you enable on the site level.
November 13, 2013 at 4:10 pm #174184In reply to: Getting "help" for this forum
dbghost.2005@yahoo.com
ParticipantYeah, Hugo, first of all, I’d like to say thanks for your reply – I have a few site members on my website and I am trying to create a more socially interactive environment for them. So, I’d prefer to solve problems in a timely fashion, and second, as per your request, I will try swapping out WP themes and see if that doesn’t shed some light on the sit. Btw… I got some custom sibebar widgets. Swapping out themes – even temporarly – won’t make my widgets disappear? or will they keep their settings (with the custom html)?
November 12, 2013 at 6:08 pm #174140In reply to: Error to add new group
Hugo Ashmore
ParticipantIt’s not good form to post a question in another thread it causes confusion. In your other threads I did mention basic trouble shooting so can you confirm you have tried deactivating your custom theme and trying with one known to work and that all components are activated and have pages existing for BP to use.
https://buddypress.org/support/topic/getting-help-for-this-forum/ a quick response to that thread would have been appropriate just to let us know that you understood those basic steps.
November 12, 2013 at 5:47 pm #174128In reply to: bp-custom.php vs. functions.php
Peter Kriegel
ParticipantEven I have the impression that the bp-custom.php do not run!
I have tried several codes inside the file Placed in /wp-content/plugins/.
for example I try to set the landing page for the users to Profile:
define( 'BP_DEFAULT_COMPONENT', 'profile' );
or Change the default tab opened when looking at a group to forum
define( 'BP_GROUPS_DEFAULT_EXTENSION', 'forum' );
https://codex.buddypress.org/getting-started/customizing/changing-internal-configuration-settings/
… Nothing happens!
I am realy newbee with that stuff! damm….@mercime
ParticipantNovember 11, 2013 at 7:47 pm #174072In reply to: Creating New Posts
@mercime
Participant@seandb2 I’m not aware of any WordPress plugin set up per your requirement. Please post this at the WordPress forums for more assistance https://wordpress.org/support/forum/how-to-and-troubleshooting
November 11, 2013 at 7:33 pm #174071In reply to: Installed, but nothing showing
@mercime
ParticipantI’m looking at a video on You Tube and my BuddyPress Setting page looks different. …. I don’t have a Forums tab in my BP Settings window.
@mark-gordon That’s an old video. Forums are now installed via the bbPress plugin https://codex.buddypress.org/getting-started/installing-group-and-sitewide-forums/Have I got a faulty installation? What am I missing? All help welcomed!
@sencerim Since BP 1.7, BP is compatible with most WP themes i.e., if you go to your site’s Members page for example, you’ll see the BP member directory component on that page. If you’re not seeing the Member’s directory using the slug/page name you used for it, try changing to the BP Default theme in Apperance > Themes and navigate to the members directory page or the component pages you have activated.November 11, 2013 at 7:05 pm #174069In reply to: Buddypress Forums text editor and images
SebastianTis
ParticipantWrong code: On the BP Post Button issue.
This is the media code, whats wrong why does it show the link of the inserted image. Anyone??
function bp_post_buttons_inserts($form, $element, $snippetstag) {
//uncomment and use insert_body instead of insert_body_disabled to hide by default
// echo(‘<span class=”insert_head”><b>[Insert Media..] </b></span>’);
echo(‘<div class=”insert_body_disabled bppb_headroom”>’);
echo(“‘);\”>link“);
echo(“<a href=\"javascript:insert_tag_url('$form','$element','‘);\” />image“);
November 11, 2013 at 6:01 pm #174067In reply to: Buddypress Forums text editor and images
SebastianTis
ParticipantBP Post Buttons Problem
The line that generates the popup and adds an image includes the img url in the post. Where in this code does it says that the must me added:
echo(“<a href=\"javascript:insert_tag_url('$form','$element','
‘);\” />afbeelding vanuit album“);
November 11, 2013 at 3:24 pm #174059In reply to: Getting "help" for this forum
Hugo Ashmore
ParticipantFirstly did you not read the sticky post ‘getting help’ ? in that is a bullet point list of information it’s useful to provide (not all necessarily essential) I have also just updated that post with basic troubleshooting steps that everyone overlooks and which we end up repeating again & again. many issues are third party theme related so the most important step is enabling a known good theme e.g ‘twentythirteen’ then check plugins.
Looking over your posts I don’t see any current ones more then 20 hours old. We ask that people wait 24 hours before bumping posts to gain attention, and also we are just coming out of a weekend so things will be slower and all help here is on a voluntary basis.
Post titles on tech forums: Please ensure title threads are descriptive of the issue not a generic cry for help, yes we’re aware there’s an issue, so titles like ‘please help, not working’ won’t gain much attention as ones stating what sort of issue is occurring.
November 10, 2013 at 4:30 pm #174030In reply to: Installed, but nothing showing
Mark Gordon
ParticipantI seem to be missing stuff, and I don’t know whether it’s me or the plug-in. I’m not seeing a Forums tab in the Settings window, and I’m not seeing anything new at all, post BP installation, when I look at the website itself.
Should I be seeing more than I am seeing directly after installing BP? If not, why not?
November 10, 2013 at 2:03 pm #174026Cam
ParticipantWhile searching threads about a similar issue, I stumbled upon this thread that some guys and I solved over on the WP forums.
Question:
Can you log in after one or two failed attempts (with either the sidebar login, or wp-login.php) but then are able to using the default form: wp-login.php?If so, I presented a workaround on the WP forums, which I will share here:
Add the following php code to your functions.php file, your bp-custom.php file, OR a mu-plugin file that you create:
//fix for cookie error while login. function set_wp_test_cookie() { setcookie(TEST_COOKIE, 'WP Cookie check', 0, COOKIEPATH, COOKIE_DOMAIN); if ( SITECOOKIEPATH != COOKIEPATH ) setcookie(TEST_COOKIE, 'WP Cookie check', 0, SITECOOKIEPATH, COOKIE_DOMAIN); } add_action( 'after_setup_theme', 'set_wp_test_cookie', 101 );This will try to set the test cookie anytime someone visits any page of your site, and it will allow the sidebar form to start working again if wp-login.php and cookies are enabled.
If you cannot sign in at all (after two or three attempts with wp-login.php), I have not seen a solution yet (was what I was looking around for), but I have seen several threads about people with this issue after the upgrade to 3.7.1.
Hope this helps, and I hope you all are in the first category. 🙂
~CamNovember 10, 2013 at 1:54 pm #174024In reply to: Cookie error after upgrading to WP 3.7.1 from 3.6.1
Cam
ParticipantQuestion:
Can you log in after one or two failed attempts using the default form: wp-login.php?If so, I presented a workaround on the WP forums, which I will share here:
Add the following php code to your functions.php file, your bp-custom.php file, OR a mu-plugin file that you create:
//fix for cookie error while login. function set_wp_test_cookie() { setcookie(TEST_COOKIE, 'WP Cookie check', 0, COOKIEPATH, COOKIE_DOMAIN); if ( SITECOOKIEPATH != COOKIEPATH ) setcookie(TEST_COOKIE, 'WP Cookie check', 0, SITECOOKIEPATH, COOKIE_DOMAIN); } add_action( 'after_setup_theme', 'set_wp_test_cookie', 101 );This will try to set the test cookie anytime someone visits your site, and it will allow the sidebar form to start working again if wp-login.php and cookies are enabled.
If you cannot sign in at all (after two or three attempts with wp-login.php), I have not seen a solution yet, but I have seen several threads about people with this issue after the upgrade to 3.7.1.
Hope this helps, and I hope you are in the first category.
~CamNovember 7, 2013 at 9:21 pm #173940In reply to: iBuddy theme options
@mercime
Participantplease post at theme’s forums https://wordpress.org/support/theme/ibuddy
November 6, 2013 at 4:33 pm #173900In reply to: Remove "All Members" tab in Activity?
modemlooper
ModeratorHi @djouonanglandry,
Thanks for wanting to help users find solutions to enhance or fix their BuddyPress sites but I must ask that you not reply to users topics with requests for payment in exchange for your services.
This forum is volunteer based, the users here help each other out as BuddyPress is open source and free to use. Volunteer support is a way for the users to give back to the project.
You can however reply to paid support requests:
https://buddypress.org/support/forum/bp-jobs-board
http://jobs.wordpress.netOr try one of the many freelance sites.
November 5, 2013 at 5:01 pm #173862In reply to: No all-in-one event calendar plug-in for Buddypress?
sethshoultes
ParticipantHi Marc,
I think you have outlined a great feature set here. However, I think this is probably falling on deaf ears, here.
I am the co-founder of Event Espresso. We spent several thousand dollars to build a working integration with Buddypress a couple of years ago. Unfortunately for us, they rewrote the entire Buddypress system shortly after we released the integration to our beta testers and our integration stopped working. Since that happened, we have not had the resources to build another integration with Buddypress.
We may look into building another integration someday, once we are done rewriting our own system, but we will need more customers to vote on it and maybe even willing to crowd fund this particular integration. If you are interested in an integration with Buddypress and Event Espresso, please let us know in the Event Espresso support forums.
November 5, 2013 at 4:39 pm #173856In reply to: [Resolved] Sidebar goes down with Events Manager
@mercime
Participant@snsturki Please change your admin username and password immediately. Your site’s security has been compromised. I’ve deleted the admin username and password you posted above. Do not post admin information in this or any forum.
November 5, 2013 at 11:40 am #173830In reply to: bbPress to Activity import
Sergio De Falco
ParticipantThanks Paul, I made it :), it’s something really rough, but if somebody needs it here it is:
<?php // parametri del database $db_host = "localhost"; //Your database host $db_user = "database"; //Your database username $db_password = "password"; //Your database password $db_name = "database_01"; //Your database name $db = mysql_connect($db_host, $db_user, $db_password); set_time_limit(0); if ($db == FALSE) die ("Connection Error."); mysql_select_db($db_name, $db) or die ("Database Error."); $n = 0; $query = "SELECT * FROM <code>wp_posts</code> WHERE post_type = 'topic' OR post_type = 'reply' ORDER BY post_date ASC"; $result = mysql_query($query, $db); while ($row = mysql_fetch_array($result)) { unset($user_id); unset($reg); unset($guid); unset($id); unset($post_parent); unset($post_date); unset($nicename); unset($displayname); unset($title); unset($forum); unset($forumurl); unset($post_type); unset($forum_id); unset($acttype); $user_id = $row['post_author']; $guid = $row['guid']; $reg = $row['user_registered']; $id = $row['ID']; $post_parent = $row['post_parent']; $post_date = $row['post_date']; $title = $row['post_title']; $content = $row['post_content']; $post_type = $row['post_type']; $forum_id = $post_parent; $q1 = "SELECT * FROM <code>wp_users</code> WHERE ID = '$user_id'"; $r1 = mysql_query($q1, $db); $e1 = mysql_fetch_array($r1); $nicename = $e1['user_nicename']; $displayname = $e1['display_name']; if ( $post_type == 'reply' ) { $q1 = "SELECT * FROM <code>wp_posts</code> WHERE ID = '$post_parent'"; $r1 = mysql_query($q1, $db); $e1 = mysql_fetch_array($r1); $post_parent = $e1['post_parent']; $title = $e1['post_title']; $guid = $e1['guid']; } $q1 = "SELECT * FROM <code>wp_posts</code> WHERE ID = '$forum_id'"; $r1 = mysql_query($q1, $db); $e1 = mysql_fetch_array($r1); $forum = $e1['post_title']; $forumurl = $e1['guid']; if ( $post_type == 'topic' ) { $action = mysql_real_escape_string('<a href="http://www.yoursite.com/users/' . $nicename . '/" rel="nofollow">' . $displayname . '</a> ha iniziato la discussione <a href="' . $guid . '">' . $title . '</a> nel forum <a href="' . $forumurl . '">' . $forum . '</a>'); $acttype = 'bbp_topic_create'; } else { $action = mysql_real_escape_string('<a href="http://www.yoursite.com/users/' . $nicename . '/" rel="nofollow">' . $displayname . '</a> ha risposto alla discussione <a href="' . $guid . '">' . $title . '</a> nel forum <a href="' . $forumurl . '">' . $forum . '</a>'); $acttype = 'bbp_reply_create'; } $content = mysql_real_escape_string( $content ); if ( $user_id > 0 ) { $q1 = "SELECT COUNT(umeta_id) AS conto FROM <code>wp_usermeta</code> WHERE user_id = '$user_id' AND meta_key = 'last_activity'"; $r1 = mysql_query($q1, $db); $e1 = mysql_fetch_array($r1); if ( $e1['conto'] > 0 ) { $q = "UPDATE wp_usermeta SET meta_value = '$post_date' WHERE user_id = '$user_id' AND meta_key = 'last_activity'"; mysql_query($q, $db); } else { $q = "INSERT INTO <code>wp_usermeta</code> (<code>umeta_id</code>, <code>user_id</code>, <code>meta_key</code>, <code>meta_value</code> ) VALUES ( NULL, '$user_id', 'last_activity', '$post_date' );"; mysql_query($q, $db); } } $q = "INSERT INTO <code>wp_bp_activity</code> (<code>id</code>, <code>user_id</code>, <code>component</code>, <code>type</code>, <code>action</code>, <code>content</code>, <code>primary_link</code>, <code>item_id</code>, <code>secondary_item_id</code>, <code>date_recorded</code>, <code>hide_sitewide</code>, <code>mptt_left</code>, <code>mptt_right</code>, <code>is_spam</code> ) VALUES "; $q .= "(NULL, '$user_id', 'bbpress', '$acttype', '$action', '$content', '$guid', '$id', '$post_parent', '$post_date', '0', '0', '0', '0')"; mysql_query($q, $db); $n++; } mysql_close($db); echo "Done! inserted $n activity entries"; ?>The action is in italian, you can modify as you want
November 5, 2013 at 9:36 am #173824In reply to: bbPress to Activity import
Paul Wong-Gibbs
KeymasterIt sounds like you’ve run the importer that comes with bbPress 2. If BuddyPress and Activity were set up and working prior to you running that data import/migration, I would expect the Activity stream to be populated. If this isn’t the case, perhaps it is a bug. Might be worth a quick look on bbpress.org’s forums to see if the question has been asked before.
I’m not aware of any scripts or plugins that backfill the data for you.
-
AuthorSearch Results