![]() |
:)
glad to hear :) |
Xenon, when you have the arcade hack installed the line in functions.php is:
function getpostbit($post,$vpa_champs=0) { In that case would: function getpostbit($post,$postbitid=0,$vpa_champs=0) { The right way to place the code? |
hmm, not sure, it depends on how the arcade hack calls the postbits.
normally you are right, but you could get problems.... be sure to check every call of the getpostbitfunction, that the syntax isn't wrong anywhere... |
In showthread.php is an instance of the same code,
$postbits .= getpostbit($post,$vpa_champs_a); that (should) be: $postbits .= getpostbit($post,$postbitid=0,$vpa_champs_a); ? I've test it and there are no errors, however when i make an adjustment or replacement it does not update it. Also after validation there is no change with the original standard postbit. |
In functions.php there's also this:
eval("\$retval = \"".gettemplate("postbit")."\";"); } else if ($bbuserinfo['usergroupid']!=12) { eval("\$retval = \"".gettemplate("postbit_banned")."\";"); } else { eval("\$retval = \"".gettemplate("postbit")."\";"); } } else { eval("\$retval = \"".gettemplate("postbit")."\";"); } } return $retval; } That's part of "stealth ban" hack so there are 3 instances of: eval("\$retval = \"".gettemplate("postbit")."\";"); I like this hack Xenon but it looks that it's not for me this time. |
well, yes it's hard to implement it, when you already have hacked the getpostbit in your way..
the first things seemed right, so maybe you can achieve it so it works correctly. last question: hmm, replace every instance :) |
Quote:
l8er sonic |
Hi Xenon,
I am currently running vBulletin 2.2.9. On some of the old threads, whenever I tried to get to the first page, it gave me an error such as: --------------------------- Database error in vBulletin 2.2.9: Invalid SQL: SELECT * FROM custompostbit WHERE postbitid IN (0,0,0,0,0,0,0,0,0,,0,0,0,,,0,,0,,0,,0,0,,0,,0,0,0 ,0,0,0,0,0,0,0,0,0,0,0,0) mysql error: You have an error in your SQL syntax near '0,0,0,,,0,,0,,0,,0,0,,0,,0,0,0,0,0,0,0,0,0,0,0,0, 0,0,0)' at line 1 mysql error number: 1064 Date: Sunday 23rd of February 2003 04:48:45 PM Script: http://myvbulletin.com/vb...mp;threadid=903 Referer: http://myvbulletin.com/vbulleti...=&forumid=3 ------------------------------ The thing is if I click to to to page 2 of those thread, it worked as normal. So what is the problem and how can I fix it ? Please enlighten me Thanks a lot. |
huh?
that error never occured to me. have you made an error while installing? if not i need more informations, what is different between the first page and the second one? |
All times are GMT. The time now is 01:16 AM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|