2011-01-03, 07:05 PM
This plugin is supposed to restrict the Profile Image to a size of 950x100, but I have people uploading images to as much as 1432x2046. Is this a known problem that needs to be addressed?
(2011-01-04, 07:33 PM)pqphillips Wrote: [ -> ]It's this plugin...
http://mods.mybb.com/view/profile-image
Also, we seem to be having a problem with the "Remove Image" function. It doesn't work.
<center><img src=\"{\$img_prof}\"></center>
and change it to;<center><img src=\"{\$img_prof}\" height=\"100\" width=\"950\"></center>
(2011-01-23, 04:50 AM)Yaldaram Wrote: [ -> ]De-activate plugin. Now open plugin file and find;
and change it to;<center><img src=\"{\$img_prof}\"></center>
<center><img src=\"{\$img_prof}\" height=\"100\" width=\"950\"></center>
Activate it again. Now when a user upload any image beyound the limit, his / her image will be shortened to height=100 and width= 950
Quote:Parse error: syntax error, unexpected '{', expecting ')' in /home/adolfo/public_html/forums/inc/plugins/imgprofile.php on line 78
(2011-01-23, 05:58 PM)pqphillips Wrote: [ -> ](2011-01-23, 04:50 AM)Yaldaram Wrote: [ -> ]De-activate plugin. Now open plugin file and find;
and change it to;<center><img src=\"{\$img_prof}\"></center>
<center><img src=\"{\$img_prof}\" height=\"100\" width=\"950\"></center>
Activate it again. Now when a user upload any image beyound the limit, his / her image will be shortened to height=100 and width= 950
Awesome... now what about the fact that the "Remove Image" function won't work?
Also, I now get an error when trying to reactivate it...
Quote:Parse error: syntax error, unexpected '{', expecting ')' in /home/adolfo/public_html/forums/inc/plugins/imgprofile.php on line 78
"template" => "<table border=\"0\"
(2011-01-24, 10:40 PM)pqphillips Wrote: [ -> ](2011-01-23, 05:58 PM)pqphillips Wrote: [ -> ](2011-01-23, 04:50 AM)Yaldaram Wrote: [ -> ]De-activate plugin. Now open plugin file and find;
and change it to;<center><img src=\"{\$img_prof}\"></center>
<center><img src=\"{\$img_prof}\" height=\"100\" width=\"950\"></center>
Activate it again. Now when a user upload any image beyound the limit, his / her image will be shortened to height=100 and width= 950
Awesome... now what about the fact that the "Remove Image" function won't work?
Also, I now get an error when trying to reactivate it...
Quote:Parse error: syntax error, unexpected '{', expecting ')' in /home/adolfo/public_html/forums/inc/plugins/imgprofile.php on line 78
I went to line 78, as it said, and I got this coding:
"template" => "<table border=\"0\"
As you can see, there's not even a '{' character on that line. Anyone want to take a look at the code for me and tell me what I'm missing?
I'd much appreciate it...