Search Results for 'notification user id'
-
AuthorSearch Results
-
September 30, 2010 at 4:33 am #93818
In reply to: @mentions is confusing to members
dougjoseph
MemberThanks. I had found that same post yesterday and already applied it. Works great!
I like it because I get the benefit of “post on wall” type usability, and I still get the email notifications, which I think is an important feature. I now simply wish to have “ @username” tagging (mentions) to continue to work as always, yet I want to tweak the look of the site so user’s who don’t want to try to understand it don’t feel like they have to.

Also, regarding my #2 point above: The user who is doing the posting never has to type an “ @user” and cannot delete it from the posting form, because it gets added behind the scenes after he or she posts. Nice! Like I said, now I just need to tweak the site design to make the “mention this user” button go away, and perhaps rename the “mentions” filter menu choice.
September 26, 2010 at 12:32 pm #93465In reply to: BuddyPress 1.2.5.2 with WP 3.0.1 = No Forums?
Maciej Skrzetuski
ParticipantYes, /httpdocs/wp-content/plugins/buddypress/bp-forums/bbpress and all the *.php files exist.
I use the default buddypress theme. I don’t use any plugins besides buddypress. My httpdocs is chmod 777 for installation. BP has written the following into .htaccess:
# BEGIN WordPress
RewriteEngine On
RewriteBase /
RewriteRule ^index.php$ – [L]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . /index.php [L]# END WordPress
bb-config.php has the same config for database as wp-config.php.
I have following tables in my db.
wp_bp_activity 0 MyISAM 1.0 KB Creation: Sep 26, 2010 at 02:28 PM
Last update: Sep 26, 2010 at 02:28 PM
wp_bp_activity_meta 0 MyISAM 1.0 KB Creation: Sep 26, 2010 at 02:28 PM
Last update: Sep 26, 2010 at 02:28 PM
wp_bp_friends 0 MyISAM 1.0 KB Creation: Sep 26, 2010 at 02:28 PM
Last update: Sep 26, 2010 at 02:28 PM
wp_bp_groups 1 MyISAM 4.1 KB Creation: Sep 26, 2010 at 02:28 PM
Last update: Sep 26, 2010 at 02:30 PM
wp_bp_groups_groupmeta 2 MyISAM 7.1 KB Creation: Sep 26, 2010 at 02:28 PM
Last update: Sep 26, 2010 at 02:30 PM
wp_bp_groups_members 1 MyISAM 8.1 KB Creation: Sep 26, 2010 at 02:28 PM
Last update: Sep 26, 2010 at 02:30 PM
wp_bp_messages_messages 0 MyISAM 1.0 KB Creation: Sep 26, 2010 at 02:28 PM
Last update: Sep 26, 2010 at 02:28 PM
wp_bp_messages_notices 0 MyISAM 1.0 KB Creation: Sep 26, 2010 at 02:28 PM
Last update: Sep 26, 2010 at 02:28 PM
wp_bp_messages_recipients 0 MyISAM 1.0 KB Creation: Sep 26, 2010 at 02:28 PM
Last update: Sep 26, 2010 at 02:28 PM
wp_bp_notifications 0 MyISAM 1.0 KB Creation: Sep 26, 2010 at 02:28 PM
Last update: Sep 26, 2010 at 02:28 PM
wp_bp_xprofile_data 1 MyISAM 4.0 KB Creation: Sep 26, 2010 at 02:28 PM
Last update: Sep 26, 2010 at 02:28 PM
wp_bp_xprofile_fields 1 MyISAM 7.0 KB Creation: Sep 26, 2010 at 02:28 PM
Last update: Sep 26, 2010 at 02:28 PM
wp_bp_xprofile_groups 1 MyISAM 3.0 KB Creation: Sep 26, 2010 at 02:28 PM
Last update: Sep 26, 2010 at 02:28 PM
wp_commentmeta 0 MyISAM 1.0 KB Creation: Sep 26, 2010 at 02:25 PM
Last update: Sep 26, 2010 at 02:25 PM
wp_comments 1 MyISAM 7.2 KB Creation: Sep 26, 2010 at 02:25 PM
Last update: Sep 26, 2010 at 02:25 PM
wp_links 7 MyISAM 3.5 KB Creation: Sep 26, 2010 at 02:25 PM
Last update: Sep 26, 2010 at 02:25 PM
wp_options 155 MyISAM 344.3 KB Creation: Sep 26, 2010 at 02:25 PM
Last update: Sep 26, 2010 at 02:29 PM
wp_postmeta 1 MyISAM 7.1 KB Creation: Sep 26, 2010 at 02:25 PM
Last update: Sep 26, 2010 at 02:25 PM
wp_posts 3 MyISAM 8.7 KB Creation: Sep 26, 2010 at 02:25 PM
Last update: Sep 26, 2010 at 02:25 PM
wp_terms 2 MyISAM 8.1 KB Creation: Sep 26, 2010 at 02:25 PM
Last update: Sep 26, 2010 at 02:25 PM
wp_term_relationships 8 MyISAM 3.2 KB Creation: Sep 26, 2010 at 02:25 PM
Last update: Sep 26, 2010 at 02:25 PM
wp_term_taxonomy 2 MyISAM 4.1 KB Creation: Sep 26, 2010 at 02:25 PM
Last update: Sep 26, 2010 at 02:25 PM
wp_usermeta 15 MyISAM 7.6 KB Creation: Sep 26, 2010 at 02:25 PM
Last update: Sep 26, 2010 at 02:29 PM
wp_usersIs it a problem if you are running BuddyPress in a subdomain like http://sub.domain.pl?
September 25, 2010 at 11:45 pm #93420jdawn
MemberHi Paul,
I just tried this fix, but it didn’t work: http://premium.wpmudev.org/forums/topic/ie8-compatibility-mode.
Below is a list of my active plugins. But I’m not sure if it’s a plugin issue because the cropping works in Firefox. Is it an IE8 compatibilty issue? If so, how can I get around it?
Here are my active plugins:
* Advanced Permalinks
* AJAX Login Widget++
* BP-NotificationWidget
* BP Disable Activation
* BP Hide Widgets
* BP Member Filter
* BuddyPress
* BuddyPress Album+
* Buddypress Widget Pack
* Capability Manager
* Dean’s Permalinks Migration
* Enhanced BuddyPress Widgets
* Fast Secure Contact Form
* Fluency Admin
* IE7 Compatibility
* Invite Anyone
* Media Library Gallery
* My Comments Manager
* NextGEN Gallery
* NextGEN Gallery Sidebar Widget
* Nicer permalinks for Vietnamese
* oEmbed for BuddyPress
* ourSTATS Widget
* Peter’s Login Redirect
* Plugin Central
* SI CAPTCHA Anti-Spam
* Simple Trackback Validation
* TDLC Birthdays
* Theme Switcher Reloaded
* Top 10
* Transposh Translation Filter
* User Permissions
* Visitor Maps and Who’s Online
* Welcome Pack
* WordPress Admin Bar
* WordPress Database BackupThanks for your help!
JdawnSeptember 23, 2010 at 8:01 pm #93235In reply to: mobile theme for buddypress?
paulhastings0
ParticipantWell currently if “User A” makes a status update and then “User B” replies to his update, “User A” receives a notification in his email inbox and sees what “User B” said. Currently, if “User A” wants to respond to “User B” he has to log back into the social network, find the update, and then type in the message.
It would be easier for a lot of mobile users instead to hit “reply” in their email inbox and then just type in their response and then click “submit”.
The more I think about it though, it seems like “reply-by-email” would actually be a separate plugin. It would be useful not only for mobile users but also regular computer users. Although I think it would help mobile users the most.
September 8, 2010 at 5:22 pm #91890Anonymous User 96400
InactiveWhen you setup the globals of your plugin you can specify a notification function like so:
`function log_setup_globals()
{
global $bp;// some stuff here
$bp->logbooks->format_notification_function = ‘log_format_notifications’;
// some more stuff here
}
add_action( ‘bp_setup_globals’, ‘log_setup_globals’ );`This function might look something like this then:
`function log_format_notifications( $action, $item_id, $secondary_item_id, $total_items )
{
global $bp;if( ‘new_dive’ == $action )
{
if ( (int)$total_items > 1 )
return apply_filters( ‘log_multiple_verifications_notification’, ‘loggedin_user->domain . ‘logbook/verifications/” title=”‘ . __( ‘Verifications’, ‘logs’ ) . ‘”>’ . sprintf( __(‘You have %d new logbook verifications’, ‘logs’ ), (int)$total_items ) . ‘‘, $total_items );
else
return apply_filters( ‘log_single_verification_notification’, ‘loggedin_user->domain . ‘logbook/verifications/” title=”‘ . __( ‘Verifications’, ‘logs’ ) . ‘”>’ . sprintf( __(‘You have %d new logbook verification’, ‘logs’ ), (int)$total_items ) . ‘‘, $total_items );
}do_action( ‘log_format_notifications’, $action, $item_id, $secondary_item_id, $total_items );
return false;
}`You can then remove these notifications with a function like this:
`function log_remove_screen_notifications()
{
global $bp;bp_core_delete_notifications_for_user_by_type( $bp->loggedin_user->id, $bp->logbooks->name, ‘new_dive’ );
}
add_action( ‘log_verifications_screen’, ‘log_remove_screen_notifications’ );`For this to work you have to place the do_action call to log_verifications_screen on the page that is linked in the notification.
To record a notification you call this function like so:
`bp_core_add_notification( $dive_id, $user_id, ‘logbooks’, ‘new_dive’ );`I copied the above from a plugin I’m working on at the moment. Also, have a look at the skeleton component and the various BP functions.
Enjoy!
September 2, 2010 at 11:55 am #91321In reply to: Approve groups before they are listed
Boone Gorges
Keymaster@bmunch Your suggestion (groups can be created only by users of a certain level) would be much easier to implement than true moderation of group creation. You’d just have to wrap some of the “create a group” elements in the UI in a `if ( current_user_can() )` check, and maybe add a few such checks at the top of some key group creation functions.
With real group moderation, a lot of admin overhead is required: a UI for admins to see pending/approved groups (Group Management doesn’t do that, but it could be a step in that direction, as BPGM has all the necessary hooks and filters); a notification system to let admins know when a group is pending; a notification system to let users know when their groups have been approved; the backend functions necessary to create and check a piece of group metadata saying whether the group has been approved. This could conceivably be accomplished with a plugin (though I can think of one or two places where additional filters would be required in BP’s core code), but it would take a lot of work. Maybe one of you is up for the job
August 17, 2010 at 7:53 pm #89411In reply to: Email notification not working
Abbas Khalil
ParticipantThe “Mail From” plugin solved my issue of not getting activation emails when users signed up on my website. A million thanks for the advice!
NOTE: I did the ‘One Click Installation’ and the plugin works fine with this. No need to go through the manual installation as stated by some!
I’m using WP 3.0.1 and BP 1.2.5.1
Hosting: Hostmonster
Cheers
August 17, 2010 at 9:49 am #89370In reply to: Clear message to all users
Mark
ParticipantI dont have a sitewidenotifications screen , I composed a message and clicked send to all. Any clues?
August 16, 2010 at 7:28 pm #89293In reply to: Clear message to all users
Hugo Ashmore
ParticipantGo back to your account and have a careful study of the site wide notifications screen.
August 9, 2010 at 1:33 pm #88538christian_gnoth
Memberfirst I think that other may have the same problem. as I did not found it I posted it. As it only happens if the user is logged in, there is nothing what I can show.
The description is clearly. The whole menu structure of the buddypress is below the footer. here the menu list:
IT-Consultant – Christian Gnoth
My Account
Activity
Personal
Friends
Groups
Favorites
@admin Mentions
Profile
Public
Edit Profile
Change Avatar
Blogs (7)
Messages Inbox
Sent Messages
Compose
Notices
Friends (0)
My Friends
Requests
Groups (0)
My Groups
Invites
Settings
General
Notifications
Log Out
My Blogs
IT-Consultant – Christian Gnoth
Dashboard
New Post
Manage Posts
Manage Comments
German Newspaper
Dashboard
New Post
Manage Posts
Manage Comments
WordPress PlugIn Development
Dashboard
New Post
Manage Posts
Manage Comments
Theme Development
Dashboard
New Post
Manage Posts
Manage Comments
Blogs from IT-GNOTH.de
Dashboard
New Post
Manage Posts
Manage Comments
PHP Development
Dashboard
New Post
Manage Posts
Manage Comments
wp theme t1
Dashboard
New Post
Manage Posts
Manage Comments
Notifications
No new notifications.
Blog Authors
admin
wptrack1
Visit
Random Member
Random Group
Random BlogAugust 5, 2010 at 10:04 pm #88166In reply to: Complete disable email notifications for all users
bethdeth
Memberdid you ever figure this out? I would like to do the same.
August 3, 2010 at 1:51 pm #87849In reply to: Adding menu items to the admin bar
alanchrishughes
Participant@hnla I mean the buddypress links. All the individual items under “My Account” and the “Notifications.” I’ve clumsily figured out how to generate a link to a logged in users account page, just by copying and pasting random bits of php from the admin bar file into my design. If there was a simple way to pull the individual links to each page that would be perfect, if there was something like…
get_myactivity_personal();
get_myactivity_friends();
get_mynotifications();And then I could move on from there designing whatever I wanted without worrying about the admin bar knowing that I could write
a href=” php get_myactivity_personal(); “> < img src </ a
(I don’t know how to post code on here so that is why that is written incompletely)
July 17, 2010 at 7:02 pm #86039In reply to: New Sliding AJAX Login Panel Plugin for BuddyPress
k33n
Participant@jeremy The client actually requested to put it back because they liked the push like notifications and some of the other features but after thinking about it and seeing @leguis reply I may try to add those.
Tremendous thanks @Sara ! this really gives users a concise and intuitive view of what they’re able to do with the features BP provides.
July 17, 2010 at 3:26 am #85966In reply to: Email notification not working
Paul S
ParticipantApparently it now does work. Although it took a few hours for my activation email to arrive, it did. But, the sender email address wasn’t the admin email (the one listed as the one from which all activation/notification emails are sent from) it was an weird email from BlueHost. mybluehostusername @box###.bluehost.com.
Should I take this up with Blue Host? Or is something else wrong?
July 8, 2010 at 9:26 am #84735webgyrl
MemberBTW, here are my site specifications.
Specs
1. Which version of WPMU are you running?
I am using regular WP 3.0
2. Did you install WPMU as a directory or subdomain install?
Root directory
3. If a directory install, is it in root or in a subdirectory?
Root
4. Did you upgraded from a previous version of WPMU? If so, from which version?
Was a previous version install via Fantastico on cPanel, upgraded to 3.0 before BuddyPress was installed
5. Was WPMU functioning properly before installing/upgrading BuddyPress?
Not sure
6. Which version of BuddyPress (BP) are you running?
Version 1.2.5.2
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?
Yes:
Welcome Pack Version 2.1
Twitter Goodies Version 3.9.0
Tweetstream Version 1.4
oEmbed for BuddyPress Version 0.52
Invite Anyone Version 0.6.4
Import from Ning Version 1.1
Facestream Version 1.1
Contact Form 7 Version 2.2.1
BuddyPress Usernames Only Version 0.58
BuddyPress Profile Privacy Version 0.2
BuddyPress Private Messages for Followers Only Version 1.0
BuddyPress Like Version 0.0.7
BuddyPress Group Tags Version 1.2.2
BuddyPress Group Email Subscription Version 2.5
BuddyPress Forum Topic Mover Version 1.0.0
BuddyPress Follow Version 1.0
BuddyPress Album+ Version 0.1.7
BP Profile Search Version 1.0
BP Group Management Version 0.4
BP-NotificationWidget Version 1.4
9. Are you using the standard BuddyPress themes or customized themes?
Standard BP Theme BuddyPress Default 1.2.5.2
10. Have you modified the core files in any way?
No
11. Do you have any custom functions in bp-custom.php?
I do not think so.
12. If running bbPress, which version? Or did your BuddyPress install come with a copy of bbPress built-in?
I ran the bbPress installer that came with BuddyPress
13. Please provide a list of any errors in your server’s log files.
DELETED logs….
I moved files in site to root…..
Hosting company:
Total Choice HostingJuly 8, 2010 at 9:24 am #84734In reply to: Cannot post new topic on forum
webgyrl
MemberI am having this exact same problem on a brand new WP/BP site.
Specs
1. Which version of WPMU are you running?
I am using regular WP 3.0
2. Did you install WPMU as a directory or subdomain install?
Root directory
3. If a directory install, is it in root or in a subdirectory?
Root
4. Did you upgraded from a previous version of WPMU? If so, from which version?
Was a previous version install via Fantastico on cPanel, upgraded to 3.0 before BuddyPress was installed
5. Was WPMU functioning properly before installing/upgrading BuddyPress?
Not sure
6. Which version of BuddyPress (BP) are you running?
Version 1.2.5.2
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?
Yes:
Welcome Pack Version 2.1
Twitter Goodies Version 3.9.0
Tweetstream Version 1.4
oEmbed for BuddyPress Version 0.52
Invite Anyone Version 0.6.4
Import from Ning Version 1.1
Facestream Version 1.1
Contact Form 7 Version 2.2.1
BuddyPress Usernames Only Version 0.58
BuddyPress Profile Privacy Version 0.2
BuddyPress Private Messages for Followers Only Version 1.0
BuddyPress Like Version 0.0.7
BuddyPress Group Tags Version 1.2.2
BuddyPress Group Email Subscription Version 2.5
BuddyPress Forum Topic Mover Version 1.0.0
BuddyPress Follow Version 1.0
BuddyPress Album+ Version 0.1.7
BP Profile Search Version 1.0
BP Group Management Version 0.4
BP-NotificationWidget Version 1.4
9. Are you using the standard BuddyPress themes or customized themes?
Standard BP Theme BuddyPress Default 1.2.5.2
10. Have you modified the core files in any way?
No
11. Do you have any custom functions in bp-custom.php?
I do not think so.
12. If running bbPress, which version? Or did your BuddyPress install come with a copy of bbPress built-in?
I ran the bbPress installer that came with BuddyPress
13. Please provide a list of any errors in your server’s log files.
[Thu Jul 08 01:43:12 2010] [error] [client 99.232.211.136] PHP Warning: Cannot modify header information – headers already sent by (output started at /home/wwwnatf/public_html/site/wp-admin/includes/misc.php:133) in /home/wwwnatf/public_html/site/wp-includes/pluggable.php on line 890, referer: http://natfriends.com/site/wp-admin/options-general.php
[Thu Jul 08 01:43:12 2010] [error] [client 99.232.211.136] PHP Warning: is_writable() [function.is-writable]: open_basedir restriction in effect. File(/) is not within the allowed path(s): (/home/wwwnatf:/usr/lib/php:/usr/local/lib/php:/tmp) in /home/wwwnatf/public_html/site/wp-admin/includes/misc.php on line 133, referer: http://natfriends.com/site/wp-admin/options-general.php
[Wed Jul 07 23:53:55 2010] [error] [client 99.232.211.136] PHP Warning: Invalid argument supplied for foreach() in /home/wwwnatf/public_html/site/wp-content/plugins/wordpress-shout-box-chat/chat.php on line 38, referer: http://natfriends.com/site/
[Wed Jul 07 23:53:55 2010] [error] [client 99.232.211.136] PHP Warning: file_put_contents(history/20100707) [function.file-put-contents]: failed to open stream: Permission denied in /home/wwwnatf/public_html/site/wp-content/plugins/wordpress-shout-box-chat/chat.php on line 23, referer: http://natfriends.com/site/
[Wed Jul 07 23:53:52 2010] [error] [client 99.232.211.136] PHP Warning: Invalid argument supplied for foreach() in /home/wwwnatf/public_html/site/wp-content/plugins/wordpress-shout-box-chat/chat.php on line 38, referer: http://natfriends.com/site/
[Wed Jul 07 23:53:52 2010] [error] [client 99.232.211.136] PHP Warning: file_put_contents(history/20100707) [function.file-put-contents]: failed to open stream: Permission denied in /home/wwwnatf/public_html/site/wp-content/plugins/wordpress-shout-box-chat/chat.php on line 23, referer: http://natfriends.com/site/
[Wed Jul 07 23:47:55 2010] [error] [client 99.232.211.136] PHP Warning: chmod() [function.chmod]: Operation not permitted in /home/wwwnatf/public_html/site/wp-content/plugins/phpfreechat/src/pfctools.php on line 180, referer: http://natfriends.com/site/
[Wed Jul 07 23:47:55 2010] [error] [client 99.232.211.136] PHP Warning: copy(/home/wwwnatf/public_html/site/wp-content/plugins/phpfreechat/src/../data/public/themes/zilveer/smileys/emoticon_unhappy.png) [function.copy]: failed to open stream: Permission denied in /home/wwwnatf/public_html/site/wp-content/plugins/phpfreechat/src/pfctools.php on line 179, referer: http://natfriends.com/site/
[Wed Jul 07 23:47:55 2010] [error] [client 99.232.211.136] PHP Warning: chmod() [function.chmod]: Operation not permitted in /home/wwwnatf/public_html/site/wp-content/plugins/phpfreechat/src/pfctools.php on line 180, referer: http://natfriends.com/site/
[Wed Jul 07 23:47:55 2010] [error] [client 99.232.211.136] PHP Warning: copy(/home/wwwnatf/public_html/site/wp-content/plugins/phpfreechat/src/../data/public/themes/zilveer/smileys/eusa_whistle.gif) [function.copy]: failed to open stream: Permission denied in /home/wwwnatf/public_html/site/wp-content/plugins/phpfreechat/src/pfctools.php on line 179, referer: http://natfriends.com/site/
I moved files in site to root…..
Hosting company:
Total Choice HostingJuly 1, 2010 at 5:42 pm #83816In reply to: Removing Groups From Forums
lincme.co.uk
Member@peterverkooijen said; “Talk about dropping rigidity and opening up to an amazing new flexibility and power is pure nonsense”. Ah Peter, without visionaries such as yourself, how would we ever have got to where we are..?! Growing out of rigid definitions into new flexibility is where the virtual world is heading, like it or not. Everything you see online now will be long dead in five years, and all the concepts you hold dear buried deep. Might as well get used to it.
BuddyPress is a mess, as I see it. It isn’t really anything, and at the same time it’s too much. If I want a community conversation stream, along with simple WordPress themes, etc., there’s Mingle. If I want a forum on my site that’s easy too; there’s BBPress, Mingle Forum, etc. If I want member groups regardless of these, there’s, erm… there’s… well, BuddyPress does that, kind of, in a big and over-complicated way.
BuddyPress should be about making social contacts. The name’s a bit of a clue, right? In other words, friends and contacts with grouping of such, contact streams, and strong privacy for users so they determine who sees what they post. On top of that, as it’s a social tool; community moderation/banning, and reporting to site admins in a simple and obvious way. Oh, and of course, easy to see notifications such as friend/contact requests, etc. Who thought it was a good idea to *include* forums in all of this, and relate them to groups?! Each entity and its associated operations should be separate and self-sustaining. Basic OOP.
It just doesn’t do anything easily, does it? And the hype on the download pages about plugins to do whatever you like is just hype, really. Oh, it ‘kind of’ does everything you want, but only kind of. You have to jump through hoops, and even then you’re fighting with a forum which tries to be a group trying to hold conversation streams together.
I’m interested in productive discussion about social networking sites and their take-up and impact, though not here as I feel it’s not the right place. For one thing, the developers and those who kiss up don’t like to hear how their baby was malformed from the start. If anyone is interested in finding solutions to creating truly interactive social networks in the easiest and most stable way possible at present, please email any-name-you-like at our domain.
June 30, 2010 at 11:09 pm #83723In reply to: Blue @ link lists incorrect name.
abcde666
ParticipantHi Ray,
I have upgraded to version 0.57 but I still see the issue showing the name “admin” instead of the name of the user.
I do NOT have the “BP Follower Plugin installed”.I see this issue when not being logged-in.
When being logged-in, then this issue is not there.Using WP 3.0 (Multi-Site) and BP 1.2.4.1
++++++++++++
@tsui is a unique identifier for admin that you can type into any message on this site. admin will be sent a notification and a link to your message any time you use it.
++++++++++++June 27, 2010 at 12:41 pm #83093In reply to: BuddyPress 1.2.5 tickets are cleared out
lincme.co.uk
Member@johnjamesjacoby; Just a quick note, as I’m off out for a while. I noticed in the previous version of BP that the ‘?’ symbol on the profile age next to the avatar was reporting names wrongly. I hacked it in core, but now it’s back in the new version.
Eg., with a user ‘fred’, when logged in as fred the message is correct. But if I’m logged in as ‘admin’ I get this when looking at fred’s profile (notice ‘admin’ in second sentence);
@ fred is a unique identifier for admin that you can type into any message on this site. admin will be sent a notification and a link to your message any time you use it.
When I hacked it I removed the extra names, as they’re not required;
@ fred is a unique identifier for this person that you can type into any message. He/she will be sent a notification and a link to your message when you do this.
June 23, 2010 at 8:24 pm #82446In reply to: Is bp dying a slow death?
paulhastings0
ParticipantBtw, the correct username is @apeatling, not @andy (that poor guy is getting overloaded with a bunch of non-relevant notifications.
)June 23, 2010 at 10:59 am #82371In reply to: custom plugin : hook bp_setup_globals is not fired
grosbouff
ParticipantOk. Here my code now :
loader.php
function yclads_bp_init() {
require_once( YCLADS_BP_PLUGIN_PATH . 'includes/yclads-bp-core.php' );
}
add_action( 'bp_init', 'yclads_bp_init');
yclads-bp-core.php
function bp_yclads_setup_globals() {
global $bp;// For internal identification
$bp->yclads->id = 'yclads';$bp->yclads->format_notification_function = 'bp_yclads_format_notifications';
$bp->yclads->slug = YCLADS_SLUG;// Register this in the active components array
$bp->active_components[$bp->yclads->slug] = $bp->yclads->id;do_action( 'bp_yclads_setup_globals' );
}
//TO FIX
//add_action( 'bp_setup_globals', 'bp_yclads_setup_globals' );
add_action( 'wp', 'bp_yclads_setup_globals');
add_action( 'admin_menu', 'bp_yclads_setup_globals');function bp_yclads_setup_root_component() {
/* Register 'yclads' as a root component */
bp_core_add_root_component( YCLADS_SLUG );}
//TO FIX
//add_action( 'bp_setup_root_components', 'bp_yclads_setup_root_component' );
add_action( 'wp', 'bp_yclads_setup_root_component');
add_action( 'admin_menu', 'bp_yclads_setup_root_component');function bp_yclads_setup_nav() {
global $bp;
global $post;if ((is_single()) && ($post->post_type=='yclad')) {
// This is a single ad.
$bp->is_single_item = true;
$bp->yclads->current_ad = $post;[...]
}
[...]
print_r($bp->current_component);
exit;do_action( 'yclads_setup_nav', $bp->yclads->current_ads->user_has_access );
}
//TO FIX
//add_action( 'bp_setup_nav', 'bp_yclads_setup_nav' );
add_action( 'wp', 'bp_yclads_setup_nav' );
add_action( 'admin_menu', 'bp_yclads_setup_nav' );
If I access /wordpress/classified-ads/i-give-kitties/ (single-ad)
print_r($bp->current_component);
exit;
outputs “i-give-kitties” while it should output “classified-ads”. So something is wrong with all this.
Any idea ?June 9, 2010 at 3:42 pm #81071techguy
ParticipantLots of previous threads for this. Even a recent one with a Trac ticket to make it so it doesn’t require lowercase:
https://buddypress.org/community/groups/how-to-and-troubleshooting/forum/topic/register-username-with-uppercase/
https://buddypress.org/community/groups/how-to-and-troubleshooting/forum/topic/allowing-users-to-type-in-uppercase-letters-for-the-username/
https://buddypress.org/community/groups/installing-buddypress/forum/topic/username-starts-from-uppercase-letter/I’m not sure if the lowercase does matter in other sections. You might add the question to the Trac ticket and see if the core developers can answer. This is something I’d like to fix too. The other solution I’ve considered is to have some javascript function that will check the username to make sure 1. it’s available and 2. that it’s lowercase and 3. Any other validation. At least a notification before they click submit would be sufficient.
June 7, 2010 at 5:51 am #80873In reply to: Moderate Signup / Restrict Registration
zlamczyk
ParticipantFigured this out, finally. Turns out that the file and function to modify was:
wp-contentpluginsbuddypressbp-corebp-core-filters.php
–>function bp_core_activation_signup_user_notification( $user, $user_email, $key, $meta )Isn’t it redundant to have two functions so similar to each other? Both the above function and
wp-contentpluginsbuddypressbp-corebp-core-signup.php
–>function bp_core_signup_send_validation_email( $user_id, $user_email, $key )
are extraordinarily similar to each other. It’s kinda frustrating.I’d consider developing a plugin, but perhaps I’ll wait for the first release of WP 3.0.
June 3, 2010 at 4:54 pm #80521In reply to: Killing the @mention function
techguy
ParticipantWhy not just leave it on the notification page? So far, you haven’t removed the functionality. You’ve just removed the navigation to see some of that functionality. So, if someone does the @username they’re going to get a notification unless you disable that also. Plus, not many people are going to look at the notifications page anyway;-)
To your question, I think you would have to remove the action and write another function that doesn’t display the mentions settings. You’d just need to test what happens when save is clicked and that setting isn’t passed. Maybe you pass it as a hidden variable or something.
June 1, 2010 at 3:00 pm #80288In reply to: @mentions not working
rossagrant
ParticipantHey Simon,
Are you mentioning a user in a group forum?Someone can correct me if I am wrong but you won’t receive a notification email or note in the user bar if that is the case. You will only receive an email if someone users your username @mention in a status update that then hits the activity stream.
Click on settings in your BP profile and look at notifications. It will list everything you get an email for. @mentions in forums isn’t one. I imagine if it was your inbox would be full of messages if you participate in a busy forum.
Simply click on the @mentions link in your BP profile when you first login to get upto speed with @mentions.
As I say, I’m sure a mod will correct me if I am wrong but you don’t get an email or notification in each instance when using @mentions.
Hope this helps mate,
Ross
-
AuthorSearch Results