Previous Thread
Next Thread
Print Thread
Rate Thread
Page 2 of 6 1 2 3 4 5 6
Joined: Aug 2000
Posts: 45
Member
Member
Offline
Joined: Aug 2000
Posts: 45
Hack works great!!

Cup o suggestions:
------------------------------------------
1. Ability to show all the board's polls on one page

2. When a person votes, have it display what they voted for , not just the comment. For instance, I get comments that say "I agree" but no indication of what they voted on.
-----------------------------------------

Thats it .

[ June 03, 2001 03:10 AM: Message edited by: rodster ]

Sponsored Links
Joined: May 2001
Posts: 52
Member
Member
Offline
Joined: May 2001
Posts: 52
i've have thought about recording which option a person votes for, but doing so you loose the anonymity that some people might want or require.

anyway, an idea would be to make classes of polls:
* Secret Polls
* Open Polls
* Polls w/ Write-In
* Polls which you can change your vote
* Polls that you can select more than one option.
* etc.

If anyone is seriously interested in these varieties or have some other suggestions, I would consider coding them up.

Joined: Jan 2001
Posts: 72
Member
Member
Offline
Joined: Jan 2001
Posts: 72
Well I would like the secret polls.

And a way to change your vote, or delete your vote all togather.

Joined: Apr 2001
Posts: 10
Junior Member
Junior Member
Offline
Joined: Apr 2001
Posts: 10
http://game-storm.org/forum/cgi-bin/ultimatebb.cgi?ubb=get_topic&f=1&t=000295
where is my error??
i want the field bigger and vote or so in the field
thx for every help

Joined: Apr 2001
Posts: 254
Member
Member
Offline
Joined: Apr 2001
Posts: 254
anyone solved the 2 New Topic Button problem yet?

Sponsored Links
Joined: Apr 2001
Posts: 254
Member
Member
Offline
Joined: Apr 2001
Posts: 254
I solved it!! The 2 button New Topic Problem!!!

OK. the soloution!
In ubb_forum.cgi
Find where u added this
$new_topic_button .= qq(  $vars_wordlets{post_new_topic}); # olson

And alter $vars_style{BBTopic} to $vars_style{BBPoll}
so that the line looks like this

$new_topic_button .= qq(  $vars_wordlets{post_new_poll}); # olson

Well, I off to celebrate!
oh don't forget to clear your cache

[ June 03, 2001 09:09 AM: Message edited by: Cyberdude8472 ]

Joined: Mar 2001
Posts: 326
Member
Member
Offline
Joined: Mar 2001
Posts: 326
My suggestion is to make any poll topics show up at the top of a topics (per forum) list in a style not unlike the original Who's Online script. Would look kind of sexy =).

Ideally you'd show the polls subject and also the total votes so far, keeping it simply, yet attractive. This should ONLY be for topic display pages, it might screw up on others due to some people (myself) using Cat's Only etc.

Joined: Feb 2001
Posts: 110
Member
Member
Offline
Joined: Feb 2001
Posts: 110
Doesnt WORK! well first of all the New Poll image isnt even showing.. and polls never show up... and it seems everyone is having the same problem. :rolleyes:

Joined: Nov 2000
Posts: 169
Member
Member
Offline
Joined: Nov 2000
Posts: 169
Is the Rebuild Forum Stats bug still there or did some one fix it

ps: maybe you should add UBBPoll as a REQUIREMENTS

REQUIREMENTS: A full version of UBB 6.0 & UBBPoll installed laugh


Some men live for others and make their presence known
Some men live in seclusion and choose to live alone...
Some men live for justice and walk inside the law
But of these men, the group I'm in
are the men behind the wall...
- Gato Suertudo
Joined: May 2001
Posts: 52
Member
Member
Offline
Joined: May 2001
Posts: 52
ruph:
I think ubbdev.com is proof that it works.

