The Arcive of vBulletin Modifications Site. |
|
|
#1
|
|||
|
|||
|
I don't know why when I am trying to view the pm messages I got the following errors.
Quote:
anyone have any thoughts?? thanks.. |
|
#2
|
|||
|
|||
|
Well that query is selecting from the thread table, not the pm table. So a bit strange.
|
|
#3
|
||||
|
||||
|
check your modifications ... I believe fuctions_showthread.php is 'required' in private.php
|
|
#4
|
|||
|
|||
|
any wrong with this code?
Code:
$iscredits = false;
if(!in_array($forum['forumid'], explode(',', $vboptions['credit_sysapplied'])))
{
$iscredits = true;
}
and Code:
// Begin thread Credits
$iscredits = false;
if(!in_array($forum['forumid'], explode(',', $vboptions['credit_sysapplied'])))
{
$iscredits = true;
}
$creditthread = $DB_site->query_first("SELECT * FROM " . TABLE_PREFIX ."thread WHERE threadid = $thread[threadid]");
$creditvote = ceil($creditthread['creditsvote']/$creditthread['totalcreditsvote']);
these are the codes that I added to the two files. No other changes.. |
|
#5
|
|||
|
|||
|
The code itself don't look wrong, it only seems it gets executed on a moment that it should not be.
|
|
#6
|
|||
|
|||
|
Quote:
|
![]() |
|
|
| X vBulletin 3.8.12 by vBS Debug Information | |
|---|---|
|
|
More Information |
|
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|