Whenever someone tries to upload an avatar through a url the error "Warning: fsockopen(): unable to connect to *insert domain of avatar here* in /home/polykarb/public_html/includes/functions_file.php on line 30" pops up. I think I need my host to enable the fopen thing before that works, but for now I would rather disable this feature all together.
Can I remove the upload avatar by url option?
Collapse
X
-
Remove this section in the modifyavatar template:
<tr>
<td>
$vbphrase[enter_avatar_url]:<br />
<input type="text" class="bginput" name="avatarurl" value="http://www." onchange="check_yes('avatar_yes')" size="50" />
</td>
</tr>
You should also edit the following phrases to remove the language about 'Entering the URL':
may_upload_custom_image
may_upload_custom_image_controlsSteve Machol, former vBulletin Customer Support Manager (and NOT retired!)
Change CKEditor Colors to Match Style (for 4.1.4 and above)
Steve Machol Photography
Mankind is the only creature smart enough to know its own history, and dumb enough to ignore it.
-
Originally posted by Steve MacholRemove this section in the modifyavatar template:
<tr>
<td>
$vbphrase[enter_avatar_url]:<br />
<input type="text" class="bginput" name="avatarurl" value="http://www." onchange="check_yes('avatar_yes')" size="50" />
</td>
</tr>
You should also edit the following phrases to remove the language about 'Entering the URL':
may_upload_custom_image
may_upload_custom_image_controls
maybe in vB Options/User Picture Option
or in usergroup option?Comment
-
No, there is no such option.Steve Machol, former vBulletin Customer Support Manager (and NOT retired!)
Change CKEditor Colors to Match Style (for 4.1.4 and above)
Steve Machol Photography
Mankind is the only creature smart enough to know its own history, and dumb enough to ignore it.
Comment
-
Originally posted by Steve MacholYou should also edit the following phrases to remove the language about 'Entering the URL':
may_upload_custom_image
may_upload_custom_image_controlsComment
-
Since 3.5 didn't exist at the time of my original post, your guess is correct.Steve Machol, former vBulletin Customer Support Manager (and NOT retired!)
Change CKEditor Colors to Match Style (for 4.1.4 and above)
Steve Machol Photography
Mankind is the only creature smart enough to know its own history, and dumb enough to ignore it.
Comment
-
Here is a deeper question on the matter. The template section removed just disables its rendering from the page the member sees. So it is possible for someone to craft the FORM POST to reinsert that missing piece. My question is, where in the backend code can I disable that part of the function entirely?
TIAComment
widgetinstance 262 (Related Topics) skipped due to lack of content & hide_module_if_empty option.
Comment