Read Cyberdude8472 series of post ifs you are having problems getting the post button to come up. Make sure that there is an entry in all your var_style_X.cgi files for BBPoll.

indoe:
UBB Polls and Thread-Integrated Polls are quite different and exist independent of each other. You can probably use both if you'd like.

The rebuild bug was for the Search Index, I wasn't aware of a Forum Stat's Bug?? Anyway that's been fixed for a while and is included in the zip file.

Axel:
You can adjust the size of the poll table in public_poll_page.pl file. You probably shouldn't mess too much around with the results table, but you can play around with the ballot table.

I'm going to added some variables so you can adjust the size of the results from the control panel. Currently if you increase the size of the results table, the bar graph will not take up the full width it's cell.

Sponsored Links
Joined: Apr 2001
Posts: 5
Junior Member
Junior Member
Offline
Joined: Apr 2001
Posts: 5
Call me stupid, (and maybe I am !)

But when I try to make a new poll i get the following message

"You have used invalid characters in the Poll Options Field.

Valid Character include: Any Alpha Number Combinations with the following characters: ! - . , & '
» Please use your browser's back button to return. "

What am I doing wrong?

Many Thanks

[ June 05, 2001 06:01 AM: Message edited by: Paul G ]

Joined: Sep 2000
Posts: 159
Member
Member
Offline
Joined: Sep 2000
Posts: 159
I got the same exact results as Ruph.

Joined: Apr 2001
Posts: 5
Junior Member
Junior Member
Offline
Joined: Apr 2001
Posts: 5
Yes ! I was stupid, I found the straight line on my keyboard and it is working fine.

I would like to make a suggestion, and that is, can you make this hack compatable with the Hide Forum hack ? When trying to make a poll in a hidden forum, I get the following message

Error -- Email Olson & Report the Following Error:

The C:/inetpub/wwwroot/ubbforum/ubb/Forum14/000006-vote.cgi file could not be opened because: No such file or directory.

The file is there, but I don't think the script can see it because of the way the Hide Forum hack works.

Many Thanks

[ June 05, 2001 07:21 AM: Message edited by: Paul G ]

Joined: Feb 2001
Posts: 110
Member
Member
Offline
Joined: Feb 2001
Posts: 110
see.. even Ellen is having the same prob.. anyone actually got this hack to work!? i really want this hack!! I have a 6.04e UBB.. and every other hack i've installed worked perfectly.. cept this one...

Joined: Mar 2000
Posts: 21,079
Likes: 3
I type Like navaho
I type Like navaho
Joined: Mar 2000
Posts: 21,079
Likes: 3
Quote
quote:

ummm.. here...:) I am using the same instructions you guys are as well....


- Allen wavey
- What Drives You?
Joined: Nov 2000
Posts: 169
Member
Member
Offline
Joined: Nov 2000
Posts: 169
so i dont need ubbpoll installed?


Some men live for others and make their presence known
Some men live in seclusion and choose to live alone...
Some men live for justice and walk inside the law
But of these men, the group I'm in
are the men behind the wall...
- Gato Suertudo
Joined: Mar 2000
Posts: 21,079
Likes: 3
I type Like navaho
I type Like navaho
Joined: Mar 2000
Posts: 21,079
Likes: 3
Everyone needs to make sure they have DPK's wordlet dev kit installed, seems to be a common problem in both poll script installs. You can find it here:

http://www.nfscheats.com/users/DPK/scripts/cgi_perl/mods_wordlet_devkit_0.1.zip

Fairly easy to install, most finished modifications require this before hand...

We'll try to make the instructions to add this more visible.


- Allen wavey
- What Drives You?
Joined: Mar 2001
Posts: 335
Member
Member
Offline
Joined: Mar 2001
Posts: 335
dammit:

i thought i had it all working, clicked new poll button, went inside made a poll the thread had [Poll] at end and the discription, but the poll wasent there!!!

tryed this twice, and cleared my cashe 4 times, my forums http://www.cnc-revolution.com/cgi-bin/ubb/ultimatebb.cgi

