PhotoPost Photo Gallery Sales PhotoPost Sales Toll Free Phone Number
Mon-Fri 9am-4pm EST
  PhotoPost Photo Sharing Photo Gallery    Visualize community tm
| | | | | | | | |

Go Back   PhotoPost Community > PhotoPost Support > PhotoPost Pro Support Forums > Photopost Pro Installation & Upgrades

Photopost Pro Installation & Upgrades If you're having install or upgrade problems

Reply
 
LinkBack Thread Tools Rate Thread Display Modes
Old December 5th, 2003, 02:52 PM   #1 (permalink)
Registered User
 
Join Date: Dec 2003
Location: Toronto, ON Canada
Posts: 34
sendmail question

I thought I successfully set up PhotoPost on my server (Unix), however in the test phase the only thing that appears to be inoperational is the registration/sendmail feature.

I know sendmail works, I'm running UBB.classic 6.6 and it sends mail fine. Is there something I need to set manually? Go easy on me, it's a miracle I installed this thing myself! I know it's probably something simple.

This is what's on my host's server:

Microsoft FrontPage Support
Web based file Manager
Web based file Editor
PHP / Perl / SSI
SSH
Your Own CGI-BIN
Unlimited MySQL Databases
PHPMyAdmin
Flash Support
Password Protect Directories
All file types allowed


Thanks for any help!

Jason
fasorg is offline   Reply With Quote
Old December 5th, 2003, 05:31 PM   #2 (permalink)
Registered User
 
Join Date: Dec 2003
Location: Toronto, ON Canada
Posts: 34
Actually, disregard my request for support. My host says they disabled certain scripting priviledges on the server due to spamming issues they encountered in the past. I'm in the middle of begging them to enable the script for my site. That would suck if I wasn't able to use auto-registration and the e-card feature. *sniff* Wish me luck!

Jason

Last edited by fasorg; December 5th, 2003 at 06:19 PM.
fasorg is offline   Reply With Quote
Old December 5th, 2003, 08:47 PM   #3 (permalink)
donb
Guest
 
Posts: n/a
PP just uses the standard mail() which is built in to PHP.

Not sure what UBB does, so I really can't speak for that, but as long as the PHP is setup properly, mail() shouldn't have a problem.

If you want, you can change line 295 in register.php from

mail( $email, $subject, $letter, $email_from );

to

if(!mail( $email, $subject, $letter, $email_from )) { diewell("Mail failed"); }

And then try to register an account...
  Reply With Quote
Old December 5th, 2003, 09:20 PM   #4 (permalink)
Registered User
 
Join Date: Dec 2003
Location: Toronto, ON Canada
Posts: 34
donb,

Thanks for your reply. A few hours ago I would have jumped on your suggestion... but since posting my original message my Web host got back to me and said to give them a few hours - there may be something they can do for me. Fingers crossed! If the answer is no, I will try your suggestion. Thanks very much for your time.

Jay

P.S. So you are saying that it's not a scripting system used to generate e-mails. I guess tech. at my host was just mistaken. Even if they do say they can enable the sendmail scripting (or whatever it is they need to do) and PhotoPost registrations and e-cards work properly, should I still make the changes you recommend above to register.php?
fasorg is offline   Reply With Quote
Old December 6th, 2003, 12:42 AM   #5 (permalink)
Registered User
 
Join Date: Dec 2003
Location: Toronto, ON Canada
Posts: 34
I have two other questions, if I may. I noticed that other peoples' PP configurations exclude the headers "Photos Comments Last Comment Last Photo Upload " in the "Main" category section. Mine doesn't. Please have a look and tell me where in the control panel I might have missed the option to remove the headers.

Also, I've figured out how to set the PhotoPost main table width to 95%, but when you click on a category it reverts to 100%. Can I make all of the tables 95%?

Thanks,

Jason Dietrich
Flight Attendants.org

Link to my PP installation: http://www.flightattendants.org/photopost/ - by the way, it's still in the testing phase so don't pay much attention to the less than interesting photos I've uploaded.

Last edited by fasorg; December 6th, 2003 at 01:10 AM.
fasorg is offline   Reply With Quote
Old December 6th, 2003, 05:43 AM   #6 (permalink)
Senior Member
Verified Customer
 
Join Date: Oct 2003
Location: Ottawa, Canada
Posts: 829
Both glodal table widths and last comments, etc are confirgurable in ADMIN > OPTIONS > INDEX DISPLAY OPTIONS.
Bryan Ex is offline   Reply With Quote
Old December 6th, 2003, 07:13 AM   #7 (permalink)
Registered User
 
