Profile Completion Steps [Paid] [Deleted]

Nevermind it actually works with Widget Framework just fine :).

It would be great if you could have tasks support what usergroup you're associated with. This would make it easy to associate a task with any custom addon that supports usergroup promotions.

Example: "Promotion for posting a blog" then setting a task that checks if you have the usergroup "Blogger".

It might make usergroups a freaking mess, but other than that I don't know of an easy way to support this addon without having other developers make custom modifications for this.
 
Hi Robbo, there's a bug/addon incompatibility

Code:
ErrorException: Declaration of Merc_ProfileCompletion_DataWriter_Discussion_Thread::_discussionPostSave() should be compatible with ThreadBan_DataWriter_Discussion_Thread::_discussionPostSave() - library/Merc/ProfileCompletion/DataWriter/Discussion/Thread.php:15
Generato Da: Il Custode, 7 minuti fa

Code:
#0 /home/xfitalia/public_html/community/library/XenForo/Autoloader.php(119): XenForo_Application::handlePhpError(2048, 'Declaration of ...', '/home/xfitalia/...', 15, Array)
#1 /home/xfitalia/public_html/community/library/XenForo/Autoloader.php(119): XenForo_Autoloader::autoload()
#2 /home/xfitalia/public_html/community/library/XenForo/Application.php(1000): XenForo_Autoloader->autoload('Merc_ProfileCom...')
#3 /home/xfitalia/public_html/community/library/XenForo/Application.php(514): XenForo_Application::autoload('Merc_ProfileCom...')
#4 /home/xfitalia/public_html/community/library/XenForo/DataWriter.php(2012): XenForo_Application::resolveDynamicClass('XenForo_DataWri...', 'datawriter')
#5 /home/xfitalia/public_html/community/library/XenForo/DiscussionMessage/Definition/Post.php(47): XenForo_DataWriter::create('XenForo_DataWri...', 2)
#6 /home/xfitalia/public_html/community/library/XenForo/DataWriter/DiscussionMessage.php(1092): XenForo_DiscussionMessage_Definition_Post->getDiscussionDataWriter(778, 2)
#7 /home/xfitalia/public_html/community/library/XenForo/DataWriter/DiscussionMessage.php(597): XenForo_DataWriter_DiscussionMessage->getDiscussionDataWriter()
#8 /home/xfitalia/public_html/community/library/XenForo/DataWriter/DiscussionMessage.php(540): XenForo_DataWriter_DiscussionMessage->_updateDiscussionPostSave()
#9 /home/xfitalia/public_html/community/library/XenForo/DataWriter.php(1397): XenForo_DataWriter_DiscussionMessage->_postSave()
#10 /home/xfitalia/public_html/community/library/XenForo/LikeHandler/Post.php(20): XenForo_DataWriter->save()
#11 /home/xfitalia/public_html/community/library/XenForo/Model/Like.php(236): XenForo_LikeHandler_Post->incrementLikeCounter(4616, Array)
#12 /home/xfitalia/public_html/community/library/XenForo/ControllerPublic/Post.php(372): XenForo_Model_Like->likeContent('post', 4616, 317)
#13 /home/xfitalia/public_html/community/library/ThreadBan/ControllerPublic/Post.php(62): XenForo_ControllerPublic_Post->actionLike()
#14 /home/xfitalia/public_html/community/library/XenForo/FrontController.php(337): ThreadBan_ControllerPublic_Post->actionLike()
#15 /home/xfitalia/public_html/community/library/XenForo/FrontController.php(134): XenForo_FrontController->dispatch(Object(XenForo_RouteMatch))
#16 /home/xfitalia/public_html/community/index.php(13): XenForo_FrontController->run()
#17 {main}

Code:
array(3) {
  ["url"] => string(48) "http://www.xfitalia.it/community/posts/4616/like"
  ["_GET"] => array(0) {
  }
  ["_POST"] => array(4) {
    ["_xfRequestUri"] => string(40) "/community/threads/sviluppatore-nkz.778/"
    ["_xfNoRedirect"] => string(1) "1"
    ["_xfToken"] => string(8) "********"
    ["_xfResponseType"] => string(4) "json"
  }
}



Code:
ErrorException: Argument 1 passed to Merc_ProfileCompletion_DataWriter_Discussion_Thread::_discussionPostSave() must be of the type array, none given, called in /home/xfitalia/public_html/community/library/XenForo/DataWriter/Discussion.php on line 453 and defined - library/Merc/ProfileCompletion/DataWriter/Discussion/Thread.php:5
Generato Da: Il Custode, 1 minuto fa

