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 > General Forums > General Discussion

General Discussion General use discussion forum for PhotoPost products.

Reply
 
LinkBack Thread Tools Rate Thread Display Modes
Old February 15th, 2009, 11:33 AM   #1 (permalink)
Ultimate Member
 
Join Date: Jun 2007
Location: Texas
Posts: 1,362
Send a message via Yahoo to skidpics
Redirect to login if uploads are exceeded

Chuck, what can I do to get PP to redirect to the login screen if the daily uploads amount are exceeded? THis will force either a registration or login.. hopefully.

Can I redirect in uploadphoto.php around line 144:

Quote:
$Globals['pp_lang']['uplimit'] = str_replace( "%pics%", $uploadchk, $Globals['pp_lang']['uplimit'] );
diewell($Globals['pp_lang']['uplimit']);
skidpics is offline   Reply With Quote
Old February 15th, 2009, 12:08 PM   #2 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 66,720
Maybe replace the diewell with this?

Code:
Content visible to verified customers only.
__________________
Photopost Developer and Support Engineer

Please do not PM me for support or sales questions. Thank you for your understanding.
Chuck S is online now   Reply With Quote
Old February 15th, 2009, 05:16 PM   #3 (permalink)
Ultimate Member
 
Join Date: Jun 2007
Location: Texas
Posts: 1,362
Send a message via Yahoo to skidpics
almost - that shows the login screen plus the upload screen - allowing uploading, but then giving the error that uploads exceeded.

I want to login only.
skidpics is offline   Reply With Quote
Old February 15th, 2009, 05:21 PM   #4 (permalink)
Ultimate Member
 
Join Date: Jun 2007
Location: Texas
Posts: 1,362
Send a message via Yahoo to skidpics
How about showing the login screen under the diewell message?
skidpics is offline   Reply With Quote
Old February 15th, 2009, 05:28 PM   #5 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 66,720
Really you can not unless maybe possibly you include the login template directly in the diewell template for all diewell messages.
__________________
Photopost Developer and Support Engineer

Please do not PM me for support or sales questions. Thank you for your understanding.
Chuck S is online now   Reply With Quote
Old February 15th, 2009, 05:31 PM   #6 (permalink)
Ultimate Member
 
Join Date: Jun 2007
Location: Texas
Posts: 1,362
Send a message via Yahoo to skidpics
never paid attention to that. I will look into that - as I stated in the mod forums a while back - a user should be given every opportunity to upload and register with the gallery - every opportunity - thanks for the tip - I will post the results once I got it set up.
skidpics is offline   Reply With Quote
Old February 15th, 2009, 05:41 PM   #7 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 66,720
We do not show the upload link if a group does not have permission to upload which is the preferred method of handling things just like if someone does not have permission to post in a forum you dont see a new post link.

There is default code to show a login screen if a bot or someone views uploadphoto.php from a bookmark or by mistake but outright showing the link is not done.
__________________
Photopost Developer and Support Engineer

Please do not PM me for support or sales questions. Thank you for your understanding.
Chuck S is online now   Reply With Quote
Old February 15th, 2009, 06:37 PM   #8 (permalink)
Ultimate Member
 
Join Date: Jun 2007
Location: Texas
Posts: 1,362
Send a message via Yahoo to skidpics
How come the menu bar disappears when you go to login? All that shows is the custom links I added in the mnubar.tmpl - all other do not show on the login screen.. Hmm..

Skidpics - Fast, free image hosting. The Place for your images! - Login
skidpics is offline   Reply With Quote
Old February 15th, 2009, 06:44 PM   #9 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 66,720
we dont call the menubar in that login page.
__________________
Photopost Developer and Support Engineer

Please do not PM me for support or sales questions. Thank you for your understanding.
Chuck S is online now   Reply With Quote
Old February 15th, 2009, 06:46 PM   #10 (permalink)
Ultimate Member
 
Join Date: Jun 2007
Location: Texas
Posts: 1,362
Send a message via Yahoo to skidpics
that explains that then..
skidpics is offline   Reply With Quote
Old February 15th, 2009, 08:53 PM   #11 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 66,720
yep usually something quite simple
__________________
Photopost Developer and Support Engineer

Please do not PM me for support or sales questions. Thank you for your understanding.
Chuck S is online now   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 On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
bad login redirect after 6 upgrade DerekG Photopost Pro Installation & Upgrades 7 October 9th, 2007 02:12 PM
redirect login link Larry Stowell Photopost Pro How Do I...? 0 March 21st, 2007 03:38 PM
Problem with Login Redirect with no vB integration GateKeeper Classifieds How do I...? 1 July 16th, 2006 06:07 PM


All times are GMT -5. The time now is 09:21 AM.

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