Search Results for 'notification user id'
-
Search Results
-
Topic: Follow a Blog
I was just wondering if it is possible to set it up so that a user can follow a blog.
So basically I’ll have multiple blogs on my site, and when a user sees one they would like to follow/join, they press a button and then everytime that blog makes a post, they will get a notification in their profile.
Are there widgets for this? I’ll have another look.
Thanks.
I was having a problem where ‘Membership Request Accepted’ notifications weren’t being deleted when clicked. It might be the customised theme I’m using, or it might be a bug, but either way…
Here’s a solution I found – not sure how good it is, but it seems to work.
Drop this into bp-custom.php (if you don’t have one, create it and put it in the main plugins directory):
function bp_custom_fix_group_notifications() {
global $bp;
bp_core_delete_notifications_for_user_by_type( $bp->loggedin_user->id, $bp->groups->slug, 'membership_request_accepted' );
bp_core_delete_notifications_for_user_by_type( $bp->loggedin_user->id, $bp->groups->slug, 'membership_request_rejected' );
}
add_action( 'groups_screen_my_groups', 'bp_custom_fix_group_notifications' );
Hope this helps somebody.
Hi!
I should like to present http://sheepworld.de, a website based on wordpress-mu and buddypress.
About my client and me
Sheepworld is a German company designing and selling postcards as well as various gifts with sheep design. I was working as webdesigner while I was studing. Now I am a lawyer soliciting webdesigners, but work part-time as designer and coder for sheepworld in order to stay in the subject.
About the goals
Sheepworld had in the past many different websites. A Blog, a shop, a children & youth community, corporate page and many more. The aim was to bring them all under one roof. Another aim was a simple maintenance as well as handling of the content by sheepworld’s staff.
Choosing the plattform
I’ll write only about those on the short list. We didn’t choose between free and paid software. The only requirement was an open code.
Since we had experience with typo3 we rejected the idea of using this software, because it was too difficult to handle. Actually I was the only one writing typo script so in emergency no one could fill in. Further it was anything but easy to handle different templates for different pages. And typo3 doesn’t provide many extensions for a community. No offence, it is a great piece of code, but rather for “serious†websites with many domains and editors.
Another candidate on the shortlist was Drupal. And if buddypress had not popped out of nowhere last spring, we would have chosen it. It is in my opinion more complicated, though. And the template handling is not as easy as that of wordpress. In addition sheepworld used wordpress already for blogging and thus there weren’t any reservations among the staff (the editors as well as the technicians).
I confess that I had some doubts as to the development of buddypress, for it was brand new. But after watching Automattic’s or better Andy Peatling’s passionate work on it and its rapidly growing community I was sure it won’t become a flash in the pan.
Ups and Downs
The most prominent advantage of buddypress & wordpress is the simplicity of the development process. After one week of study you can develop own plugins and templates, which will allow you extending buddypress easily and safely. However, basic knowledge of html, css, php is necessary. I recommemd to get acquainted with jQuery as well. Sure thing, one can install buddypress w/o these languages, but in case of problems it might become an ordeal to find a solution.
Further buddypress is transparently written and allows finding solutions w/o having a code documentation. For instance, if you want to understand how an avatar is displayed you first search in the template files for a function that does this. Than you look for the function in core files (or just enter it on google) and see how the function is applied.
Thirdly, updating of wordpress and buddypress is a dream. As long as you follow this procedure “backup-deactivate plugins-update-activate buddypress-activate other plugins†there shouldn’t be any trouble.
The downside of this simple and understandable code is that it doesn’t go quite easy on resources. Thus we had to install a caching solution (we chose “W3 Total Cacheâ€-plugin, which runs really well and supporty gzip as well as eAccelerator on the server in order to cache compiled php code. This is not a big deal, though. The issue is that pages for logged in users cannot be cached. Imagine you would get cached activities or an admin bar with cached notifications of someone else. So the caching speeds up the page only for non-logged-in users. This may take the load from your server and speed up the whole page, but my wish is a caching system for logged in users (don’t ask me how ).
Another downside results from the young age of the project. There are still features missing (native gallery, native privacy options, no Ts&Cs checkbox during registration) and the documentation isn’t very extensive. But these features are coming up and the community delivers a lot of solutions.
Combining with other Software
Beside to wordpress and buddypress we are using the OXID shop system for the shop, PHPlist for the newsletter and osTicket for the support system.
Implementing osTicket was quite easy. All I head to do was including wordpress’ header and footer into the contact form. However this didn’t work with the Shop, so we had to create a static version of the header and footer and include them as html into the shop’s templates (we do it every 24h by using a cron job). The downside: There are no user features (login fields, notifications) within the admin bar on that page.
There are also plugins that allow connecting PHPlist with wordpress.
User & Staff Experience
The users adopted fast the new page as well as the editors. However, I cant say anything about using buddypress as platform for a blog network, since we don’t use this feature. Our users may only create groups and forums. Summing up my client and me we are very happy and recommend buddypress.
STOP TALKING!
Alright, I stop my monologue here, a far more extensive version (German) can be found in my blog: http://www.advisign.de/webdesign/2009-12/sheepworld-de-ein-schafiges-projekt-mit-wordpress-mu-und-buddypress
If you have any questions, plz feel free to ask them.
Thanks
A big thank goes to the whole community and especially to Andy Peatling for the great work and the support! Our sheep appreciate your involvement in creating their new meadow.
When a user gets an email notification they have a friend request, if they are not logged in, they get redirected to the 404 page –
since i cannot figure out why this works from the bp login bar
http://successiqu.com/wp-login.php?redirect_to=http%3A%2F%2Fsuccessiqu.com
and the resulting click from the email doesnt
below does work, so for some reason the / are causing a 404
so, if no one knows why or how i can fix THAT error- where do I change the email that goes out?
Topic: CLASSIFIEDS COMPONENT news
Hi…Big news here.
But (in parts) bad news :
I was cleaning the code of my plugin, which is at this point almost finished.
I was trying to find a reliable way to handle categories and tags : my code is working but categories and tags are in 2 different custom tables (the code is a little dirty); there is no admin page to manage them…
Well, I was looking at how WordPress was handling them because I wanted the code to be strong enough to keep maintaining my component in future easily.
Then I start to look at the taxonomy system.
Then I saw that WP 2.9 will include custom post types…
And then… I’m half disappointed, half excited :
Half excited, because “custom post types” means that you will be able to define new post types (-actually, there is just “pages” and “posts”), like, let’s say … “classifieds”.
That means that you will be able to use the WP dashboard to write a classified like you write a post, and use categories and tags for those classifieds as you do for a post. Those categories or tags will not be those you use for your posts but custom ones just for your “classifieds” post type.
The wire for a classified is no more necessary as you can will be able to use the core comments system with your classified.
Idem for pictures that you will be able to upload and attach directly from there.
That also means that you will be able to search,filter and display those classifieds with the same functions that you do for your posts.
Well, well, that means that this is a big step for WordPress…
But this is also a disappointment for me because that means that lot of the time (several months so far – not full time of course, and i’m an autodidact) I spent to write my plugin was useless as now, the WP core will be able to do by itself a lot of what I wrote in my plugin.
So I think that it would be a wide decision to wait that the custom post type stuff came and to… almost start writing a new plugin from scratches.
Yes, some pieces of my work will still be reusable to make all this “buddypress-friendly” (attach classifieds to groups, notifications, etc), but 95% of my actual code will potentially be useless as WP core function will do the same, and better.
But from what I read, we don’t know exactly when all that stuff will came. Some parts of the functions will be available in WP 2.9 but it’s not sure that the whole thing will be usable in that version, neither we know when WPMU 2.9 will be out : in the trac, they say
I really see no reason we cannot get this into 2.9 since a large majority of the work has been completed already. Even if we only get some of the basic functionality of this into 2.9 it would still be a big help and a basis of something to build off of for 3.0.
.
Well… think the best thing to do should be :
STEP 1 :
Sleep. Cry. Sleep. Howl.
STEP 2
-restart from scratches if I feel the courage for it
-write a new plugin that creates a new blog just for Classifieds at the plugin’s activation.
-All the members of the BuddyPress installation would be members of that blog and so have the capability to write posts.
-Use the posts on that blog as the “classifieds” displayed in the BuddyPress site.
-Control the data sent – number of images used in the post, number of chars, post boxes displayed, etc).
-Add the BP features for notifications, activity, “attaching” classifieds to groups and so.
-use that blog as the basis of my plugin; then
STEP 3
This will be able to make the component ready for WP 2.9 or WP 3.0…
There shouldn’t be lots of stuff to modify in the code. change the post types of the posts in the custom blog to “classifieds”, move them to the main blog and add specific capabilities to decide who can do what. Example : you could be able, as subscriber, to write classifieds but not posts or pages.
And why not differenciate classifieds written on the main blog and classifieds written on a user’s blog, if any (ex. company blog).
STEP 3b
Add a BP-friendly posting system ?
So here’s where I am.
As I said I’m feel a little sorry.
Maybe I should have though of handle the data from my component from a blog from the beginning. But that when we make mistakes that we go further !
The good thing is that I learned a lot about WordPress & BuddyPress and that I know now what I can do with it, and i’ll release my own BP project soon or later. And that once that custom post type system will be available, writing the classifieds component should be a piece of cake, or almost.
If I feel it, i’ll start to rewrite it soon as I explained it in step 2. But I have a lot of work now so I’m not sure I will be able to do this at this moment. I’ll tell you about it in a few days.
Anyway, RIP (for the moment) my-custom-component You can still see some pictures of the work achieved here : http://dev.benoitgreant.be/2009/11/18/classifieds-component-postponed/
I’ve been noticing a lot of people here are using the @user notation (most recently popularized by Twitter) here in the forums. It doesn’t actually do anything, of course, but I was thinking it would be very cool if it actually did.
What I’m thinking is that if someone actually used the notation @stwc somewhere on the site (for example), a notification would be fired off (appearing on the buddybar) to that user (ie me, in this case), and clicking on the notification would take the user to the item in question, whether it’s a wire comment or a forum thread or [anywhere else]. I think it would really help pull together the kind of… loosely-coupled… way that various communication channels on a BP install work. It could also appear as a stream in the user’s messages area…
This might be something better implemented in a plugin than in core, but I thought I’d throw it out there.
Topic: 404 Page Not found for links
I recently added buddypress to my wordpress MU account and used http://codex.buddypress.org/how-to-guides/upgrading-a-buddypress-1-0-theme-for-buddypress-1-1/ to add buddypress functionality to my wordpress theme (which was modified from wordpress single users) My only problem is that none of the links in MyAccount>Notifications>or Visits work. They all are looking for /members/admin and I can’t find the location of these files on my server. I assume the hugest reason I get the 404 Page not found error is because the directory doesn’t exist. How do I resolve this issue?
Topic: Syncing Status Updates
I’m really impressed by the buddypress development and am strongly considering it for future websites. One of the upcoming features mentioned on the http://buddypress.org/about/ is the support for status updates. Will there be any support to auto-sync status updates through twitter/facebook/myspace/ping.fm/etc?
I notice a lot of people don’t want to update their status on all the social networks they are part of (which can be quite a few), and as buddypress generally will be running a secondary social network to a person’s primary social network (usually facebook/myspace/twitter), auto-syncing would be a great option for the average user that doesn’t want to go crazy updating their status everywhere all the time.
PS – Clicking the New Topic button while not being logged doesn’t do anything. Maybe it would be better if it forwarded to a notification that logging in is required to post in the forum along with a register/login links?
Perhaps you’re rebuilding the BP-theme to your liking and find that you want to link to specific pages for the user. This is how you do to get the users to those pages:
<a href="<?php global $bp; echo bp_core_get_userurl($bp->loggedin_user->id); ?>profile/change-avatar">Change avatar</a>
You can change profile/change-avatar to the pages in the bp-theme.
activity/
just-me
my-friends
profile/
change-avatar
edit
index
settings/
general
notifications
With this you can for example put everything from “settings” on the user profile page. That way you’ve got one page less and one thing less on your userbar.
You can make things dissapear from the userbar/optionsbar with using the css-command display:none. Google for it.
KISS!