The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
Has anyone used the poll hack in VB 1.1.6?
I'm working on a hack running on an Apache server and I'm getting code parse errors on the page. http://isman.freephp.digiro.net/foru...php?threadid=2 Can anyone offer any suggestions on this one? If you need to see the actual code let me know. Thanks in advance. |
#2
|
|||
|
|||
i'm the writer of the hack. What is your line 7 of showthread.php?
|
#3
|
|||
|
|||
eval("$creditscode = \"".gettemplate('creditscode')."\";");
Thanks for looking. |
#4
|
|||
|
|||
hmm, that is not part of the poll hack. Was it working before you installed it?
|
#5
|
|||
|
|||
It was working before I installed it. The hack I setup didn't include any changes on line 7. Most of the changes were more toward the middle and end of the showthread.php
//poll hack $posts=$DB_site->query("SELECT post.dateline as dateline,post.postid as postid,post.pagetext as pagetext, post.allowsmilie as allowsmilie,post.signature AS showsignature,post.title as title, post.ipaddress as ipaddress,post.iconid as iconid,post.username as fakename, post.userid as userid,post.pollid as pollid, user.userid as userid,user.email as email,user.username as username, user.usertitle as usertitle,user.signature as signature,user.showemail as showemail, user.homepage as homepage,user.icq as icq,user.aim as aim,user.yahoo as yahoo, user.joindate as joindate,user.posts as posts FROM post LEFT JOIN user ON (user.userid = post.userid) LEFT JOIN icon ON (icon.iconid = post.iconid) WHERE post.threadid=$threadid AND visible=1 ORDER BY dateline $postorder LIMIT $limitlower,$perpage"); //end poll hack and ////////// poll hack start if ($post[pollid] <> 0) { //post has a poll $pollmodule = 'pollshow'; include ('pollmodule.php'); } //end of "post has poll" else $pollbit = ''; //no poll, nothing returned //lets get the signature after the poll $message=bbcodeparse($post[pagetext],$forumid,$post[allowsmilie]).$pollbit.bbcodeparse($signature,0,$allowsmilies) ; /////end poll hack Line 7 is the original code for showthread.php. Remember I'm using version 1.1.6. I don't know what any of the previous versions looked like. |
#6
|
|||
|
|||
does removing the poll code from the file fix this?
|
#7
|
|||
|
|||
Nope, if you follow the link in the first post you'll open the original showthread.php. The parse error is still there.
Not sure what that means. |
#8
|
|||
|
|||
i just visited the url, no error..
|
#9
|
|||
|
|||
Took me a minute to get the correct version up there.
Yes, with the non-hack version it shows up correctly. With the hacked version I get the parse error. Can you help me with a fix for this. I'd really like to play with the poll hack . |
#10
|
|||
|
|||
I discovered my provider is using php3. I uploaded to proper version and made the appropriate modifications and the problem is solved.
I have but one more question. When you go into view the poll for the first time, before you vote, the question test is all scrunched up (technical term). http://isman.freephp.digiro.net/foru...hp3?threadid=2 Any suggestions on that one. That should be easy compared to the last one. Thanks in advance. |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|