Search Results for 'wordpress'
-
AuthorSearch Results
-
December 21, 2014 at 2:02 pm #230869
In reply to: Images – where to serve from?
shanebp
ModeratorHave you tried this plugin?
December 21, 2014 at 1:06 am #230851In reply to: Spam/Bot users
djsteveb
ParticipantBest thing I did to limit spam bot users is adding the free wordpress plugin “good question” – but change the defaults questions and answers.
I also reccomend si captcha plugin, and limit login attempts.
I always change the default settings on limit login attempts to be more strict than default.
I also add whitelist ip plugin for limit login attempts so I don’t lock myself out – lol.
December 20, 2014 at 4:56 pm #230835In reply to: Buddypress activity filtering (search)
Ricardo Gonçalves
ParticipantThis is the code I added at line 278 in /wp-content/plugins/buddypress-activity-plus/lib/class_bpfb_binder.php to create the action. The credit for this code is @Juanma in WordPress.org forum. (couldn’t find the original thread). In this case I’m creating an action for images upload.
function ajax_update_activity_contents () { $bpfb_code = $activity = ''; $aid = 0; $codec = new BpfbCodec; if (@$_POST['data']['bpfb_photos']) { $images = $this->move_images($_POST['data']['bpfb_photos']); $bpfb_code = $codec->create_images_tag($images); $type = 'bpfb_share_wall_photos'; } $bpfb_code = apply_filters('bpfb_code_before_save', $bpfb_code); // All done creating tags. Now, save the code $gid = (int)@$_POST['group_id']; if ($bpfb_code) { global $bp; $content = @$_POST['content'] . "\n" . $bpfb_code; $content = apply_filters('bp_activity_post_update_content', $content); $user_id = $bp->loggedin_user->id; $userlink = bp_core_get_userlink( $user_id ); $author = bp_core_get_userlink( $author_id ); $activity_url = bp_activity_get_permalink( $item_id ); $aid = $gid ? groups_post_update(array('conte nt' => $content, 'group_id' => $gid)) : bp_activity_add( array( 'action' => apply_filters( 'activity_update', sprintf( __( '%s shared a link', 'buddypress' ), $userlink ), $user_id ), 'content' => $content, 'component' => 'activity', 'type' => $type, 'user_id' => $user_id ) ); if ($aid) { ob_start(); if ( bp_has_activities ( 'include=' . $aid ) ) { while ( bp_activities() ) { bp_the_activity(); if (function_exists('bp_locate_template')) bp_locate_template( array( 'activity/entry.php' ), true ); else locate_template( array( 'activity/entry.php' ), true ); } } $activity = ob_get_clean(); } header('Content-type: application/json'); echo json_encode(array( 'code' => $bpfb_code, 'id' => $aid, 'activity' => $activity, )); exit(); } }And this is the code that works for activity stream. It shows just the activities with this action, but when you click the ‘load more’ button it loads the regular stream.
<?php if ( bp_has_activities( bp_ajax_querystring( 'activity' ) . '&action=bpfb_share_wall_photos') ) : ?>December 20, 2014 at 4:48 pm #230833In reply to: BuddyPress 2.1.1 Adding details to member-header.php
mdory89
ParticipantI should’ve explained more. In the WordPress admin panel, If you click Users-Profile Fields, the profile field created and placed into the member-header.php file doesn’t show at all.
Here’s a tutorial I followed: http://code.tutsplus.com/articles/developing-buddypress-themes-part-3-buddypress-15-member-pages-the-overall-user-experience–wp-21856
The code:
<?php $favorite_spot = bp_get_profile_field_data( 'field=Favorite Camping Spot' ) ; echo '<p class="profile-fields">My Favorite Camping Spot: ' .$favorite_spot. '</p>'; $necessary_item = bp_get_profile_field_data( 'field=One Necessary Item' ) ; echo '<p class="profile-fields">My One Necessary Item: ' .$necessary_item. '</p>'; ?>December 19, 2014 at 11:02 am #230807In reply to: Show donated amount in user profile
danbp
ParticipantPlease, don’t mention a user without a link to what you’re speaking about.
There is no specific donation plugin for BP so far i know. You can of course try some of the existing for WordPress, but i’ve no idea if one of them integrates well.
Maybe an alternative solution with myCred, who is adapted to BuddyPress and has such a feature.
December 18, 2014 at 7:01 pm #230775In reply to: Registration page is Empty
Security
ParticipantHi thanks for the confirmation @emineminero here are few suggestions:
1) As you have multisite the 1st thing i would like to suggest you is to go through the following guide
2) Make sure your permalink structure is set to sitename.com/sample-post-name even if its set to as suggested try to rebuild it(for doing this just goto dashboard>>settings>>permalinks and simply save the permalink structure one more time)
3) I think the issue is related to this thread and may be you will find something productive there.
Note: Make sure you have set the pages for registration and activate in dashboard>>settings>>buddypress>>pages tab the pages are needed to be created,just create two pages and name them “register” and “activate” respectively and then set them from dashboard>>settings>>buddypress>>pages tab
Clear browser cache and check for the changes.
ThanksDecember 18, 2014 at 5:02 pm #230769In reply to: BuddyPress on Subsite
danbp
ParticipantTake also in mind that BuddyPress does not work on installations where you give WordPress its own directory.
December 18, 2014 at 4:25 pm #230765In reply to: BuddyPress on Subsite
julianprice
ParticipantHi @ggalipeau I have limited knowledge to help you in particular but thought I would point you to the codex article https://codex.buddypress.org/getting-started/installation-in-wordpress-multisite/ which shows it recently updated 3 days ago
December 18, 2014 at 4:15 pm #230763In reply to: Registration page is Empty
Emineminero
ParticipantYes @shivam-kumar, my site is multisite so i checked on /wp-admin/network/ then Settings–>Network Settings and i do have that option enabled (“user accounts can be created” or something like that, my wordpress is in spanish.
December 18, 2014 at 1:14 pm #230760In reply to: Export Member Details to PDF
danbp
ParticipantIf you need just a simple PDF format to get the members list, the most simple way is to use the export tool of phpmyadmin.
See this video tutorial to learn about this.A more sophisticated way to get member’s list converted to PDF, and much more, directly on/in your site, would be to use this premium plugin ($28).
Also read the doc and try the demos first before taking a decision. 😉December 17, 2014 at 10:26 pm #230740In reply to: [Resolved] Manage Signups permissions error
jstallard
ParticipantOK fixed!
Buddypress was no longer network activated. (The Manage Signups page was still there.) After the WordPress 4.0.1 upgrade I experienced problems on my multisite. Deactivating Buddypress helped (although the problem may have originated elsewhere).
Network activating Buddypress fixes the Manage Signups page. Now I just need to work out the fastest way to deactivate it on 100 blogs!
December 17, 2014 at 9:34 pm #230738In reply to: Registration page is Empty
Security
ParticipantHi @emineminero just to make sure, have you checked the anyone can register checkbox in dashboard>>settings>>general section

ThanksDecember 17, 2014 at 7:21 pm #230729In reply to: Spam/Bot users
danbp
ParticipantIt’s not buddypress but WP who manage registering and concerning bots, they go directly on your server.
A good starting point is to read the WP Codex:
https://codex.wordpress.org/Hardening_WordPressAnd at least,
Never use “admin” as username
Never user wp_ as table prefixIf you search for “spam” on this forum, you will find many topics about this subject.
And the latest one, even if not directly related to your issue, is one of the sticky post on the forum homepage. https://buddypress.org/support/topic/this-is-why-we-cant-have-nice-things/December 17, 2014 at 6:11 pm #230716In reply to: No activation page after registering
buffos
Participant* yes , register page is activated
* yes, i can register
* yes, members, activity.. etc.. show fine==htaccess==
# BEGIN WordPress
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteBase /testbuddy/
RewriteRule ^index\.php$ – [L]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . /testbuddy/index.php [L]
</IfModule># END WordPress
==logs==
no errors* does buddypress support non :80 ports?
December 17, 2014 at 5:33 pm #230708In reply to: [Resolved] Hide possibility to change 'Base' name
Amic58
ParticipantThank you very much! I was looking for the fix for so long, but I never found one, didn’t know it was that easy.
Also, if it is possible to hide another ‘Base’ name fields.
In extended profile, there is a similar function like in Profile page.
On WordPress Dashboard, when you click Profile, there is a possibility to view Extended profile like on the page before. There is also possibility to change the name.
I also would like to hide the field Name (required), as I don’t want to push people to use their real names.
I use the plugin called Usernames only that eliminates possibility to use real names, but the problem is that people won’t like to add their real name during registration.December 17, 2014 at 12:44 am #230692In reply to: Updated solution to removing @mentions
Tecca
ParticipantI just gave it a shot, you’re right. It works and it doesn’t. It doesn’t send notification emails to the user, nor does it send them notifications on-site. It also doesn’t make the username a clickable link. But it still shows up in the “Latest Update” portion in profiles.
How does it work on your end (or I suppose NOT work)? And if not a custom one, which WordPress theme are you using?
EDIT: Actually, I just woke up and realized that it works completely on my end. The latest update portion part confused me for a second because I remove that on my development websites and I’m not used to ever seeing it.
The above is a bit redundant now, but I’ll leave it. Can you say exactly what it is that you’re trying to do? Are you trying to remove the functionality of mentions when a user starts typing the @ symbol and the username?
December 16, 2014 at 3:07 am #230648In reply to: A few thing about Buddypress
Tecca
ParticipantIt’s essentially a social network plugin for WordPress. Check out the about page: https://buddypress.org/about/
December 15, 2014 at 3:32 pm #230629In reply to: [Resolved] Getting Slammed by Spam since 12/12/2014
Hugo Ashmore
ParticipantWhat else have you tried? There are very many posts on this subject in the forum archives that might suggest approaches to take, try a search through them for more information o9n this issue and what other people have tried or suggest as options.
You could install this plugin and see if it helps:
https://wordpress.org/plugins/wangguard/December 15, 2014 at 12:29 pm #230621In reply to: How to replicate friends component to new component
danbp
ParticipantIt’s not recommended to duplicate BP omponents.
Instead, consider this plugin
https://wordpress.org/plugins/buddy-bbpress-support-topic/December 13, 2014 at 2:10 pm #230588In reply to: How to switch user types in registration
danbp
ParticipantIf you can wait for BP 2.2, the new Member Type API which will be introduced will probably allow such kind of customization.
Note to myself: always remember information found on the dev blog 😉
December 13, 2014 at 11:31 am #230586In reply to: Custom Login Redirect
Hugo Ashmore
Participant@ad4m_wordpress Codex is another word for documentation, ‘codify’, here it’s the link on the main menu labelled ‘Documentation’ The WP documentation is also referred to as ‘The Codex’.
Your initial requirement would have been served by the simple use of one of the provided BP template tags e.g:
<?php echo bp_core_get_userlink(bp_loggedin_user_id()); ?>
which will render a fully formed link and also takes parameters.I’m just trying to avoid paying $50 an hour to a programmer who will take 30 seconds to do this for me.
In that case you will need to learn to code! That is how you will avoid the skilled services of a developer 🙂
December 13, 2014 at 12:08 am #230579In reply to: Custom Login Redirect
bp-help
Participant@ad4m_wordpress
On lines 471-474 in that plugins custom-login-redirect.php maybe try switching this:<option value="">Default</option> <?php if (get_option('custom_login_redirect_display6','yes') == 'yes'){ ?> <option value="<?php home_url ?>wp-admin/">Dashboard</option> <?php } ?>To to something like this:
<option value="">My Profile Wall</option> <?php if (get_option('custom_login_redirect_display6','yes') == 'yes'){ ?> <option value="<?php home_url . '/members/' . bp_core_get_username( bp_loggedin_user_id() ) . '/profile/' ?>My Profile Wall</option> <?php } ?>Note that I haven’t tested this at all so test at your own discretion.
December 12, 2014 at 11:12 pm #230548In reply to: Custom Login Redirect
ad4m_wordpress
ParticipantI would LOVE to be able to edit the code. The plugin url is here –
https://wordpress.org/plugins/custom-login-redirect/
I would LOVE to be able to change the ‘default’ value to say ‘My Profile Wall’ and then hard code it so it using the php method you mentioned above so it gives users the option of redirecting themselves to their profile wall.
You can see a live version of it on my site http://milemarker20.com/wp-login.php
(I plan to change the location of the login url to help prevent spam.)
December 12, 2014 at 11:08 pm #230547In reply to: Custom Login Redirect
bp-help
Participant@ad4m_wordpress
Just out of curiosity what plugin are you referring to that creates this dropdown box on the login screen? Most plugins can be modified to suit your needs if you don’t mind editing the code.December 12, 2014 at 10:51 pm #230545In reply to: Custom Login Redirect
bp-help
Participant@ad4m_wordpress
Not really sure what your trying to accomplish but you need to understand the dynamic nature when a user logs in and is redirected to their profile is in PHP language and there is no full html equivalent that could pull that info from the database to take that user to their profile.
I am certain you will have to use PHP to make this happen. If you copy and pasted the snippet in the link I supplied into bp-custom.php it shouldn’t take a few minutes and is very simple. -
AuthorSearch Results
