|
Joined: Jun 2001
Posts: 25
Junior Member
|
Junior Member
Joined: Jun 2001
Posts: 25 |
Ahh ok i c... then its not something i did wrong its just a bug in the code ahhh thats ok... The problem with me is that i know i should wait untill things become ver1 but i hate to wait cuz there are mods i want to install now, and my coding skills are somewhere between zero and well zero.. 
-joey
|
|
|
|
Joined: Feb 2001
Posts: 74
Member
|
Member
Joined: Feb 2001
Posts: 74 |
Users can vote more than once on my board too. Can this be fixed? This didn't exsist on Beta 1.5, which I just upgraded from.
{SFP} Sonic Expecting the Unexpected!
|
|
|
|
Joined: Feb 2001
Posts: 74
Member
|
Member
Joined: Feb 2001
Posts: 74 |
{SFP} Sonic Expecting the Unexpected!
|
|
|
|
Joined: Jun 2001
Posts: 2
Junior Member
|
Junior Member
Joined: Jun 2001
Posts: 2 |
yeah, I got the same problem. There will always be some wise guy to vote 10 times and throw off the whole poll.
I hope this can be fixed soon.
|
|
|
|
Joined: Apr 2001
Posts: 2
Junior Member
|
Junior Member
Joined: Apr 2001
Posts: 2 |
to prevent users from voting twice find this line in ubb_poll.cgi (in do_vote sub) and replace it with this
|
|
|
|
Joined: Jun 2000
Posts: 44
Member
|
Member
Joined: Jun 2000
Posts: 44 |
Thanks. That worked for 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 |
Thanks for that bugfix Gaurdian...
One more:
Right above the above fix, there's some capitalization problems that doesn't help either.
Find:
while() {
Replace with:
while() {
Just upload ubb_poll.cgi from the zip if you've already installed, zip has been updated with the fixes.
|
|
|
|
Joined: Feb 2001
Posts: 74
Member
|
Member
Joined: Feb 2001
Posts: 74 |
I ran into a problem right away. In ubb_poll.cgi, it claims it couldn't find vars_memberlist.cgi on Line 21. I removed that line, and everything started tow work ok, but I get this Content-Type: text/html; charset=ISO-8859-1 on the top of every page in the poll system. My Poll system is located at http://www.starfleetplatoon.com/BB/cgi-bin/ultimatebb.cgi?ubb=poll
{SFP} Sonic Expecting the Unexpected!
|
|
|
|
Joined: Apr 2001
Posts: 240
Member
|
Member
Joined: Apr 2001
Posts: 240 |
^ | | Can anyone help 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 |
it sounds like you didn't finish it...
|
|
|
|
Joined: Apr 2001
Posts: 240
Member
|
Member
Joined: Apr 2001
Posts: 240 |
Aww, I'll re-hack from backups.
|
|
|
|
Joined: Apr 2001
Posts: 240
Member
|
Member
Joined: Apr 2001
Posts: 240 |
Yeah Allen, that worked! Thanks so much.
Quick question though : Where it says poll, ID, etc., how can I get an image named table.gif instead of a color as the background for those cells.
|
|
|
|
Joined: Feb 2001
Posts: 74
Member
|
Member
Joined: Feb 2001
Posts: 74 |
{SFP} Sonic Expecting the Unexpected!
|
|
|
|
Joined: Jul 2001
Posts: 22
Junior Member
|
Junior Member
Joined: Jul 2001
Posts: 22 |
quote:</font><hr>Originally posted by Sonic: ....work ok, but I get this [b]Content-Type: text/html; charset=ISO-8859-1 on the top of every page in the poll system.[/b]<hr></blockquote>
I get the exactly same problem as Sonic. When I view the sourc of the html file, I see this: <blockquote><font size="1" face="Verdana, Helvetica, Arial">code: and this "Content-Type: text/html" text are showing on top of every page in the poll
|
|
|
|
Joined: Jul 2001
Posts: 22
Junior Member
|
Junior Member
Joined: Jul 2001
Posts: 22 |
Can someone please help with this problem of me and Sonic?
|
|
|
|
Joined: Mar 2000
Posts: 21,079 Likes: 3
I type Like navaho
|
I type Like navaho
Joined: Mar 2000
Posts: 21,079 Likes: 3 |
it also shows up at the top of every page in your ubb, it's part of the ubb code. if you are running in english, you can most likely delete that from public_common.pl
|
|
|
|
Joined: Apr 2001
Posts: 2
Junior Member
|
Junior Member
Joined: Apr 2001
Posts: 2 |
i added a bar graph at the poll summary page that shows how many members have voted 'till now (in percent) http://www.yumetal.net/cgi-bin/ubbcgi/ultimatebb.cgi?ubb=poll if someone likes it I can post the needed add-ons to the code...
|
|
|
|
Joined: Apr 2001
Posts: 79
Member
|
Member
Joined: Apr 2001
Posts: 79 |
hi it was instaled succefful! bi enter to my cp panel after configure polls and NO links!! no link to edit poll no link to the add poll etc only description
can some body help me ?
if you see the flash... -------------------- it`s already too late
|
|
|
|
Joined: Apr 2001
Posts: 79
Member
|
Member
Joined: Apr 2001
Posts: 79 |
oh sorry thats ok  ) i forget to upload a vars_worldets_mods
if you see the flash... -------------------- it`s already too late
|
|
|
|
Joined: Mar 2000
Posts: 21,079 Likes: 3
I type Like navaho
|
I type Like navaho
Joined: Mar 2000
Posts: 21,079 Likes: 3 |
you'll need to find the $MainButtons = qq! line in ubb_lib.cgi and add : | $vars_wordlets_mods{polls_vote}after the memberlist entry [ August 05, 2001: Message edited by: AllenAyres ]
|
|
|
|
Joined: Jul 2001
Posts: 272
Member
|
Member
Joined: Jul 2001
Posts: 272 |
Thanks Allen, Couldn't remember which file controlled the links..now the question is how can I format them so its not one big line? Secondly when in the Polls why am I getting: Content-Type: text/html; charset=ISO-8899-1 at the top of the page? I've removed this stupid character set from my style sheet and still it persists? 
|
|
|
|
Joined: Jul 2001
Posts: 7
Junior Member
|
Junior Member
Joined: Jul 2001
Posts: 7 |
This is a sweet looking Poll setup, I have it installed but I am having 2 problems: 1) I am getting the "Content-Type: text/html" message in the Poll screens, but no where else in the UBB 2) Also after I made the poll, I voted with my user account (non-admin account) and it didn't count the vote, I logged off my account and logged in as another account and it counted theirs ; any ideas. 3)Also when trying to delete the poll through Control Panel - it says something about .cgi could no be deleted because it couldn't find it.
The poll looks great though, and thanks for all the hard work - I have been waiting for a poll forever.
Is that right?
|
|
|
|
Joined: Apr 2001
Posts: 79
Member
|
Member
Joined: Apr 2001
Posts: 79 |
it strange guys but i dont have any problems http://www.flashpointer.ru/cgi-bin/forum/ultimatebb.cgi?ubb=poll i have a russian board , so for make it windows-1251 i make my self a modificaion I change all $masterchart to windows-1251 in many files on the board
if you see the flash... -------------------- it`s already too late
|
|
|
|
Joined: Jul 2001
Posts: 7
Junior Member
|
Junior Member
Joined: Jul 2001
Posts: 7 |
My poll won't update - if someone votes, and goes to view it, everything says zero as if noone ever voted. Also - I chmod'd all files int the cgi-bin/poll directory to 777 and then it would count a vote. But the next time it wouldn't update, any ideas?
Thanks for the help Erik
Is that right?
|
|
|
|
Joined: Aug 2001
Posts: 16
Junior Member
|
Junior Member
Joined: Aug 2001
Posts: 16 |
yes, somebody definitely needs to come up with a bug fix or solution as to why "Content-Type: text/html; charset=ISO-8859-1" appears above the main graphic after deleting the neccessary line from ubb_poll.cgi. I'm too new to be intellegent enough to fix this.  [ August 17, 2001: Message edited by: Milton Waddams ]
somebody please find my stapler.
|
|
|
|
Joined: Aug 2001
Posts: 16
Junior Member
|
Junior Member
Joined: Aug 2001
Posts: 16 |
also, after I vote, the next page it takes me to is pretty much blank except for that same "Content-Type: text/html; charset=ISO-8859-1" message, and a "Click Here" type line.
Very basic, but this poll is still very cool!
At this point, after we vote in a poll, is the next page supposed to be very generic?
somebody please find my stapler.
|
|
|
|
Joined: Feb 2001
Posts: 74
Member
|
Member
Joined: Feb 2001
Posts: 74 |
Here is why the Content-Type is showing up: It is appearing before the tag.
{SFP} Sonic Expecting the Unexpected!
|
|
|
|
Joined: Jun 2001
Posts: 17
Junior Member
|
Junior Member
Joined: Jun 2001
Posts: 17 |
ok, but where do i fix that? I didn't see it in any of the files. Which file will have that header error in it? sorry, Im kinda new 
I'm Milton's alter Ego
|
|
|
|
Joined: Nov 2000
Posts: 19
Member
|
Member
Joined: Nov 2000
Posts: 19 |
is no one going to tell us how to add this in the forum summary ala who is online?? i think that will make this hack actually useful.
|
|
|
|
Joined: Aug 2001
Posts: 11
Junior Member
|
Junior Member
Joined: Aug 2001
Posts: 11 |
Content-Type: text/html Always in the top-left of the poll-pages. VERY ANNOYING. But prolly not worth to spend time on to fix it, since they have a newer version out. Bad service... 
|
|
|
|
Joined: Mar 2001
Posts: 75
Member
|
Member
Joined: Mar 2001
Posts: 75 |
Hi! I installes this Hack, works great, but if just the Link to the Poll would show up! There is no Link showing up on my Main Page that links to the Poll. And like so may others, part of that header tag appears at my board as well. Can anybody help, please?
In God we trust, all others pay Cash!
|
|
|
|
Joined: Mar 2001
Posts: 75
Member
|
Member
Joined: Mar 2001
Posts: 75 |
I just can't figure this out. The whole Poll System works great, the Link and everything is there, it's just that UBB does not show a Link to the Poll. Should I just add a Link to the Poll in public_forum_summary.pl or would this not be a good Idea? Please somebody help! 
In God we trust, all others pay Cash!
|
|
|
|
Joined: Sep 2001
Posts: 39
Member
|
Member
Joined: Sep 2001
Posts: 39 |
|
|
|
|
Joined: Apr 2001
Posts: 36
Member
|
Member
Joined: Apr 2001
Posts: 36 |
The content thing still apears on the top-left on all my Poll pages...
ANybody knows a fix... can't wait forever for this.
Regards, Michael
|
|
|
|
Joined: Apr 2001
Posts: 36
Member
|
Member
Joined: Apr 2001
Posts: 36 |
Come on, doesn't anybody knows how to fix it?
Your all geniuses right?
I'm just a fool...with a low IQ.
Sorry for asking help.
Michael
|
|
|
|
Joined: Jun 2001
Posts: 1
Junior Member
|
Junior Member
Joined: Jun 2001
Posts: 1 |
The Content-Type: text/html; charset=ISO-8859-1 problem has to have something to do with the new files, obviously. I'm no wiz at Perl, but I know enough to get around UBBs. I'm going to try tommorrow to work it out, but I'd much rather have someone whos already solved the problem, or knows where to look lend a hand here...
|
|
|
|
Joined: Jun 2001
Posts: 104
Member
|
Member
Joined: Jun 2001
Posts: 104 |
Hey guys i am gonna work on fixing the bugs on this script hopefully. Yes i know there are a lot of em.  I said hopefully so don't get your hopes up. Since i am not the creator of this hack i am not gonna put it on as high of importance as my board when i get my board done and when i have time i am gonna work on this script. [ 09-15-2001: Message edited by: The eXtreme One ]
|
|
|
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: 1,157
Joined: July 2001
|
|
Forums63
Topics37,575
Posts293,931
Members13,823
|
Most Online6,139 Sep 21st, 2024
|
|
Currently Online
Topics Created
Posts Made
Users Online
Birthdays
|
|
|
|