Hello,
whenever I create a poll in my forum I get the following error message in side the newly created post: “A Simple Press Poll can only appear in a forum post”. What does it mean ?
Hello,
whenever I create a poll in my forum I get the following error message in side the newly created post: “A Simple Press Poll can only appear in a forum post”. What does it mean ?
well it means just what it says…
you can only create a poll in a post… if you try to put in a sidebar widget, for example, it wont work…
problem there, of course, is that looks like in a post to me…
please verify your wp version, sp version and polls plugin version…
That message is displayed when we dont think we are in the forum…
any chance your forum is displayed twice on the page?? it does not appear that is in the main wp loop…
also maybe check forum – integration – page and permalink and see what you have for the display in loop and display mutiple options… ideally they should be true and false…
The forum is displayed once on the page.
It was “false” and “false”.
When I select “true” for display in loop, the forum completely disappears (there is header and footer of wordpress site, but no body).
WP 3.6, SP 5.3 , Polls 1.3.6
Created a WP page called forum, url = site.com/forum
Select the WP Page to be used to display your forum: Forum
Am I correct here ?
Filter WP list pages TRUE
Load javascript in footer FALSE
Force the strict use of the WP API FALSE
Limit forum display to within WP loop FALSE=forum works fine except for polls, TRUE=forum disappears
Allow multiple loading of forum content FALSE
Bypass wp_head action complete requirement FALSE
well there is the problem… the forum is not being displayed with in the loop… so hence you get the error about must be in forum post…
so try setting the options the way I said… and then turn the strict wp api option on…
what wp theme? and what other plugins?
If I put it within the loop – the forum disappears completely.
WP theme – directory press. Plugins – there are at least 15 of them installed + simple press plugins.
Did you turn on the strict api as requested?
If so, we need to figure out why.. The forum,like any other wp page, should only be displayed within the loop.
Deactivated all the WP-plugins.
There is only the WP-theme (directorypress) and Simple-Forum plugin.
If I put the forum within the loop (with Force the strict use of the WP API or without) – the forum disappears completely.
If it’s not within the loop – it works fine, except for polls not working.
so you have set display multiple true, in loop true and strict wp api true… and as a test, what if you set, display multiple true and display in loop false?
afraid that makes no sense… does this theme use the standard wp loop??? have not heard of it before… for some reason it is displaying the wp page outside the wp loop…
can you try a quick temp switch to the default wp theme and see if anything changes?
so we have to figure out what odd stuff this theme is doing… and why the wp page content is displayed outside the page content… especially with strict api on…
did you post a link to your site?
http://directorypress.net/
This is the theme that I am using. It’s a premium theme, where each blog post becomes a business directory listing. Maybe it has something to do with this loop problem.
If the theme is, for some odd and non-standard reason showing content outside of the loop then it is entirely possible, I would have thought, that there might be theme templates supplied that will allow a more normal usage. It would be worth taking a look at what page templates might be available within the theme and perhaps trying one with the forum page.
Mr.Papa , Yellow Swordfish – I appreciate your help, but I don’t want to take too much of your time on this personal matter. It is indeed a problem with my theme (or maybe an erroneous installation of the theme?), and not with your plugin.
I am very excited about SimplePress and it’s numerous possibilities, so I’ll be fine without the polls in my forum.
Thanks.