Previous Thread
Next Thread
Print Thread
Rate Thread
Page 3 of 6 1 2 3 4 5 6
Joined: Feb 2001
Posts: 30
Junior Member
Junior Member
Offline
Joined: Feb 2001
Posts: 30
Hi,
Really looking forward to this hack and would like to install now, but after reading the warning about the posible preview post problems decided to wait and see if anything was sorted so that both mods would work together. Is there any plans to work around this problem? Or do i have to decide on one hack or the other?
Cheers.
Viking30


My UBB

Sponsored Links
Joined: May 2001
Posts: 52
Member
Member
Offline
Joined: May 2001
Posts: 52
I haven't installed the post preview on my board, so I can't really support it ... yet.

I'm planning on installing the post preview, so once I get around the problems, I'll update the install files.

Maybe this weekend? But probably next.

Joined: Jun 2001
Posts: 11
Junior Member
Junior Member
Offline
Joined: Jun 2001
Posts: 11
it would be great if you can add the following option:

Every user can vote only once. If someone tries to vote again, he gets an error message or so...

then your hack would be greater than now wink

(please, i need an option like that, its important, thx!!!)


cya
Joined: Feb 2001
Posts: 26
Member
Member
Offline
Joined: Feb 2001
Posts: 26
I got the poll button and new poll page to work but now when I view a poll it shows a regular topic.

I have a question am I supposed to put "newvote" or "vote"?
Code
code:

Joined: Jun 2001
Posts: 11
Junior Member
Junior Member
Offline
Joined: Jun 2001
Posts: 11
i've used "newvote". and it works fine

[[dont forget my question wink ]]

[ June 08, 2001 04:14 PM: Message edited by: [JAM]Steel ]


cya
Sponsored Links
Joined: Feb 2001
Posts: 26
Member
Member
Offline
Joined: Feb 2001
Posts: 26
I figured out how to replace the new topic words on the new poll page. But you'll need the mod wordlets.

################################
Open public_new_topic_form.pl
################################
FIND:
################################
# standard top of HTML page

################################
ADD ABOVE:
################################
if( $is_a_poll ) {
$topicpoll = $vars_wordlets_mods{post_new_poll};
$topicpoll2 = $vars_wordlets_mods{submit_new_poll};
} else {
$topicpoll = $vars_wordlets{post_new_topic};
$topicpoll2 = $vars_wordlets{submit_new_topic};
}

################################
FIND (You will find it more than once)
################################
$vars_wordlets{post_new_topic}

################################
REPLACE WITH
################################
$topicpoll

################################
FIND (You will find it more than once)
################################
$vars_wordlets{submit_new_topic}

################################
REPLACE WITH
################################
$topicpoll2


################################
Open vars_wordlets_mods.cgi
################################
FIND:
################################
%vars_wordlets_mods = (

################################
ADD UNDER:
################################
post_new_poll => "Post New Poll",
submit_new_poll => "Add New Poll",
################################

# That's it

Joined: May 2001
Posts: 52
Member
Member
Offline
Joined: May 2001
Posts: 52
[JAM]Steel
Quote
quote:
When a user has not voted, they see a ballot.
After the user has voted, they see the results.
They do not have the option to vote again. If they wanna try to vote again by using their back button and getting the poll's ballot again, they can ... however when they try to submit a second vote, they recieve an error message saying that they've already voted.

So I don't exactly see your point ...

Divine Narcotic
Good point ... It should be 'vote' not 'newvote'.

Joined: Apr 2001
Posts: 27
Junior Member
Junior Member
Offline
Joined: Apr 2001
Posts: 27
Quote
quote:

Vik, I have the post preview hack installed on 6.0, and this hack works fine with it with the exception of a minor bug. And that is if you preview your poll before you post it will say "Can Not Vote Without Comment" and not show you what your poll looks like. That little bug does not bother me because I have a test forum on my UBB that all my users test stuff in. I've also seen some people on here talking about compatability with the other Poll hack, the one admins create in the CP. I have that too and there is no problems.

[ June 08, 2001 11:07 PM: Message edited by: PainLord ]

Joined: Jun 2001
Posts: 11
Junior Member
Junior Member
Offline
Joined: Jun 2001
Posts: 11
well, it seems that you don't understand my problem:

a)When a poll is started, a user is seeing the ballot and he can choose one of the answers.
b)The User clicks on the vote Button. Then there is a page where he gets an information about his vote like "Your vote for No will be recorded. You also have the option to leave a comment that will show up like a reply. This is optional, so you can leave the message box empty.". Now he leaves a comment or not and clicks on the Add Reply-Button.
c)Instead of viewing the results now, UBB takes him back to the poll thread. There he can see the ballot again. He can vote and he can click on the Vote button again. By repeating these steps the user can vote agian, and again, and again, and everey vote will be reocrded and takes effect on the results.

I've never seen a page that tells the user that he can't vote again, and i've never seen a link to the results. When i want to see the reults, i must type in the URL manually.

