The Arcive of vBulletin Modifications Site. |
|
|
#1
|
||||
|
||||
|
hi,
I added (Can't Use Private Messages Before X posts) hack, and every thing was ok, but when I changed the Enable the hack from No to Yes, its cause problem in all BB codes!! All BB code are unselected, but when I select theme and click save, this massage shown: Warning: Invalid argument supplied for foreach() in /admincp/options.php on line 784 Then, I went to options.php file to find line 784: Code:
foreach ($vbulletin->GPC['setting']["$oldsetting[varname]"] AS $bitval) Code:
// **************************************************
case 'memberlistfields':
case 'defaultregoptions':
case 'allowedbbcodes':
case 'postelements':
case 'activememberoptions':
case 'showeaster':
{
$bitfield = 0;
foreach ($vbulletin->GPC['setting']["$oldsetting[varname]"] AS $bitval)
{
$bitfield += $bitval;
}
$vbulletin->GPC['setting']["$oldsetting[varname]"] = $bitfield;
}
break;
// **************************************************
After that, I removed this hack but the problem still there. Plz, if any one can understand what is the problem, plz help. |
|
#2
|
||||
|
||||
|
up....
|
![]() |
|
|
| X vBulletin 3.8.12 by vBS Debug Information | |
|---|---|
|
|
More Information |
|
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|