| Author |
Post |
|
|
#1 Fri Jul 07, 2006 1:52 pm
|
|
Member
Registered: Jul 2006
Posts: 36
Location: Goslar, Germany
|
Hello everyone, because I'm new to this board let me introduce myself first  Im currently using UseBB to host three boards on my homepages and one board for friends of mine. It is really a great piece of software and I want to say thank you for giving this to the community  Keep on the good work ! Lately I needed a pollsystem and so I tried to integrate one into UseBB. It is a quick but hopefully not too dirty work. Perhaps someone can cross-check the changes I have made, because changing foreign PHP-code can often have unplanned results. Any hints, bugreports and suggestions are greatly appreciated. I have uploaded the files to the UseBB Sourceforge site. A detailed description is included... @Dietrich: Perhaps you can make use of this concept for your development of version 1 or 2 of your great software. Bye Pizza _______________ Talking is silver, writing is gold...
|
|
|
#2 Fri Jul 07, 2006 4:39 pm
|
|
Developer
Registered: Apr 2004
Posts: 2178
Location: Belgium
|
Thanks for contributing, I will test it when I have the time. As for 2.0, polls are becoming a part of the distribution.
|
|
|
#3 Fri Jul 07, 2006 7:37 pm
|
|
Moderator
Registered: Oct 2005
Posts: 424
Location: canada
|
Nice, also feel free to upload it to UseBB Zone's modification database. ( If you want me to stop mentioning this on just about every modification/theme that i see people add here, just tell me Dietrich  )
|
|
|
#4 Sun Jul 09, 2006 12:15 am
|
|
Member
Registered: Jul 2006
Posts: 36
Location: Goslar, Germany
|
Upload completed  _______________ Talking is silver, writing is gold...
|
|
|
#5 Sun Jul 09, 2006 1:21 am
|
|
Moderator
Registered: Oct 2005
Posts: 424
Location: canada
|
Thanks, i've validated it, so it is also now available to download from there  .
|
|
|
#6 Sun Jul 09, 2006 11:13 am
|
|
Member
Registered: Jul 2006
Posts: 36
Location: Goslar, Germany
|
That's fine  _______________ Talking is silver, writing is gold...
|
|
|
#7 Sun Jul 16, 2006 12:07 pm
|
|
Member
Registered: Jul 2006
Posts: 36
Location: Goslar, Germany
|
@Dietrich: Some tags in my form were not xhtml-compliant. From one moment to the other opening a message with a poll produces an xml-error-message. Do you have an idea why this message doesn't come while I was testing the mod ? For example I have used 'selected' instead of 'selected="selected"' or '<input type="hidden">' instead of '<input type="hidden" />'. I have corrected the errors and updated the file on Sourceforge. @Gaia: How can I update the file in UseBB zone ? Or can you take the version from Sourceforge and put it on your site ? _______________ Talking is silver, writing is gold... « Last edit by Pizzamampf on Sun Jul 16, 2006 12:10 pm. »
|
|
|
#8 Sun Jul 16, 2006 4:42 pm
|
|
Developer
Registered: Apr 2004
Posts: 2178
Location: Belgium
|
Maybe you had XHTML headers disabled in the ACP? Just to note, we expect users to write XHTML compliant mods as UseBB's default template is XHTML 1.0 Strict. Without an XHTML header you won't see an error but it still isn't valid.
|
|
|
#9 Sun Jul 16, 2006 6:44 pm
|
|
Member
Registered: Jul 2006
Posts: 36
Location: Goslar, Germany
|
I cannot remember that I have changed this option, but it must be something like this. _______________ Talking is silver, writing is gold...
|
|
|
#10 Thu Jul 20, 2006 11:22 am
|
|
Member
Registered: Jul 2006
Posts: 36
Location: Goslar, Germany
|
The pollsystem now uses the language-support. _______________ Talking is silver, writing is gold...
|
|
|
#11 Thu Jul 20, 2006 1:02 pm
|
|
Member
Registered: Jul 2006
Posts: 36
Location: Goslar, Germany
|
Damn, Dietrich. You are to fast for me  Updatet to 1.0.1. _______________ Talking is silver, writing is gold...
|
|
|
#12 Wed Aug 23, 2006 12:09 pm
|
|
Member
Registered: Aug 2006
Posts: 5
|
SQL query:
- TABLE usebb_polls : d int( 11 ) NOT NULL AUTO_INCREMENT , ostid int( 11 ) NOT NULL , emberid int( 11 ) NOT NULL , nswer int( 11 ) NOT NULL , en int( 11 ) NOT NULL , PRIMARY KEY ( d ) , KEY ostid( ostid ) , KEY emberid( emberid ), KEY en( en )
MySQL said: #1064 - You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '- table usebb_polls: d int(11) NOT NULL auto_increment, ostid int(11) ' at line 1 Hi! I was wondering if someone can give me better code or help me out with this one here ?
|
|
|
#13 Tue Sep 19, 2006 8:21 pm
|
|
Member
Registered: Jul 2006
Posts: 36
Location: Goslar, Germany
|
I have uploaded the new version for 1.0.2. Including a bugfixes for use with friendly URLs. @reset: Sorry I have not seen yout post until now. Please take a look at the new version. I had a mysterious problem with the readme file. It should be corrected now. _______________ Talking is silver, writing is gold...
|
|
|
#14 Fri Dec 15, 2006 4:19 pm
|
|
Member
Registered: Jul 2006
Posts: 36
Location: Goslar, Germany
|
I have updated the patch to version 1.0.3. Although the old version works with 1.0.3 now the nasty warningmessages when using the patch are gone... _______________ Talking is silver, writing is gold...
|
|
|
#15 Sat Mar 17, 2007 5:24 pm
|
|
Member
Registered: Jul 2006
Posts: 36
Location: Goslar, Germany
|
Again no great changes, but I removed the patch-warnings for 1.0.5. _______________ Talking is silver, writing is gold...
|
|
|
#16 Mon Apr 02, 2007 10:58 am
|
|
Member
Registered: Apr 2007
Posts: 3
|
Hi, I'm installing the UseBB 1.0.5, it looks great I'd like to add the MOD POLLS of pizzamampf. I've downloaded it at SourceForge.NETSo I have 2 files, readme.txt and usebb_1.0.5_poll.diff I've modified my database with specifications of readme.txt, but now, I have to use the .diff, but I don't know what to do I think this extension is for CVS or something like that. I didn't find answers on this forum, nor on google, so if somebody could help me with this  ?
|
|
|
#17 Mon Apr 02, 2007 1:12 pm
|
|
Moderator
Registered: Oct 2005
Posts: 424
Location: canada
|
|
|
|
#18 Mon Apr 02, 2007 1:15 pm
|
|
Member
Registered: May 2005
Posts: 292
Location: Washougal, WA
|
Poll system discussions... http://www.usebb.net/community/topic-1215.htmlhttp://usebbzone.com/topic.php?id=63I have no idea about the .diff file, even reading topic Gaia posted, still don't get it.
|
|
|
#19 Mon Apr 02, 2007 2:20 pm
|
|
Developer
Registered: Apr 2004
Posts: 2178
Location: Belgium
|
Topics merged. Please keep the mod support questions in their own topics.
|
|
|
#20 Mon Apr 02, 2007 5:17 pm
|
|
Member
Registered: Apr 2007
Posts: 3
|
Great, thank you. It's great to use, and really simple, when we know what to do phpBB should use the same fonctionnality 
|
|
|
#21 Tue Apr 03, 2007 6:23 pm
|
|
Member
Registered: Jul 2006
Posts: 36
Location: Goslar, Germany
|
Too fast for me to help  Perhaps I should add an additional note in the next readme about the diff-file. The problem seems to come up from time to time... _______________ Talking is silver, writing is gold...
|
|
|
#22 Wed May 09, 2007 5:07 pm
|
|
Member
Registered: Jul 2006
Posts: 36
Location: Goslar, Germany
|
The updated version 1.0.6b has an additional poll-type: If you remove the brackets around "multi" in a newly created poll the user can select multiple answers with checkboxes instead of choosing only one answer from a select-list. You should not change the poll-type on an already running poll, because answers are stored in different ways. So the old user-votes will appear on a wrong answer ! _______________ Talking is silver, writing is gold...
|
|
|
#23 Tue Jun 26, 2007 12:09 pm
|
|
Member
Registered: Apr 2007
Posts: 13
|
Pizza  Is there a way to close the poll so that the results remain visible but no more votes can be cast? Dawn
|
|
|
#24 Tue Jun 26, 2007 6:02 pm
|
|
Member
Registered: Jul 2006
Posts: 36
Location: Goslar, Germany
|
Hi Dawn, you can vote in a poll as long as you can reply in the topic. So you have to lock the topic to close the poll. Greetings Pizza _______________ Talking is silver, writing is gold...
|
|
|
#25 Mon Dec 03, 2007 1:57 am
|
|
Member
Registered: Apr 2007
Posts: 13
|
Pizza, It's me again  ... I've been using this poll for a while, but it's been a month or so since I deployed one and I don't have any past examples to look at  ... can you tell me again exactly what I need to do to put this in the post and show up properly. Right now, all i get is the code generated by the poll button, no dropdown, etc. Dawn
|