please take a look to see if you can find out the problem...

Joined: Feb 2001
Posts: 110
Member
Member
Offline
Joined: Feb 2001
Posts: 110
is DPK's thing ur talking about the same as the vars_wordlets_mods.cgi? i already have that installed.. unless DPK's is a different one. I'll try installing it again..

Joined: Feb 2001
Posts: 110
Member
Member
Offline
Joined: Feb 2001
Posts: 110
ok.. i have tried and tried and i'm pretty damm sure i hacked everything 100% correctly!! the New Poll image wont isnt showing and the poll doesnt show up either when you post it... someone please help me!!! heres the link to my board http://www.demobreakers.f2s.com/cgi-bin/ultimatebb.cgi frown

[ June 06, 2001 10:46 AM: Message edited by: ruph ]

Joined: Nov 2000
Posts: 915
Developer
Developer
Offline
Joined: Nov 2000
Posts: 915
Quote
quote:

yes. there are two differnet places where you can download it, which might confuse you. qasic modified my kit, but the file on his site and my site are exactly the same. mirroring the same file i guess you could say.

Joined: Nov 2000
Posts: 915
Developer
Developer
Offline
Joined: Nov 2000
Posts: 915
Code
quote:</font><HR>Originally posted by ruph:
ok.. i have tried and tried and i'm pretty damm sure i hacked everything 100% correctly!! the New Poll image wont isnt showing and the poll doesnt show up either when you post it... someone please help me!!! heres the link to my board http://www.demobreakers.f2s.com/cgi-bin/ultimatebb.cgi :(<HR></BLOCKQUOTE>

<BLOCKQUOTE><font size="1" face="Verdana, Helvetica, Arial">code:

^ are you sure you defined the image, look at your ubb style template(s).

Joined: Feb 2001
Posts: 110
Member
Member
Offline
Joined: Feb 2001
Posts: 110
ok kool.. i got it to work except not perfectly.. when i move a poll to another forum it disappears.. and hacks like Glow Name thing by Ramirez and Allow Admin to post HTML dont seem to take effect when you post a poll.. samething for avatar and my Rank name (Administrator) doesnt appear either.. but its kool. beta is beta laugh

Joined: May 2001
Posts: 315
Member
Member
Offline
Joined: May 2001
Posts: 315
HEEEEELP! it's like totally messing up my board.. take a lookie: http://www.thunderwave.net/community/ubb/ubbcgi/ultimatebb.cgi?ubb=get_topic&f=16&t=000004

Joined: May 2001
Posts: 315
Member
Member
Offline
Joined: May 2001
Posts: 315
can anyone help me? it's basically a problem with my public_poll_page.pl file.

Joined: May 2001
Posts: 52
Member
Member
Offline
Joined: May 2001
Posts: 52
Afterlab:
Simple solution. There are no spaces in between the bars when you create the poll.

You have Philly| |LA Lakers ...
You need Philly||LA Lakers ...

Ruph
The poll gets moved to the new location. I'll work on a way for it to look better after it has been moved. It will probably be a little graphic where the poll was saying ... "This polls has moved".

I also believe it says in the instructions that any modifications that you made to the public_topic_page.pl need to be made to the public_poll_page.pl. Do you have the lastest version?

[ June 06, 2001 01:47 PM: Message edited by: Olson ]

Joined: Apr 2001
Posts: 27
Junior Member
Junior Member
Offline
Joined: Apr 2001
Posts: 27
$$$$$$$$$$$$$$$$$$$$$$
$$$ ultimatebb.cgi $$$
$$$$$$$$$$$$$$$$$$$$$$

###
### Find:
###

