Search Results for 'wordpress'
-
AuthorSearch Results
-
July 21, 2009 at 8:07 pm #49731
In reply to: custom button in buddy-bar
Paul Wong-Gibbs
KeymasterWell, if you’ve already read this https://codex.buddypress.org/how-to-guides/modifying-the-buddypress-admin-bar/ and maybe this https://buddypress.org/forums/topic.php?id=2283, and do not understand, unless you are prepared to further your understanding of PHP and WordPress’ API, you need to find a developer to write the code for you.
July 21, 2009 at 7:59 pm #49727In reply to: Auto activate plugin for Member Blogs only.
Paul Wong-Gibbs
KeymasterI can see that you have cross-posted this over on the WPMU forums. You have a response from andrea_r, about an hour ago (as of time of posting), which you have replied to about 40 minutes ago.
This is definitely a WPMU question as this doesn’t involve BuddyPress, so you were right posting it there, but there was no need to post it here.
July 21, 2009 at 6:55 pm #49710In reply to: change default blog
John James Jacoby
KeymasterThis is actually more tricky that it sounds, because BuddyPress by default stores most of its information in the blog ID = 1, and it will ignore most other constant settings. If you are installing BuddyPress for the first time, and change any of the BP_ROOT_BLOG or BLOGID_CURRENT_SITE or SITE_ID_CURRENT_SITE variables, BuddyPress still saves most of its information in blod ID = 1.
https://trac.buddypress.org/ticket/823 references this issue, and I’ve included a patch for the instances where this occurs.
lynnallan, I’m afraid there isn’t a core solution for what you want to do yet, but the patch in the trac ticket *should* better prepare BuddyPress for this type of installation.
My only other suggestion, would be to think of it as WHERE the data is in the database doesn’t REALLY matter, unless you’re trying to split server load up across multiple database servers. That being said, you can install your corporate theme on your root blog, and then install the bphome theme on another blog, and then use the WordPress page template ability to recreate the look and feel of a BuddyPress on a blog other than the root. This is kind-of how http://leadpress.com/ has their site setup, if you need an example.
July 21, 2009 at 3:10 pm #49693In reply to: Can't Login or Access Admin Panel
Jeff Sayre
ParticipantWhite screen always means some error is occurring. Did you modify any WPMU or BP files? Have you created any custom files?
If so, you could have a space before or after the opening PHP tags. Or, you might have left off something as simple as a semi-colon at the end of a particular line.
There are many possibilities. If you have modified or created your own files recently, then that is where you should first look. If you have installed any new plugins or updated any older plugins (other than BP), then there could be some issue with them. Try disabling them (or moving them out of the way if necessary).
Here’s more info: https://mu.wordpress.org/forums/topic/9045
July 21, 2009 at 2:47 pm #49692In reply to: list custom members
Jeff Sayre
ParticipantThere are many functions in bp-core.php and many template tags in bp-core-templatetags.php that will retrieve various user data. Take a look in those two files.
You should not write any custom DB classes unless you are creating a custom plugin. Also, you should never modify core BP files.
If you are simply looking to list certain members, you can try my Featured Members Widget available in the WordPress plugin repository. You may have issues if you are running WPMU 2.8.1 as I have not yet updated my widget to use the new WP Widget API.
July 21, 2009 at 12:27 pm #49688In reply to: BuddyPress Future w/o MVC: Big Deal?
David Lewis
ParticipantAnahita looks really interesting but the fact that it runs on Joomla makes it a non-starter for me and my clients… no matter how perfect the code is. I’m a big a stickler for doing things the “right way”… I’m a perfectionist… but the bottom line will always be usability and in that arena… WordPress is way out ahead. So at the end of the day… I don’t care TOO much about the MVC issue.
That said… I agree with your argument above. Doing things the “right way” doesn’t necessarily mean that something is more difficult, or costly, or what have you. I have a degree in architecture and one thing I always say is that when it comes to building… good design is more about thoughtfulness than budget. When designers blame the budget, client, or other constraints… it’s often a cop out.
July 20, 2009 at 11:56 pm #49669In reply to: Why domain has to be SINGLE value for WPMU?
Jeff Sayre
ParticipantI’ve cobbled together my own one WP-install, multi-domain solution using the resources below as a starting point. But, this is only for single-version WP, not WPMU. It is also for development purposes only using vhosts on my local machine.
Here are the articles to get you started:
http://me.mywebsight.ws/2006/08/11/host-multiple-wp-sites-on-one-installation/
http://www.ryanmcdonnell.com/multiple-blogs-one-wordpress-install-zero-code-changes/
http://www.bos89.nl/how-to-multiple-blogs-one-wordpress-installation/
July 20, 2009 at 8:43 pm #49665In reply to: BP and Joomla
plrk
ParticipantHowever, it shouldn’t be too hard to create a “special page” in buddypress/wordpress that outputs some data (XML, serialized PHP, or something) about the logged in users that can be fetched with some kind of Joomla extension at regular intervals.
July 20, 2009 at 8:41 pm #49664In reply to: BP and Joomla
plrk
ParticipantBuddyPress is based on WordPress, which as you probably know can be used as a CMS too. Therefore, it is not likely that any effort is made in tying together Joomla and BuddyPress.
July 20, 2009 at 6:20 pm #49659In reply to: BuddyPress Future w/o MVC: Big Deal?
peerglobe
MemberHi @andy
you said
Also – something to consider. If WordPress was completely object-oriented, fully MVC, and the most beautifully designed code imaginable – 90% of developers would not be able to understand it.
would you please tell me when you say 90% of developers who exactly are you referring to ? because I know there are projects like Ruby on Rails that have had a good turned out between developers even though they implement lots of design patterns like MVC, Active Record and so on.
Also this does not stop at only open source projects, iPhone development framework (cocoa) follows MVC ( and other design patterns) and now there are kids as young as 10 years old that are developing for this platform.
Also I understand this debate is about MVC vs non-MVC design pattern but I would like to point out that a framework is not just MVC. It’s a collection of many design patterns as significant as MVC that helps the developers to build something in shorter amount of time.
in Anahita, MVC constitutes the overall structure of the application, but in a closer look, we are using other design patterns that makes the code smaller and more flexible. Without them, I doubt having an MVC architecture would have made that much of a difference.
Thank you,
July 20, 2009 at 4:40 pm #49655In reply to: Why domain has to be SINGLE value for WPMU?
dyasar
ParticipantYes I posted there too, I also posted on wp job forums. So let’s see what we will get. I think this is not only my problem. It is really strange that wordpress insists on having one domain per installation.
Let me share that with you, because i’m not able to re-design our dev env.
Here is what i want to have:
We have wpmu-buddypress on x.com.
Can you make the SAME website work on any subdomain of x.com? (*.x.com)
– Install a WPMU+BP
– make an x.com
– make the same website visible on any sub-domain *.x.com
– leave 2nd and further level sub-domains intact. (**.*.x.com)
thanks..
July 20, 2009 at 2:25 pm #49638In reply to: 1 email address, mutiple accounts?
John James Jacoby
KeymasterThere are plugins to allow easy user switching, and I think that would be your safest bet. This way they can just create users in the admin area with new email addresses, and switch to being that user without logging in or out.
Because WordPress uses email addresses for verification and authentication purposes, it can’t really have the same email address multiple times safely.
July 20, 2009 at 2:03 pm #49636In reply to: Forum Integration…
José M. Villar
ParticipantTo begin with, I would start by following these tutorials:
https://buddypress.org/forums/topic/bp-103-and-bbpress-which-version-plugins-cookies
http://theeasybutton.com/blog/2009/07/17/integrating-buddypress-wordpress-mu-and-bbpress/
BTW, regarding user mapping, the only setting I changed was WP Admin one, mapped to bbPress Key Master. The other four settings remain untouched.
July 20, 2009 at 12:55 pm #49631In reply to: BuddyPress Showoff: Post your links
thebloghouse
ParticipantJust launched a new BuddyPress based site for a client who was running a normal WordPress based site before hand:
The site has been set up as a music community site for people who use the music service Spotify and want to do more than ‘just’ submitting their playlists.
Lots of issues and things we have learnt about BuddyPress, WordPress MU etc during the delelopment and hopefully now the site is launched we might have more time to get involved answering questions on these forums rather than asking them
July 19, 2009 at 2:55 pm #49600In reply to: Permalinks not working with Buddypress
Jeff Sayre
ParticipantRead this (especially the section on %category%): https://codex.wordpress.org/Using_Permalinks#Using_only_.25postname.25
July 19, 2009 at 2:53 pm #49599In reply to: Hiding certain widgets?
Jeff Sayre
ParticipantWell, you could either delete them from BuddyPress core (not a good idea), or unregister them in your theme’s functions.php file.
https://codex.wordpress.org/WordPress_Widgets_Api/unregister_sidebar_widget
July 19, 2009 at 2:22 pm #49593In reply to: Fatal Error on every environment I install BP on
Jeff Sayre
ParticipantAre you running WordPress or WordPress MU?
July 19, 2009 at 2:17 pm #49591In reply to: Class 'WP_Widget' not found
Jeff Sayre
ParticipantWhich version of WordPress Mu are you running? Which version of BuddyPress?
July 18, 2009 at 7:10 pm #49578In reply to: ListMessenger (or PHPlist) integration – plugin?
peterverkooijen
ParticipantI am now going through the How to Write a WordPress Plugin tutorial on DevLounge.net.
It says you can hook into WordPress to execute pieces of code using WordPress actions. I assume in my case I should use this action:
So I should write a function that somehow forms and executes that URL – http://mysite.com/…/listmessenger.php?etc. – and trigger that on registration using register_post?
And to construct the function I can use WordPress filters? The available ‘database writes’ filters are only for WordPress tables of course…
How would I add data to tables outside WordPress, in this case the ListMessenger tables?
Edit 1: Stupid question; that is done by that URL created by $post_data=… in the PHPList code.
Or is there a better way to add data to the database directly from the plugin?
Edit 2: This page has more information on creating/updating tables outside regular WordPress. Would that approach be better than that URL?
July 18, 2009 at 5:55 pm #49577In reply to: up date of bp was a fail
Andy Peatling
KeymasterAs per the instructions, you must be running WordPress MU 2.8.1 for BuddyPress 1.0.3 to work.
July 18, 2009 at 2:24 am #49563In reply to: Integrate with IPB forum?
Trekkiemelissa
ParticipantHi, I want to integrate IPB 3 with wordpress too. My thing may be a bit different though. What I want to do is instead of using bbpress for the group forums, I would love for it to use ipb 3 instead. Is there any way of supporting ipb with buddypress? I have been looking for a while a way to do that.
July 17, 2009 at 3:38 pm #49535Graeme
ParticipantI have finally been able to duplicate the installation.
Here’s a relatively complete set of steps for guidance. This took me several hours to prepare and it can be easy to make a stupid error along the way. Just take it slow.
These steps are for WordPress MU 2.8.1, bbPress 1.0.1 and buddyPress 1.0.3.
1. Download and install WordPress MU 2.8.1
2. Install the “bbPress Integration” plugin version 1.0 via the “Plugins” -> “Add New” menu of your wordpress mu installation.
In the search box enter ‘bbPress Integration” and click “Search Plugins”.
Click the “Install” link for the “bbPress Integration” version 1.0 plugin.
Click the orange “Install Now” button.
Click the “Activate Plugin” link.
3. Download and install bbPress 1.0.1 in a sub-directory of your wordpress installation.
I chose the sub-directory “/forums/”.
4. Load up the bbPress installation script by going to http://<yourdomain>/forums/
5. Click “Go to step 1”.
6. Enter the database name, database user and database password that you used for your wordpress installation.
You will not usually need to click “Show advanced settings”.
7. Click “Save database configuration file”.
You should see a message “Your settings have been saved to the file bb-config.php. You can now continue to the next step.”
8. Click “Go to step 2”.
9. Next you add the integration settings. This is the important part!
– click “Add integration settings”
– click “Add cookie integration settings”
– you will be presented with a list of eight text entry fields
– the first two are for your wordpress and blog url. For each of these enter your exact urls. I just used the same value for each. They need to commence with http://
– for all the cookie values just enter “COMMENT OUT”. These will become reference points in the bbpress config file for later.
10. Click “Add user database integration settings”. This step is also important!
Leave the existing value in the “User database table prefix” field.
Enter the WordPress Primary blog id value “1” – THIS IS IMPORTANT.
11. Click “Save WordPress integration settings”
If all is well you should see this message.
Your WordPress integration cookie and database settings have been successfully validated. They will be saved after the next step.
Once you have finished installing, you should visit the WordPress integration section of the bbPress admin area for further options and integration instructions, including user mapping and the correct cookie settings to add to your WordPress configuration file.
12. Click “Go to step 3”.
– enter your site name
– enter your site url. I entered the url to the forums including the http://
– select the “admin” user for your wordpress installation
– enter a name for your first forum e.g. “Announcements”
13. Click the “Save site settings” button
14. Click the “Complete the installation” button
15. You should see a screen indicating installation has completed.
– click the “Show installation messages” option. Scroll through and see of any errors are reported.
16. At this point you should be able to login to your bbpress installation with your wordpress admin username and password.
17. Login to bbPress
18. Click the “Admin” link to go to the admin screen
19. Go to “Settings” -> “Writing” and enable XML-RPC publishing protocol (this is needed by buddyPress)
20. Go to “Settings” -> “Discussion” and enable pingbacks (I think this is needed by buddyPress ….?)
21. Go to “Users”
22. Go to “Settings” -> “WordPress Integration”
Set the mapping of bbPress roles to WordPress users roles
For the WordPress Administrator role select “bbPress Key Master”.
For all the others select “bbPress Member”.
Click “Save Changes”
23. Login to WordPress MU as the admin.
24. Go to “Plugins -> Add New”
25. Enter “bbPress Integration” and click “Search Plugins”.
– you should see “bbPress Integration” 1.0 listed
– click “install”
– click the orange “Install Now” button
– click “Acrivate Plugin”
26. Go to “Settings” -> “bbPress Integration”
Ensure there is a full url for the bbPress forums entered.
Select WordPress type “WordPress MU”
Click “Save Changes”
Copy the values listed in the dark grey box at the bottom of your page into your clipboard. There will be four lines that look something like this:
define( ‘COOKIEHASH’, ‘da4672dda66fd60a6b80e420d32ef26c’ );
define( ‘COOKIE_DOMAIN’, ‘.bp.dev’ );
define( ‘SITECOOKIEPATH’, ‘/’ );
define( ‘COOKIEPATH’, ‘/’ );
Don’t worry – these values will be different for your installation.
Open wp-config.php in an editor and insert these lines immediately after the opening “<?php” line.
Whilst you have wp-config.php open, copy the authentication keys to your clipboard. They look like this:
define(‘AUTH_KEY’, ‘800345c011dfad9261cedec0a3d914ffa1b40d67b23b66e4809797ce728f0b80’);
define(‘SECURE_AUTH_KEY’, ‘5d6d3f657c9fb496e3f5488044fc174c238554a1b5347eb633ea8baecf0dcc7c’);
define(‘LOGGED_IN_KEY’, ‘6749832494719d8217e06c233326cb86da9ec040b16f705156660e1642a5f0e8’);
define(‘NONCE_KEY’, ’87a5b149e95e0a13020541040353548eaf65b68452be91c685e96a7fbab685bc’);
define(‘AUTH_SALT’, ‘8ff197cc15f311c975bd14ce131e7872eb390706bd316f72435c081836d14f34’);
define(‘LOGGED_IN_SALT’, ‘642683992ae38da46082bf9850ab90273deb7d5d1034baf80a3fd32871b5e04a’);
define(‘SECURE_AUTH_SALT’, ‘7c066b9c14bd558737b74b76c77f928e3612935832a6a47bd70842e118c947fa’);
They will be different for your installation.
Save wp-config.php
27. Open bb-config.php
Find the lines containing the Authentication Unique Keys. They will have the values “COMMENT OUT” if you followed the instructions above. Comment these lines out!
Insert the lines from your clipboard into bb-config.php below the lines you commented out.
You need to edit each line you inserted and prefix the name of each constant with “BB_”
After doing that, the lines will be something like:
define(‘BB_AUTH_KEY’, ‘800345c011dfad9261cedec0a3d914ffa1b40d67b23b66e4809797ce728f0b80’);
define(‘BB_SECURE_AUTH_KEY’, ‘5d6d3f657c9fb496e3f5488044fc174c238554a1b5347eb633ea8baecf0dcc7c’);
define(‘BB_LOGGED_IN_KEY’, ‘6749832494719d8217e06c233326cb86da9ec040b16f705156660e1642a5f0e8’);
define(‘BB_NONCE_KEY’, ’87a5b149e95e0a13020541040353548eaf65b68452be91c685e96a7fbab685bc’);
define(‘BB_AUTH_SALT’, ‘8ff197cc15f311c975bd14ce131e7872eb390706bd316f72435c081836d14f34’);
define(‘BB_LOGGED_IN_SALT’, ‘642683992ae38da46082bf9850ab90273deb7d5d1034baf80a3fd32871b5e04a’);
define(‘BB_SECURE_AUTH_SALT’, ‘7c066b9c14bd558737b74b76c77f928e3612935832a6a47bd70842e118c947fa’);
Save the file and exit.
28. Clear cookies and Refresh for your domain. In Firefox you can clear cookies for a specific domain pattern.
29. Login to your wordpress installation as the wordpress admin user.
30. Assuming you managed to follow the setps above, If you go to your bbPress page you should find that you are logged in!
31. From WordPress Admin go to “Plugins” -> “Add New”
– in the search box enter “BuddyPress” and click “Search Plugins”
– find BuddyPress 1.0.3 in the list
– click “Install”
– click the orange “Install Now” button
– click “Activate Plugin”
32. BuddyPress is now installed. Follow the BuddyPress instructions for installing the themes to the correct locations and activate them.
33. In wp-admin go to “BuddyPress” -> “Component Setup” and check that the “bbPress Forums” component is enabled.
34. In wp-admin go tp “BuddyPress” -> “Forums Setup”
– ensure that the URL for the forums is entered
– ensure that the bbPress username and password details have been setup
– click “Save Settings”
35. Create a group with option selected for a forum.
36. Check that you can post topics in the group forum!
37. Take a break!
July 17, 2009 at 1:59 pm #49530Graeme
ParticipantUnfortunately, I’m having trouble duplicating the installation.
For my sucessful installation, bbPress presented me with a “dropdown” list allowing me to select the keymaster user. I then picked my WordPress admin user. It all worked well from there.
For the duplicate installation the bbPress installer shows text fields for entering the “keymaster” user details.
This process is painful!
July 17, 2009 at 12:44 pm #49528Graeme
ParticipantI have been able to successfully install and configure the following as a clean installation:
WordPress MU 2.8.1
bbPress 1.0.1
BuddyPress 1.0.3
I will post a *rough* outline of the steps for the installation. My installation is on a test server (Mac running php 5.3.0 under xampp ??? beta)
You need to get WordPress 2.8.1 and bbPress login integration working successfully first.
I’ll try and duplicate the installation and then post instructions. It should be relatively straightforward once you know the tricks.
July 17, 2009 at 11:59 am #49525In reply to: Ajax areas not working correctly
Paul Wong-Gibbs
KeymasterUsing $() in wordpress will call Prototype’s implementation, so you gotta use jQuery yeah or call that noconflict function (don’t know if doing it this way has an other implementation issues).
-
AuthorSearch Results