Search Results for 'wordpress'
-
AuthorSearch Results
-
May 23, 2013 at 6:58 pm #164640
In reply to: In Need of some Guidance …
Hugo Ashmore
ParticipantShouldn’t really call people specifically 🙂
However, perhaps you want to try using the WP login function over the BP login for ( if that’s what you’re using?) I have a reworked enhanced version of the older sidebar me login:
https://github.com/hnla/hnla-bp-sidebar-meLogged out it uses the form as existed in the old sidebar.php with minor tweaks but essentially the same and it redirects to the front page. As an experiment I replaced it with the base WP function without any args passed to it i.e:
wp_login_form()Now that logs me in at whatever page I’m on which is it’s default behaviour, and seems to work without any issues for BP as such (not sure about the cookie setting in the BP form though)
https://codex.wordpress.org/Function_Reference/wp_login_form
May 23, 2013 at 2:27 pm #164613In reply to: Login Redirect Problem
codegene
ParticipantMay be this can help you https://wordpress.org/plugins/buddypress-login-redirect/
May 23, 2013 at 9:23 am #164588In reply to: Individual template pages
Hugo Ashmore
ParticipantYou can prevent theme compatibility running by simply overloading those BP files as you did before in your theme root using full bp templates – in 1.8 we are looking to introduce the ability to overload templates in theme compatibility mode with files such as index-activity.php, index-component-profile.php etc:
https://buddypress.trac.wordpress.org/ticket/4639May 23, 2013 at 8:58 am #164586In reply to: Best way to limit friend requests to avoid spam
P
Participant@Chouf1, that’s my blog you’re linking to. I am not sure if they added Throttling to the new Buddypress version. I opened a ticket months ago, the milestone has been set to: version 1.7 to Future Release https://buddypress.trac.wordpress.org/ticket/3732. This is a bit frustrating since Throttling makes for great spam control.
@tifire Go to /bp-friends/bp-friends-functions.php in your Buddypress installation and change the friends_add_friend function to the following:function friends_add_friend( $initiator_userid, $friend_userid, $force_accept = false ) { global $bp; $friendship = new BP_Friends_Friendship; if ( (int) $friendship->is_confirmed ) return true; $friendship->initiator_user_id = $initiator_userid; $friendship->friend_user_id = $friend_userid; $friendship->is_confirmed = 0; $friendship->is_limited = 0; $friendship->date_created = bp_core_current_time(); /** * BuddyPress Friend Request Throttling * * Set a throttle period for user friendship requests * * @author Patrick Saad */ global $wpdb; $qry = "SELECT date_created FROM wp_bp_friends where initiator_user_id = '".$initiator_userid."' order by date_created desc limit 1"; $user_friend_requests = $wpdb->get_results( $qry ); if ($user_friend_requests) { $latest_user_request = strtotime($user_friend_requests[0]->date_created, time()); $time_since_latest_request = time() - $latest_user_request; // that's 2 minutes $throttle_period = 60 * 2; // if the last request was over 5 minutes ago, allow it if ($time_since_latest_request < $throttle_period) return false; } // End of BuddyPress Friend Request Throttling // if ( $force_accept ) $friendship->is_confirmed = 1; if ( $friendship->save() ) { if ( !$force_accept ) { // Add the on screen notification bp_core_add_notification( $friendship->initiator_user_id, $friendship->friend_user_id, $bp->friends->id, 'friendship_request' ); // Send the email notification friends_notification_new_request( $friendship->id, $friendship->initiator_user_id, $friendship->friend_user_id ); do_action( 'friends_friendship_requested', $friendship->id, $friendship->initiator_user_id, $friendship->friend_user_id ); } else { // Update friend totals friends_update_friend_totals( $friendship->initiator_user_id, $friendship->friend_user_id, 'add' ); do_action( 'friends_friendship_accepted', $friendship->id, $friendship->initiator_user_id, $friendship->friend_user_id ); } return true; } return false; }This will prevent a user from sending a friendship request to someone if their recent friendship request date was less than, say 2 minutes (change the $throttle_period variable to modify this time)
Just gave this a fresh test, works in Buddypress 1.7.2. This same concept can be applied to comments, groups, etc, you just have to find the functions and play around.
May 23, 2013 at 6:22 am #164580In reply to: Lost password function
moritz.fischer
Participantthank you for your reply. now i understand. the “forget password” function is the same as the wordpress. i was confused about that part.
thank you
Moritz
May 23, 2013 at 6:08 am #164579In reply to: Lost password function
bp-help
Participant@moritzfischer
Have to tried any of these methods?
https://codex.wordpress.org/Resetting_Your_PasswordMay 23, 2013 at 3:25 am #164574In reply to: Wierd issue with group forum
hiboy
Participant@mercime Thank you for replying again
Settings > forums , i only got the following option , no buddypress
Main Settings
Main forum settings for enabling features and setting time limits
Disallow editing after minutes
Throttle posting every seconds
Revisions Allow topic and reply revision logging
Favorites Allow users to mark topics as favorites
Subscriptions Allow users to subscribe to topics
Topic tags Allow topics to have tags
Anonymous posting Allow guest users without accounts to create topics and replies
Default user role
Auto role Automatically assign default role to new, registered users upon visiting the site.
Fancy editor Use the fancy WordPress editor to create and edit topics and replies
Auto-embed links Embed media (YouTube, Twitter, Flickr, etc…) directly into topics and replies
Per PageHow many topics and replies to show per page
Topics per page
Replies per page
Per RSS PageHow many topics and replies to show per RSS page
Topics per page
Replies per page
Archive SlugsCustom root slugs to prefix your forums and topics with. These can be partnered with WordPress pages to allow more flexibility.
Forums base
Topics base
Single SlugsCustom slugs for single forums, topics, replies, tags, users, and views here. If you change these, existing permalinks will also change.
Forum Prefix Prefix your forum area with the Forum Base slug (Recommended)
Forum slug
Topic slug
Topic tag slug
Reply slug
User slug
Topic view slug
Search slugSorry i couldnt upload images
May 23, 2013 at 3:11 am #164572In reply to: Wierd issue with group forum
@mercime
Participant@hiboy just to be clear, did you upgrade from previous BuddyPress version with the old group forum installed OR is this a new install on WP 3.5.1 and BP 1.7.2? If this is a new install, then just go to admin dashboard menu Settings > Forums and go to the bottom of that page and uncheck “Enable Group Forums”
May 23, 2013 at 2:27 am #164571In reply to: Wierd issue with group forum
hiboy
Participant@mercime Thank you thank you of replying me , yes is a typo,
my wordpress is 3.5.1
bp is 1.7.1I would like to remove the option 3. Forum, cause i also have bbpress installed, i want user to use 1 forum as global, secondly it also causing a issue, when they create a group forum , the thread is shown in bbpress forum too.
I think to remove this is edit through buddypress plugin, but i unsure how.
May 23, 2013 at 2:23 am #164569In reply to: Extending WP plugin for BP? (RSS)
@mercime
ParticipantThere’s https://wordpress.org/plugins/external-group-blogs/ but not sure if it’s working on latest BP. If you’re going to hire a programmer, might as well have them work on updating/customizing the external group blogs plugin, up to you though.
May 22, 2013 at 9:42 pm #164556In reply to: Adding the BP Signup/Login Page to themes
bp-help
Participant@nanaimomen
You could try something like this approach:
http://wpmu.org/how-to-build-a-facebook-style-members-only-wordpress-buddypress-site/May 22, 2013 at 7:57 pm #164547In reply to: Capabilities Editor
Ben Hansen
Participantthe problem is that the capabilities do not actually exist like they do for bbpress and wordpress maybe you should try to ask your questions after the next devchat. @jjj mentioned that they do want to add them at some point in the future perhaps you can pitch in if you are eager to make it happen.
devchat info here:
May 22, 2013 at 7:44 pm #164544In reply to: Displaying Profile Information
bp-help
Participant@ircsome
I have not tested it but you could try @shanebp ‘s solution:
http://stackoverflow.com/questions/16485925/extra-profile-field-not-showing-in-wordpress-user-profile/16491050#16491050May 22, 2013 at 6:52 pm #164540In reply to: Wierd issue with group forum
@mercime
Participanti running wordpress 3.4.2 with buddypress 1.7.1.
@hiboy Please clarify, do you have a typo above? Makes a difference.
WP 3.4.2 is compatible with BP 1.6.1
BP 1.7.1 is compatible with WP 3.5.1May 22, 2013 at 4:45 pm #164531angelladesigns
ParticipantYou want to go to Settings>>General
Where it says WordPress Address (URL) and Site Address (URL) you will want to change that to reflect the lowercase folder. I recommend doing this before you change the file name via ftp or you could get locked out. If you do get locked out just change the file name back via ftp to what it was and make the change to lowercase.
May 22, 2013 at 8:41 am #164501bp-help
Participant@johnjamesjacoby
Matter of fact the change was made 7 to 8 minutes before my last post above. The link below will reflect that fact. Thanks again sir!
https://plugins.trac.wordpress.org/browser/atcontent/#trunk/assetsMay 22, 2013 at 8:07 am #164500bp-help
Participant@johnjamesjacoby
Hi John!
I just noticed the plugin author somehow manipulated the placement of the plugin obviously because I politely asked them to refrain from this. I hope I am not speaking out of place but this author has consistently updated their readme.txt in an effort to have the top spot on the plugins page. I had to request more than once for this to stop because I don’t believe it is supposed to be a ranking on how many downloads you have, but instead about new or updated legitimate plugin releases. If you look at the reviews I was not the only one that addressed this practice. If I am wrong on this, then I stand corrected. I just think that type of practice is unethical and makes users re-download a plugin that has no legitimate update because they may have seen it at the top, and failed to see the plugin versions and change-log hadn’t changed. Hence the author gets a lot of downloads without legitimate updates but the actual number of downloads does not accurately reflect how many users are actually using that plugin because of the readme.txt file manipulation. Thank you for looking over this John! Here is a link to where the plugin resides now:
https://wordpress.org/plugins/atcontent/May 22, 2013 at 12:16 am #164484In reply to: Upload avatar page after registration
@mercime
ParticipantMay 21, 2013 at 9:58 pm #164478In reply to: [Resolved] bp-default sidebar login not working
NewbieSteve
ParticipantHi Rishraj,
I ran into the same issue this week and I have resolved it on my end. If you’re having the same issue, I hope this helps you.
My exact issue:
* My scenario: WordPress + buddypress, trying to log on from the main page through the Buddypress default theme sidebar login.
* When served off local machine with Xampp: Works
* When served off professionally hosted remote server: Doesn’t work (408 timeout). However, login directly through wp-login.php did workSolution:
In bp-themes\bp-default\sidebar.php, you will see the code:`<?php do_action( 'bp_sidebar_login_form' ); ?>
<input type=”submit” name=”wp-submit” id=”sidebar-wp-submit” value=”<?php _e( 'Log In', 'buddypress' ); ?>” tabindex=”100″ />`Swap these two lines:`<input type=”submit” name=”wp-submit” id=”sidebar-wp-submit” value=”<?php _e( 'Log In', 'buddypress' ); ?>” tabindex=”100″ />
<?php do_action( 'bp_sidebar_login_form' ); ?>`What I did:
I used firebug to compare the HTTP POST messages being sent when I log in through the sidebar or directly through wp-login.php. The only difference I saw between the two was:Sidebar login order of parameters (broken): login, password, redirect, wp-submit, testcookie
wp-login.php login order of parameters: login, password, wp-submit, redirect, testcookieI don’t know why they’re swapped in the sidebar code. I also don’t know how or why swapping them could result in working in some environments and timing out in others. Can anyone else chime in here?
May 21, 2013 at 9:36 pm #164475In reply to: THE LINK IS MISSING
@mercime
ParticipantCan anyone PLEASE explain how to get this link back?
The create group link is in line 21 of this file https://buddypress.trac.wordpress.org/browser/tags/1.7.2/bp-themes/bp-default/groups/index.php – you might have deleted that in your child theme’s /group/index.php
May 21, 2013 at 3:42 pm #164442In reply to: Best way to limit friend requests to avoid spam
Ben Hansen
Participantthats where bugs feature suggestions and the like are kept track of:
May 21, 2013 at 6:58 am #164413@mercime
Participant@web503 confirmed bug and posted ticket https://buddypress.trac.wordpress.org/ticket/5014
May 21, 2013 at 4:06 am #164406In reply to: BP Group Management – members list
@mercime
Participant@lorimercer re groups in admin area the issue is being addressed in trac starting with this ticket https://buddypress.trac.wordpress.org/ticket/4977
May 20, 2013 at 7:31 pm #164381In reply to: BP Group Management – members list
lorimercer
ParticipantI’m using mingle but this is in the wordpress admin area so why would the theme matter there?
May 20, 2013 at 6:02 pm #164374In reply to: "Create Group" button hidden by my theme
@mercime
Participantbut I can’t get the “Create Group” button to show
@gebgem the page title is missing as well. Looking at the Sample Page of your site, there was no page title added to the theme’s page.php file at all.BuddyPress will provide another link/way for users to easily create a group/blog via user account menu in admin/toolbar in next version https://buddypress.trac.wordpress.org/changeset/7062 but the page title issue should be fixed by theme developer.
-
AuthorSearch Results