Previous Thread
Next Thread
Print Thread
Hop To
Joined: May 2007
Posts: 52
journeyman
OP Offline
journeyman
Joined: May 2007
Posts: 52
Hi everyone, I was hoping you could help me out as I'm trying to get an idea on how your galleries are working on your sites.

If you wouldn't mind posting your sites below for me check out your galleries I'd really appreciate it!

Cara


Cara-
Community Producer at:
Canadian Parents.com Message Boards
Joined: Feb 2007
Posts: 1,289
Likes: 1
Veteran
Online Tapedshut
Veteran
Joined: Feb 2007
Posts: 1,289
Likes: 1
My sites are listed in my signature. Look away.

Joined: Jun 2006
Posts: 678
H
old hand
Offline
old hand
H
Joined: Jun 2006
Posts: 678

Joined: Jul 2007
Posts: 103
member
Offline
member
Joined: Jul 2007
Posts: 103

Joined: Feb 2007
Posts: 1,289
Likes: 1
Veteran
Online Tapedshut
Veteran
Joined: Feb 2007
Posts: 1,289
Likes: 1
I wonder if he or she found what they were looking for?

Joined: May 2007
Posts: 52
journeyman
OP Offline
journeyman
Joined: May 2007
Posts: 52
Thanks to all who replied. Were testing in Dev to see if it'll work for our site, we have a custom wrap that we need to work with and it can be a bit of a pain.

We're still using v7.2, and I've been requesting an upgrade, did you find an differences in the PhotoGallery in newer versions or does it still function the same?

Last edited by ladybug_mom; 04/15/2009 9:47 PM.

Cara-
Community Producer at:
Canadian Parents.com Message Boards
Joined: Feb 2007
Posts: 1,289
Likes: 1
Veteran
Online Tapedshut
Veteran
Joined: Feb 2007
Posts: 1,289
Likes: 1
I find they are pretty much all the same with the exception ok in 7.4+ where you can grab the image location off the site top place it in post's in that site or other sites.

I personally edited out that as people were using it to host photo's on my site then displaying them on others sites stealing my bandwidth.

Joined: Jun 2006
Posts: 16,014
Likes: 58
UBB.threads Developer
Offline
UBB.threads Developer
Joined: Jun 2006
Posts: 16,014
Likes: 58
Originally Posted by JAISP
I personally edited out that as people were using it to host photo's on my site then displaying them on others sites stealing my bandwidth.
Well, with some .htaccess magic you could do a couple of things as well...

1. Allow linking but define sites allowed to do so.
2. Redirect "unauthorized" linking to another file which will load in its place (feel free to get creative here).

This is what i use:
Code
# Allow authorized sites to retrieve files. #
RewriteCond %{HTTP_REFERER} !^$

# Start UGN Specific Hosts #
RewriteCond %{HTTP_REFERER} !65.19.133.34 [NC]
RewriteCond %{HTTP_REFERER} !65.19.133.39 [NC]
RewriteCond %{HTTP_REFERER} !undergroundnews.com [NC]
RewriteCond %{HTTP_REFERER} !undergroundnews.net [NC]
RewriteCond %{HTTP_REFERER} !undergroundnews.org [NC]
RewriteCond %{HTTP_REFERER} !ugnsecurity.com [NC]

# Start Affiliate Hosts #
RewriteCond %{HTTP_REFERER} !ubbdev.com [NC]
RewriteCond %{HTTP_REFERER} !ubbcentral.com [NC]
RewriteCond %{HTTP_REFERER} !home.corthell.net [NC]
RewriteCond %{HTTP_REFERER} !virtualnightclub.net [NC]

# Start Search Engine Hosts #
RewriteCond %{HTTP_REFERER} !google.com [NC]
RewriteCond %{HTTP_REFERER} !yahoo.com [NC]
RewriteCond %{HTTP_REFERER} !picsearch.com [NC]
RewriteCond %{HTTP_REFERER} !^http://aolsearch.aol.com [NC]

# Start defined files & redirect location #
RewriteRule [^/]+.(exe|com|swf|fla|mp3|mov|wmv|rm|ram|wma|zip|txt|bat|tar|rar|gz|tgz|gif|jpg|jpeg|psd|png)$ - [F]

Basiclly, the rewritecond's for the referrer are domains you wish to allow, then the rule between the ()'s are the type of files, and the - at the end of the rule is where you'd put the file to load (or - for none).