Join Date: Dec 2003
Location: Toronto, ON Canada
Posts: 34
Hi Bryan,

My Index Display options are as follows (PP vs. 4.5.1)

Display photo and diskspace stats on index page? yes no
Depth (number of levels) of categories to display.
Default number of comments per page
Show Most Recent Additions on Index page? yes no
Display Members Gallery on the main index page? yes no
Number of columns for thumbnail pages
Show Most Popular images on Index page? yes no
Show Random images on Index page? yes no
Require users to be registered to view images? noyes
Show recent photos in default location (bottom)? (if no, will display at top) yes no
Do you want Members Gallery to show all of a users photos? yes no
Display new comments/photos indicator on index? yes no
Do you want to allow people to download their favorites? yes no
Display headers during SlideShows? yes no
Display and extract EXIF information from images? yes no
Pixel size of borders for images/thumbnails
Do you want to show the Members Gallery in List format? noyes
Color for image borders
Select a theme for your website defaultdarkorange
Number of columns for most recent additions section?
Number of photos to display in the most recent additions section?
Show last photo thumbnail in member galleries listing? yes no
PhotoPost main table width, percent or pixels.
Show post count and photo details for cats without thumbs?


I don't see the other option for table width...I've set the one above to 95%. Thanks for any other suggestions.

Jay
fasorg is offline   Reply With Quote
Old December 6th, 2003, 07:38 AM   #8 (permalink)
Registered User
 
Join Date: Dec 2003
Location: Toronto, ON Canada
Posts: 34
Hi donb,

I still haven't heard back from my Web host, so I tried what you suggested, and then I tried to register an account. It said, "Thanks for registering. Please check your email for instructions on activating your new account." Again, no e-mail was received. I also tried to send an e-card via my admin account, and it said, "your card has been sent", but no e-mail was received.

Hmmm... any ideas?

Thanks!

Jason


Quote:
Originally posted by donb
PP just uses the standard mail() which is built in to PHP.

Not sure what UBB does, so I really can't speak for that, but as long as the PHP is setup properly, mail() shouldn't have a problem.

If you want, you can change line 295 in register.php from

mail( $email, $subject, $letter, $email_from );

to

if(!mail( $email, $subject, $letter, $email_from )) { diewell("Mail failed"); }

And then try to register an account...
fasorg is offline   Reply With Quote
Old December 6th, 2003, 08:44 AM   #9 (permalink)
Senior Member
Verified Customer
 
Join Date: Oct 2003
Location: Ottawa, Canada
Posts: 829
Quote:
Originally posted by fasorg
Hi Bryan,

My Index Display options are as follows (PP vs. 4.5.1)
(snip)
PhotoPost main table width, percent or pixels.
(snip)
I don't see the other option for table width...I've set the one above to 95%. Thanks for any other suggestions.
Jay
Right... that's the one. By "main table" it's referring to outter most table for each page and not just the index page. If you look at the actual code used for each page the table width is defined as width=\"{$Globals['tablewidth']. As a test try setting it to something really obvious like 600 pixels and then take a look. The one except to this is if you get something too large for a table (like a long string of text) as that will "stretch" the table width regardless.
Bryan Ex is offline   Reply With Quote
Old December 6th, 2003, 09:15 AM   #10 (permalink)
Registered User
 
Join Date: Dec 2003
Location: Toronto, ON Canada
Posts: 34
Hi Bryan,

I set it to 600%. It only changed the index page and the sub-category pages.

When you click on a member gallery thumb and beyond, all tables revert back to 100%.

???

Thanks,

Jay
fasorg is offline   Reply With Quote
Old December 6th, 2003, 10:20 AM   #11 (permalink)
Senior Member
Verified Customer
 
Join Date: Oct 2003
Location: Ottawa, Canada
Posts: 829
I think I see the problem for ya! Try turning off "Show UBBCode on Photo page" (second last option in Admin > Options). The URL is very long and I do believe that's what's stretching out your tables.
Bryan Ex is offline   Reply With Quote
Old December 6th, 2003, 10:33 AM   #12 (permalink)
donb
Guest
 
Posts: n/a
fasorg, that tells me that since it did not print out that it failed that mail() performed as allowed.

aka, your host still needs to open this up for you.
  Reply With Quote
Old December 6th, 2003, 11:09 AM   #13 (permalink)
Registered User
 
Join Date: Dec 2003
Location: Toronto, ON Canada
Posts: 34
Bryan,

