• Resolved 32bitExplosion

    (@32bitexplosion)


    Hi there,

    both the shortcode [dpa-user-achievements-index] and the menu item “My Achievements” are not working for me.
    The former produces an error message: “This is somewhat embarrassing, isn’t it? No achievements were found.”, the latter just leads to the corresponding user’s blog posts (/?author=1/achievements is the same as /?author=1). All the other shortcodes work just fine.

    http://sheer-insanity.de/?page_id=1164
    On this page I use [dpa-leaderboard], [dpa-user-achievements-index] and [dpa-achievements-index].
    Though the website is mostly in German, I think you can see the problem.
    http://sheer-insanity.de/?author=1/achievements
    This page should supposedly lead to my achievements, but, as said before, it just leads to my regular posts.

    I am using WordPress 3.8.1 and Achievements 3.5.1, the other plugins used are Progress Bar, TablePress, WOW Recruitment Widget and WP-Members. Deactivating any or all of them doesn’t do anything. My Theme is a slightly modified version of Twentytwelve.

    https://wordpress.org/plugins/achievements/

Viewing 7 replies - 1 through 7 (of 7 total)
  • Thread Starter 32bitExplosion

    (@32bitexplosion)

    Alright, consider this half-resolved. Got the “My Achievements” part fixed – stupid mistake on my side.

    On the other hand, the shortcode I mentioned – [dpa-user-achievements-index] – still displays the same error message. What excatly is this shortcode supposed to do?

    Plugin Author Paul Wong-Gibbs

    (@djpaul)

    Hi

    Not all of the shortcodes are meant to be able to be used everywhere. I am generally not keen on shortcodes, but posted a list elsewhere on this support forum sometime ago, which is where I guess you found them.

    The “dpa-user-achievements-index” shortcode is probably not working because it can’t find a user ID to look up the list of the user’s achievements. It’s used internally when on the /author/paulgibbs/achievements/ -type pages and it has special detection to grab the right user ID.

    I would have to add some kind of user ID parameter for the shortcode to get it to work, which I’ll consider adding to the next version. However… things like pagination wouldn’t work if people used the shortcode multiple times for different users on the same page — which would probably just end up giving me more support quests — so that’s kind of why I haven’t done it already.

    Thread Starter 32bitExplosion

    (@32bitexplosion)

    Thank you for your reply.

    I’m guessing you want to avoid using javascript? If not, you could look into TablePress for example, as I can use several tables with dynamic pagination on one page.
    I must add that I have no idea whatsoever concerning coding of this sort, so I’m glad about any functional plugin.
    That said I want to thank you for your work on this achievement plugin – it’s really appreciated.

    Plugin Author Paul Wong-Gibbs

    (@djpaul)

    Thanks 🙂

    I have the same problem with the User Achievement Link. How do you fix it 32bitExplosion?

    Thread Starter 32bitExplosion

    (@32bitexplosion)

    I downloaded BuddyPress which in turn made me change the Permalinks.
    It might be enough though to change the Permalinks (Dashboard -> Settings -> Permalinks (in case that’s their English name)) to something else than standard. I’m using numeric (or numeral?): /Archive/%post_id%

    Plugin Author Paul Wong-Gibbs

    (@djpaul)

    Old thread, but @32bitexplosion is correct. In theory “default” (aka ugly or default permalinks) should work but there must be a bug somewhere. URLs look better when you set a permalink option anyway, so it’s not high on my list of things to correct.

Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘User Achievement Index not working’ is closed to new replies.