Master Badge [Paid] [Deleted]

Awesome job on this. I'd like to use this to encourage my members to become more active. I see that you can display a "featured badge", however It looks bulk and out of place. I feel that placing the user level somewhere in the member badge would look more clean. Clicking on the user level could then link back to the users current badges.

Also is there currently a place where public users can see all public badges? I feel this is necessary also so they can work toward certain badges.

2.webp
 
Awesome job on this. I'd like to use this to encourage my members to become more active. I see that you can display a "featured badge", however It looks bulk and out of place. I feel that placing the user level somewhere in the member badge would look more clean. Clicking on the user level could then link back to the users current badges.

Also is there currently a place where public users can see all public badges? I feel this is necessary also so they can work toward certain badges.

View attachment 96962

Thanks for your suggestions. Yes, I have a plan on making a badge page with list of public badges, statistics, graph, chart, etc. Stay tuned. :D
 
Also @Milano I don't use the @import method usually for google fonts but it doesn't appear to be working the way you have it setup, it's not loaded as Droids Sans(level count)
 
Last edited:
@Milano Major issue. I disable Masterbadge temporarily while I wait for some feature updates. When doing so it broke registration. See errors below

Code:
Zend_Db_Statement_Mysqli_Exception: Mysqli statement execute error : Field 'favorite_badge' doesn't have a default value - library/Zend/Db/Statement/Mysqli.php:214
Generated By: Unknown Account, 16 minutes ago

Code:
#0 /home2/vigilan9/public_html/vgforums/library/Zend/Db/Statement.php(297): Zend_Db_Statement_Mysqli->_execute(Array)
#1 /home2/vigilan9/public_html/vgforums/library/Zend/Db/Adapter/Abstract.php(479): Zend_Db_Statement->execute(Array)
#2 /home2/vigilan9/public_html/vgforums/library/Zend/Db/Adapter/Abstract.php(574): Zend_Db_Adapter_Abstract->query('INSERT INTO `xf...', Array)
#3 /home2/vigilan9/public_html/vgforums/library/XenForo/DataWriter.php(1624): Zend_Db_Adapter_Abstract->insert('xf_user', Array)
#4 /home2/vigilan9/public_html/vgforums/library/XenForo/DataWriter.php(1613): XenForo_DataWriter->_insert()
#5 /home2/vigilan9/public_html/vgforums/library/XenForo/DataWriter.php(1405): XenForo_DataWriter->_save()
#6 /home2/vigilan9/public_html/vgforums/library/XenForo/ControllerPublic/Register.php(416): XenForo_DataWriter->save()
#7 /home2/vigilan9/public_html/vgforums/library/XenForo/FrontController.php(347): XenForo_ControllerPublic_Register->actionRegister()
#8 /home2/vigilan9/public_html/vgforums/library/XenForo/FrontController.php(134): XenForo_FrontController->dispatch(Object(XenForo_RouteMatch))
#9 /home2/vigilan9/public_html/vgforums/index.php(13): XenForo_FrontController->run()
#10 {main}

