LOL Well glad to hear but as I am the only person here stating this hack does not work correctly I tried your snipet of code as you have been of help before on solving various voding issues.
You did after all just make the Stats hack PHP compliant
Okay Jordo you are half way there. You can now post a topic only if you post a poll along with it. If you only want to post you still have the problem if polls are enabled in the forum.
You were only somewhat successful in recreating the problem? How so?
Anyway as a admin you still cant edit the poll? You cant close it etc.
Can't speak for the other guy, but it's working fine for me now, no more weird 'NAME' errors when trying to post. Both posting with and without polls works, as does the ability to edit them.
On another note, in your instructions you neglect to add a break to the ubb_new_topic.cgi code right at the end. Thus the line merges with the next 'Sugnature' option under MS IE browsers.
In other words, the first code you have to add into the above file and right at the bottom needs to be more like this:
$vars_wordlets_polls{ipolls_num_options}: ;
Note the
, or just use , the format still isn't perfect, but it's better.
I've got a small problem.... I realize that you cant change the bar images that come with the poll in the style templates but, when I try and update my style templates it tells me that the poll fields (gif images middle/left/right) are required and weren't filled out?
Yes you can simply put it down the bottom bar.gif for the middle poll bar-l.gif for the left poll and bar-r.gif for the right poll. Your style template will update fine. Your bar.gif's should have been copied to your noncgi directory per the instructions.
omegatron - you need to hack the line in public_new_topic_form.pl where it says something like: make sure this section in ultimatebb.cgi is in there correctly:
I am not sure if I am posting this at the right forum, but it is about this poll script, ... I just noticed, if someone insert html tags into the poll options, it messes everything up, maybe you could make it, so the script would ignore html tags?
ok i got a fix, routine wasnt doing what i thought it was. ill post again when i update the instructions (i want to fix a couple things to do with editing so it may be tomorrow).
I've installed the hack and it works great.. but the only thing its missing is when someone votes, it won't move the "topic" to the top like regular messages do.. so eventually, the poll will not even be seen unless someone reply's with a message.
When you go to a Poll topic, you see the results at the top of the topic, however by default I am not getting the option to vote! My users have to view the comments and then back out to get the voting option.
TheBlueFalcon - ok i found the problem. the php accelerator has built in functionality for the polls which i didnt write, but it doesnt take into account polls in private forums. now i havent tried this but it should work (and dont worry it wont break anything:
Okay, maybe I have made an error, but I do not think so, I have re-checked the changes.
I have two problems, maybe they are related?
In the control panel the wordlets list is blank - nothing appears, apart from the button to update the Poll Wordlets - and in each new topic box, there are two boxes above the box to tick for receiving notification via email, but the two boxes have not text next to them.
I also had the control panel issue. It would not let me finish until I forced an image for 3 graphics. I just used a dark star and haven't had any issues, however you guys may want to know!
Thanks again Jordo for all you attention and a great addition to my board!
Yep - did that - even though it is not in the instructions - some of the files are not mentioned.
However - I have just altered it offline, making the phrases English - we do not understand the phase to 'Check a box' I then uploaded it, and it worked - so I guess in the uploading of the file, something failed.
Anyway thanks for a great hack - it apears to be working - so I will release it to the lions
i'm having trouble getting the wordlits working right.. I've done everything it has said, and uploaded the all the files, and set the permission. But the words are just not showing up.
HybridPWF - the modifications wordlets hack might change that line, i cant remember. ill look this weekend and change the instructions if so. thanks for pointing it out.
Donate to UBBDev today to help aid in Operational, Server and Script Maintenance, and Development costs.
Please also see our parent organization VNC Web Services if you're in the need of a new UBB.threads Install or Upgrade, Site/Server Migrations, or Security and Coding Services.