|
Joined: Aug 2000
Posts: 874
Moderator / Developer
|
Moderator / Developer
Joined: Aug 2000
Posts: 874 |
instructions updated to 1.9, just a small syntactic update for UBB pb 2.1Same as my ubb integrated polls for 6.0x. Code cleanup for 6.1.x including functionality for displaying public or login name on comments. big thanks to Tech-Ni-Kal for wordletizing it, doing XHTML (with a lot of help from Gamer Features:Full CP interface to control who can post polls, where they can be posted, and what names to display on comments. Ability for admins (and mods of the forum where poll is posted) to edit polls, close polls (no further voting) and keep poll results hidden (while still allowing voting). Nicely integrated poll creation page. Templates for all publicly displayed HTML. XHTML compliant Wordletized Etc, Etc.  ) - http://www.nl-forums.co.uk/ubb/multihack/ubbpolls.mhp [ 01-23-2002 02:10 PM: Message edited by: jordo ]
|
|
|
|
Joined: May 2001
Posts: 2,798
Member
|
Member
Joined: May 2001
Posts: 2,798 |
Installing right now. I will get back to you..
|
|
|
|
Joined: May 2001
Posts: 2,798
Member
|
Member
Joined: May 2001
Posts: 2,798 |
So far all is working well!! One suggestion, if you want me to I could document it, but I think there should be an option in style templates to change the bar gif and such. If you would like any help creating it I would be glad to save you the time.
Question: When creating a new topic with a poll, where do you put the options for each option for the poll? Because whenever I click create Poll and put 3 options. I get this:
You did not fill out all options. ยป Please use your browser's back button to return.
[ July 31, 2001: Message edited by: Tech-Ni-Kal ]
|
|
|
|
Joined: Aug 2000
Posts: 874
Moderator / Developer
|
Moderator / Developer
Joined: Aug 2000
Posts: 874 |
well if you create a poll with 3 options(by putting a 3 in the box on the new topic page), you will need to fill in all three of the options and the question on the subsequent page. ill add the bar gifs to the style templates sometime (i have it all doc'd up cause i did the same type of thing in sticky threads, so it wont be a problem).
so the sequence for posting a poll is: 1) click new topic button 2) fill in topic subject and message like normal, click the checkbox next to Add Poll, enter a number of options and click the submit button (Add Topic button). 3) fill in poll question and options (all must be filled in), and click submit - your post and your poll will then both be made.
|
|
|
|
Joined: May 2001
Posts: 2,798
Member
|
Member
Joined: May 2001
Posts: 2,798 |
Nevermind, works now.
[ July 31, 2001: Message edited by: Tech-Ni-Kal ]
|
|
|
|
Joined: May 2001
Posts: 2,798
Member
|
Member
Joined: May 2001
Posts: 2,798 |
Are you sure? I can easily add it right now... and then send you the doc. I'd also like to help in any way. Wordlets maybe?? [ July 31, 2001: Message edited by: Tech-Ni-Kal ]
|
|
|
|
Joined: Mar 2000
Posts: 21,079 Likes: 3
I type Like navaho
|
I type Like navaho
Joined: Mar 2000
Posts: 21,079 Likes: 3 |
Looking good Jordo :)I can help with the xhtml, I seem to be getting a good amount of practice with it  I may wait until you've gotten some more bugs worked out, at least until the public template pages are pretty stable. [ July 31, 2001: Message edited by: AllenAyres ]
|
|
|
|
Joined: Dec 2000
Posts: 151
Member
|
Member
Joined: Dec 2000
Posts: 151 |
|
|
|
|
Joined: May 2001
Posts: 88
Member
|
Member
Joined: May 2001
Posts: 88 |
by "controlling where you can post" does this mean that you can control what forums you are allowed to post a poll in? that's the kind of control i'm dying to see 
|
|
|
|
Joined: May 2001
Posts: 2,798
Member
|
Member
Joined: May 2001
Posts: 2,798 |
Exactly what you can do. [ August 01, 2001: Message edited by: Tech-Ni-Kal ]
|
|
|
|
Joined: May 2001
Posts: 2,798
Member
|
Member
Joined: May 2001
Posts: 2,798 |
jordo, was just wondering if you got my zip on the wordlets and such...
|
|
|
|
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'll be installing this on a test site soon and will send you the xhtml-ized template files asap 
|
|
|
|
Joined: May 2001
Posts: 2,798
Member
|
Member
Joined: May 2001
Posts: 2,798 |
Allen, you don't have too. I just finished that. Jordo, if you would like them please tell me.
|
|
|
|
Joined: Aug 2000
Posts: 874
Moderator / Developer
|
Moderator / Developer
Joined: Aug 2000
Posts: 874 |
thanks to some great work by tech-ni-kal zips are updated to v1.8. 
|
|
|
|
Joined: Jun 2001
Posts: 37
Member
|
Member
Joined: Jun 2001
Posts: 37 |
Jordo,
Whats required to up grade from 1.7 to 1.8?
|
|
|
|
Joined: May 2001
Posts: 2,798
Member
|
Member
Joined: May 2001
Posts: 2,798 |
Thanks! 
|
|
|
|
Joined: Nov 2000
Posts: 652
Member
|
Member
Joined: Nov 2000
Posts: 652 |
Right.. :rolleyes: That kinda pisses me off. 
|
|
|
|
Joined: May 2001
Posts: 2,798
Member
|
Member
Joined: May 2001
Posts: 2,798 |
Hey man, I told him you helped...
|
|
|
|
Joined: Nov 2000
Posts: 652
Member
|
Member
Joined: Nov 2000
Posts: 652 |
helped? pretty much re-did all the html to xhtml it was so messy I did not even know what to do with it. 
|
|
|
|
Joined: May 2001
Posts: 2,798
Member
|
Member
Joined: May 2001
Posts: 2,798 |
You never told me that...
|
|
|
|
Joined: Mar 2000
Posts: 21,079 Likes: 3
I type Like navaho
|
I type Like navaho
Joined: Mar 2000
Posts: 21,079 Likes: 3 |
ummmm.. aren't both of you the same ones LK had to give some pointers to for basic xhtml construction?... play nice 
|
|
|
|
Joined: Aug 2000
Posts: 874
Moderator / Developer
|
Moderator / Developer
Joined: Aug 2000
Posts: 874 |
like allen said play nice. i thought you just checked over the XHTML gamer, didnt know you helped, so thank you for doing what you did  . heh, and if my html was sloppy, dont blame me, its the exact format of Ubb templates html... 
|
|
|
|
Joined: Aug 2000
Posts: 874
Moderator / Developer
|
Moderator / Developer
Joined: Aug 2000
Posts: 874 |
youll want to rehack everything, and reupload everything. sorry, but because of wordlets being added it needs to be completely reinstalled to go from 1.7-1.8
|
|
|
|
Joined: Nov 2000
Posts: 652
Member
|
Member
Joined: Nov 2000
Posts: 652 |
k, no trouble here. I am just peachy. 
|
|
|
|
Joined: May 2001
Posts: 2,798
Member
|
Member
Joined: May 2001
Posts: 2,798 |
Yes, sorry. We will play nice.
|
|
|
|
Joined: Feb 2001
Posts: 33
Junior Member
|
Junior Member
Joined: Feb 2001
Posts: 33 |
An error has occured:
/homepages/38/d19856222/htdocs/planetboards/cgi-bin/ubb-cgi/ubb_poll_lib.cgi: syntax error at /homepages/38/d19856222/htdocs/planetboards/cgi-bin/ubb-cgi/ubb_poll_lib.cgi line 157, near "@voters = split(/" syntax error at /homepages/38/d19856222/htdocs/planetboards/cgi-bin/ubb-cgi/ubb_poll_lib.cgi line 166, near "hoice" (called by /homepages/38/d19856222/htdocs/planetboards/cgi-bin/ubb-cgi/ultimatebb.cgi, 602)
Please inform the board administration of this error so that they may fix the problem. Thank you!
I got this error, can anybody help?
|
|
|
|
Joined: Aug 2000
Posts: 874
Moderator / Developer
|
Moderator / Developer
Joined: Aug 2000
Posts: 874 |
[HF]Phoenix - this happens on a poll you have created before anyone has voted?
|
|
|
|
Joined: Nov 2000
Posts: 652
Member
|
Member
Joined: Nov 2000
Posts: 652 |
Re-Hack ultimatebb.cgi and you should be fine.
|
|
|
|
Joined: Feb 2001
Posts: 33
Junior Member
|
Junior Member
Joined: Feb 2001
Posts: 33 |
This happens, when I want to create a poll...but when i will be back from work today, i'll re-hack ultimatebb.cgi
|
|
|
|
Joined: Dec 2000
Posts: 151
Member
|
Member
Joined: Dec 2000
Posts: 151 |
this is happening to me too (when attempting to create a poll)...
I am installing the MOD in beta 1.2
I have hacked, re-hacked, and re-hacked ultimatebb.cgi to no avail
It might have been overlooked but they are syntax errors in ubb_lib_poll.cgi (the stock file that is required - not an edited file)
[ August 07, 2001: Message edited by: CaCoffin ]
|
|
|
|
Joined: Dec 2000
Posts: 151
Member
|
Member
Joined: Dec 2000
Posts: 151 |
the code prior to line 157 is code:
&StandardHTML(qq!$vars_wordlets_err{not_logged_in}
<a href="$vars_config {CGIURL}/ultimatebb.cgi?ubb=login">$vars_wordlets{login_now}</a>!); }
If it is changed to: code:
&StandardHTML(qq!$vars_wordlets_err{not_logged_in}
<a href="$vars_config {CGIURL}/ultimatebb.cgi?ubb=login">$vars_wordlets{login_now}</a>
!); }
the syntax error there disappears however several other errors now pop up: An error has occured: /home/iambornagainru/cgi-bin/ubb/ubb_poll_lib.cgi: syntax error at /home/iambornagainru/cgi-bin/ubb/ubb_poll_lib.cgi line 215, near "if ($permission eq 'private') { $exact_path .= "/private" In string, @this_topic now must be written as @this_topic at /home/iambornagainru/cgi-bin/ubb/ubb_poll_lib.cgi line 215, near "; } # grab topic @this_topic" syntax error at /home/iambornagainru/cgi-bin/ubb/ubb_poll_lib.cgi line 223, near "poll"); " syntax error at /home/iambornagainru/cgi-bin/ubb/ubb_poll_lib.cgi line 246, near "}" (called by /home/iambornagainru/cgi-bin/ubb/ultimatebb.cgi, 519) soooooooo I don't know if that was the syntax error or if I am just creating other errors by changing the placement of the ! [ August 07, 2001: Message edited by: CaCoffin ]
|
|
|
|
Joined: Dec 2000
Posts: 151
Member
|
Member
Joined: Dec 2000
Posts: 151 |
just thought I would add that v1.7 of the poll MOD works with beta 1.2 with no problems
|
|
|
|
Joined: Aug 2000
Posts: 874
Moderator / Developer
|
Moderator / Developer
Joined: Aug 2000
Posts: 874 |
im installing beta 1.2 right now to test/bugfix.
|
|
|
|
Joined: Mar 2000
Posts: 21,079 Likes: 3
I type Like navaho
|
I type Like navaho
Joined: Mar 2000
Posts: 21,079 Likes: 3 |
thanks jordo... I'd like to help with the testing once you've gotten a few of the majors worked out 
|
|
|
|
Joined: Aug 2000
Posts: 874
Moderator / Developer
|
Moderator / Developer
Joined: Aug 2000
Posts: 874 |
ok redownload the zip and reupload ubb_poll_lib.cgi. it seems there was some out of place (X)HTML. Allen - despite the little hiccup here i think this one is fairly stable/bugfree. as a lot of the major stuff got worked out in the 6.0x version. 
|
|
|
|
Joined: Mar 2000
Posts: 21,079 Likes: 3
I type Like navaho
|
I type Like navaho
Joined: Mar 2000
Posts: 21,079 Likes: 3 |
cool.. we'll give it a shot tomorrow night then, my eyes are crossing 
|
|
|
|
Joined: Aug 2000
Posts: 874
Moderator / Developer
|
Moderator / Developer
Joined: Aug 2000
Posts: 874 |
quote: Originally posted by AllenAyres: cool.. we'll give it a shot tomorrow night then, my eyes are crossing
ya i hit that point about an hour ago :
|
|
|
|
Joined: Dec 2000
Posts: 51
Member
|
Member
Joined: Dec 2000
Posts: 51 |
Hi there, did the hack, but cp.cgi is coming up blank.... Any idea where to start looking?
|
|
|
|
Joined: Aug 2000
Posts: 874
Moderator / Developer
|
Moderator / Developer
Joined: Aug 2000
Posts: 874 |
Stang5_0 - if you mean that when you go to the Poll CP it comes up blank, then you need to make sure cp_vars_poll.pl is uploaded to the Templates directory in ASCII mode. if you mean that the main Control Panel Page is coming up blank, then check that everything was added correctly in cp.cgi and also in cp_common.pl.
|
|
|
|
Joined: Dec 2000
Posts: 151
Member
|
Member
Joined: Dec 2000
Posts: 151 |
Ok, I have integrated your update and it all works fine now with beta 1.2 except for one thing.
It has killed the Wordlets menu. The menu itself is there but when I try to select ANY option on the Wordlets menu I get this error:
Bad name after wordlets_cp' at /home/iambornagainru/cgi-bin/ubb/cp_wordlets.cgi line 79.
|
|
|
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
|
|
|
|