Parse error: parse error, unexpected T_ENCAPSED_AND_WHITESPACE, expecting T_STRING or T_VARIABLE or T_NUM_STRING in /home/pccjuvj/public_html/forum/includes/functions_warning.php(472) : eval()'d code on line 19
but the user is warned
and everything else runs smoothly excpet: when the user checks out the pm, the title is there saying you have been warned but everythign in it is empty.. it DOES work when u remove the warn tho...
Without changing, just looking and attempting to save the warn_pm template
Quote:
vBulletin Message
The following error occurred when attempting to evaluate this template:
Parse error: parse error, unexpected T_STRING, expecting ']' in /home/pccjuvj/public_html/forum/includes/adminfunctions_template.php(3096) : eval()'d code on line 5
This is likely caused by a malformed conditional statement. It is highly recommended that you fix this error before continuing, but you may continue as-is if you wish.
Show Your Support
This modification may not be copied, reproduced or published elsewhere without author's permission.
I do not have this problem, here is the warn_pm template as I have it:
Code:
Dear $user[username],
You have been warned for one of your posts, which violated $vboptions[bbtitle] Rules. The reason you have been warned is because:
$warn_type[warn_desc]
(Warning Type = $warn_type[warn_name])
For this violation, you have been given : $warn_type[warn_points] point(s).
The point(s) will remain in your account for $warn_type[warn_maturity] days.
After that, they will be removed automatically.
The post for which you are warned can be seen here:
$thread1
The admin/moderator who warned you, entered this comment:
=======================================
$_POST[comment]
=======================================
Your total Warning Level at the moment is: $level point(s).
If you reach the maximum of $vboptions[warn_points_before_banned], you will be banned from the Forums, for $peruserbanlimit days.
To see details about all the warnings you have received, until now, please click here.
Please reply back if you have a dispute.
thanks sv1ec, that worked... but now i discovered another bug :S when i send someone a pm that i write (or anyone sends to anyone), it only shows the title but not the body..
A moderator from my site sent me something and i could only see the title, btu no content... (i can even see the sig) but still not the body. i tested it out to see if it wasnt just this once.... but it isnt.. i dont know what to do.. how can i fix this?
but when i warn someone, or take off a post, (anything from the templates), the body shows (dontent and everything)... but when u write a new one to send, it doesnt work.. i went over the private.php file, uploaded the backup and redid the edits but no luck..
Ok Ill Try It As Soon As I Get To My Pc.. Thanks Alot For Ur Help Man
(using Caps Coz I Aint On My Pc.. Using Grandmas And Cba To Switch Languages Always Lol)