Support » Plugin: Cleverwise phpBB Statistics » 5 last different topic reply

Viewing 15 replies - 1 through 15 (of 18 total)
  • Plugin Author Jeremy O'Connell

    (@cyberws)

    Thanks.

    The code seems to work I just haven’t uploaded it to WP yet.

    Hi Jeremy,
    you mean that this will work?
    {{LAST_POST-3}}

    but you still have to upload it?

    will it take 5 last post from 5 different last active topics?

    Kind regards,

    Jerome

    Ah,
    and is it possible to add time and user poster?

    Like:
    last post:
    5 last different topic reply by bidiesman on 11/09/2015 16h45

    Actually there was another plugin I was using in the past.. but now it diesn’t work anymore with phpbb3.1…
    that was the plugin:
    https://wordpress.org/plugins/phpbb-topics-portal/

    Cheers,

    Jerome

    Plugin Author Jeremy O'Connell

    (@cyberws)

    Currently there is just one simple tag that will grab the last five post titles (with link) and author name. To see it in action visit the URL below and look on the right hand column (if using a computer) there are two forums.

    http://www.armadafleetcommand.com/

    I do need to post the update soon.

    Plugin Author Jeremy O'Connell

    (@cyberws)

    Currently the addition doesn’t grab the time but it does display the title (linked) and author. It is a single tag that you add into the theme design and grabs the last five posts.

    To see it in action visit the URL below. There are two different forums on the right hand side, when viewing it with a computer.

    http://www.armadafleetcommand.com/

    Plugin Author Jeremy O'Connell

    (@cyberws)

    Currently the addition doesn’t grab the time but it does display the title (linked) and author. It is a single tag that you add into the theme design and grabs the last five posts.

    Hi Jeremy,
    can you confirm the tag to place to get the 5 last page and author?

    I only see these tags:
    {{FORUM_TITLE}} = Forum Title
    {{MEMBER_COUNT}} = Total Member/user Count
    {{TOPIC_COUNT}} = Total Topics/thread Count
    {{POST_COUNT}} = Total Post Count
    {{LAST_POST}} = Last Post To Forum
    {{NEWEST_MEMBER}} = Newest Member To Join
    {{FORUM_LINK}} = Creates Link To Main Forum Index

    and {{LAST_POST}} = Last Post To Forum
    only display one post and no author.

    Is there any other tags?? It will be awesome.

    thanks again for your quick answer.

    Jerome

    Plugin Author Jeremy O'Connell

    (@cyberws)

    There isn’t a tag in the currently released one.

    I’ll try and release it today or tomorrow. You’ll need to look for version 1.7 of plugin and it will require a WPAPI update which is the biggest reason I haven’t released it. I need upload that to another site.

    Ok waiting forward for it.

    ps: about wpapi folder it was personally a bit tricky to understand and being sure I was placing the folder on the right place.

    I think you should add an extra note inside the readme file:
    like:
    wwww.mywebsite.com/phpbb_root/style/wpapi

    ps: is this wpapi folder really need to be there?
    with the previous plugin everything was in wordpress plugin folder:
    https://wordpress.org/plugins/phpbb-topics-portal/

    Keep me in touch 😉

    Jerome

    Plugin Author Jeremy O'Connell

    (@cyberws)

    It is styles but correct:

    wwww.mywebsite.com/phpbb_root/styles/wpapi

    I understand and will look into it. The wpapi allows you to pull data from forums not on the same website (or even server, hosting company, etc) and allows for multiple forum stats (up to three). I do understand with this ability it makes things a little more complex than just upload a plugin and go.

    I’ll try to get the plugin released today but it will be several hours as I got some appointments coming up at moment.

    Plugin Author Jeremy O'Connell

    (@cyberws)

    Version 1.7 now supports showing last five posts with member name.

    Hi jeremy,
    Thanks for this quick release:
    I did a small hack to get some bullet list:

    ===>$forum_stats_post_list .='<ul>';
    	$forum_stats_posts=$forum_stats['last_post'];
    	if (isset($forum_stats_posts)) {
    			$cw_phpbb_i='0';
    			foreach ($forum_stats_posts as $forum_stats_post) {
    				$forum_stats_post=explode('|',$forum_stats_post);
    				$form_status_post_url_build=sprintf($cw_phpbb_stats_post_url,$forum_details['forum_url'],$forum_stats_post[0],$forum_stats_post[2],$forum_stats_post[3]);
    			=====>	$forum_stats_post_list .='<li><a href="'.$form_status_post_url_build.'">'.$forum_stats_post[4].'</a> - '.$forum_stats_post[1].'</li>';
    				if ($cw_phpbb_i === '0') {
    						$cw_phpbb_stats_last_post='<a href="'.$form_status_post_url_build.'">'.$forum_stats_post[4].'</a>';
    				}
    				$cw_phpbb_i++;
    			}
    	======> $forum_stats_post_list .='</ul>';
    	}

    As far as I see it’s working well now. 🙂 but it takes the 5 last posts.and not the 5 last different topic reply.
    imagine 5 reply in a same topic and we have no more idea about other topics.

    Is this difficult to implement?

    Thanks 😉

    Plugin Author Jeremy O'Connell

    (@cyberws)

    Good deal.

    Yes the plugin was designed to show the last recent posts on the board. Obviously, as you state, you could have several responses to the same thread. The original intent was simply to show the last five active posts not threads.

    At present there are no plans to alter based on topic but I can add to a possible future list. You, of course, are free to modify the plugin. It could be done.

    Sure,
    But I don’t think I will make things write^^. to make the loop looking for next post with different topic.

    I’m already happy like this and the result here in live:
    http://www.kitesurfeur.be
    😉

    Hum,..
    Just noticed…
    There is a problem with the link… for last post.
    it sends to the first page of the topic and not the last..:s
    is it easy to fix?

Viewing 15 replies - 1 through 15 (of 18 total)
  • The topic ‘5 last different topic reply’ is closed to new replies.