if(($in{ubb} =~ m/^(newtopic|submit_new_topic|get_topic|reply|submit_new_reply|get_ip|delete_topic|close_topic|open_topic|next_topic|transfer|transfer_topic|edit_post|submit_edit|forum)$/) && ($in{f} =~ m/^d+$/)) {


###
### Add in after newtopic: newpoll|newvote|
### The final product should look somthing like the following:
###

if(($in{ubb} =~ m/^(newtopic|newpoll|vote|submit_new_topic|get_topic|reply|submit_new_reply|get_ip|delete_topic|close_topic|open_topic|next_topic|transfer|transfer_topic|edit_post|submit_edit|foru m)$/) && ($in{f} =~ m/^d+$/)) { # olson



My 6.0 ultimatebb.cgi does not have that. Instead all the routines are in their own little function. Example:



if ($ubb eq 'newtopic') {
&WriteUserSession("$vars_wordlets_mods{whos_online_composing_topic} "$whos_online_name_of_forum"");
undef($who_online_subject);
undef($whos_online_name_of_forum);
require "$vars_config{CGIPath}/ubb_new_topic.cgi";
&new_topic_page; exit;
} #end newtopic

if ($ubb eq 'submit_new_topic') {
require "$vars_config{CGIPath}/ubb_new_topic.cgi";
&submit_new_topic; exit;
} #end submit_new_topic

if ($ubb eq 'get_topic') {
&WriteUserSession("$vars_wordlets_mods{whos_online_reading} "$who_online_subject" $vars_wordlets_mods{whos_online_in} "$whos_online_name_of_forum"");
undef($who_online_subject);
undef($whos_online_name_of_forum);
require "$vars_config{CGIPath}/ubb_get_topic.cgi";
&get_topic($in{f}, $in{t}); exit;
} #end get_topic



What do I do??????

[ June 06, 2001 01:49 PM: Message edited by: PainLord ]

Joined: May 2001
Posts: 52
Member
Member
Offline
Joined: May 2001
Posts: 52
Upgrade.

Joined: Apr 2001
Posts: 27
Junior Member
Junior Member
Offline
Joined: Apr 2001
Posts: 27
LOL. Somehow I knew someone would say that. I have way too many hacks installed to upgrade.

What about this?

REQUIREMENTS: A full version of UBB 6.0
COMPATABILITY: 6.0 +

Joined: May 2001
Posts: 2,798
Member
Member
Offline
Joined: May 2001
Posts: 2,798
Maybe they are wrong laugh

Joined: Apr 2001
Posts: 27
Junior Member
Junior Member
Offline
Joined: Apr 2001
Posts: 27
Nah. They are not wrong. They just failed to mention, or perhaps they just didn't know, that you could totally skip that part in 6.0 and it will work. It did for me laugh

Everything else in ultimatebb.cgi I followed to a T.

Joined: May 2001
Posts: 315
Member
Member
Offline
Joined: May 2001
Posts: 315
hey thanks olson! but that wasn't my MAIN problem, my big problem was that the bottom line (registered, posts, location, ip) was in the column with my avatar hack, member name, ratings and so on.. How am I suppose to fix it? I have tried soo many things that I am about to explode. mad

Joined: Feb 2001
Posts: 26
Member
Member
Offline
Joined: Feb 2001
Posts: 26
I keep receiving compilation errors in ultimatebb.cgi even on the forum summary page. I'm running version 6.04e

When I add my in front of the
$is_a_poll = 1;

$st = $in{st};

$sl = $in{sl};

And take out
local( $is_a_poll = 0 ); # olson

the forum summary page works fine. Even if I do that when I click new poll the regular new topic page shows

[ June 06, 2001 10:49 PM: Message edited by: Divine Narcotic ]

Joined: Feb 2001
Posts: 110
Member
Member
Offline
Joined: Feb 2001
Posts: 110
the poll doesnt work with ubbnews hack.. the poll doesnt show in the news...

Joined: Mar 2001
Posts: 21
Junior Member
Junior Member
Offline
Joined: Mar 2001
Posts: 21
Anyone know why I get this long header message at the top of the poll when I call it via the exec cgi command on my main page. I get a similar thing in the whos online SSI hack as well. You can see the problem HERE ON MY HOMEPAGE . Anyone have any ideas on a fix for this? Also notice that the ubbnews which uses the same SSI call has no such header message.

Joined: May 2001
Posts: 52
Member
Member
Offline
Joined: May 2001
Posts: 52
afterlab:
That is an issue with tables. You are missing a rowspan="2" in one of the
blocks.

find in public_poll_page.pl:



And in your next
block make sure rowspan="2" is included. I see from the html source code on your page that it isn't.

PainLord:
If you wanna send me an email, I'll look at your 6.0 problem a bit closer. ryan@si.fi.ameslab.gov

Divine Narcotic:
The $is_a_poll variable is VERY important. When you click the create a new poll, you use the SAME template and same cgi files as you do when you create a new topic. However, if it is a poll, which is signified by the value of the $is_a_poll variable, then a few extra options are available.

Adding a my is definitely not the answer because 'my' defines the scope of the variable to that file only. So my $is_a_poll has meaning ONLY in ultimatebb.cgi, but actually needs to have meaning in ubb_new_topic.cgi.

I'm not sure why your getting the error, and since I haven't upgraded to 6.04e I can't really test this out. However, I see that Allen is running it fine on 6.04e. smile

Try this:
remove: local( $is_a_poll = 0 ); #olson

replace that with:
local( $is_a_poll, $st, $sl );
$is_a_poll = 0;

Then remove the 'my' tags that you added ...

highaltitudeimports:
You are getting the http header printed. I'm willing to bet that if you look in your vars_config.cgi file you will find this number in there. '2452055.0517'

Some reason the header is getting printed. I'm sorry, I can't reproduce that error. What is the exact ssi call you are using?

[ June 07, 2001 06:05 AM: Message edited by: Olson ]
Joined: Feb 2001
Posts: 26
Member
Member
Offline
Joined: Feb 2001
Posts: 26
That didn't work... I still get this error message "Execution of ultimatebb.cgi aborted due to compilation errors." Maybe allen could tell me.

[ June 07, 2001 09:44 AM: Message edited by: Divine Narcotic ]

Joined: Mar 2001
Posts: 21
Junior Member
Junior Member
Offline
Joined: Mar 2001
Posts: 21
This is the exact call i'm using
Code
code:

Joined: Feb 2001
Posts: 110
Member
Member
Offline
Joined: Feb 2001
Posts: 110
try using other SSI calls.. like
Code
code:

Joined: Apr 2001
Posts: 27
Junior Member
Junior Member
Offline
Joined: Apr 2001
Posts: 27
Olson: Thanks man I appreciate that smile
But I'm good to go now and don't need no help. Like I said a few replies back, I merely skipped over that part and it worked flawlessly.

FYI, and anyone else who has 6.0 that may have the same problem I did, here is what I skipped:

Code
code:

All the other coding for ultimatebb.cgi I still did. tipsy

Page 2 of 6 1 2 3 4 5 6

Link Copied to Clipboard
Donate Today!
Donate via PayPal

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.
Recommended Hosts
We have personally worked with and recommend the following Web Hosts:
Stable Host
bluehost
InterServer
Visit us on Facebook
Member Spotlight
Posts: 70
Joined: January 2007
Forum Statistics
Forums63
Topics37,573
Posts293,925
Members13,849
Most Online5,166
Sep 15th, 2019
Today's Statistics
Currently Online
Topics Created
Posts Made
Users Online
Birthdays
Top Posters
AllenAyres 21,079
JoshPet 10,369
LK 7,394
Lord Dexter 6,708
Gizmo 5,833
Greg Hard 4,625
Top Posters(30 Days)
Top Likes Received
isaac 82
Gizmo 20
Brett 7
Morgan 2
Top Likes Received (30 Days)
None yet
The UBB.Developers Network (UBB.Dev/Threads.Dev) is ©2000-2024 VNC Web Services