Support Forums

Photos Path

This is a discussion on Photos Path within the Technical Support forums, part of the Technical Support Forums category; What version of 68 Classifieds are you running? Example: V4.1.6 Designer What template are you using? Please describe in detail ...


Go Back   68 Classifieds Forums > Technical Support Forums > Technical Support

Reply
 
Thread Tools Display Modes
Old 01-17-2010, 02:48 PM   #1
Customer
 
Join Date: Jun 2009
Posts: 127
Rep Power: 13
pipelin is on a distinguished road
Default Photos Path

What version of 68 Classifieds are you running?
Example: V4.1.6 Designer

What template are you using?


Please describe in detail the issue you are having:
Im trying to add a subweb to the main site and at the same database, but I have a problems with the images upload. I modified the file useraddimages.tpl:

I changed this code:
$ppu->path = "/photos";
with:
$ppu->path = "/home/canada/domains/mysite.ca/public_html/photos";

and

$sip->pathThumb = "/thumbs";
with
$sip->pathThumb = "/home/canada/domains/mysite.ca/public_html/thumbs";


the first time it did it well, but after that the images are saved in the local subweb.

I tried to do it with FILESYSTEM_PATH. and $_SERVER['DOCUMENT_ROOT']. but they didnt work

Do you know how force it to upload the images to another directory, same server, same account?

Last edited by pipelin; 01-17-2010 at 03:43 PM.
pipelin is offline   Reply With Quote
Old 01-17-2010, 06:59 PM   #2
All Hands On Deck
 
seymourjames's Avatar
 
Join Date: Mar 2008
Posts: 3,524
Rep Power: 89
seymourjames is a jewel in the rough
Default

Have you checked globally across all your files that you have a different pathname? and in your 68C admin control panel. Looking at your path above - why are you doing this when it is suffice to just put in the mydomain.com/subdirectory or subdomain.mydomain.com into your 68C admin control panel. The pathname will then update accordingly.
__________________
"The fool doth think he is wise, but the wise man knows himself to be a fool.".

TemplateCodes.com for 68C
seymourjames is offline   Reply With Quote
Old 01-17-2010, 07:13 PM   #3
Customer
 
Join Date: Jun 2009
Posts: 127
Rep Power: 13
pipelin is on a distinguished road
Default

I think it is simple but no easy.

Im sharing the database, so the subdomain got the same url from the main site.
It is something like this post : Photos Path

Last edited by pipelin; 01-17-2010 at 07:16 PM.
pipelin is offline   Reply With Quote
Reply

Thread Tools
Display Modes


Similar Threads
Thread Thread Starter Forum Replies Last Post
Photos Path mgravlee Technical Support 8 09-08-2009 08:44 PM
V4.1.x No follow the path pipelin Modules / Plugins / Modifications 3 07-07-2009 07:47 PM
changing administration path Ghost Technical Support 2 05-22-2009 10:53 AM
Upgrade path ? Chad Technical Support 2 04-28-2007 02:49 AM


All times are GMT -4. The time now is 10:50 AM.


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