Previous Thread
Next Thread
Print Thread
Rate Thread
Page 4 of 7 1 2 3 4 5 6 7
Joined: Apr 2001
Posts: 3,266
Member
Member
Offline
Joined: Apr 2001
Posts: 3,266
LOL Well glad to hear but as I am the only person here stating this hack does not work correctly I tried your snipet of code as you have been of help before on solving various voding issues.

You did after all just make the Stats hack PHP compliant smile

[ 10-09-2001: Message edited by: omegatron ]

Sponsored Links
Joined: Mar 2001
Posts: 326
Member
Member
Offline
Joined: Mar 2001
Posts: 326
Hmm although LKs fix might do something for my new problem, yet I'll wait for Jordo to check back and see what he says.

Joined: Aug 2000
Posts: 874
Moderator / Developer
Moderator / Developer
Offline
Joined: Aug 2000
Posts: 874
ok i believe i have fixed it though i was only somewhat successfull in replicating the problem.

redownload the zip. upload ubb_poll_lib.cgi and public_new_poll_form.pl

then make the following change in ultimatebb.cgi:

Code
code:

and cross your fingers.

Joined: Apr 2001
Posts: 3,266
Member
Member
Offline
Joined: Apr 2001
Posts: 3,266
Okay Jordo you are half way there. You can now post a topic only if you post a poll along with it. If you only want to post you still have the problem if polls are enabled in the forum.

You were only somewhat successful in recreating the problem? How so?

Anyway as a admin you still cant edit the poll? You cant close it etc.

[ 10-09-2001: Message edited by: omegatron ]

Joined: Mar 2001
Posts: 326
Member
Member
Offline
Joined: Mar 2001
Posts: 326
WORKS!

Can't speak for the other guy, but it's working fine for me now, no more weird 'NAME' errors when trying to post. Both posting with and without polls works, as does the ability to edit them.

On another note, in your instructions you neglect to add a break to the ubb_new_topic.cgi code right at the end. Thus the line merges with the next 'Sugnature' option under MS IE browsers.

In other words, the first code you have to add into the above file and right at the bottom needs to be more like this:

$vars_wordlets_polls{ipolls_num_options}: ;

Note the

, or just use
, the format still isn't perfect, but it's better.

Sponsored Links
Joined: Aug 2000
Posts: 874
Moderator / Developer
Moderator / Developer
Offline
Joined: Aug 2000
Posts: 874
Quote
quote:
ok i think i know how to fix the 2nd part.

Quote
quote:
i couldnt actually replicate it so i guessed what the problem could be.


mark99 - heh ya ive been meaning to fix that for like 2 months, something always makes me forget though. ill update the zip in a few minutes.

[ 10-10-2001: Message edited by: jordo ]

Joined: Apr 2001
Posts: 3,266
Member
Member
Offline
Joined: Apr 2001
Posts: 3,266
I will await your fix and keep my fingers crossed.

Joined: Oct 2001
Posts: 5
Junior Member
Junior Member
Offline
Joined: Oct 2001
Posts: 5
I've got a small problem.... I realize that you cant change the bar images that come with the poll in the style templates but, when I try and update my style templates it tells me that the poll fields (gif images middle/left/right) are required and weren't filled out?

So now I can't update any style templates.

Besides that though I love it!

Joined: Apr 2001
Posts: 3,266
Member
Member
Offline
Joined: Apr 2001
Posts: 3,266
Yes you can simply put it down the bottom bar.gif for the middle poll bar-l.gif for the left poll and bar-r.gif for the right poll. Your style template will update fine. Your bar.gif's should have been copied to your noncgi directory per the instructions.

Joined: Oct 2001
Posts: 5
Junior Member
Junior Member
Offline
Joined: Oct 2001
Posts: 5
thanks

Sponsored Links
Joined: Jul 2001
Posts: 272
Member
Member
Offline
Joined: Jul 2001
Posts: 272
repost the appropriate link as I am unable to download the hack for installation.

Joined: Aug 2000
Posts: 874
Moderator / Developer
Moderator / Developer
Offline
Joined: Aug 2000
Posts: 874

Joined: Feb 2001
Posts: 251
Member
Member
Offline
Joined: Feb 2001
Posts: 251
I installed the mod, everything is working fine exept the poll does not show up, the message shows, but not the poll, any ideas?

I run 6.1

Joined: Aug 2000
Posts: 874
Moderator / Developer
Moderator / Developer
Offline
Joined: Aug 2000
Posts: 874
Quote
quote:
make sure you uploaded public_poll_display.pl to your Templates dir...

