Support Forum

WordPress + SPF = Split Personalities

RA -Radio-
-Radio-
Member

after a lot of discussion and weighing the pros and cons of each, the decision to give SPF it's own profile page and to store aditional profile information in it's own users and usersmeta table was reached somwhere around spf v3

It seems now, that the split profiles are weighing heavier on the con side than was previously measured.

Bringing in other profile tools, such as, CYC, Register Plus, and User Photo for wordpress, fills some of the gap, however these tools can not edit SPF data. Further, SPF does not fill the gap in wordpress versions as changes have been made to the core which varies from WP to WP to WPMU…

Can we consider once again, some of these decisions which pulled us away from WP core profile pages, and wp core tables?

CYC does a wonderful job of skinning wp-login.php and it's varients as well as wordpress wp-admin/profile.php. The skinning technique is a leap above simply changing the login graphic and actually allows the user to believe they are still in the front end of the site. Could we addapt/annex this code?

Since CYC is using the default pages, only skinned, other tools like Register Plus integrate seemlessly, including setting your own password, posting a registration policy, name, address and other custom feilds, and setting which are required for login/registration and which are optional, etc.

Yet a third plugin, User Photo, seemlessly integrates into wp-admin/profiles.php and allows for resizing of uploaded photos which are stored without the need for dedicated filespace and can be used site wide, in place of Gravitars.

If SPF were to incorporate code from all three of these plugins, a single, smothe, community could be built, which would also be completely compatable with still more plugins designed to enhance the user experience or administration of user data.

Using and defining abilities in the forum brings to mind using Role Manager type code. The plugins that base user abilities on Role Manager settings, of which there are hundreds, could easily integrate with SPF.

Pay Subscription Engines which utilize these common tools could then set or update SPF permissions.

There is even the posibility of designing SPF to DROP your own code in favor of the plugins I have mentioned. Utilizing the programing skills of other authors to lessen your workload instead of redoubling it. Allowing admins to select the tools they wish to incorporate on their own, as you have done with AIO.

There is much to consider here. I hope to have long lively discussions about this in the near future.

7 Answers

New Answer

MP Mr Papa
Mr Papa
Member

this will be a fun one!

We have more and more users arguing for completely blocking access to the wp backend (including the profile page) and will be implementing an option in 4.1 to do such a thing.

This goes the other direction and expands the user access to the backend. Of course, I dont understand the shock of some users in having their users access the wp backend.

One comment on dropping our code. We have set it up just this way with the pluggable display routines. In fact, I just walked a guy through yesterday using the pluggable feature to get User Photo working with his stuff. This guy wasnt a coder and he did it just fine.

I have it on my 4.1 list to expand our user group interaction with roles, if possible. This will note likely include direct integration with role manager. But, what does that really mean (role manager integration??? What we really want is the interaction between roles and user groups which likely lets you use role manager or other similar tool.

Anyways, just throwing in my 2 cents!

YS Yellow Swordfish
Yellow Swordfish
Member

I intend to come back to this thread but I have to go out and am hurrying so just want to throw something into the pot here quickly.

One reason I do not want to actively (as opposed to passively) build in coded support for various other plugins AND not rely any further on WP UI components is because of the possibility of moving SPF one day to BackPress… if BackPress ever really gets off the ground. Just food for thought…

MP Mr Papa
Mr Papa
Member

what the heck is backpress???  never heard of it…

YS Yellow Swordfish
Yellow Swordfish
Member

'BackPress' is a project supposedly going on within Automattic to create the framework that both WordPress and bbPress uses but, bsically, without their UI or front end. In other words a common framework that both of these systems can use but also that anyone else can use to build an application on. This includes the current tables, the user registration system etc.

If it comes off it would allow something like Simple:Press Forum to be a standalone application.

MP Mr Papa
Mr Papa
Member

interesting, never heard of it…  just found their trac page – not much activity, but a bit…

RA -Radio-
-Radio-
Member

moving to 'backpress' would still lend it's self to relying more on the WP tables than using SPF custom tables.

I still see a need to use, at the very least, using WP user and usermeta table information as opposed to SPF tables.

The change then would simply be, a setting to display said information in SPF, or simply direct to the backend profile. (with other plugins the backend is a nonissue as backend can be front end displayed for lower class subscribers, CYC plugin)

after this, the additional features like the members search would always display member info in the front end, but it should be populated with information gathered from WP tables with Admin being able to select which items are displayable and which are sortable.

At that point all manor of plugins will be able to integrate, Role Manager, Membership Plugins (pay subscriptions), Register Plus, User Photo, Gravitar Plugins and core functions, with the ability to turn of the duplicated functions in SPF in favor of plugins that the admin may find more suitable.

YS Yellow Swordfish
Yellow Swordfish
Member

First up moving to the sfmembers table has given us more plus points than we have lost. Usermeta is not a great table to have to use and relies on multiple rows being requested on what can be an extremely large table.

Next up – it is a myth to assume that storing our 'extended' data in Usermeta makes it instantly avalable to either the WP profile page or third party plugins. We DO store some user data in Usermeta but WP ignores it when displaying the WP profile page and always will. It is only interested in what it knows about. I suspect that this will be equally true of all third party plugins that work or extend ths collection of data.

Making our forum specific data in sfmembers available to third party plugins is actually a breeze although I am not sure what data items would really be of interest outsde of the forum. But if there are data items in there of interest perhaps wooing other plugin authors to support us would be a better prospect.