1. April Fools Day Sale starting today through Sunday April 2nd.
    $15 discount on all licenses. $10 discount on 1 year support/downloads extensions.

    Your username here MUST MATCH your XenForo username (connected to your XF license).

    Once you have registered here, then you need to start a conversation at xenforo.com w/Bob and provide the following:
    1. Your XenForo License Validation Token
    2. The Domain Name associated with the License
    NOTE: Your account will be validated once ALL requirements are verified/met. Thank you for your patience.

Implemented Update picks notice

Discussion in 'Pickem Closed Suggestions' started by loslobos1, Aug 21, 2019.

  1. loslobos1

    loslobos1 New Member Pickem

    I want to suggest something.

    Already configured logos, teams, team nicknames for European soccer matches with weekly scheduled. Now forum users joining pool.Almost all asked same question'' We picked matches then click update picks but doesnt inform that your picks updated. So they are not sure aprroved picks or not. I also test and it doesnt. It would be better if notice display when click update picks.

    Last edited: Aug 21, 2019
  2. Bob

    Bob Developer Staff Member

    I can do something like this, which is similar to how Core XF does it for features like batch updates to show a "success" notice.


    btw, your picks highlight color is very faint (I can barely even notice it from the image). You might want to add some CSS to Extra.css to force a slightly darker color so there is a bit more contrast between the teams they picked and the ones they did not pick.

    .picks .highlight {background: #D3D3D3;}
    loslobos1 likes this.
  3. loslobos1

    loslobos1 New Member Pickem

    Exactly that i want this notice what you show up.

    I will add this css code tomorrow :)

    Thanks for responce.
  4. loslobos1

    loslobos1 New Member Pickem

    Bob i updated 2.1.4 pickem but still same. Doesnt show Success update notice.
    Last edited: Aug 30, 2019
  5. Bob

    Bob Developer Staff Member

    Does the URL have &success=1 appended to it after hitting "Update picks"? If NOT, then that would explain it. If its appended, then the next thing would be checking for outdated templates along with inspecting the page to see if there is any CSS that is blocking the display of the success message.

    Its working fine on all my sites (and my members love it), so it has to be something simple like an outdated template or cached files.

    This is what the URL should look like after clicking on "Update picks"... That URL param is what is sent to the controller to tell the controller that the update was a success and to display the notice.

    Last edited: Aug 30, 2019
    loslobos1 likes this.
  6. loslobos1

    loslobos1 New Member Pickem


    Url ending with success

    Probably some css codes block. I will test them.

    I found some errors

    Last edited by a moderator: Aug 30, 2019
  7. Bob

    Bob Developer Staff Member

    Those would be caused by OUTDATED templates or improperly merged templates. The template function 'pkm_sport_thumbnail' was REPLACED with the template function 'pkm_sport_icon'.
    loslobos1 likes this.
  8. loslobos1

    loslobos1 New Member Pickem

    I added styles/pickem/logos some svg logos. Maybe causedthese errors? Then i see svg doesnt display. They still in this folder.

  9. Bob

    Bob Developer Staff Member

    No, those ERRORS you posted above are caused by outdated templates on your site that still contain OLD template code that is calling a function that is no longer used. Those template helpers are attempting to call a function that is no longer in Pickem (the function was removed). There is a NEW function and the templates SHOULD have been updated when you upgraded. If there was a non mergable conflict, it would not update the template and would mark the template as OUTDATED (letting you know that the addon has made changes and that the templates is outdated.

    Those errors will continue until you fix the outdated template(s). The template that would be outdated (or incorrectly merged is 'xa_pkm_pool_list_macros'. Check to see if that template is outdated.

    You can do a template search on the term 'pkm_sport_thumbnail' (without the ' marks). That will tell you any templates on your site that are outdated and contain that function which has been removed.

    This would also explain why the success message isn't displaying, as you most likely have an outdated template.

    I don't use SVG images, so I am not sure why they wouldn't display. If you start a conversation with me and attach a couple of the SVG images, I can do some testing. I've used SVG images for Category Icons before without any issues tho.

    My GUESS is that these issues you are having are do to outdated templates. If you give me an Admin CP login, I can look at the templates and see where the issues are.
    loslobos1 likes this.
  10. loslobos1

    loslobos1 New Member Pickem

    Fixed problem bob. Its my mistake. I forget update at control panel after upload files in ftp.
    Bob likes this.
  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.