Joined: Apr 2001
Posts: 3,266
Member
Member
Offline
Joined: Apr 2001
Posts: 3,266
Jordo this was a real nice hack for 6.05 but I never have got it to work. I installed it on the new 6.1 release and get the following error.

FYI
Error: No forum selected

» Please use your browser's back button to return.

This is with the PHP off and with polls selected on and off.

I rehacked ubb_new_topic.cgi and public_new_topic_form.pl so I dont know what the problem is.

http://www.reeftalk.com/test/cgi-bin/ultimatebb.cgi

Joined: Aug 2000
Posts: 874
Moderator / Developer
Moderator / Developer
Offline
Joined: Aug 2000
Posts: 874
omegatron - you need to hack the line in public_new_topic_form.pl where it says something like:
make sure this section in ultimatebb.cgi is in there correctly:
Code
code:

Joined: Apr 2001
Posts: 3,266
Member
Member
Offline
Joined: Apr 2001
Posts: 3,266
Fixed my bad. I put the submit target to the wrong submit_new_topic line smile

Joined: Apr 2001
Posts: 18
Junior Member
Junior Member
Offline
Joined: Apr 2001
Posts: 18
I am not sure if I am posting this at the right forum, but it is about this poll script, ...
I just noticed, if someone insert html tags into the poll options, it messes everything up, maybe you could make it, so the script would ignore html tags?

Anyway... it is a great hack jordo.

Laszlo

Joined: Aug 2000
Posts: 874
Moderator / Developer
Moderator / Developer
Offline
Joined: Aug 2000
Posts: 874
Quote
quote:
it should be ignoring html tags since it treats all < and > as their & l t ; and & g t ; counterparts (minus the spaces)...

Joined: Apr 2001
Posts: 18
Junior Member
Junior Member
Offline
Joined: Apr 2001
Posts: 18
This is what happen when I try to put a html tag into one of the options:

This is how I create the poll:
[Linked Image]

This is what the poll look like:
[Linked Image]

And this is what happens when I try to edit the poll:
[Linked Image]

Of course it is always possible that I made an error when installing the hack, but maybe its a bug.

I hope it helps.

Laszlo

Joined: Aug 2000
Posts: 874
Moderator / Developer
Moderator / Developer
Offline
Joined: Aug 2000
Posts: 874
ok i got a fix, routine wasnt doing what i thought it was. ill post again when i update the instructions (i want to fix a couple things to do with editing so it may be tomorrow).

Joined: Feb 2001
Posts: 251
Member
Member
Offline
Joined: Feb 2001
Posts: 251
I rehacked and it's working now laugh

Joined: Feb 2001
Posts: 55
Member
Member
Offline
Joined: Feb 2001
Posts: 55
I've installed the hack and it works great.. but the only thing its missing is when someone votes, it won't move the "topic" to the top like regular messages do.. so eventually, the poll will not even be seen unless someone reply's with a message.

Joined: Apr 2001
Posts: 235
Member
Member
Offline
Joined: Apr 2001
Posts: 235
You can use the Sticky hack, written by the same author, to make sure your topic stay atop.

Joined: Apr 2001
Posts: 41
Member
Member
Offline
Joined: Apr 2001
Posts: 41
I have installed the hack but have a small issue.

When you go to a Poll topic, you see the results at the top of the topic, however by default I am not getting the option to vote! My users have to view the comments and then back out to get the voting option.

Hope I explained it enough!

PLEASE HELP!!! WHAT DID I SCREW UP??

Test poll at www.teamfalcononline.com

Joined: Aug 2000
Posts: 874
Moderator / Developer
Moderator / Developer
Offline
Joined: Aug 2000
Posts: 874
TheBlueFalcon - i just registered and voted with no problem... you have to be logged in to see the voting form...

Joined: Apr 2001
Posts: 41
Member
Member
Offline
Joined: Apr 2001
Posts: 41
Let me give you access to the Lair!

Look at some of the polls there and tell me if you can see the problem. There are a couple of threads with members issues also!

Thank You so much for your extra effort and work!

I will fix your account right now!

