Search Results for 'wordpress'
-
AuthorSearch Results
-
July 10, 2009 at 6:47 pm #49048
In reply to: BuddyPress Future w/o MVC: Big Deal?
Jeff Sayre
ParticipantHere we go with MVC is the only approach. Having used the Codeigniter and Kohana PHP frameworks in the past, I know a little something about MVC.
MVC is a design principle that various frameworks implement so that others can then create their applications. WordPress is an application that offers a means to extended its functionality. It is not a framework. A framework is not an application. You create, code, applications (like WordPress) using various tools. A framework is just one of those tools.
I agree, from a plugin developer’s standpoint, that it might have been nice if WordPress had used a solid MVC framework with which to build its foundation. But, I don’t think there were any good MVC framework options at the time it was initially being developed. It would also be nice if WP were fully object based. But, this is all a moot point.
WordPress is and will be fine in its current state. There will not be issues “down the road”. Why?Because WordPress continues to improve and evolve (look at the powerful BuddyPress layer). It has been doing so for 6 years without reaching a point were it ceases to work.
As Paul said, since this is an open source project, anyone is free to fork it. WordPress, in fact, is a fork of another, older blogging system. So, if you don’t like what’s under the hood, then change away and create your own CMS!
It is interesting that the author of that slideshare fails to mention that Joomla, the application that their Anahita Social Engine requires, in not an MVC framework. Remember, Joomla is also an application, not a framework. A separate module/extension had to be created to offer some MVC-like functionality to those who wish to further extend Joomla in a manner somewhat reminiscent of a true MVC framework.
In my opinion, if WordPress were to be recoded from the ground up using one of the various PHP-based MVC frameworks, it would result in an application that while possibly being easier to create plugins for, would make it much harder for designers to create themes. This would make it harder for the average user to use.
July 10, 2009 at 6:13 pm #49044In reply to: BuddyPress Future w/o MVC: Big Deal?
Andy Peatling
KeymasterYou can take MVC however you like. If you are going to take it in a black and white sense then BuddyPress is not MVC. However, it follows a loose MVC style:
1. bp-[component]-classes.php contains all of the database access classes [ Modal ]
2. /bp-themes/[themename]/ contains all of the template files [ View ]
3. bp-[component].php contains all of the business functions [ Controller ]
BuddyPress is certainly not programmed top-down. In fact, if you try and program top-down with BuddyPress you will quickly become frustrated.
If you are concerned with the way WordPress is programmed, then I would asses the value in being concerned. Look at the number of themes, look at the number of plugins, look at the number of users. Look at the companies that use WordPress. At what point does worrying about the coding style become moot?
At the end of the day MVC is just another coding methodology, it is not “the right way” to program. The right way to program is subjective and very much based on your program’s function, audience and ideologies.
July 10, 2009 at 6:06 pm #49042In reply to: BuddyPress Future w/o MVC: Big Deal?
Paul Wong-Gibbs
KeymasterI’m perfectly entitled to not pay attention to the MVC-or-not structure of both WordPress and Buddypress, as I don’t work for Automattic and I’m not a core developer on either.
July 10, 2009 at 5:32 pm #49039In reply to: BuddyPress Future w/o MVC: Big Deal?
peterverkooijen
ParticipantMember management in WPMU/Buddypress seems patchy as hell to me, with member data spread out over several database tables that aren’t synchronized between xprofile and wpmu, mixing different methods to store data. The registration process is horribly inflexible. Basic things like styling the registration form or editing system emails require hacking core files.
Not sure if this would have been better if WordPress/Buddypress followed an MVC architecture. Wikipedia’s description of MVC:
Model-view-controller (MVC) … isolates business logic from the user interface, permitting one to be freely modified without affecting the other. The controller collects user input, the model manipulates application data, and the view presents results to the user …
I like the sound of “isolating business logic”. I want the end user functionality that WPMU/BP provides (“… WordPress’s usability …”), but have serious concerns about having to rely on WPMU/BP for central member management and registration, the foundation of my project. Unfortunately I can’t have one without the other.
Please don’t dismiss the criticism.
if there’s someone moaning about how any particular bit of software is not written following MVC, they have two options – write their own, or shut up.
They did. They are developing Anahita Social Engine on Joomla. I may have to check it out.
July 10, 2009 at 5:09 pm #49036In reply to: BuddyPress Future w/o MVC: Big Deal?
Paul Wong-Gibbs
KeymasterIn my opinion – not aiming this at you – if there’s someone moaning about how any particular bit of software is not written following MVC, they have two options – write their own, or shut up.
BuddyPress isn’t going to be any more “patchy” than WordPress is. I’m not even sure what you are trying to imply by “patch job”, either.
July 10, 2009 at 3:08 pm #49029In reply to: Possibly a bug with BP
thebigk
ParticipantI found something strange:
I logged on to my database and repaired & optmized BP/WPMU tables. I logged in again and voila – I’m into my wordpress ADMIN PANEL !
WOW!
Ok, now a quick question:
In order to fix the problem I had removed the BP (directory) and themes. The database is intact with all the data. Shall I install BP from the plugin browser or shall I manually upload directories using FTP?
If I install through plugin browser, will BP create new (thus duplicate) tables in database?
July 10, 2009 at 2:54 pm #49028In reply to: Possibly a bug with BP
Burt Adsit
ParticipantIf I were you I’d run not walk to the wpmu forums where they are expert at dealing with this kind of issue. Search first and don’t mention bp. Just describe your symptoms. You lost site admin status. https://mu.wordpress.org/forums/
July 10, 2009 at 12:34 pm #490183314629
Inactivehmm maybe i should study wordpress?
July 10, 2009 at 7:36 am #49004In reply to: Unable to post on my website in forum discussion
gen-superman
ParticipantWell, now I am on a shared hosting service. I honestly have no idea how to check the cookies from the website directly even from the cpanel.
I really do like WordPressMU and buddypress, and my main goal was to use buddy press’s group forum discussions, which utilize bbpress.
I had this working before, and now it just keeps giving some error when I try to post a forum topic in the group discussions:
“There was an error posting that topic.”
Is there any error logs that buddypress, wordpress mu or bbpress produces that can at least show me what in the world is causing the error?
I went into my CPANEL and there are no errors being shown in its error logs.
I thought it was BBPRESS 1.0.1, so I downgraded to BBPRESS 1.0, and keep in mind I created a whole new sql database and username during this, and of course that didnt work.
Then I downgraded to BBPRESS 1.0-RC3, and that didn’t work either. Nothing really has changed, except for bbpress. I have double checked the wp_config and bb_config keys and they all match up perfectly.
However, the cookie hash key has remained the same throughout the entire situation, even after creating new databases and such.
I honestly can’t think of anything else to really do here. I guess, I’m stuck.
For now, I will keep trying, but I’m also just going to look for something else in the mean time to see if anything else is out there. I doubt it, but couldn’t hurt to look.
I truly hope somebody has something else to add regarding my issues, because I honestly have no idea what to do next.
July 10, 2009 at 4:26 am #48996In reply to: BuddyBar for bbPress
John James Jacoby
KeymasterUsing…
include_once($_SERVER['DOCUMENT_ROOT'].'/wp-blog-header.php');won’t work for groups forums creation, posting, etc… Because it reincludes WordPress during a WordPress to bbPress XMLRPC attempt. If you don’t plan on using groups forums, that code is fine, but if you do, you’ll need to use my way.
The read me says to delete that when you’re done … won’t doing that disable deep-integration?
Oversight in the readme.txt. Just had that part out of order for some reason. It’s updated in the trunk and the repo will catch up soon. Yeah, don’t delete the deep integration part.
July 10, 2009 at 1:15 am #48981In reply to: BuddyBar for bbPress
John James Jacoby
KeymasterThe reason why it’s not working is because you’re not using the method included in the plugin.
The groups posting ability relies on XMLRPC, which cannot be re-included when bbPress is loaded via the BuddyPress installation. Using my included method of deep integration will still allow for this functionality to work.
Science!
When you go to create a group forum, WordPress is loaded, BuddyPress is loaded, bbPress gets loaded through XMLRPC, which without my deep integration method will try to reload WordPress again, over-writing or clearing all of the bbPress functions/variables/hooks/filters, killing the XMLRPC ability to transmit data through the pipe.Just bumped to 1.0.3. The plugin now does enhanced checking for the visibility of the BuddyBar/AdminBar as it would previously fail if the bar was hidden in bp-custom.php or wp-config.php.
If you are receiving errors regarding BP_Roles in your BuddyBar, apply patch #1032 to your WPMU trunk installation.
July 9, 2009 at 10:39 pm #48967In reply to: Unable to post on my website in forum discussion
John James Jacoby
KeymasterDelete all of your the cookies for your website.
Login through WordPress.
Check that you are logged in on bbPress side.
Attempt to access both administration panels.
Check your sites cookies.
Verify that the domain and/or site for the cookies are all identical.
Logout.
Login through bbPress.
Check that you are logged in on WordPress side.
Attempt to access both administration panels.
Check your sites cookies.
Verify that the domain and/or site for the cookies are all identical.
Logout.
If at any point through-out that process your sites cookies are NOT identical, it’s time to start fussing around with the cookie settings, and get them to line up.
July 9, 2009 at 9:11 pm #48962John James Jacoby
KeymasterWhen I migrated my site over from WordPress.org, I ran a loop through the users and just copied over the nicename for each one of them.
July 9, 2009 at 8:43 pm #48959In reply to: Project – File attachment for users and groups
peterverkooijen
ParticipantYes, I’d like more group functionality and this is obviously a big one! These plugins could be starting points:
Haven’t looked into any of these in detail…
July 9, 2009 at 6:42 pm #48951In reply to: Different user account types
Jeff Sayre
ParticipantHere’s a start to get you part way there:
https://wordpress.org/extend/plugins/limit-blogs-per-user/
Note: I have no idea whether this plugin works with newer versions of WPMU and BP
Also, you could modify the code found here:
https://buddypress.org/forums/topic/limit-amount-of-blogs-a-user-can-register
July 9, 2009 at 1:13 pm #48918In reply to: can a user enter his own password at registration?
Brajesh Singh
ParticipantWell,Now you can.You can allow your users to set their own password at signup.
I just created this plugin for you all .have a look here
https://wordpress.org/extend/plugins/cosmic-bp-user-signup-password/
Hope it helps.
Thanks
Brajesh
July 9, 2009 at 10:12 am #48912In reply to: BuddyBar for bbPress
Warwick Booth
ParticipantHi There
I have installed the buddypress bar for the forums . But i am not getting any link displaying, just the css, the actual buddypress menus are not there.
Click here for the forums
Click here for the wordpress install
We have used the deep integration and i have added the lines to my bb-config.php, the path to the file is correct.
I have added the two functions ie
add_action( 'bb_head', 'bp_core_add_js' );
add_action( 'bb_admin_head', 'bp_core_add_js');You can ignore the “invite new member” link on the top right hand side, its just a div postioned as absolute.
July 9, 2009 at 3:05 am #488973125432
InactiveThis is almost like a sci-fi movie! The system continues to learn, and not from users logging in to the system. At 3 pm, there were 250 members listed in the Member directory by counting each of the listings for all of the letters. By 7:30 pm, there were 300 members listed in the Member directory. Since our Buddypress folder is login protected, no one has accessed the yet to be announced social network.
But I am also shocked by something else – user avatars are starting to populate the member directory profiles and yet because of our member login script, I can see who has logged in to our website and it has been all of three people this afternoon.
This makes me think there is some external wordpress connection where people who have a wordpress account somewhere else have their avatars associated with an identical email to those profiles in our Buddypress installation.
This would also give logic to Andy’s explanation that the member’s appear after they have logged in. If those members are wordpress enabled somewhere else and are logging in, perhaps their profiles are suddenly populating the Member Directory.
Does that make sense? I certainly hope so because otherwise I will freak that there is a security breach in the system.
– Brian
July 8, 2009 at 8:37 pm #48846In reply to: Comments won't display on main blog
3411446
InactiveSorry I typed in the URL wrong:
http://entrepreneurinmaking.com
I do have comments enabled. In fact there are actually comments on most of the articles as they were imported from another wordpress blog.
July 8, 2009 at 8:21 pm #48840In reply to: Different user account types
peterverkooijen
ParticipantThere are several commercial plugins that create membership levels. You’d probably need custom code to connect the levels to the functionality you describe.
If you figure it out, let me know.

