The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#11
|
|||
|
|||
that's because it can't find './admin/config.php' in relation to the php file you're trying to put the poll on.
The best idea is to move the page with the poll in into the vb directory, or specify the full path to './admin/config.php' in global.php. |
#12
|
|||
|
|||
Alright I got it so it included global.php with no problems, but it still didn't put the hashcode in using this:
<? $session[sessionhash]; ?> or <? $sid = $session[sessionhash]; echo $sid; ?> Any ideas now that it still does not work? |
#13
|
||||
|
||||
Dave, which poll are you working on right now? The one on the bottom rate this review, or the one on the site?
I can't seem to find a poll on vB for the side (Is Your CPU Overclocked?) so I'm guessing that is the one you are working on? Can you post a bigger portion of the code you are experimenting with. This will do nothing <? $session[sessionhash]; ?> I am guessing you are working on a line of test code to see if sessionhash is being passed to $sid so you can add $sid to the hidden input? |
#14
|
|||
|
|||
Here I'll show you exactly what I'm talking about. Head to this page:
http://www.systemlogic.net/reviews/h...exian/handygps You can see the source as to what I'm trying to do. But what you said is correct I think, I need there to be a value for the hidden variable s in the poll so that the vote goes through. Take a look and let me know what you think. |
#15
|
||||
|
||||
Ok, it looks to me like you are working on the bottom poll and if so you have a sessionhash being passed here
<input type="hidden" name="s" value="8af34d62e066d8a75e20c82b7c114ec5"> The question is... is that number hardcoded or is it coming from global.php $sid |
#16
|
|||
|
|||
Wierd, when I see the page, I don't see any sessionhash in there....
I think when you are the site for the first time, it may work...but that's it.... |
#17
|
|||
|
|||
perhaps you include global.php and use $sessionhash not $session[sessionhash]
i looked thru the code, but didn't test it. perhaps it work... i have the same prob with users surfing with cookie an sessions deactivated... check out my site http://www.aktienboard.com, the poll on the right side ... greets, dioxin |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|