|
Joined: Aug 2000
Posts: 874
Moderator / Developer
|
Moderator / Developer
Joined: Aug 2000
Posts: 874 |
redo cp_wordlets.cgi as per updated instructions - there was a missing single quote. 
|
|
|
|
Joined: Dec 2000
Posts: 151
Member
|
Member
Joined: Dec 2000
Posts: 151 |
ok that fixes that problem - there was one other item which causes problems too - With the MOD, as is, the Primary Settings menu turns up blank this line of code is added: code:
document.writeln("<option value="$vars_config {CGIURL}/cp.cgi?ubb=vars_poll&r=$ran"> - Poll Settings</option>");
The syntax does not match the other menu options in that section of cp_common.pl. If the two " are removed the menu works just fine. Resulting in the code looking like: code:
document.writeln("<option value=$vars_config {CGIURL}/cp.cgi?ubb=vars_poll&r=$ran> - Poll Settings</option>");
Thanks again for a great MOD!
|
|
|
|
Joined: Aug 2000
Posts: 874
Moderator / Developer
|
Moderator / Developer
Joined: Aug 2000
Posts: 874 |
ya i had forgotten to fix the instructions with that, i updated the correct one about an hour ago 
|
|
|
|
Joined: Mar 2000
Posts: 21,079 Likes: 3
I type Like navaho
|
I type Like navaho
Joined: Mar 2000
Posts: 21,079 Likes: 3 |
hola! Just installed... pretty straightforward even tho it takes pert near a week to do  Looks nice tho. When trying to add a poll to a forum, everything seems to go well up until I click on submit to add the poll. I then get this error: quote:
FYI The form you submitted appears to be incomplete! You did not complete: message
» Please use your browser's back button to return.
A pretty generic error message, but all fields have been filled out, including the message. Any ideas?
|
|
|
|
Joined: Mar 2000
Posts: 21,079 Likes: 3
I type Like navaho
|
I type Like navaho
Joined: Mar 2000
Posts: 21,079 Likes: 3 |
I am wondering if anyone has installed this yet 
|
|
|
|
Joined: Mar 2000
Posts: 21,079 Likes: 3
I type Like navaho
|
I type Like navaho
Joined: Mar 2000
Posts: 21,079 Likes: 3 |
"view source" on that text if your browser tries to run it as html... you'll see what I mean.
|
|
|
|
Joined: Mar 2000
Posts: 21,079 Likes: 3
I type Like navaho
|
I type Like navaho
Joined: Mar 2000
Posts: 21,079 Likes: 3 |
here's the install file text to correct that problem, I still haven't found what's the deal with the previous problem where I get: quote:
FYI The form you submitted appears to be incomplete! You did not complete: message
» Please use your browser's back button to return.
https://www.ubbdev.com/ubbpollintegrate.txt
|
|
|
|
Joined: Mar 2001
Posts: 7,394
Admin / Code Breaker
|
Admin / Code Breaker
Joined: Mar 2001
Posts: 7,394 |
|
|
|
|
Joined: Aug 2000
Posts: 874
Moderator / Developer
|
Moderator / Developer
Joined: Aug 2000
Posts: 874 |
ok thanks Allen, instructions in zip updated. now as for the other problems, this is a weird one. when i originally moved the poll options page to a page after the post a new topic page, i was getting the same error. i was reproducing all the %in values from the previous (post topic) form as hiddens, but for some reason it only would look at the first 3 of them, then ignore the rest. i fixed it by hard coding the forum (f) hidden as the first one then putting all the rest. now i dont know why its popping up again, cause it works perfect on my test board. so as soon as i can figure out how to replicate it again ill get it fixed. or if you have any ideas of course. take a look for yourself, you can search for $post_data_from_in in ubb_poll_lib.cgi and public_new_poll_form.pl :/
|
|
|
|
Joined: Oct 2000
Posts: 215
Member
|
Member
Joined: Oct 2000
Posts: 215 |
I'm getting the same problem. I'll play with it some and see if I can figure anything out.
Ultimate Frisbee is good for you, it improves your symbolic logic skills.
|
|
|
|
Joined: Aug 2000
Posts: 874
Moderator / Developer
|
Moderator / Developer
Joined: Aug 2000
Posts: 874 |
ok i dont know whats up but i totally cant replicate this problem. ive checked and rechecked and im 99.9% sure i have the same files as in the zip (i just upped them from the zip in fact). so im not sure. if someone who is having this problem would like to try something for me that i think will fix it, pm me, i cant be sure though as im not actually having the problem 
|
|
|
|
Joined: Feb 2001
Posts: 33
Junior Member
|
Junior Member
Joined: Feb 2001
Posts: 33 |
Can you modify this mod to a multiple choice poll?
|
|
|
|
Joined: Aug 2000
Posts: 874
Moderator / Developer
|
Moderator / Developer
Joined: Aug 2000
Posts: 874 |
quote: Originally posted by [HF]Phoenix: Can you modify this mod to a multiple choice poll?
what do you mean? you can put in as many choices as you want.
|
|
|
|
Joined: Feb 2001
Posts: 33
Junior Member
|
Junior Member
Joined: Feb 2001
Posts: 33 |
no, i mean, that you can vote for two or three things....not only for one thing
|
|
|
|
Joined: Oct 2000
Posts: 215
Member
|
Member
Joined: Oct 2000
Posts: 215 |
|
|
|
|
Joined: Aug 2000
Posts: 874
Moderator / Developer
|
Moderator / Developer
Joined: Aug 2000
Posts: 874 |
Ok the bug preventing posting of polls is finally fixed, thanks to Ramirez for testing for me. redownload the zip and upload the following 3 files from it: ubb_poll_lib.cgi public_new_poll_form.pl public_poll_display.pl
|
|
|
|
Joined: Mar 2000
Posts: 21,079 Likes: 3
I type Like navaho
|
I type Like navaho
Joined: Mar 2000
Posts: 21,079 Likes: 3 |
That seems to have done it 
|
|
|
|
Joined: Mar 2001
Posts: 7,394
Admin / Code Breaker
|
Admin / Code Breaker
Joined: Mar 2001
Posts: 7,394 |
Yep... Just a suggestion, to show the subject when somebody votes. In ubb_poll_lib.cgi [code][/code] Also, some parts aren't Worldetized, like this one, and your package includes vars_wordlets_mods.cgi Other than that, it works great 
|
|
|
|
Joined: Mar 2001
Posts: 7,394
Admin / Code Breaker
|
Admin / Code Breaker
Joined: Mar 2001
Posts: 7,394 |
Hmm... Allen... the isn't supposed to have font-family:, just font-size
|
|
|
|
Joined: Mar 2001
Posts: 7,394
Admin / Code Breaker
|
Admin / Code Breaker
Joined: Mar 2001
Posts: 7,394 |
Another thing, you don't have to &set_page_elements in ubb_poll_lib.cgi and public_poll_page.pl, otherwise there will be 3 in the topic (like "UBBDev.com: : : Windows or Mac?")
|
|
|
|
Joined: Mar 2001
Posts: 7,394
Admin / Code Breaker
|
Admin / Code Breaker
Joined: Mar 2001
Posts: 7,394 |
Also, it's not so secured.
Fix: In ultimatebb.cgi:[code][/code] Also, ubb_poll_lib.cgi should censorcheck/checkhtml the subject, and censor/html/Graemlin/UBBCode check the poll options. Can I post an updated ubb_poll_lib.cgi?
|
|
|
|
Joined: Oct 2000
Posts: 215
Member
|
Member
Joined: Oct 2000
Posts: 215 |
Hey jordo, is there anyway to do an anonymous poll? Or atleast make it so that, if desired on a certain poll, you wouldn't be able to see the results without looking at the data files directly? One of our webmasters asked about this, so I thought I'd ask you.
Ultimate Frisbee is good for you, it improves your symbolic logic skills.
|
|
|
|
Joined: Dec 2000
Posts: 51
Member
|
Member
Joined: Dec 2000
Posts: 51 |
Greetings!!!
I get the following error when I goto my forum:
An error has occured:
package 'vars' not registered for warnings at Modules/AutoLoader.pm line 4
Please inform the board administration of this error so that they may fix the problem. Thank you!
Ideas?
Ok, now it has gotten worse, I did in fact back up my files.....Restored them till I got an answer on the above, and I am still getting the same error.... Do you suppose this is server side?
[ August 11, 2001: Message edited by: Stang5_0 ]
|
|
|
|
Joined: May 2001
Posts: 315
Member
|
Member
Joined: May 2001
Posts: 315 |
Yo Jordo. Other members can view the edit poll even whenever they weren't the creator of that poll.
|
|
|
|
Joined: Aug 2000
Posts: 874
Moderator / Developer
|
Moderator / Developer
Joined: Aug 2000
Posts: 874 |
LK - thanks for the tips, a few things got missed in the upgrade to 6.1.0 and wordletizing. ill sit down later today and fix em and a few other things ive been meaning to fix. afterlab - only admins and mods (of that forum) can edit the polls. the poll starter cant (because you can change # of votes).
|
|
|
|
Joined: Jan 2001
Posts: 1,309
Member / Blamoholic
|
Member / Blamoholic
Joined: Jan 2001
Posts: 1,309 |
would it be possible for me to add a poll button beside the new reply button, and then make a new template file just for the poll? Would it require much work?
|
|
|
|
Joined: Jan 2001
Posts: 1,309
Member / Blamoholic
|
Member / Blamoholic
Joined: Jan 2001
Posts: 1,309 |
whoops...
[ August 13, 2001: Message edited by: Bookie - ]
|
|
|
|
Joined: Aug 2000
Posts: 874
Moderator / Developer
|
Moderator / Developer
Joined: Aug 2000
Posts: 874 |
Bookie - it would require a number of modifications in addition to the template. its set up to be integrated with normal posting routines. its not impossible or anything, just might take a little work. and to enable polls in whichever forums you want go into your CP and under primary settings, there is a Poll Settings option. from there you can set what forums allow polls, etc.
zips updated with some fixes. smilies are now allowed in poll titles (not in options though). and checks for html as well as query method are done. i also cleaned up the code in the poll_lib and got everything in that file wordletized.
to upgrade, simply reupload vars_wordlets_polls.cgi, and ubb_poll_lib.cgi, then rehack ultimatebb.cgi.
|
|
|
|
Joined: Jan 2001
Posts: 1,309
Member / Blamoholic
|
Member / Blamoholic
Joined: Jan 2001
Posts: 1,309 |
ah yes, lots of modifications that im not willing to do and about the other thing i figured that i forgot to hack cp_common.pl RIGHT before u posted
|
|
|
|
Joined: Oct 2000
Posts: 215
Member
|
Member
Joined: Oct 2000
Posts: 215 |
Another question Jordo. Is it possible to have the last post time updated when a vote is made instead of just when comments are made? It could be easy to lose a poll in a high-traffic forum even if it's getting votes, if noone is making comments.
Ultimate Frisbee is good for you, it improves your symbolic logic skills.
|
|
|
|
Joined: Jan 2001
Posts: 1,309
Member / Blamoholic
|
Member / Blamoholic
Joined: Jan 2001
Posts: 1,309 |
AAAH! crap...
now whenever i go to post a poll i get an FYI saying
$vars_wordlets_polls{ipolls_blank_option}
|
|
|
|
Joined: Dec 2000
Posts: 151
Member
|
Member
Joined: Dec 2000
Posts: 151 |
bookie I would suggest using the sticky hack to have your polls stay at the top in a high volume thread
|
|
|
|
Joined: Jan 2001
Posts: 1,309
Member / Blamoholic
|
Member / Blamoholic
Joined: Jan 2001
Posts: 1,309 |
Ok, im a moron... i figured out why, yet again another hacking error on behalf of me
|
|
|
|
Joined: Mar 2000
Posts: 21,079 Likes: 3
I type Like navaho
|
I type Like navaho
Joined: Mar 2000
Posts: 21,079 Likes: 3 |
jordo, please check this thread:
https://ubbdev.com/ubbcgi/ultimatebb.cgi?ubb=get_topic;f=10;t=001256
|
|
|
|
Joined: Jul 2000
Posts: 53
Member
|
Member
Joined: Jul 2000
Posts: 53 |
Jordo, I just installed the hack..by the way great improvement from 1.4 Anyway, everything works great except when i try to delete a poll, i get this: Any ideas? I looked through ubb_topic_maint.cgi, and everything seemed to be ok.
|
|
|
|
Joined: Aug 2000
Posts: 874
Moderator / Developer
|
Moderator / Developer
Joined: Aug 2000
Posts: 874 |
TedBrown - does that only happen when you try to delete a thread with a poll, or when you try to delete any thread? if only threads with polls, try removing the one thing this hack adds to ubb_topic_maint.cgi and see if it still gives that error.
|
|
|
|
Joined: Jul 2000
Posts: 53
Member
|
Member
Joined: Jul 2000
Posts: 53 |
i checked and its for deleting any thread, and closing a thread doesnt work either. Its weird because the script works fine.
|
|
|
|
Joined: Mar 2001
Posts: 7,394
Admin / Code Breaker
|
Admin / Code Breaker
Joined: Mar 2001
Posts: 7,394 |
Maybe it was posted/fixed before, but there is a bug with quotes in posts: Fix in ubb_poll_lib.cgi: I'm using the first beta because of many changes (like to use member numbers instead of names in topic.poll, check for many things, etc), but I don't think it's fixed also in the current one. [edit: replaced " with " so you can see it. it automatically translates it to " otherwise] [ August 23, 2001: Message edited by: LK ]
|
|
|
|
Joined: Aug 2000
Posts: 874
Moderator / Developer
|
Moderator / Developer
Joined: Aug 2000
Posts: 874 |
thanks LK for the fix. i totally missed that and no one had said anything yet  . ubb_poll_lib.cgi updated.
|
|
|
|
Joined: Jul 2000
Posts: 53
Member
|
Member
Joined: Jul 2000
Posts: 53 |
i found out what the error was
even though i knew i had to add it twice, i didnt add the code to both instances in that file.
Thanks
|
|
|
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.
|
|
Posts: 417
Joined: November 2001
|
|
Forums63
Topics37,575
Posts293,930
Members13,823
|
Most Online6,139 Sep 21st, 2024
|
|
Currently Online
Topics Created
Posts Made
Users Online
Birthdays
|
|
|
|