Or contact me if you want to pool resources.
July 8, 2009 at 8:08 pm #48838In reply to: Comments won't display on main blog
r-a-y
Keymastertwdsje, by the sound of it, I’m guessing you’re using the default WordPress MU home theme.
You can choose a different theme you know!
Do you even have BuddyPress installed?
If you do, select the BuddyPress home theme or some other WordPress theme in the WPMU admin area and you’ll see something entirely different.
That’s the beauty of themes!
July 8, 2009 at 7:26 pm #48831Jeff Sayre
ParticipantI took a very quick look at the OpenInviter website. They state that it is Open Source yet they do not provide any link to their licensing information.
Also, there is no code repository, it is not clear exactly what the code does, and you have to provide personal information to get the code. This does not indicate open source to me.
The site offers some sort of a WordPress Plugin, but I doubt that it is released under GPL which is a violation of the WordPress GPL license.
So, you are on your own if you want to use it, but I’d recommend steering clear of OpenInviter.
July 8, 2009 at 6:59 pm #48826In reply to: Delete Inactive Users
r-a-y
KeymasterAs far as I know, there isn’t such a plugin for BP, however there are some for MU.
Did a quick Google search; here’s two promising solutions:
1) https://mu.wordpress.org/forums/topic/1659
2) http://plugins.paidtoblog.com/wpmu-power-tools/
Just wanted to reiterate that none of these take care of BP though… so you might want to keep this under consideration.
July 8, 2009 at 4:55 pm #48800Jeff Sayre
Participantyairnazz-
You need to learn CSS and basic WordPress theming skills. Below you will find a few links to get you started.
Also, since your issue has nothing to do with the proper functioning of BuddyPress, I’m changing the topic indicator to “not a support question”.
- https://codex.wordpress.org/Blog_Design_and_Layout#Themes_and_Templates
- http://www.w3schools.com/Css/default.asp
- https://codex.buddypress.org/getting-started/using-the-buddypress-themes/
- You should use Firefox with the Firebug Add-on. It is a great tool that not only allows you to find out within which files certain CSS selectors are located, but also to temporarily change them and see what impact they have on the design.
July 8, 2009 at 5:26 am #48772In reply to: No input file specified.
r-a-y
KeymasterFirst things first, do you have WPMU 2.71 running correctly before you try and install BuddyPress?
Secondly, try manually installing BuddyPress by downloading the .ZIP file from the WordPress plugins repository (https://wordpress.org/extend/plugins/buddypress/).
Do not trust the automatic installer! Put the entire contents of the folder in /wp-content/plugins/ and then login to the WPMU admin area’s plugins page and activate.
Let us know what happens.
-
AuthorSearch Results