Code:
#0 /home/xfitalia/public_html/community/library/Merc/ProfileCompletion/DataWriter/Discussion/Thread.php(5): XenForo_Application::handlePhpError(4096, 'Argument 1 pass...', '/home/xfitalia/...', 5, Array)
#1 /home/xfitalia/public_html/community/library/XenForo/DataWriter/Discussion.php(453): Merc_ProfileCompletion_DataWriter_Discussion_Thread->_discussionPostSave()
#2 /home/xfitalia/public_html/community/library/XenForo/DataWriter.php(1397): XenForo_DataWriter_Discussion->_postSave()
#3 /home/xfitalia/public_html/community/library/XenForo/DataWriter/DiscussionMessage/Post.php(100): XenForo_DataWriter->save()
#4 /home/xfitalia/public_html/community/library/XenForo/DataWriter/DiscussionMessage.php(587): XenForo_DataWriter_DiscussionMessage_Post->_messagePostSave()
#5 /home/xfitalia/public_html/community/library/XenForo/DataWriter.php(1397): XenForo_DataWriter_DiscussionMessage->_postSave()
#6 /home/xfitalia/public_html/community/library/XenForo/LikeHandler/Post.php(20): XenForo_DataWriter->save()
#7 /home/xfitalia/public_html/community/library/XenForo/Model/Like.php(236): XenForo_LikeHandler_Post->incrementLikeCounter(4616, Array)
#8 /home/xfitalia/public_html/community/library/XenForo/ControllerPublic/Post.php(372): XenForo_Model_Like->likeContent('post', 4616, 317)
#9 /home/xfitalia/public_html/community/library/ThreadBan/ControllerPublic/Post.php(62): XenForo_ControllerPublic_Post->actionLike()
#10 /home/xfitalia/public_html/community/library/XenForo/FrontController.php(337): ThreadBan_ControllerPublic_Post->actionLike()
#11 /home/xfitalia/public_html/community/library/XenForo/FrontController.php(134): XenForo_FrontController->dispatch(Object(XenForo_RouteMatch))
#12 /home/xfitalia/public_html/community/index.php(13): XenForo_FrontController->run()
#13 {main}


Code:
array(3) {
  ["url"] => string(48) "http://www.xfitalia.it/community/posts/4616/like"
  ["_GET"] => array(0) {
  }
  ["_POST"] => array(4) {
    ["_xfRequestUri"] => string(40) "/community/threads/sviluppatore-nkz.778/"
    ["_xfNoRedirect"] => string(1) "1"
    ["_xfToken"] => string(8) "********"
    ["_xfResponseType"] => string(4) "json"
  }
}
 
