• Resolved Gen0sse

    (@gen0sse)


    First of all I’d like to thank you for creating and releasing this WP plug-in since I’ve been looking for something similar for a very long time. 🙂

    Secondly I’ve got a question for you: after d/ling and installing this plugin I wanted to get an output of it using the widget and a shortcode. Unfortunately either of them showed up all the information I was asking for (check list below)

    {{FORUM_TITLE}}<br>
    {{MEMBER_COUNT}}<br>
    {{TOPIC_COUNT}}<br>
    {{POST_COUNT}}<br>
    {{LAST_POST}}<br>
    {{RECENT_POSTS}}<br>
    {{NEWEST_MEMBER}}<br>
    {{FORUM_LINK}}<br>
    {{RECENT_POSTS}}

    Just the forum title and the link to it have been displayed. What did I miss?

    https://wordpress.org/plugins/cleverwise-phpbb-statistics/

Viewing 5 replies - 1 through 5 (of 5 total)
  • Plugin Author Me

    (@cyberws)

    Let’s make sure WPAPI is working correctly.

    Alter the link below to insert the URL to your PHPBB board and secret key then paste it into your web browser and see if some statistics are generated and report back.

    [URL TO YOUR PHPBB INSTALL]/styles/wpapi/wpapi.stats.php?s=[ENTER YOUR SECRET KEY]

    Ex:

    http://www.mysite.tld/phpbb/styles/wpapi/wpapi.stats.php?s=AS1C2949Zk392898

    Thread Starter Gen0sse

    (@gen0sse)

    Thank you for your quick reply! 🙂

    I’ve done what you’ve suggested and got this output in my browser

    Warning: mysqli_fetch_array() expects parameter 1 to be mysqli_result, boolean given in /www/htdocs/v034437/phpBB3/styles/wpapi/wpapi.stats.php on line 131
    
    Warning: mysqli_fetch_array() expects parameter 1 to be mysqli_result, boolean given in /www/htdocs/v034437/phpBB3/styles/wpapi/wpapi.stats.php on line 131
    
    Warning: mysqli_fetch_array() expects parameter 1 to be mysqli_result, boolean given in /www/htdocs/v034437/phpBB3/styles/wpapi/wpapi.stats.php on line 131
    
    Warning: mysqli_fetch_array() expects parameter 1 to be mysqli_result, boolean given in /www/htdocs/v034437/phpBB3/styles/wpapi/wpapi.stats.php on line 131
    
    Warning: mysqli_fetch_array() expects parameter 1 to be mysqli_result, boolean given in /www/htdocs/v034437/phpBB3/styles/wpapi/wpapi.stats.php on line 131
    a:5:{s:8:"user_cnt";s:3:"496";s:9:"topic_cnt";s:4:"6800";s:8:"post_cnt";s:5:"71529";s:8:"last_mem";s:14:"2223|O'Donovan";s:9:"last_post";a:5:{i:0;s:39:"1|3|10696|105990|Re: Ts due for renewal";i:1;s:40:"1|322|10694|105991|Re: News, News, News!";i:2;s:41:"1|322|10696|105992|Re: Ts due for renewal";i:3;s:39:"1|3|10697|105993|Happy Birthday, Ghost!";i:4;s:38:"1|3|10694|105994|Re: News, News, News!";}}

    Does this help you?

    Plugin Author Me

    (@cyberws)

    Yeah those errors are messing up the plugin. It should only have stats and not Warning.

    Okay I updated the WPAPI. So please download and upload them to the WPAPI directory. You don’t need to edit anything as it won’t overwrite your config file.

    Thread Starter Gen0sse

    (@gen0sse)

    Alright!

    After uploading the files everything worked fine. 🙂

    Thank you for your efforts, Jeremy!

    Plugin Author Me

    (@cyberws)

    Good deal. That was my error and my apologies for the confusion.

    I am marking this issue resolved.

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Missing bits’ is closed to new replies.