Blogs / Thiago Campos Viana / DappSocial DevLog #1

DappSocial DevLog #1

Wednesday 13 April 2011 6:49:48 am

  • Currently 3 out of 5 Stars.
  • 1
  • 2
  • 3
  • 4
  • 5

By : Thiago Campos Viana

It has been some time since I started developing DappSocial, a social networking extension for eZ publish that mimics BuddyPress and DrupalCommons, so I will start a DevLog series.

What has been done so far:

  • A relationship datatype: Stores user relationship info.
  • An user experience datatype: Store user exp points.
  • A qavote datatype: It's a modified version of the ez star rating datatype, it works like a up/down vote system and uses user experience datatype.
  • A workflow event that creates some user subnodes after user activation.

All this features are not stable, so I decided to stop adding new features untill I make all the existing ones stable, or at least usable, so I will release a first stable version.

I think DrupalCommons and BuddyPress are great and I do not have any hope to release something as good as these products for eZ publish soon, specially not having any kind of support, but I hope release something that fill my current needs for my personal website that, as ez share site, needs user contributions, so, lets talk about what I see as my website problem, you may have the same problem.

I started a personal site about Unity3d and other softwares, so I wrote some tutorials, translated another ones, published some open source projects and so on. I was hoping to engage users to keep visiting the site, using the forums, giving me some feedback, inviting new users and everything more a user could do. So, I don't know how could I be surprised, I discovered that users just visit the site, read the content, and goes away, do not giving a "thanks" for my "hard" work, not commenting, doing nothing more than just read.

So I reallized that I can't blame the users, I needed to think about a solution for this problem, so, share team started talking about a new participation model for share site, and I started to think about this topic, participation model. Researching some solutions I found DrupalCommons and BuddyPress, both has an user points and badge system that I think is a great tool to improve the user experience, but as I don't like Drupal and Wordpress code, I started a new project for eZ publish called DappSocial.

I think it would be a nice idea to give user some extra content based on the merit, or to be straightforward, basing on the total user exp points or some badges. So, if a user reaches level 2 it gains access in a protected site area, then if he reaches level 3, or get some badge, he can download some secret content, and so on.

To gain exp and badges the user needs to participate on forums and complete some tasks.

I'm in an early stage of the development of my extension, I don't know how long I will continue developing it, but i really think it's the way to go for new websites that needs user contributions.

Blog Post Discussion

DappSocial Scope DevLog #1

eZ debug

Timing: Jan 17 2025 22:50:16
Script start
Timing: Jan 17 2025 22:50:16
Module start 'content'
Timing: Jan 17 2025 22:50:16
Module end 'content'
Timing: Jan 17 2025 22:50:16
Script end

Main resources:

Total runtime0.1239 sec
Peak memory usage2,048.0000 KB
Database Queries141

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0061 587.7109180.8438
Module start 'content' 0.00610.0059 768.554799.0781
Module end 'content' 0.01200.1118 867.6328528.0313
Script end 0.1238  1,395.6641 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00352.8373200.0002
Check MTime0.00131.0314200.0001
Mysql Total
Database connection0.00090.755010.0009
Mysqli_queries0.082966.94551410.0006
Looping result0.00110.86101390.0000
Template Total0.111489.910.1114
Template load0.00090.720310.0009
Template processing0.110589.217610.1105
Override
Cache load0.00060.496410.0006
Sytem overhead
Fetch class attribute can translate value0.00070.532010.0007
XML
Image XML parsing0.00020.192910.0002
General
dbfile0.00453.6031200.0002
String conversion0.00000.003130.0000
Note: percentages do not add up to 100% because some accumulators overlap

CSS/JS files loaded with "ezjscPacker" during request:

CacheTypePacklevelSourceFiles
CSS0extension/community/design/community/stylesheets/ext/jquery.autocomplete.css
extension/community_design/design/suncana/stylesheets/scrollbars.css
extension/community_design/design/suncana/stylesheets/tabs.css
extension/community_design/design/suncana/stylesheets/roadmap.css
extension/community_design/design/suncana/stylesheets/content.css
extension/community_design/design/suncana/stylesheets/star-rating.css
extension/community_design/design/suncana/stylesheets/syntax_and_custom_tags.css
extension/community_design/design/suncana/stylesheets/buttons.css
extension/community_design/design/suncana/stylesheets/tweetbox.css
extension/community_design/design/suncana/stylesheets/jquery.fancybox-1.3.4.css
extension/bcsmoothgallery/design/standard/stylesheets/magnific-popup.css
extension/sevenx/design/simple/stylesheets/star_rating.css
extension/sevenx/design/simple/stylesheets/libs/fontawesome/css/all.min.css
extension/sevenx/design/simple/stylesheets/main.v02.css
extension/sevenx/design/simple/stylesheets/main.v02.res.css
JS0extension/ezjscore/design/standard/lib/yui/3.17.2/build/yui/yui-min.js
extension/ezjscore/design/standard/javascript/jquery-3.7.0.min.js
extension/community_design/design/suncana/javascript/jquery.ui.core.min.js
extension/community_design/design/suncana/javascript/jquery.ui.widget.min.js
extension/community_design/design/suncana/javascript/jquery.easing.1.3.js
extension/community_design/design/suncana/javascript/jquery.ui.tabs.js
extension/community_design/design/suncana/javascript/jquery.hoverIntent.min.js
extension/community_design/design/suncana/javascript/jquery.popmenu.js
extension/community_design/design/suncana/javascript/jScrollPane.js
extension/community_design/design/suncana/javascript/jquery.mousewheel.js
extension/community_design/design/suncana/javascript/jquery.cycle.all.js
extension/sevenx/design/simple/javascript/jquery.scrollTo.js
extension/community_design/design/suncana/javascript/jquery.cookie.js
extension/community_design/design/suncana/javascript/ezstarrating_jquery.js
extension/community_design/design/suncana/javascript/jquery.initboxes.js
extension/community_design/design/suncana/javascript/app.js
extension/community_design/design/suncana/javascript/twitterwidget.js
extension/community_design/design/suncana/javascript/community.js
extension/community_design/design/suncana/javascript/roadmap.js
extension/community_design/design/suncana/javascript/ez.js
extension/community_design/design/suncana/javascript/ezshareevents.js
extension/sevenx/design/simple/javascript/main.js

Templates used to render the page:

UsageRequested templateTemplateTemplate loadedEditOverride
1pagelayout.tpl<No override>extension/sevenx/design/simple/templates/pagelayout.tplEdit templateOverride template
 Number of times templates used: 1
 Number of unique templates used: 1

Time used to render debug report: 0.0001 secs