The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
||||
|
||||
![]()
Hello,
I want to remove the option for members to upload their profile picture through hotlinking. I use the member photos hack, and images that are hotlinked from outside sites do not display. To remedy this, I want to remove that option all together. What exactly do I need to remove and from where? |
#2
|
||||
|
||||
![]()
I don't get what you want to do ...
Profile pictures are stored locally, no matter if Users upload from their PC or enter an URL. So if you want to "prevent" (this is not possible) hotlinking then make mod_rewrite rules to check the referer. |
#3
|
||||
|
||||
![]()
Hello,
Attached is an image that depicts what I am trying to do. The arrow is pointing to a field. I want to remove that field completely from that page. This is the page that allows you to change your profile picture. Here is the screenshot: |
#4
|
||||
|
||||
![]()
Edit Template modifyprofilepic
In functions_upload.php FIND PHP Code:
PHP Code:
If users want to use an image from http://www.somesite.com/image.jpg they can just download it to their computer and upload it again to your site. |
#5
|
|||
|
|||
![]()
In template modifyprofilepic
Find and remove: Code:
<td> $vbphrase[enter_profile_picture_url]:<br /> <input type="text" class="bginput" name="avatarurl" value="http://www." onchange="check_yes('profilepic_yes')" size="50" /> </td> |
#6
|
||||
|
||||
![]()
Hello,
Thanks! That looks like the stuff! I want to remove it because it doesn't work with a hack I am using. Profile images that are linked don't appear in the member gallery. Instead, their name shows up and the picture doesn't. Uploaded images work though. |
#7
|
||||
|
||||
![]()
All images are being uploaded, no matter if the users upload them from their computer or enter an URL
|
#8
|
||||
|
||||
![]()
Hello,
Everything went great! Thanks. Quote:
Don't know why I bothered to respond to you, but "wannabe" know-it-alls erk me to no end. Please read the entire thread before you respond to people. It makes everything so much easier than you trying to make others look dumb. |
#9
|
||||
|
||||
![]()
Honestly, I read the whole thread and I didn't "want to make others look dumb".
I just didn't (and still don't) understand your intention: "Hotlinkling" (at least this is the definition I am aware of) means continueing usage of resources (mainly images) from other servers by directly linking to them (<IMG>-Tags, etc.). But as there will be only one download when the users clicks submit, this has nothing to do with hotlinking - and that's what kept/keeps confusing me. Nevertheless, your request seems to be solved so all is OK ![]() |
#10
|
||||
|
||||
![]()
Hello,
I am running the hack that pulls images from the profiles and places them in a member photo gallery. When a member uses an image that is hotlinked off another site, it doesn't appear in the gallery. When they directly upload from their pc, it appears fine. By removeing the text box that allows them to use a hotlink, I don't have to see names with an empty space for their profile. Instead, the only way they can upload an image is off their computer. Since this method works with the hack, we don't get empty spaces, and the gallery looks much better. Hopefully that explains the reasoning for its removal. |
![]() |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|