Test it, for example here:
https://www.ubbdev.com/ubbcgi/ultimatebb.cgi?ubb=get_topic&f=10&t=000982


Please answer, thx

[ June 09, 2001 02:35 PM: Message edited by: [JAM]Steel ]


cya
Joined: May 2001
Posts: 1
Junior Member
Junior Member
Offline
Joined: May 2001
Posts: 1
There is another big bug !!

When you want to edit a reply in the poll, the poll will be deleted !!

Sponsored Links
Joined: Jun 2001
Posts: 297
Member
Member
Offline
Joined: Jun 2001
Posts: 297
Olson, You put a button that say s"post poll" right? well You did the wrong sized font, but it would look weird if it were the right size but hey. heres what I made that is the right size.
[Linked Image]

Joined: Feb 2001
Posts: 110
Member
Member
Offline
Joined: Feb 2001
Posts: 110
Quote
quote:
That never happens to me.. members can only vote once.. even after loggin in and out.. check it out.. http://www.demobreakers.f2s.com/cgi-bin/ultimatebb.cgi

it doesnt work with glow name or any other hacks that affect threads like stars etc... theres also bugs when moving the poll and editing it.. and it doesnt show up in ubbnews when you post it.. so theres ALOT of bugs but for now its good enuff.. am diggin it!
laugh

Joined: Jun 2001
Posts: 11
Junior Member
Junior Member
Offline
Joined: Jun 2001
Posts: 11
well, yeah i've checked it at your board ruph...

there it works fine, you're right..

but i can't explain why it doesn't work correctly at my board, and here at UBBDev it doesn't work, too. here i can vote as many times as i want...?!?

i've edited everything like it is described in the install.txt of the zip. ´possible that there are some mistakes in txt? or could my problem has enything to do with the chmod-ing of the poll cgi and pl file??

i dont know...


cya
Joined: Feb 2001
Posts: 26
Member
Member
Offline
Joined: Feb 2001
Posts: 26
When I submit a poll I get a FYI message saying "You are attempting to reach a page that does not exist." Any ideas on what's wrong?

Joined: Dec 2000
Posts: 62
Member
Member
Offline
Joined: Dec 2000
Posts: 62
Thanks for this great hack !!:)
Works like a charme,and with some copy&paste from my public_topic_page.pl to the public_poll_page.pl the stars,avatar etc.. works to.
Loving it !!:)

Joined: Feb 2001
Posts: 110
Member
Member
Offline
Joined: Feb 2001
Posts: 110
it might be your cache.. UBBDev works just fine for me.. you might wanna cheq to see if your browser has cache enabled... whats the link to your board?

Joined: May 2001
Posts: 198
G5 Offline
Member
Member
Offline
Joined: May 2001
Posts: 198
I installed this and noting comes up at all no "new poll" button or anything.

Joined: Feb 2001
Posts: 30
Junior Member
Junior Member
Offline
Joined: Feb 2001
Posts: 30
Hi guys,
Well installed and almost working fine. Even with preview post hack. Just one small problem. In netscape i get a "nbsp" in front of the poll items. This doesn't show when using IE. Any ideas on what i might have done wrong? Or a fix to this small problem?
Thanks.
Viking.

[ June 11, 2001 07:48 AM: Message edited by: viking30 ]

Joined: Feb 2001
Posts: 30
Junior Member
Junior Member
Offline
Joined: Feb 2001
Posts: 30
Hi,
Its ok i found the problem. sub print_ballot_option just took out the nbsp's
And works for me now.
Cheers.
Viking.

Joined: Jun 2001
Posts: 11
Junior Member
Junior Member
Offline
Joined: Jun 2001
Posts: 11
a part from the poll_install.txt:

Quote
quote:
what the hell is numer??

has it to be number?

why does my forum let the users vote as much as they want and doesn't show the results?

(it shows never the reults)


cya
Joined: Feb 2001
Posts: 26
Member
Member
Offline
Joined: Feb 2001
Posts: 26
ruph: I mean my ubb. I installed the hack. and now when I submit a poll it says I'm attempting to access a page that doesn't exist.

Joined: Feb 2001
Posts: 110
Member
Member
Offline
Joined: Feb 2001
Posts: 110
dunno.. you might have hacked sumthing wrong.. it took my forever to get the hack working my self.. triple cheq the codes n stuff.. frown

Joined: May 2001
Posts: 52
Member
Member
Offline
Joined: May 2001
Posts: 52
[JAM]Steel
if($this_user_numer eq chomp($stat_line[9]) ) { $is_owner = 1; }

This line is actually going to be used for later options, mainly allowing the creator or admin/mod to perform special functions. It is actually not meant to be in the install directions, but it won't effect anything.

Joined: Feb 2001
Posts: 110
Member
Member
Offline
Joined: Feb 2001
Posts: 110
whens the next version coming out??.. you got alot of bugs to fix laugh great hack!

Joined: Jun 2001
Posts: 11
Junior Member
Junior Member
Offline
Joined: Jun 2001
Posts: 11
well, that doesn't matter, ok.

