Previous Thread
Next Thread
Print Thread
Rate Thread
#53514 06/03/2002 9:09 AM
Joined: Oct 2001
Posts: 114
Content Kidman
Content Kidman
Offline
Joined: Oct 2001
Posts: 114
It's nice to have them in there but the layout is pretty appalling. frown

What if all your avatars are not the same size? As the tags are forced to make them the same width you lose definition.

I took out the height and width settings on public_display_profile.pl and change the select avatar page. I also re-arranged the table to try and make it look a little better but I've got a feeling I'll be back later to do some more prettifying work on it.

Sponsored Links
#53515 06/07/2002 9:46 PM
Joined: May 2001
Posts: 794
Content Queen
Content Queen
Offline
Joined: May 2001
Posts: 794
My avatar issue isn't the same as PM's.

How can I make sure my members CANNOT DIRECT LINK to graphics outside of my site?

I abhor the idea of direct linking. With my community quickly approaching more than 2000 in number, there is no way that I can monitor all of the avatars.

I liked the avatar hack from previous UBBs; I'm not a big fan of the avatar feature with the 6.3, but I was ready to come to terms with it--until I saw one of my mods direct linking her avatar to another site at our test board. If she can do it, others can, too.

Could someone please create a hack that would prevent members from direct linking their avatars to an outside site?

I'd very much appreciate it.


Sue
adwoff.com
#53516 06/07/2002 10:15 PM
Joined: Jun 2001
Posts: 2,849
Spotlight Winner
Spotlight Winner
Offline
Joined: Jun 2001
Posts: 2,849
I modified the avatar placement and also took away the members rights to use custom ones. I have a thread for titles and avatars and I modify the images myself and every couple days go into the CP and assign the avatars for them. It's a little more work but well worth the effort.

#53517 06/07/2002 10:41 PM
Joined: May 2001
Posts: 794
Content Queen
Content Queen
Offline
Joined: May 2001
Posts: 794
quote:
Originally posted by XPerT.x:
I modified the avatar placement and also took away the members rights to use custom ones. I have a thread for titles and avatars and I modify the images myself and every couple days go into the CP and assign the avatars for them. It's a little more work but well worth the effort.

That's kind of what I do at my main board now. I let them choose their avatar from the massive # I've accumulated, and then I make them "custom" for them.

It's work, but it seems to be working.

What I'm most concerned with now is the idea that they can direct link to other sites for their avatars.


Sue
adwoff.com
#53518 06/08/2002 1:54 AM
Joined: May 2002
Posts: 77
Member
Member
Offline
Joined: May 2002
Posts: 77
Paulus Magnus: The avatars are set up that way so users can select huge custom avatars which will screw up the layout of your threads. You don't want someone with a 500 pixel avatar do you? It should be very easy to modify the code to allow any size avatars if you want though. Actually, in 6.3 I think you can change the setting in the control panel to have it not force avatar sizes.

Sponsored Links
#53519 06/08/2002 3:02 AM
Joined: Feb 2001
Posts: 78
Member
Member
Offline
Joined: Feb 2001
Posts: 78
Ok, I know what he is talking about here. Stoping custom avatars will not solve this problem because all someone has to do it right click an image, view properties and there is the path. I doubt a hack can be designed to stop this because its more of a .htaccess issue. The correct term for this is called "Hot linking".

Using .htaccess, you can disallow hot linking on your server, so those attempting to link to an image on your site, for example, is shown either the door (a broken image), or the lion's mouth (another image of your choice, such as a "Barbara Streisand" picture- no emails please). There is just one small catch- unlike the rest of the .htaccess functionalities, disabling hot linking also requires that your server supports mod_rewrite. Inquire your web host regarding this.

With all the pieces in place, here's how to disable hot linking of images on your site. Simply add the below code to your .htaccess file, and upload the file either to your root directory, or a particular subdirectory to localize the effect to just one section of your site:

RewriteEngine on
RewriteCond %{HTTP_REFERER} !^$
RewriteCond %{HTTP_REFERER} !^http://(www.)?mydomain.com/.*$ [NC]
RewriteRule .(gif|jpg)$ - [F]
Be sure to replace "mydomain.com" with your own. The above code causes a broken image to be displayed when its hot linked.
If you're feeling bitter, you can set things up so an alternate image is displayed in place of the hot linked one. The code for this is:

RewriteEngine on
RewriteCond %{HTTP_REFERER} !^$
RewriteCond %{HTTP_REFERER} !^http://(www.)?mydomain.com/.*$ [NC]
RewriteRule .(gif|jpg)$ http://www.mydomain.com/nasty.gif [R,L]
Same deal- replace mydomain.com with your own, plus nasty.gif.


Link Copied to Clipboard
Donate Today!
Donate via PayPal

Donate to UBBDev today to help aid in Operational, Server and Script Maintenance, and Development costs.

Please also see our parent organization VNC Web Services if you're in the need of a new UBB.threads Install or Upgrade, Site/Server Migrations, or Security and Coding Services.
Recommended Hosts
We have personally worked with and recommend the following Web Hosts:
Stable Host
bluehost
InterServer
Visit us on Facebook
Member Spotlight
isaac
isaac
California
Posts: 1,157
Joined: July 2001
Forum Statistics
Forums63
Topics37,573
Posts293,925
Members13,849
Most Online5,166
Sep 15th, 2019
Today's Statistics
Currently Online
Topics Created
Posts Made
Users Online
Birthdays
Top Posters
AllenAyres 21,079
JoshPet 10,369
LK 7,394
Lord Dexter 6,708
Gizmo 5,833
Greg Hard 4,625
Top Posters(30 Days)
Top Likes Received
isaac 82
Gizmo 20
Brett 7
WebGuy 2
Morgan 2
Top Likes Received (30 Days)
None yet
The UBB.Developers Network (UBB.Dev/Threads.Dev) is ©2000-2024 VNC Web Services

 
Powered by UBB.threads™ PHP Forum Software 8.0.0
(Preview build 20221218)