Code:
array(3) {
  ["url"] => string(55) "http://www.forums.vigilantegamers.net/register/register"
  ["_GET"] => array(0) {
  }
  ["_POST"] => array(18) {
    ["username"] => string(0) ""
    ["bcb2b8f2ad8dca9672d3047f288b9297"] => string(4) "igni"
    ["aae2b6a6f556e822966430f277d480ff"] => string(24) "hntrmcferrin95@gmail.com"
    ["password"] => string(8) "********"
    ["f88b5b09291a94e52dc7bd91b39648da"] => string(0) ""
    ["603829b784289b4b3a00de7237e9f0a2"] => string(4) "male"
    ["dob_month"] => string(1) "9"
    ["dob_day"] => string(2) "18"
    ["dob_year"] => string(4) "1995"
    ["8d8ba7b7f6e065e39c3b78f4619adbb0"] => array(1) {
      ["ytbhmzexngqwzwm"] => string(0) ""
    }
    ["custom_fields_shown"] => array(1) {
      [0] => string(15) "ytbhmzexngqwzwm"
    }
    ["1f137b64143c7e57d37cb4963d4863ec"] => string(14) "America/Denver"
    ["photo_captcha_sid"] => string(32) "8bbc44fc6c8984476ca593975bd0988d"
    ["photo_8bbc44fc6c8984476ca593975bd0988d_0"] => string(2) "on"
    ["photo_8bbc44fc6c8984476ca593975bd0988d_2"] => string(2) "on"
    ["agree"] => string(1) "1"
    ["_xfToken"] => string(8) "********"
    ["reg_key"] => string(32) "a0a3114d0ecd6c2e26d7c2b83144b54f"
  }

Furthermore, I re-enabled it so I could get registration back online on my board. However, when doing so it seems that some of the displays aren't working correct now. See screenshot:
Capture2.webp capture.webp

The "circle" no longer appears around the level "22".
 
Any time frame on when some feature updates will be released? I would love to put this into production on my forum.
 
Hi @Milano I was trying to make a change to the link in the user menu dropdown and I'm not seeing how you've added it. It's not being added via a template modification which ideally I think it should be.

Also it's not correct in the sense it needs to be wrapped in a <li> tag like the others:


Screenshot_4.webp
 
Sorry for the late response

@VGWoody before 15th, i hope, but this version only focus in performance and bug fixes
@Russ It was added via template_hook listener in Listener.php @ line 155
 
Sorry for the late response

@VGWoody before 15th, i hope, but this version only focus in performance and bug fixes
@Russ It was added via template_hook listener in Listener.php @ line 155

Can you do it via a template modification(the new way), prefer not to have to edit php files for simple template adjustments.
 
@Milano getting some errors,

Code:
ErrorException: Undefined index: favoriteBadges - library/MasterBadge/ControllerPublic/Member.php:26
Generated By: Unknown Account, Today at 6:58 PM

Code:
#0 /var/www/vhosts/wweforums.net/httpdocs/library/MasterBadge/ControllerPublic/Member.php(26): XenForo_Application::handlePhpError(8, 'Undefined index...', '/var/www/vhosts...', 26, Array)
#1 /var/www/vhosts/wweforums.net/httpdocs/library/XenForo/FrontController.php(347): MasterBadge_ControllerPublic_Member->actionMember()
#2 /var/www/vhosts/wweforums.net/httpdocs/library/XenForo/FrontController.php(134): XenForo_FrontController->dispatch(Object(XenForo_RouteMatch))
#3 /var/www/vhosts/wweforums.net/httpdocs/index.php(13): XenForo_FrontController->run()
#4 {main}

Viewing his profile:

error.png
 
Another one when removing featured badge from profile,

2.png


Now I can't access personal details to update it.
 
I have just installed this add on and setup all my badges, now when I try and view my profile I get this error. It does not do it if I view another members profile?

Code:
gument 2 passed to MasterBadge_Model_Badge::limitFeaturedBadges() must be of the type array, null given, called in /home4/davem/public_html/library/MasterBadge/ControllerPublic/Member.php on line 26 and defined

    XenForo_Application::handlePhpError() in MasterBadge/Model/Badge.php at line 426
    MasterBadge_Model_Badge->limitFeaturedBadges() in MasterBadge/ControllerPublic/Member.php at line 26
    MasterBadge_ControllerPublic_Member->actionMember() in XenForo/FrontController.php at line 347
    XenForo_FrontController->dispatch() in XenForo/FrontController.php at line 134
    XenForo_FrontController->run() in /home4/davem/public_html/index.php at line 13
 
How does a member view the list of badges that are available to them, these are the ones that they have not as yet been given.
 
Doesn't stop me viewing profiles now, but still see errors on removing a featured badge,

Code:
ErrorException: Undefined index: favoriteBadges - library/MasterBadge/ControllerPublic/Member.php:26
Generated By: Solidus, A moment ago

Code:
#0 /var/www/vhosts/wweforums.net/httpdocs/library/MasterBadge/ControllerPublic/Member.php(26): XenForo_Application::handlePhpError(8, 'Undefined index...', '/var/www/vhosts...', 26, Array)
#1 /var/www/vhosts/wweforums.net/httpdocs/library/XenForo/FrontController.php(347): MasterBadge_ControllerPublic_Member->actionMember()
#2 /var/www/vhosts/wweforums.net/httpdocs/library/XenForo/FrontController.php(134): XenForo_FrontController->dispatch(Object(XenForo_RouteMatch))
#3 /var/www/vhosts/wweforums.net/httpdocs/index.php(13): XenForo_FrontController->run()
#4 {main}

1 error per profile view.
 
How does a member view the list of badges that are available to them, these are the ones that they have not as yet been given.

It depends on your setup

Doesn't stop me viewing profiles now, but still see errors on removing a featured badge,

Code:
ErrorException: Undefined index: favoriteBadges - library/MasterBadge/ControllerPublic/Member.php:26
Generated By: Solidus, A moment ago

Code:
#0 /var/www/vhosts/wweforums.net/httpdocs/library/MasterBadge/ControllerPublic/Member.php(26): XenForo_Application::handlePhpError(8, 'Undefined index...', '/var/www/vhosts...', 26, Array)
#1 /var/www/vhosts/wweforums.net/httpdocs/library/XenForo/FrontController.php(347): MasterBadge_ControllerPublic_Member->actionMember()
#2 /var/www/vhosts/wweforums.net/httpdocs/library/XenForo/FrontController.php(134): XenForo_FrontController->dispatch(Object(XenForo_RouteMatch))
#3 /var/www/vhosts/wweforums.net/httpdocs/index.php(13): XenForo_FrontController->run()
#4 {main}

1 error per profile view.

Fixed now, i'm sorry for your inconvenience.
 
Top Bottom