As you know, I’m working on enhancing profiles.wordpress.org The community site where WordPress code is created and shared by the users. This is where you can download the source code for WordPress core, plugins and themes as well as the central location for community conversations and organization. https://wordpress.org/ as a part of GSoC’13 and this is my sixth weekly update regarding how things are going.
Once again, you can find my whole final schedule here: http://www.mertyazicioglu.com/2013/06/25/gsoc-2013-schedule-enhance-profiles-wordpress-org/
As you can see from the schedule, the things I was planning to complete by now was as follows:
July 23rd – The codebase for adding and editing Links to Profiles on Other Sites should be complete and the preparation for the new UI UI is an acronym for User Interface - the layout of the page the user interacts with. Think ‘how are they doing that’ and less about what they are doing. of the profiles should be started by now.
…as always, done! Well, turns out .org is already using the BuddyPress’ built-in Profile Fields feature so I won’t be adding any extra code to make this happen. Those fields will simply be defined in the administration panel of .org. To give you an idea on how the front-end will look, here is a screenshot with the social networks defined:
That screenshot is actually taken from my fully-functional local BP installation with the current profiles’ actual code. Since I was able to successfully replicate the real environment, accomplishing the next week’s task (theming) will be super easy. Here is how it looks today with the functional new Activity Stream. Note that there are no visual changes yet.
Before talking about the next week’s task, I want to talk about slight changes in the last weeks’ codes.
In order to make the wp-activity-listener.php both more maintainable, generic and overall whole a lot better, I converted it to a must-use plugin. Renamed it to DotOrg_Activity_Handler, put it into a class, registered it as an AJAX action, created a filter Filters are one of the two types of Hooks https://codex.wordpress.org/Plugin_API/Hooks. They provide a way for functions to modify data of other functions. They are the counterpart to Actions. Unlike Actions, filters are meant to work in an isolated manner, and should never have side effects such as affecting global variables and output. (is_valid_request) that decides whether the request is authentic or not and finally updated the other plugins (bbPress and Trac) to function properly with this new structure. I’m really happy with the outcome and would like to thank @coffee2code and @boonebgorges for their comments and suggestions!
To sum up, sixth week’s goal has also been met in addition to the improvements made on the previous weeks’ codes and in the next week’s update, I will be presenting the new UI of the profiles!
See you next week!