Actually the ubbcode is okay for width, but you solved the mystery! It the member gallery thumbs. They are 5 columns wide, and if I could somehow make them only 4 columns wide that would solve the problem! But how? It's not an option in the control panel.

donb,

I'll keep my fingers crossed that my host has good news about turning on that capability. Their e-mail to me was encouraging, but I don't want to set myself up for disappointment. In the mean time I think I will make the PhotoPost system available to my members and revert to a sendmail registration system when/if I can. What sucks though is that I had to turn off the e-card capability since it will not function either.

Is there different PhotoPost coding available for the sendmail function? It works with my ubb.classic no problem... my Unix Sendmail path is: /usr/sbin/sendmail

Thanks for all your help guys!

Jason
fasorg is offline   Reply With Quote
Old December 6th, 2003, 11:39 AM   #14 (permalink)
Senior Member
Verified Customer
 
Join Date: Oct 2003
Location: Ottawa, Canada
Posts: 829
Quote:
Originally posted by fasorg
Bryan,
Actually the ubbcode is okay for width, but you solved the mystery! It the member gallery thumbs. They are 5 columns wide, and if I could somehow make them only 4 columns wide that would solve the problem! But how? It's not an option in the control panel.
Admin Options > "Number of columns for thumbnail pages" will drop this to 4 columns (or whatever you set) but will affect all categories the same. The other option would be to set your thumb size to smaller dimensions if you are determined to keep 5 across. You could only upload vertical photos but I don't recommend that route...lol.

If you are looking to have a different number of colums in each category then you would have to dig into the code. I did this for the approve photos page in admin because the main frme window used the set page width and that meant I always had one colum off screen. My gallery is four across but admin is only three.
Bryan Ex is offline   Reply With Quote
Old December 6th, 2003, 11:51 AM   #15 (permalink)
Registered User
 
Join Date: Dec 2003
Location: Toronto, ON Canada
Posts: 34
Hey Bryan,

It is already set to 4 in the control panel. I would prefer it if all thumbs were 4 columns wide and that was my intention. Maybe I'll try setting thumbs columns to 10 in the control panel and then back to 4.

Off to try...

Jay
fasorg is offline   Reply With Quote
Old December 6th, 2003, 11:58 AM   #16 (permalink)
Senior Member
Verified Customer
 
Join Date: Oct 2003
Location: Ottawa, Canada
Posts: 829
Oh! Your referring to the Next, Current, Previous thumbs on the showphoto page. Only way to decrease the size would be to decrease thumb size or to alter the code to only show the immediate next image instead of the next/previous two images.
Bryan Ex is offline   Reply With Quote
Old December 6th, 2003, 12:06 PM   #17 (permalink)
Registered User
 
Join Date: Dec 2003
Location: Toronto, ON Canada
Posts: 34
Oh, okay. Umm... any suggestions to make those changes? I'm pretty green. Which module needs changing and what should I change the script to read? I'm capable of doing that if it's a cut and paste sorta thing...

Thank you again for all your help.
fasorg is offline   Reply With Quote
Old December 6th, 2003, 12:16 PM   #18 (permalink)
Registered User
 
Join Date: Dec 2003
Location: Toronto, ON Canada
Posts: 34
Hi again, Bryan:

In looking at your suggestion to reduce the thumbnail size in the show photo page(s), I noticed that there is an abundance of space in the columns around the thumbs. Is there a way to make that smaller instead of doing away with the 5th thumb? It would seem that if I could make the cells widths smaller it would all fit inside a 95% table like on the index page!

J
fasorg is offline   Reply With Quote
Old December 6th, 2003, 01:13 PM   #19 (permalink)
Senior Member
Verified Customer
 
Join Date: Oct 2003
Location: Ottawa, Canada
Posts: 829
Just a hunch here... try shortening the actual name of that category. The thumbs themselves are fine as each cell resized with the page.
Bryan Ex is offline   Reply With Quote
Old December 6th, 2003, 01:52 PM   #20 (permalink)
Registered User
 
Join Date: Dec 2003
Location: Toronto, ON Canada
Posts: 34
Thanks for the suggestion, Bryan, but it didn't make any difference.
fasorg is offline   Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
5.02 - Upgrade Error Question/Deleted Files Question WB Photopost Pro Installation & Upgrades 5 March 16th, 2005 03:00 PM


All times are GMT -5. The time now is 03:35 PM.

Powered by vBulletin® Version 3.8.1
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.2.0