Would it be possible for you to tell me with part of the modifyavatarbit template to edit?
Avatars default directory?
Collapse
X
-
The storage directory for custom avatars is set in your:
Admin CP -> Avatars -> User Picture Storage TypeComment
-
Read post #15.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
-
From the profile.php file:
Code:$show['customavatar_url'] = (ini_get('allow_url_fopen') != 0 OR function_exists('curl_init'));
Admin CP -> Styles & Templates -> Style Manager -> « » -> Modify User Option Templates -> modifyavatar
Remove the red code:
Code:<label for="avatar_yes"><input type="radio" name="avatarid" value="0" id="avatar_yes" $avatarchecked[0] />$vbphrase[use_custom_avatar]</label><br /><br /> $vbphrase[may_upload_custom_image_controls]<br /><br /> [color=red]<if condition="$show['customavatar_url']"> $vbphrase[enter_url_to_image] <div style="padding:$stylevar[formspacer]px"> <input type="text" class="bginput" name="avatarurl" value="http://www." onchange="check_yes('avatar_yes')" size="45" dir="ltr" /> <input type="hidden" name="MAX_FILE_SIZE" value="$inimaxattach" /> </div> </if>[/color] <if condition="$show['customavatar_url']">$vbphrase[option_2_upload_image_from_computer]<else />$vbphrase[upload_image_from_computer]</if> <div style="padding:$stylevar[formspacer]px"> <input type="file" class="bginput" name="upload" onchange="check_yes('avatar_yes')" size="45" /> </div>
Comment
-
Actually the URL upload copies the remote image and stores it directly in the database, so it's the same difference as a local file upload.Comment
-
Can I place the custom avatar directory outside public_html ?
If yes, how the setup for:
Avatar File Path
URL to avatars
I try the full path for "Avatar File Path" and it is correct. The custom avatar can be uploaded to that directory (outside public html), but the problem is the avatar did not show up. So I guess I did wrong with the "URL to avatars" setting.
Please advice.
Thank you and warm regardsComment
-
No sorry, that needs to be accessible via the web server.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
widgetinstance 262 (Related Topics) skipped due to lack of content & hide_module_if_empty option.
Comment