Joined: Aug 2000
Posts: 874
Moderator / Developer
Moderator / Developer
Offline
Joined: Aug 2000
Posts: 874
TheBlueFalcon - ok i found the problem. the php accelerator has built in functionality for the polls which i didnt write, but it doesnt take into account polls in private forums. now i havent tried this but it should work (and dont worry it wont break anything:

in ultimatebb.php
Code
code:

Joined: Apr 2001
Posts: 41
Member
Member
Offline
Joined: Apr 2001
Posts: 41
Hang on!!

[ 11-08-2001: Message edited by: TheBlueFalcon ]

Joined: Apr 2001
Posts: 41
Member
Member
Offline
Joined: Apr 2001
Posts: 41
THAT DID IT!!!


Great Hack man!!!

THANK YOU SO MUCH!!!!

Joined: Feb 2002
Posts: 2,286
Veteran
Veteran
Joined: Feb 2002
Posts: 2,286
Okay, maybe I have made an error, but I do not think so, I have re-checked the changes.

I have two problems, maybe they are related?

In the control panel the wordlets list is blank - nothing appears, apart from the button to update the Poll Wordlets - and in each new topic box, there are two boxes above the box to tick for receiving notification via email, but the two boxes have not text next to them.

Any ideas, asto where I might have gone wrong?

Canvey.


Fans Focus - Focusing on Fans of Sport

(Okay - mainly football (the British variety wink at the moment - but expanding all the time....)
Joined: Apr 2001
Posts: 41
Member
Member
Offline
Joined: Apr 2001
Posts: 41
I also had the control panel issue. It would not let me finish until I forced an image for 3 graphics. I just used a dark star and haven't had any issues, however you guys may want to know!


Thanks again Jordo for all you attention and a great addition to my board!

TBF

Joined: Feb 2002
Posts: 2,286
Veteran
Veteran
Joined: Feb 2002
Posts: 2,286
The polls seem to work, as I have a bar going across the screen, but still no wordlets, or graphics beneath the login box.

confused


Fans Focus - Focusing on Fans of Sport

(Okay - mainly football (the British variety wink at the moment - but expanding all the time....)
Joined: Aug 2000
Posts: 874
Moderator / Developer
Moderator / Developer
Offline
Joined: Aug 2000
Posts: 874
Canvey - you uploaded vars_wordlets_polls.cgi to the Variables dir and chmodded it (if on unix), right?

Joined: Feb 2002
Posts: 2,286
Veteran
Veteran
Joined: Feb 2002
Posts: 2,286
Yep - did that - even though it is not in the instructions - some of the files are not mentioned.

However - I have just altered it offline, making the phrases English - we do not understand the phase to 'Check a box' wink I then uploaded it, and it worked - so I guess in the uploading of the file, something failed.

Anyway thanks for a great hack - it apears to be working - so I will release it to the lions wink


Fans Focus - Focusing on Fans of Sport

(Okay - mainly football (the British variety wink at the moment - but expanding all the time....)
Joined: Oct 2001
Posts: 55
Member
Member
Offline
Joined: Oct 2001
Posts: 55
i'm having trouble getting the wordlits working right.. I've done everything it has said, and uploaded the all the files, and set the permission. But the words are just not showing up.


">,.-~*´¨¯¨`*·~-.¸-(_Çã§Pe®_)-,.-~*´¨¯¨`*·~-.¸
Joined: Oct 2001
Posts: 55
Member
Member
Offline
Joined: Oct 2001
Posts: 55
I found the problem, in the ultimatebb, and fixed it now. I didn't add one of the lines because i couldn't find it.

Quote
quote:
I couldn't find it in the search box because you had the ")" there. On mine that was not.. so.. it messed me up. But it works smile


">,.-~*´¨¯¨`*·~-.¸-(_Çã§Pe®_)-,.-~*´¨¯¨`*·~-.¸
Joined: Aug 2000
Posts: 874
Moderator / Developer
Moderator / Developer
Offline
Joined: Aug 2000
Posts: 874
HybridPWF - the modifications wordlets hack might change that line, i cant remember. ill look this weekend and change the instructions if so. thanks for pointing it out. smile

Joined: Nov 2001
Posts: 32
Member
Member
Offline
Joined: Nov 2001
Posts: 32
ok, I install it, but then when I tried to go to my board it said like my ultmatebb.cgi had problems compiling, do you know what that means

[ 11-10-2001: Message edited by: khanhdom ]

Joined: Aug 2000
Posts: 874
Moderator / Developer
Moderator / Developer
Offline
Joined: Aug 2000
Posts: 874
khanhdom - it most likely mean something in ultimatebb.cgi was added in the wrong place. also make sure you uploaded all the new files in the zip...

Page 4 of 7 1 2 3 4 5 6 7

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
isaac
isaac
California
Posts: 1,157
Joined: July 2001
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
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)