• Hi, been using this plugin and seems to be working great so far.
    Just wanted to know if a poll from specific forum post can be shown to wordpress as widget. Thanks

Viewing 8 replies - 1 through 8 (of 8 total)
  • Plugin Author axew3

    (@axewww)

    Hi i’m just over to add posts, that i do not like as feature, for reasons explained on several topics, by the way it will be added as classic wp shortcode, because requested several times, so with
    [w3forumpost id="100"] shortcode
    will be possible to display the phpBB posts content, as/into WP posts.
    Now, this is very easy cleaning up any bbcode on phpBB post: much less formatting the posts as it is on phpBB. I’ve check several patterns, but all leads to me to a confusion and never perfect. I’ve also check for implementation of the phpBB bbcode functions converted for wp, as done for something else already into plugin, but in this case it is little more complicate. I’ll see to improve as much i can before the release (will be added on next coming).
    So i’ll see what happen adding also (formatted) pools in same way … i think maybe will not be so easy, but we’ll see…

    P.s anybody can point me to a good library that do the dirty work to convert bbcode into WP allowed html posts tags?
    ?? this would be very, very nice …

    Plugin Author axew3

    (@axewww)

    p.s i’ve +- finished the addition of phpBB posts formatted into WP posts with an easy function very away to be perfect, but that work +- decently. I will try to see about a better one lib if i’ll find out one in the while.

    But about the above, of course i’ve misunderstand the meaning …
    i assume you would like to see Pool into widget like something graphic representing the result?

    Thread Starter kachan64

    (@kachan64)

    sorry for late reply, did not get email notification for some reason.
    okay. thanks for the heads up and help.
    yeah, bit like what wp polls plugin for wordpress does, but load the poll from a post id if the post has a poll created.

    Thread Starter kachan64

    (@kachan64)

    have you check this out? https://blog.phpbb.com/2009/11/09/how-to-display-posts-and-topics-on-external-pages/ This allows phpbb posts to display to external pages.

    Plugin Author axew3

    (@axewww)

    No because it require to load phpBB code, while we are in WP side.
    I’ve check for a lib, that i’ve not understand in true, why it is so complicate, and due to not updates from long time, i’ve choose to not use it.
    Maybe this is true that the bbcode is the same from long time, so no updates are needed. The lib class is here:
    https://christian-seiler.de/projekte/php/bbcode/index_en.html
    So i’ve choose to add a custom bbcode parser, that cleanup code, and render the result into WP posts, with really less code.

    It is not perfect, but +- work fine.
    I’ve realize the best way to do all things when i’ve finish to code the little parser function. By the way, it render all default phpBB bbcodes tags, included the bbcode code tags. The way it parse/render the bbcode code tag, is (to me) tricky, and never fail. All should be rewrite in this way for any bbcode tag. May i’ll explain why, and how to do, in the coming basic tutorial, about phpBB posts shortcode for WP posts.

    About this option, will be maybe also added the capability limit for users, that need to be an admin or editor to use it? Think yes.

    Thread Starter kachan64

    (@kachan64)

    Fair enough
    That what I thought:
    Guest – No access/must be logged in
    Logged In Users – Check poll to see if already voted
    Admin – Full access
    Editor – Wouldn’t editor just a regular users?

    • This reply was modified 7 years, 7 months ago by kachan64.
    Plugin Author axew3

    (@axewww)

    hi, sorry can you explain better the above? I’ve not understand what you refer/mean … also thank to me because i’ve mix several things here …

    about shortcode: in effect i was wrong with answer, because in WP default a subscriber cannot insert a post, so can’t use the shortcode. A shortcode can be used only by users that can insert a post, it is not working on a reply.

    So the question could be: limit the shortcode use to admin?
    As actual code, is for contributors, editors, and admins, which can add posts …

    Thread Starter kachan64

    (@kachan64)

    Yes is correct. I don’t think users will need that anyways. Only author, editor or admin may found this feature useful.

    Right, so what I wrote above is the permission check. I was thinking that only admin can have full access and use the code and widget. Maybe author and editor as well but not guest or subscriber. hope that helps…

    • This reply was modified 7 years, 7 months ago by kachan64.
    • This reply was modified 7 years, 7 months ago by kachan64.
Viewing 8 replies - 1 through 8 (of 8 total)
  • The topic ‘Add topic poll as widget’ is closed to new replies.