The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
Alright I have a problem in my polls. I copy and paste the HTML from a poll onto my website. The only problem is the hidden variable for s. If I leave it blank it just gives me a white page, if I put the hash code in it, I can only vote once. Is there a variable that will generate a new hash code that works everytime? Or is there anything you can recommned me doing? Is there anyway to turn off the check on the hash code?
Any help would be much appreciated. |
#2
|
|||
|
|||
Bump, no answers?
|
#3
|
||||
|
||||
Greets Dave,
I'm jumping in here because I need the same answer. I setup a hack that writes the poll data to a file each time a poll is voted on. I then pull this file into whatever page I want and link back to the poll for voting. I would prefer having the questions posted on the remote pages instead of the results though. I like the file include because pulling the poll results into several different pages puts practically no load on the server. However, I don't see my system working well with the typical question/vote first and then display the results. If you don't mind displaying the results first you are welcome to use my little creation. I've had it up for only a few days, however, it seems to be working well. |
#4
|
|||
|
|||
Well let me show you exactly what I mean. For example head to:
http://www.systemlogic.net/articles/01/6/g550preview If you scroll down to the bottom of the article you see a poll that says "Did you like this article?" I just ripped the HTML from the actual poll in the forum thread. But if you vote, it gives you a blank page. That's because the hidden variable "s" is supposed to be a hash code, but because I can't make it different (that's what I'm asking how to do) everytime, it won't log the vote. Any ideas? |
#5
|
|||
|
|||
i have no advice to offer on this subject, other than the fact I wanted to compliment NgtCrwlr on his beautiful photography and site.
It is definitely something that is worth revisiting on a regular basis. Excellent work! |
#6
|
||||
|
||||
I truely appreciate your kind words ToraTora!
I have a lot of plans for expanding the digital photography part of the site so stay tuned. Stop by our Chatter Box forum and say hey once in a while. Cheers! |
#7
|
|||
|
|||
No problem, i will stop by in a couple of days once we get our server issues settled.
|
#8
|
|||
|
|||
Alright I figured out how to make the random session id by doing making this s:
<?$session = md5(uniqid(rand())); echo $session;?> BUT, it still doesn't work. I figure because VBulletin sets a cookie when you browse the message boards, so does anybody have an idea of what I can do to get this working?!?? |
#9
|
|||
|
|||
You should really use the actual session hash assigned to that user (each visitor gets their own unique hash).
I think if you put Code:
include("path/to/global.php"); J |
#10
|
|||
|
|||
I tried doing that and I'm getting this error:
Fatal error: Failed opening required './admin/config.php' (include_path='') in /path/to/boards/global.php on line 66 Any ideas? |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|