The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
![]()
Hey Guys , when i goto the vbulletin 2.3.2 admin menu and click on either e-mail users or build mailing list under Users.. I get this error:
Parse error: parse error in /home/virtual/site1/fst/var/www/html/forums/admin/email.php on line 113 any suggestions? Thanks! |
#2
|
||||
|
||||
![]()
Chances are you have installed a hack recently that modifys that file.
Post the code from the admin/email.php from line 113, and also post the surrounding code at the same time. |
#3
|
|||
|
|||
![]()
if ($DB_site->num_rows($users)) {
$page = $startat/$perpage+1; $totalpages = ceil($counter[total]/$perpage); echo "<p><b>Emailing users. Page $page/$totalpages (".number_format($counter[total])." users total).</b></p>"; if (strpos($message,"\$activateid")) { $hasactivateid=1; } else { $hasactivateid=0; } while ($user=$DB_site->fetch_array($users)) { echo "$user[userid] - $user[username] .... \n"; flush(); $userid=$user[userid]; $sendmessage=$message; $sendmessage=str_replace("\$email",$user[email],$sendmessage); Line 113 - while ($user=$DB_site->fetch_array($users)) { Many thanx. PS - no hax installed recently. |
#4
|
||||
|
||||
![]() PHP Code:
Try that |
#5
|
||||
|
||||
![]()
Any luck?
|
#6
|
|||
|
|||
![]()
Hey! Thanks alot! the script worked! If you don't mind me asking, what exactly did you change? Thank you so much.
|
#7
|
||||
|
||||
![]() PHP Code:
PHP Code:
|
#8
|
|||
|
|||
![]()
Something else...
I wasn't able to massmail my users. I got this message: Emailing users. Page 1/1 (341 users total). m-dd hh:mm:ss, leave blank for today)","lastpostbefore"); makeinputcode("and Number of Posts is greater than","postslower"); makeinputcode("and Number of Posts is less than","postsupper"); doformfooter("Send Email"); any advice???? many thanx |
#9
|
||||
|
||||
![]()
What was the exact error you received??? Also place the php code inside these tags ---
[ php ] [ /php ] Minus the spaces of course. Thanks. |
#10
|
|||
|
|||
![]()
It doesn't state that its an error but for some reason it outputs a chunk of the coding. This is what i got:
Emailing users. Page 1/1 (341 users total). m-dd hh:mm:ss, leave blank for today)","lastpostbefore"); makeinputcode("and Number of Posts is greater than","postslower"); makeinputcode("and Number of Posts is less than","postsupper"); doformfooter("Send Email"); |
![]() |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|