So for images only, just leave gif|jpg|jpeg|psd|png then set the - to a full url of an image of your choosing (say a big banner saying "Stop stealing our bandwidth" tongue...

You'd ofcoarse want to add any domain that can access your files from your site (like i did in section 1) tongue

Oh, and the search engine bit there still lets search engines troll your site and display images, but that's for more of a method of gaining incoming users so they can still see graphics.

Last edited by Gizmo; 04/16/2009 8:29 AM.

I am a Web Development Contractor, I do not work for UBBCentral. I have provided free User to User Support since the beginning of these support forums.
Do you need Forum Install or Upgrade Services?
Forums: A Gardeners Forum, Scouters World
UBB.threads: UBBWiki, UBB Styles, UBB.Sitemaps
Longtime Supporter & Resident Post-A-Holic
VNC Web Services: Code Modifications, Upgrades, Styling, Coding Services, Disaster Recovery, and more!
Joined: Feb 2007
Posts: 1,289
Likes: 1
Veteran
Online Tapedshut
Veteran
Joined: Feb 2007
Posts: 1,289
Likes: 1
I will have to play with that, thanks Gizmo.

Joined: May 2007
Posts: 52
journeyman
OP Offline
journeyman
Joined: May 2007
Posts: 52
I have a few more questions if you don't mind answering! smile

1. Is there a way to also add a new photo without having to upload via the image manage. ie. if someone already has a photo on photobucket/facebook, why can they not use the IMG tahs around the photo?

2. When commenting on a photo is there a way for someone to add a photo using IMG tags in their reply? I see our users wanting these options.

3. Is there a way to change the error message that comes on in the Image Manager Box to plain English. I know that the issue was that my photo was too large, is there a way to state this in stead of this?

Quote
We encountered a problem. The reason reported was

Script: /var/www/path/to/ubb/forum/ubbthreads/scripts/filemanager.inc.php
Line#: 278
SQL Error: Incorrect integer value: '' for column 'FILE_WIDTH' at row 1
SQL Error #: 1366
Query: UPDATE ubbt_FILES SET FILE_NAME = '26.jpg', FILE_ORIGINAL_NAME = 'IMGP3291 - Copy.JPG' , FILE_WIDTH = '' , FILE_HEIGHT = '' WHERE FILE_ID = '26'

Please use your back button to return to the previous page.


Cara-
Community Producer at:
Canadian Parents.com Message Boards
Joined: Mar 2008
Posts: 326
D
Enthusiast
Offline
Enthusiast
D
Joined: Mar 2008
Posts: 326
1. Hot-linking without the permission of the server's admin is a no-no. Plus, you don't have control over another server's content. It could always change or just plain go away, leaving you with possible obscene images or broken images.

2. This has been brought up before, but I don't believe it is an option at this point in time.

3. It pretty much is already in plain English. "Incorrect integer value: '' for column 'FILE_WIDTH' at row 1" It is actually saying that the integer value of nothing is incorrect. A value >0 for the file's width needs to be passed.

'Incorrect integer value' = Bad number
':' = ,which is
'' = nothing,
'for column 'FILE_WIDTH' at row 1' = for the FILE_WIDTH value

Easy peasy Japanesey to comprehend. smile

Joined: Dec 2003
Posts: 6,278
Likes: 45
Online Yawn
Joined: Dec 2003
Posts: 6,278
Likes: 45
Normally if your attachment file is to large based on file permissions you get a message like:
Quote
We encountered a problem. The reason reported was

Files can be no larger than 75 Bytes bytes.

Please click back to return to the previous page.
I have set the limit to 75b for this example.
Yes the Bytes bytes echo is a flaw in the language file.

Also you may have edited your mysql.inc.php file to show errors from a previous problem.
Which should be turned back off.
HERE is a post on this subject.

Looking at your post users should never see your paths in a error message.

In fact it is probably to late for you to edit your post but maybe one of the moderators could alter it so we can't see it.
Just use the notify option in this topic and request someone to edit your post to mask your absolute path.

But it really looks like the file you are testing is hosed up.
I currently am using 7.5.2 and I think you have a prior 7.2 version but I don't recall a change in this area of the code.

Last edited by Ruben; 04/17/2009 1:46 PM.

Blue Man Group
There is no such thing as stupid questions. Just stupid answers

Link Copied to Clipboard
ShoutChat
Comment Guidelines: Do post respectful and insightful comments. Don't flame, hate, spam.
Recent Topics
v7.7.5 Active Topics Display Name Incorrect
by Jake - 11/17/2020 4:46 PM
custom islands in forums tool
by Ruben - 11/17/2020 3:21 PM
Captcha bug maybe?
by Morgan - 11/16/2020 8:34 AM
Facebook thumbnail issue
by DBryce - 11/08/2020 7:43 PM
No hop to menu in the category pages
by Morgan - 11/05/2020 4:19 PM
Who's Online Now
2 members (Ruben, JAISP), 38 guests, and 53 robots.
Key: Admin, Global Mod, Mod
Random Gallery Image
Latest Gallery Images
gallery test
gallery test
by Mors, September 23
Los Angeles
Los Angeles
by isaac, August 6
3D Creations
3D Creations
by JAISP, December 30
Artistic structures
Artistic structures
by isaac, August 29
Powered by UBB.threads™ PHP Forum Software 7.7.5