![]() |
Quote:
|
That's odd. I just clicked on it and was directed to my article. Maybe it was just in approval queue when you clicked it. Please try again now. I hope you find it helpful.
|
Quote:
For the PM message, edit phrase: anti_your_email_bounced_body |
How do i change the sender's userID?
|
Quote:
The PM is generated in the following manner, setting the sentfrom userid and username to that of the administrator who clicked on the ezbouncelink within the email header: PHP Code:
|
I have an administrator that is in charge of account problems and registrations, but by default ezbounced PM´s are sent from my account.
When editing all occurrences of $vbulletin->userinfo['userid'] and $vbulletin->userinfo['username'] to the info for the new sender, then I get: Parse error: syntax error, unexpected ']' in /home/mysite/domains/mysite.com/public_html/forum/admincp/ezbounce.php on line 139 |
you're not editing the file correctly, or you're passing the wrong variable somehow. Please post what your code looks like after your edits.
|
What should the code look like if the userID is "410" and the username is "stix" ?
Here's what I did: PHP Code:
|
first thing I notice is that each occurence of stix has an unnecessary ] after it. (exactly what the error message tells you is a problem). The second thing I notice is that since the username is a string, it should be surrounded in ' like this 'stix'
So, in summary, try the following: PHP Code:
|
I get an internal server error. Checked my error log and have that useful premature end of script header. Any suggestions? Admin path is correct. Usergroup is valid.
Thanks, Adam |
All times are GMT. The time now is 09:08 PM. |
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:
|