Skip to:
Content
Pages
Categories
Search
Top
Bottom

Search Results for 'wordpress'

Viewing 25 results - 29,476 through 29,500 (of 32,677 total)
  • Author
    Search Results
  • #58983
    MrMaz
    Participant

    @Andy

    Cool man, I don’t want anyone to think I only just complain, hehe. I have never been good at sugar coating stuff, and my wife gives me hell all the time about it. Btw, I have a 2 y/o and a pregnant wife, so I reserve the right to be snarky, lol.

    Check out my registry for auto-embedding rich media services. I think it could be adapted to work for activity streams, although I guess it would have to be de-PHP5’d :(

    Registry & Service Template Methods

    https://plugins.trac.wordpress.org/browser/buddypress-links/tags/0.2-RC1/bp-links-embed-classes.php

    Services

    https://plugins.trac.wordpress.org/browser/buddypress-links/tags/0.2-RC1/bp-links-embed-services.php

    To solve the performance problem, each “service” would need to define a method that denormalizes itself for storage in the table that is queried (it gets hammered). This is very similar to format_activity(), except the abstract activity registry class would define strict rules for the format of data that is returned, then format the output itself from this “cached” denormalized data. We are back to square one with the need to refresh the denormalized data periodically, but I can think of a few ways to lessen the hit. One would be to have a timestamp (or other freshness indicator) column so only records that have changed are refreshed. It would be ideal to refresh the data with a pure SQL query, but then the components would have to provide the SQL to do it, and that would get very messy.

    In the end you have an activity stream class interface that basically says… you want to record activity? Ok, extend me and define these methods. You have to return data in exactly this format. Add yourself to my registry, and if you followed directions, I will do all of the heavy lifting for you. Otherwise, get lost.

    LMK if any of this sounds good to you, or if we are way off of the same page.

    #58962
    Paul Wong-Gibbs
    Keymaster

    I’ve not seen any. My Achievements plugin sort of does this in some ways, but it isn’t intended to be a user stats plugin.

    akosama
    Participant

    I´m looking for a plug-in to display Buddypress user statistics, but showing user activity on the social network, not web traffic. Any help with this? Thanks a lot.

    #8014
    Andy Peatling
    Keymaster

    This thread has been created from this thread since the topic of discussion changed from syncing content to database and component architecture.


    First of all, let’s clear a few things up:

    1. The activity table is not a cache table, so the preconceived notions of what “cache” means don’t apply when considering solutions. It may contain data that has been pre formatted, but it still contains all the pointers back to the original content. It is quite possible to reconstruct all of the data from the information stored in the activity table. Remember “format_activity” functions?

    The table is named “_cached” because this is a leave over from how the component used to work. I have not found a decent reliable way to change the name of the table that will not break a percentage of installations. This leads me onto number 2.

    2. What people have talked about so far is the way the activity component used to work. It used to just be a table containing only pointers back to the original content. The stream would be re-built every four hours. The result would be populated in the “_cache” table which is a small part of what you see today. This would then be used to render the stream.

    In reality this was just too expensive. Of course we can normalize the database until the cows come home, but in reality this isn’t going to cut it on a low end server. What I don’t want is for BuddyPress to be limited to high end servers with beautiful caching solutions. In reality, I want this thing to run on cheap hosts where someone can just throw it up there and it doesn’t take the server down.

    Now, none of that is an excuse for poor database design – and I’m not saying BuddyPress has poor database design – but I’ll be the first to admit it could be better. Rome wasn’t built in a day, and I have no doubt that the schema is going to improve significantly over the next several versions and your help as a developer is appreciated. My philosophy is release early, often and iterate. No one is going to build a perfect solution straight off the bat, let’s get it out there and get people using it.

    What we don’t want to do is start talking and discussing changes that fit the way things work right now. Here’s something to consider. I think the activity stream is going to be “the” central point to everything in BuddyPress. As an example, when the photos/album/gallery component is built, images will just be uploaded as an activity stream entry and appear on the activity stream. Any comments on the photo/photos will be activity stream comments. When you look at the permalink for that photo, it will just be an activity permalink with the comments showing.

    What I’m saying is *everything* is an activity, regardless of what the content actually is. Rather than thinking of the activity stream as just a place where everything is aggregated, the activity stream will be the place where everything actually happens/is stored. The activity stream has almost everything you need now, powerful filtering, threaded commenting, permalinks and the ability to delete (and soon edit).

    Separate interfaces could be built to perhaps display uploaded images in a different fashion, or private messages in a typical email style. However, in reality all of these are still activities.

    You could compare this to the posts table in WordPress which is the heart of the software. Everything on the database level is considered a post, but on all levels above the database the content is defined by the “post_type”. Rather than creating multiple new tables for each content type, why not just use the activity table but be able to denote different types of content using identifiers or types?

    These are all just ideas and nothing is anywhere near set in stone, however this all something to consider when talking about changes to the schema or debating how it works.

    Let’s start some positive discussions about suggestions for small iterative improvements. But — I don’t want to hear about how WP does it wrong. At the end of the day WP is wildly successful and runs on most servers, fulfilling most people’s needs without a problem. Let’s keep it constructive.

    #8013
    marc
    Participant

    I have previously posted in the thread below about activation issues Im having :

    http://buddypress.org/forums/topic/premature-end-of-script-headers-internal-server-errors

    Im not getting any help resolving this so wonder if there is anyway I can get more debugging output than what I am seeing below :

    [Thu Dec 17 08:52:35 2009] [error] [client 81.105.177.234] WordPress database error Table ‘projoosr.wp_bp_groups’ doesn’t exist for query SELECT id FROM wp_bp_groups WHERE slug = ‘rss’ made by require, require_once, require_once, require_once, do_action, call_user_func_array, groups_setup_nav, BP_Groups_Group->group_exists

    [Thu Dec 17 09:52:17 2009] [error] [client 81.105.177.234] Premature end of script headers: index.php, referer: http://projoosr.com/wp-login.php

    [Thu Dec 17 10:04:03 2009] [error] [client 81.105.177.234] Premature end of script headers: index.php

    Thanks !

    #58945
    still giving
    Participant

    This seems to actually be another language based problem. Any clues how to fix it or work around?

    That is to say, it does not effect roman script language but does effect character based languages, i.e. Chinese, Japanese etc.

    This may actually be a WordPress problem … again. I have encountered this in themes also.

    #8010
    MrMaz
    Participant

    You guys should check out my plugin BuddyPress Links. The newest version 0.2-RC1 supports embedding of YouTube, Flickr, and metacafe videos, with more sites to be added soon.

    https://wordpress.org/extend/plugins/buddypress-links/

    https://wordpress.org/extend/plugins/buddypress-links/download/

    It is not styled like a gallery, but this is very possible with theming.

    Originally I wanted to create a media library plugin, but I quickly realized that mash-ups are the future. Hosting your own media library is like trying to re-invent the wheel. There is so much that goes into streaming video, its mind boggling. YouTube and Flickr already dominate the Internet as far as rich media goes. If you can’t beat ’em, join ’em.

    #58932

    In reply to: h-mag.com

    redyor
    Participant

    This is the best integration i have seen so far between WordPress MU and Buddypress. Great Work!

    Also i do have a question, what plugin are you using for the Classified?

    Is it a 3rd party script ? custom script ? or something else???

    Thanks!

    #8005
    MrMaz
    Participant

    Hello All,

    BuddyPress Links version 0.2 (RC1, unstable) is now available for download!

    http://wordpress.org/extend/plugins/buddypress-links/download/

    (Don’t forget to re-copy the “links” folder into your theme!!!)

    * Added support for auto-embedding of rich media (API documentation coming soon!)

    * Reduced create/admin form to one page

    * Wider selection of thumb sizes for the links widget

    * Many CSS improvements and fixes

    * Lots of general refactoring

    * Some minor bug fixes

    Currently supported rich media services are YouTube, Flickr (Photo & Video), and metacafe.

    The rich media embedding is scalable to an infinite number of rich media services by extending the class API. I will be writing some more extensions based on Alexa.com reach statistics when I have the time. I am also going to try to write up some basic documentation for how to write custom services. In the meantime, if you are a PHP OO wizard, you will have no trouble figuring it our by yourself, just look at the class interfaces in bp-links-embed-classes.php. Feel free to contact me if you need help or would like me to check your work.

    Please post any bugs or other issues to this thread. I will do my best to monitor it and address anything that comes up.

    Enjoy!

    Marshall

    #58854
    David Lewis
    Participant

    Contributors, Authors, Editors and Administrators can all write blog posts.

    https://codex.wordpress.org/Roles_and_Capabilities

    The tricky part is only allowing admin-authored posts in the homepage loop. Not sure how to do that. Perhaps with a conditional or a custom query? I’m not enough of a coder to answer that. Goggle is your friend :) If there will be only ONE admin however (you?) then it could be as simple as this (note: change “1” to whatever your author id is).

    <?php query_posts('author=1'); if (have_posts()): while (have_posts()): the_post(); ?>

    yay. my posts.

    <?php endwhile; else: ?>

    oops. no posts.

    <?php endif; wp_reset_query(); ?>

    You can use the same idea to display only posts from a certain category (i.e…. featured)… but I’m pretty certain you can’t restrict what categories a person can post in based on user level. So that probably wouldn’t help you.

    #58852

    In reply to: wp-admin/?c=1

    Brajesh Singh
    Participant

    @1stAngel

    updated and uploaded.

    there was a minor code change required for the file which I am using for theme options in the backend. WordPress requires unique slug, which I had not put there, so was causing issues.It was related to add_theme_options, there are no other changes.

    Please either overwrite whole theme or just overwrite cosmicbuddy/theme-admin/admin.php with the new one.

    both will work fine.

    Thanks

    Brajesh

    #58814
    Anton
    Participant

    1. Which version of WPMU are you running? 2.86

    2. Did you install WPMU as a directory or subdomain install? Sub 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? Nope. Fresh install.

    5. Was WPMU functioning properly before installing/upgrading BuddyPress? Didn’t test WPMU on it’s own. Installed it to use BB

    6. Which version of BuddyPress (BP) are you running? 1.13

    7. Did you upgraded from a previous version of BP? If so, from which version? nope

    8. Do you have any plugins other than BuddyPress installed and activated? Yes. deactivated them all and the problem(s) still occurs.

    9. Are you using the standard BuddyPress themes or customized themes? Standard. Only edited the default css and added a couple of links.

    10. Have you modified the core files in any way? Yes. The delete button next to the code is not working and If I add any chars to the delete string eg: http://socialpress.co.za/friends/activity/delete/123?_wpnonce=30864bbwe2 it does delete but not always. Some members can’t delete. The default delete string does not work. I have also added those same chars to the RSS site wide activity feed as the default one: http://socialpress.co.za/activity/feed doesn’t work.

    11. Do you have any custom functions in bp-custom.php? nope

    12. If running bbPress, which version? Or did your BuddyPress install come with a copy of bbPress built-in? 1.13

    13. Please provide a list of any errors in your server’s log files

    there’s quite allot of these

    [12-Dec-2009 19:18:07] WordPress database error Table ‘socialpr_socialpress.wp_bp_activity_sitewide’ doesn’t exist for query SELECT COUNT(id) FROM wp_bp_activity_sitewide WHERE hide_sitewide = 0 ORDER BY date_recorded DESC made by require, require_once, include, bp_has_activities, BP_Activity_Template->bp_activity_template, bp_activity_get_sitewide_activity, BP_Activity_Activity->get_sitewide_activity

    [12-Dec-2009 19:18:21] WordPress database error Table ‘socialpr_socialpress.wp_bp_activity_sitewide’ doesn’t exist for query SELECT * FROM wp_bp_activity_sitewide WHERE hide_sitewide = 0 ORDER BY date_recorded DESC LIMIT 0, 10 made by require, require_once, include, dynamic_sidebar, call_user_func_array, WP_Widget->display_callback, BP_Activity_Widget->widget, bp_has_activities, BP_Activity_Template->bp_activity_template, bp_activity_get_sitewide_activity, BP_Activity_Activity->get_sitewide_activity

    [12-Dec-2009 19:18:21] WordPress database error Table ‘socialpr_socialpress.wp_bp_activity_sitewide’ doesn’t exist for query SELECT COUNT(id) FROM wp_bp_activity_sitewide WHERE hide_sitewide = 0 ORDER BY date_recorded DESC LIMIT 200 made by require, require_once, include, dynamic_sidebar, call_user_func_array, WP_Widget->display_callback, BP_Activity_Widget->widget, bp_has_activities, BP_Activity_Template->bp_activity_template, bp_activity_get_sitewide_activity, BP_Activity_Activity->get_sitewide_activity

    [12-Dec-2009 19:18:21] WordPress database error Table ‘socialpr_socialpress.wp_bp_activity_sitewide’ doesn’t exist for query SELECT * FROM wp_bp_activity_sitewide WHERE hide_sitewide = 0 ORDER BY date_recorded DESC LIMIT 0, 10 made by require, require_once, include, bp_has_activities, BP_Activity_Template->bp_activity_template, bp_activity_get_sitewide_activity, BP_Activity_Activity->get_sitewide_activity

    [12-Dec-2009 19:18:21] WordPress database error Table ‘socialpr_socialpress.wp_bp_activity_sitewide’ doesn’t exist for query SELECT COUNT(id) FROM wp_bp_activity_sitewide WHERE hide_sitewide = 0 ORDER BY date_recorded DESC made by require, require_once, include, bp_has_activities, BP_Activity_Template->bp_activity_template, bp_activity_get_sitewide_activity, BP_Activity_Activity->get_sitewide_activity

    SHouldn’t there be a table wp_bp_activity_sitewide on the installation? I’ve looked in the db but it’s not there. I did the default installation.

    .

    14. Which company provides your hosting? Hostgator

    #58796

    In reply to: wp-admin/?c=1

    Andrea Rennick
    Participant

    What about the other plugins you have?

    See this post:

    https://mu.wordpress.org/forums/topic/14142?replies=6#post-84068

    #58778

    In reply to: Fancybox

    jamesyeah
    Participant

    Hey,

    Yes it works! I spent a while trying to uinstall it manually, but it’s actually much easier to use the plugin:

    https://wordpress.org/extend/plugins/wp-prettyphoto/faq/

    The css needs some cleaning up but otherwise it’s nice and works :-)

    #58763

    In reply to: Fancybox

    Xevo
    Participant

    Yeah, but that’s not gonna work with buddypress. You need to specify that your calling a javascript function. Buddypress just sees those things as links. I doubt this is gonna work with buddypress at all if you call to the functions like that. I’m amazed it worked with wordpress.

    Edit: You added the earlier code to the text? Your supposed to put it in your header either in a external javascript file or just between script tags.

    #58760

    In reply to: Fancybox

    jamesyeah
    Participant

    Forgot to include the name of the plugin!

    https://wordpress.org/extend/plugins/fancybox-for-wordpress

    #58752
    Xevo
    Participant
    gpo1
    Participant

    @philipashlock,

    here,here on your comments I plan to use openid and wordpress should use it !

    #58749
    Brajesh Singh
    Participant

    try this one. I had written about it in forum, so you can find it by searching the forum. Or check my post here

    http://www.thinkinginwordpress.com/2009/11/tweaking-the-registration-link-at-wpmu-login-page-to-point-to-buddypress-registration-page/

    That should do the trick.

    Thanks

    Brajesh

    #58744
    marc
    Participant

    Okay I’ve resolved the problem with being able to read posts but buddypress still keels over on activation. Even though my wpmu install seems to be working perfectly I can see these errors after install – could these be causing the activation problem ? I’m a bit perplexed as the db seems like it’s built ok….

    [Mon Dec 14 14:18:50 2009] [error] [client 217.206.197.220] PHP Notice: Constant DB_NAME already defined in /var/www/projoosr.com/www/wp-config.php on line 23, referer: http://www.projoosr.com/

    [Mon Dec 14 14:18:50 2009] [error] [client 217.206.197.220] PHP Notice: Constant DB_USER already defined in /var/www/projoosr.com/www/wp-config.php on line 26, referer: http://www.projoosr.com/

    [Mon Dec 14 14:18:50 2009] [error] [client 217.206.197.220] PHP Notice: Constant DB_PASSWORD already defined in /var/www/projoosr.com/www/wp-config.php on line 29, referer: http://www.projoosr.com/

    [Mon Dec 14 14:18:50 2009] [error] [client 217.206.197.220] PHP Notice: Constant DB_HOST already defined in /var/www/projoosr.com/www/wp-config.php on line 32, referer: http://www.projoosr.com/

    [Mon Dec 14 14:18:50 2009] [error] [client 217.206.197.220] PHP Notice: Constant VHOST already defined in /var/www/projoosr.com/www/wp-config.php on line 39, referer: http://www.projoosr.com/

    [Mon Dec 14 14:18:50 2009] [error] [client 217.206.197.220] WordPress database error Table ‘projoosr.wp_blogs’ doesn’t exist for query SELECT * FROM wp_blogs WHERE domain = ‘projoosr.com’ made by require, include, include_once, require_once, require_once, referer: http://www.projoosr.com/

    [Mon Dec 14 14:18:50 2009] [error] [client 217.206.197.220] WordPress database error Table ‘projoosr.wp_sitemeta’ doesn’t exist for query SELECT meta_value FROM wp_sitemeta WHERE site_id = 1 AND meta_key = ‘site_name’ made by require, include, include_once, require_once, require_once, get_current_site_name, referer: http://www.projoosr.com/

    [Mon Dec 14 14:18:50 2009] [error] [client 217.206.197.220] WordPress database error Table ‘projoosr.wp_blogs’ doesn’t exist for query SELECT blog_id FROM wp_blogs LIMIT 0,1 made by require, include, include_once, require_once, require_once, referer: http://www.projoosr.com/

    [Mon Dec 14 14:18:50 2009] [error] [client 217.206.197.220] WordPress database error Table ‘projoosr.wp_sitemeta’ doesn’t exist for query SELECT meta_value FROM wp_sitemeta WHERE meta_key = ‘wpmu_sitewide_plugins’ AND site_id = 1 made by require, include, include_once, require_once, get_site_option, referer: http://www.projoosr.com/

    [Mon Dec 14 14:18:50 2009] [error] [client 217.206.197.220] WordPress database error Table ‘projoosr.wp_sitemeta’ doesn’t exist for query SELECT meta_value FROM wp_sitemeta WHERE meta_key = ‘active_sitewide_plugins’ AND site_id = 1 made by require, include, include_once, require_once, apply_filters, call_user_func_array, mu_filter_plugins_list, get_site_option, referer: http://www.projoosr.com/

    thanks !!

    #58742
    Arx Poetica
    Participant

    Word. Patch it!

    I’ve been having sign up spams (arguably a different issue) on my BP install, and just shut all signups down until I could figure out what to do about it.

    Scouring the WordPress MU forums has made me realize three things:

    1. Spamming is a huge problem for WordPress MU users

    2. I’m betting that BuddyPress will/might have even larger problems due to the very nature of the beast (it’s all about users, right? Which is where the bots/spammers gravitate)

    3. There are no sure-fire methods for preventing spammers

    …well, there’s a fourth, too…

    4. Many of the old hats on the WordPress MU forums are getting tired of explaining how to defend against so-called “splog” signup bots and spammers.

    Just some observations, as BP just received its first official spammer. (Yes, I got the email too, and saw the small twitter firestorm this morning over it.)

    podictionary
    Participant

    Running BP 1.1.3 on WPMU 2.8.6 w default BP theme

    When I tick “Users must be registered and logged in to comment” under Settings>Discussion a non-logged-in user sees “You must be logged in to post a comment.” (this is good, I want them to register)

    Clicking that link brings them to the usual WordPress login form (should it? don’t see why not) at the bottom of which they are offered “Register | Lost your password? “

    If they choose “register” I would think they SHOULD go to the BP register page, but instead they go to “wp-signup” which is quite different and appears with a few warnings in a blank space near the top.

    #58724
    Paul Wong-Gibbs
    Keymaster

    That default post might be inserted into the DB directly rather than the regular WordPress API which would explain why the Site Wide Activity widget doesn’t pick it up.

    #58714
    Andrea Rennick
    Participant

    @kimstipsen i’ll holler when it’s done. busy week tho.

Viewing 25 results - 29,476 through 29,500 (of 32,677 total)
Skip to toolbar