Search Results for 'display users posts'
-
Search Results
-
Topic: Old Filters on Activity Page
I’ve been making quite a few posts lately, but I really want to get my site going.
Anyway,
I noticed on any users “Activity Page” there are filters to filter the feed. However, 2 plugins that I have deleted are still appearing as filters (with no icons beside them).
Obviously the icons are missing because I’ve removed the plugins.
How do I remove the filters?
The 2 plugins that are appearing are:
bp-events (it displays it as Events)
and the bp-skeleton-component (displays as Example)
I just installed the skeleton component to see what I had to work with, but now I want to get rid of all the old info on my site.
Any help is appreciated.
Thanks
Topic: bbimg My attempt at photos…
bbimg My attempt at photos…
This is my first post in any sort of WordPress related project, and with me using it so much I finally wanted to start giving back. I have a few plugins and Ideas that I have been working on that I think I’ll just give away instead of hiding them away on whatever servers I put them on. I am starting to do a lot more work with elements that I cant find already made so I have to make them, but then I forget that someone else may need that same thing.
With that, I am the webmaster of a small(3,000 users) site that is a social network for models and those in the modeling agency. Right now its totally free as we are building a userbase. Soon that will change as well as the engine we are running on. It is old, slow, I didn’t make it, and wont scale so I have been searching for a replacement and I was going to use JoomSocial, but I decided against it as I would rather foster this project.
At the modeling website there are thousands upon thousands of images as that is the users primary resource and reason for being online. So I have decided to work on a plugin to handle the images and albums. I have written a outline in my project notebook, but would love some feedback. My plan is to update this thread as I progress.. I have a week until next semester so that should be plenty of time to get a beta out..
Some of this is in coding format, but no real lines of code yet..
HERE WE GO!!
- First the user clicks add photos, a page loads with a single field and a MORE button.
- once all photos are selected the user POSTS data to the same page.
(note) More AJAX’y stuff could go on here, but I’m keeping it simple at first..
- checks that file is image type, makes all lowercase, renames jpeg to jpg.
- all files converted to jpg(or whatever file type)
- Checks if height > width, then checks larger value against max_width/max_height.
- Resizes with correct ratio.
- sets image quality
- Generates filename from userID and photokey such as 1234_15.jpg
- Photo uploaded to image directory
It keeps the data as session data and moves to creating a thumbnail
- Admin sets weather to resize, crop, or scale images. Does so to set options
- Thumbnail uploaded to thumbnail directory (SAME FILE NAME)
Then comes what we are doing to the database.. I had TONS and TONS of ideas for this, and was trying to avoid creating MORE tables for each user, if they have a blog they already have 8!! So what I have done is added 4 fields to Usermeta, and created two sitewide tables called images and albums.
- Usermeta
- Photokey – key that a user adds to each time a image is uploaded. No duplicate image names in a database or directory.
- Albumkey – Same thing.
- Albums – Names of albums user has created, this is to relive querys to other tables as usermeta is loaded automatically.
- Tagged – This is ALL PHOTOS the user is tagged in, returns an array
The larger of the two tables is Images, it holds all the data for each image in the directory.
- Key
- image name – I used 1234_15.jpg earlier.. extension could be left off..
- user – this is so wp doesnt have to parse the image name.
- active – When a user elects to delete an image it is first switched to inactive, this gives the user time to “un-delete” a file, while also allowing an administrator to remove all files in a single action reducing storage size and server load. I plan on doing this during lower traffic hours as a cron job.
- albums – this is to reduce query load when someone wants to display the name of the album a image is in, and allows direct targeting of the album table.
- date – timestamp when uploaded.
- Caption
- Comments – my plan for now is a hack job of a very long array.. I dont think anyone will max out a data field for a image with too many comments..
- Tags – userid’s of those tagged.
Then the Albums table:
- key
- Album name – userid_albumkey
- userid – who made the album
- Title
- Caption
- Comments
- Date
- active
- List of image names in this album. Returns an array.
WHEEEEW!!
how to call it:
- get_album(“id”, maxdisplay, number of tags, number of comments,); returns markup
- get_img(“name”, options);
- get_thumb(“name”);
- get_img_data(“name”, options); if left blank all data is loaded as img_id, img_caption, etc..
- get_tagged_img(); returns a list of all images person has been tagged in.
- get_album_info(); same as img, useful if say you just wanted the names for a carousel or slider..
Of course tagging would call an event or whatever BB uses for its “wire” I havent learned enough of that code yet but Its in the works.
a user can un-tag themselves from any image, and it would remove it from the image database as well as the meta data. It would work the same when deleted..
What do you guys think? What should I kill immediately, or what should I add? I will have a TON of configurable options for admins, but didnt want to post all that.
Well thats it for now I guess, I’ll start coding the meat of it tomorrow..
-Dennis..
I have a BuddyPress install that I recently upgraded to the new “integrated” bbPress. However, we have thousands of forum topics from the older style of integration. Those forum topics all contain some html markup because bbPress presumably included basic markup such as paragraph tags and others.
I’ve only done the upgrade on a test version of our site, but it looks like BuddyPress’ integrated bbPress is escaping the html and outputting it to the screen so that instead of seeing:
“my forum post”
users will see:
“<p>my forum post</p>”
Is there some way to enable simple html tags in BuddyPress’ integrated forums? If not, does anyone know a simple way to at least strip out all the html from the previous posts so it doesn’t look this bad?
Thanks…
We just launched http://fashionisima.es a fashion comunity in spanish language. It displays first the main blog and then you can get into the community http://fashionisima.es/comunidad
We are waiting for the users to get used to the main functionalities of the community and then we will setup the forum and a Digg-like page for voting all the posts in the network.
We got almost 200 users in first 2 weeks and we have 4500 unique visitors every day.
The theme mixes the standard Buddypress theme with Arthemia http://michaelhutagalung.com/arthemia/
Hope you like it
Topic: Site members loop
Hey,
on this site I’m working on, groups represent businesses, who can set their location. Also, blog posts can be tagged with coordinates as well, so on groups and blogs directory pages I’m displaying a map where all the groups and latest blog posts are mapped. This works perfectly.
Now, I’ve written a few functions that enables users to update their current location, which will be shown on the members directory page. The code I’ve written is all correct, but the bp_has_site_members loop doesn’t behave like I would expect it to.
On the site I have 2 test users installed. Only one of them has a location attached to him. So, whatever I set type to (e.g. active or random) in bp_has_site_members, the way I expect it to behave is to always display 1 user, cause I set both max and per_page to 1000.
That doesn’t happen though. When I set type to random (which I intend to do when we go live) I don’t see any user. When I set it to active, my test user with location attached shows up though. To me this seems strange. Is this the way bp_has_site_members is supposed to work?
Thanks for your help.
Boris
Vivanista.com was a redesign project. Their first website was a custom-built application using Ruby on Rails and I opted to move them to BuddyPress as well as implement at redesign.
There are still some minor fixes and changes being made to the website but here are the features:
1. Classifieds (powered by deep integration with BBPress)
Uses BBPress Forums and Topics in a manner similar to Craigslist
2. Boutiques (e-commerce on WordPress MU)
Renamed ‘Blogs’ in the language definition to become ‘Boutiques’ which allow users to create online stores (similar to Etsy) and sell boutique products to other members. Boutique creation is not available to any member and must contact Vivanista to sign up.
3. Facebook Connect via plugin
A good amount of the site’s audience is already on Facebook so this plugin was essential to making signup as painless as possible.
4. Clubs via BuddyPress Groups
More language/label changes
5. Invite Friends
Existing plugins for inviting friends are extremely lacking. Created my own which is still in its infancy but will be developed further and released as a plugin.
6. Content Management
I tried to make the management of content via pages and posts as easy as possible for the content creators and Vivanista staff. I kept custom fields to a minimum and instead of trying to mess with complex thumbnail generation, I’ve opted for simple CSS styling of the first image in a post to display thumbnails.
Some more basic info: it is still running on a pre-1.1+ theme so it will need to be changed to work with the new parent-child theme framework.
I’m writing up some case studies based on this project and the experience of working with WordPress MU, BuddyPress and all of the integrations that were necessary to provide the client with the features they desired. There are quite a few pain points I’ve encountered and either developed solutions for or devised workarounds that I will detail further. I will post a link to the case studies once they are complete.
Topic: Video Page?
Hey all,
So my last project died (read: was killed), and the reincarnation of it, at the request of the powers that be, needs to have some kind of Ted.com like video page.
If course creating a plugin to do this would be wonderful, but I don’t have the time or skills. Integration of PHPMotion would be lovely, but it seems that with V3 no one has had any success (or seems to think it’s worth while).
So, the solution that seems simplest to me:
Users can already upload videos via the media library or in a post. Is there a way to create a page (template or included code) that will display those videos. I don’t need (or really want) the posts, the title would be nice, but whatever. Kind of a site-wide video feed?
Thoughts?
Thanks for the continuing awesomeness everyone,
~ Aaron
How would I go about separating the activity stream data, or at least allowing my users to choose which data they want to see?
Meaning, I don’t care that user ‘x’ updated their profile etc… Maybe some users would care, but I don’t.
As the admin, I am trying to picture what the activity stream is going to look like with potentially thousands of users at once. The idea of having my activity stream filled up with extranious ‘junk’ like profile updates, is only going to ruin the concept of the activity stream.
Imagine if myspace did that, man, we would almost never see anything worth while in the stream.
In my ‘perfect’ scenario, the admin, me would choose the ‘default’ information shown in the stream, and then allow other users to either add/delete stream updates such as forum posts, user updates, etc…
Or even separating the activity stream out into individual parts and displaying them separately.
I’d personally like to see 3 separate streams,
1. blog updates
2. forum posts
3. group posts
I”m sure others would prefer different stuff than myself, hence the question of how to manage what is shown.
We’re just about finished creating a new Twitter plugin designed especially for Buddypress. Here’s a list of features – and we’ll update this thread with a URL for more info when we release the plugin in the next couple of days:
– Adds a new Settings page for people to configure their Twitter ID and psw.
– Adds options to selectively tweet posts (in the Add New post screen for blogs – if the blogs component is enabled in BP )
– Adds a screen where logged-in users can send tweets from within BP if they’ve configured their Twitter login details.
– Adds all new tweets sent from within BP to the Activity page (but not for tweeted posts since new posts already show up there)
– Integrates a Twitter menu item in the user’s public nav bar if they’ve configured their Twitter ID and psw. This allows the public to view the user’s last 20 tweets. It also shows the number of “followers” and “following” for the user, plus the total tweet count.
– Integrates a Twitter Trends pages that shows the most popular search phrases at Twitter over a 7 day time span. There is also an option to display today’s trends at the bottom of a user’s list of tweets.
– Adds a multi-instance widget to the blogs (if the blogs module is enabled in BP) to display tweets in the sidebar. Because this is a multi-instance widget it can be used for blogs that have more than one author or for users who have more than one Twitter account – e.g. each widget instance can be configured with a unique Twitter account.
– It’s performance friendly. After getting the user’s tweets from Twitter the data is stored for one hour before being refreshed – unless a user posts a tweet from within BP or tweets a blog post – in those cases the cache refreshes. The same holds true for the trends data – except trends data is site-wide, meaning it is only downloaded once per hour regardless of how many users have Twitter configured in their account.
– The caching mechanism works with WP Cache (or other cache tools that integrate WP Cache – such as WP Super Cache and derivatives) and if there’s no caching enabled then it will use the database to cache data.
So that’s it at the moment. Any wish list items before we wrap this up?