Hi,
Just bought your add-on and I've got errors :
Erreur Info
ErrorException:Argument 1 passed to Merc_ProfileCompletion_DataWriter_Discussion_Thread::_discussionPostSave() must be of the type array, none given, called in /home/users4/e/ericg/www/library/XenForo/DataWriter/Discussion.php on line 453 and defined -library/Merc/ProfileCompletion/DataWriter/Discussion/Thread.php:5
Généré par:ORlaNdO,il y a 1 minute
Trace de la pile
#0 /home/users4/e/ericg/www/library/Merc/ProfileCompletion/DataWriter/Discussion/Thread.php(5): XenForo_Application::handlePhpError(4096, 'Argument 1 pass...', '/home/users4/e/...', 5, Array)
#1 /home/users4/e/ericg/www/library/XenForo/DataWriter/Discussion.php(453): Merc_ProfileCompletion_DataWriter_Discussion_Thread->_discussionPostSave()
#2 /home/users4/e/ericg/www/library/XenForo/DataWriter.php(1397): XenForo_DataWriter_Discussion->_postSave()
#3 /home/users4/e/ericg/www/library/XenForo/ControllerPublic/Forum.php(678): XenForo_DataWriter->save()
#4 /home/users4/e/ericg/www/library/XenForo/FrontController.php(337): XenForo_ControllerPublic_Forum->actionAddThread()
#5 /home/users4/e/ericg/www/library/XenForo/FrontController.php(134): XenForo_FrontController->dispatch(Object(XenForo_RouteMatch))
#6 /home/users4/e/ericg/www/index.php(13): XenForo_FrontController->run()
#7 {main}
État de la demande
array(3) {
["url"] => string(85) "http://retro-mania.org/index.php?forums/présentations-des-nouveaux.31/add-thread"
["_GET"] => array(1) {
["forums/présentations-des-nouveaux_31/add-thread"] => string(0) ""
}
["_POST"] => array(13) {
["prefix_id"] => string(1) "0"
["title"] => string(22) "Hello, tout le monde !"
["message_html"] => string(693) "<p>Non ce n'est pas moi sur l'avatar, en fait je suis beaucoup plus mignon que le petit Bloom ! <img src="styles/default/xenforo/clear.png" class="mceSmilieSprite mceSmilie2" alt=";)" unselectable="on"></p><p>Je me suis inscrit ici pour profiter du jeu-concours, comme sûrement beaucoup d'autres, mais j'ai fait un peu le tour du forum, et je dois dire que c'est pas mal !</p><p>Plein de choses bien cool, messages à plusieurs, profil avec messages à pouvoir mettre aussi dessus, pas mal d'options pour évaluer les messages et les topics... C'est good !</p><p>Alors à +</p><p><img src="styles/default/xenforo/clear.png" class="mceSmilieSprite mceSmilie2" alt=";)" unselectable="on"></p>
"
["_xfRelativeResolver"] => string(88) "http://retro-mania.org/index.php?forums/présentations-des-nouveaux.31/create-thread"
["attachment_hash"] => string(32) "e815a663180dde58552bfd90f30214a0"
["watch_thread"] => string(1) "1"
["watch_thread_email"] => string(1) "1"
["watch_thread_state"] => string(1) "1"
["poll"] => array(2) {
["question"] => string(0) ""
["responses"] => array(2) {
[0] => string(0) ""
[1] => string(0) ""
}
}
["_xfToken"] => string(8) "********"
["_xfRequestUri"] => string(66) "/index.php?forums/pr%C3%A9sentations-des-nouveaux.31/create-thread"
["_xfNoRedirect"] => string(1) "1"
["_xfResponseType"] => string(4) "json"
}
}
Also when a task is completed, it stands crossed out with "done" next to it and doesn't disappear.
Please help
Thanks
 
With 1.0 RC1 and XF1.2.2 (DEV upgrade from 1.1.3), I get 90+ occurrences of the same error ...

Code:
Template Errors: node_forum_level_2

preg_replace(): The /e modifier is deprecated, use preg_replace_callback instead in /var/www/dev-netrider/library/Zend/Filter/PregReplace.php, line 171:
170:        </ol>
171:    ';
172: }
preg_replace(): The /e modifier is deprecated, use preg_replace_callback instead in /var/www/dev-netrider/library/Zend/Filter/PregReplace.php, line 171:
170:        </ol>
171:    ';
172: }
Template Errors: node_forum_level_2

preg_replace(): The /e modifier is deprecated, use preg_replace_callback instead in /var/www/dev-netrider/library/Zend/Filter/PregReplace.php, line 171:
170:        </ol>
171:    ';
172: }
preg_replace(): The /e modifier is deprecated, use preg_replace_callback instead in /var/www/dev-netrider/library/Zend/Filter/PregReplace.php, line 171:
170:        </ol>
171:    ';
172: }
Template Errors: node_forum_level_2

preg_replace(): The /e modifier is deprecated, use preg_replace_callback instead in /var/www/dev-netrider/library/Zend/Filter/PregReplace.php, line 171:
170:        </ol>
171:    ';
172: }
preg_replace(): The /e modifier is deprecated, use preg_replace_callback instead in /var/www/dev-netrider/library/Zend/Filter/PregReplace.php, line 171:
170:        </ol>
171:    ';
172: }

Disable Profile Completion and the errors no longer appear. Activate Profile Completion and the errors instantly appear.
 
A feature that would really be helpful is a setting to check if mandatory profile fields have:
  • more than X characters and more than 4 different characters.

Often users fill in 'asdfasdf' or similar to make it seem as if the field is filled. In such case the profile has not been completed. The user just circumvents this addon.
 
A feature that would really be helpful is a setting to check if mandatory profile fields have:
  • more than X characters and more than 4 different characters.

Often users fill in 'asdfasdf' or similar to make it seem as if the field is filled. In such case the profile has not been completed. The user just circumvents this addon.
We can't properly prevent those people from doing those things without annoying the people who do it right. A general rule that should be followed is let the "bad" people do what they want if they really want to circumvent something like this because fighting back is a losing fight and will just harm your good users. For a more large scale example look at developers fighting piracy.
 
Last edited:
Top Bottom