But i can't get the hack to work correctly, users can still vote when they want, and as much as they want. I've hacked every file 3 times, what am i doing wrong??

my previously installed hacks:

-HyperCells
-AIM/ICQ Status
-HTML in signatures
-Forum Statistics


cya
Joined: Apr 2001
Posts: 6
Junior Member
Junior Member
Offline
Joined: Apr 2001
Posts: 6
Olson laugh Great hack man, it worked on first try for me smile

I would like to know 2 things:
  • I would like to disable special character check, my UBB run in Portuguese and we use a lot of special stuff, like ç á é à ã and others.
  • Is it possible to restrict the post of new polls to admins and/or moderators, or activate/de-activate poll in specific forums ?
Once more, great hack laugh

Thnx

gilfil

[ June 12, 2001 02:25 PM: Message edited by: gilfil ]

Joined: May 2001
Posts: 88
Member
Member
Offline
Joined: May 2001
Posts: 88
I think I'll try it when it can only be used on one forum at a time... smile I'll have some confused members :b they're used to ezblow :rolleyes:

Joined: Apr 2001
Posts: 6
Junior Member
Junior Member
Offline
Joined: Apr 2001
Posts: 6
I did got the folowing error:
Code
code:

To correct it is only necessary find out the following code:
Code
code:

One time on ubb_poll_ssi.cgi (line 16) and two times on ubb_new_reply.cgi (lines 95 and 458) and replace them by:

Code
code:

Well... at least it did worked for me.

Best Regards

Gilfil

[ June 13, 2001 10:53 PM: Message edited by: Knutt Ballz ]

Joined: Jun 2001
Posts: 11
Junior Member
Junior Member
Offline
Joined: Jun 2001
Posts: 11
gilfil i love you!!!

it works for me fine, now the hack is complete, thx!!!!!!!!!!!


cya
Joined: Jun 2001
Posts: 11
Junior Member
Junior Member
Offline
Joined: Jun 2001
Posts: 11
ummmmmmmm

btw after i changed my files like gilfil did now everybody can press the back button of the browser after he has voted and its possible for them to vote again and this vote will be recorded too.

any solutions??


cya
Joined: Feb 2001
Posts: 497
Enthusiast
Enthusiast
Offline
Joined: Feb 2001
Posts: 497
is not working 4 UBB 6.00 or 6.01 - test it in ultimatebb.cgi.

[melder - ]www.chat-board.de]

Joined: Mar 2000
Posts: 21,079
Likes: 3
I type Like navaho
I type Like navaho
Joined: Mar 2000
Posts: 21,079
Likes: 3
Leetle bug, most likely just not in the template: the person who starts the poll, their member status is not included under their name. It shows up in later posts if they reply to their own thread, but not in the first post that created the poll.


- Allen wavey
- What Drives You?
Joined: Dec 2000
Posts: 371
Member
Member
Offline
Joined: Dec 2000
Posts: 371
Is SSI required for this Poll hack???

Joined: Mar 2001
Posts: 326
Member
Member
Offline
Joined: Mar 2001
Posts: 326
Can we have a new release that incorporates some of the fixes since the last one? Still seems a bit buggy here and there by ready through these threads.

Joined: Jun 2001
Posts: 3
Junior Member
Junior Member
Offline
Joined: Jun 2001
Posts: 3
wow, ive tried fresh 3 times and I just cant get this mod to work. Ive never had trouble on a mod before this!

1: The picture poll_ot.gif never shows up in the forum or cp.cgi

2: I dont really know how to install the dev kit


Perhaps there are some advanced step by step instructions somewhere?

Thanks guys. It looks like an awesome mod.

Joined: May 2001
Posts: 2
Junior Member
Junior Member
Offline
Joined: May 2001
Posts: 2
I am getting compilation errors, dammit!

I am using 6.05 AfterShock edition and it doesn't seem to like part of the poll hack in ultimatebb.cgi.

Joined: Aug 2000
Posts: 594
Member
Member
Offline
Joined: Aug 2000
Posts: 594
Tons of changes and security fixesmade since then.

You should really upgrade!


jeremiah
Joined: May 2001
Posts: 2
Junior Member
Junior Member
Offline
Joined: May 2001
Posts: 2
bah, I can't upgrade, I've hacked this thing to hell.

btw, what IS the latest version?

Joined: Aug 2000
Posts: 594
Member
Member
Offline
Joined: Aug 2000
Posts: 594
Quote
quote:
6.04f


jeremiah
Joined: Jun 2001
Posts: 104
Member
Member
Offline
Joined: Jun 2001
Posts: 104
hows this log the votes is it by ip or username

Page 3 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
AllenAyres
AllenAyres
Texas
Posts: 21,079
Joined: March 2000
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
WebGuy 2
Morgan 2
Top Likes Received (30 Days)
None yet
The UBB.Developers Network (UBB.Dev/Threads.Dev) is ©2000-2024 VNC Web Services

 
Powered by UBB.threads™ PHP Forum Software 8.0.0
(Preview build 20221218)