Support Forums

location of thumbs and photos

This is a discussion on location of thumbs and photos within the Customizations forums, part of the Developer Forums category; Well a few things. 1. It is not surprising it is not working as the multiple image uploader does not ...


Go Back   68 Classifieds Forums > Developer Forums > Customizations

Reply
 
Thread Tools Display Modes
Old 02-09-2010, 03:24 PM   #21
All Hands On Deck
 
 
Join Date: Mar 2008
Posts: 2,666
Rep Power: 65
seymourjames is a jewel in the rough
Default

Well a few things.

1. It is not surprising it is not working as the multiple image uploader does not use this file.
2. The module is not a multiple use license so you will need to contact us if you wish to use it on several subdomains.

or you need to deactivate the module and then what you are doing may end up working. Regardless you will need to change the path for the modify images functionality.
__________________
"The fool doth think he is wise, but the wise man knows himself to be a fool.".

TemplateCodes.com for 68 Classifieds
seymourjames is offline   Reply With Quote
Old 02-09-2010, 03:26 PM   #22
Senior Member
 
MrGForce's Avatar
 
Join Date: May 2009
Posts: 219
Rep Power: 9
MrGForce is on a distinguished road
Default

Larry, I need to run out for a couple hours, but I did want to give you an update.

You're the man ... couldn't wait, so I tried your suggestion for the class_upload.php file

$this->fullPath = '/siteB/' . $this->path.'/';

had to use the absolute path, (tried the url and it didn't work) .... /home/mrgforce/public_html/ for the siteb to make it work, and it did, except that after it uploads the photo and thumb to the main sites directories, it leaves you in the main sites url. I also put the print function you mentioned in step5 and it shows nothing. Seems weird, but it's as if it's ignoring those variables completely.

Hate to ask this, but would you know where I could put code to bring the fullPath back to siteB ?? Would we just place that same code in reverse at the bottom of that file?

Thanks again Larry for your help, and I'm still curious as to why David asked about the multi image module.

Will wait to hear.



.
__________________
MrGForce

Currently running 68Classifieds v4.1.5 Developer Edition ... Purple Template
MrGForce is offline   Reply With Quote
Old 02-09-2010, 03:30 PM   #23
All Hands On Deck
 
 
Join Date: Mar 2008
Posts: 2,666
Rep Power: 65
seymourjames is a jewel in the rough
Default

Not sure how it is now working if you are using the multiple image uploader to upload images from two domains to a common photos and thumbs folder? I am looking at how this is possible. Are you in fact running the uploader in both domains? Are you actually testing the upload of completely new adverts or modifying/adding images? The latter does not use the multiple image uploader. I really cannot see how you are doing it for adding new adverts.
__________________
"The fool doth think he is wise, but the wise man knows himself to be a fool.".

TemplateCodes.com for 68 Classifieds
seymourjames is offline   Reply With Quote
Old 02-09-2010, 04:02 PM   #24
curmudgeon
 
Join Date: Mar 2006
Posts: 5,223
Rep Power: 128
Lhotch is a glorious beacon of light Lhotch is a glorious beacon of light Lhotch is a glorious beacon of light
Default

Quote:
Originally Posted by MrGForce
Hate to ask this, but would you know where I could put code to bring the fullPath back to siteB ?? Would we just place that same code in reverse at the bottom of that file?
Im just guessing but you could try finding the couple lines that start with the following code...

header("Location: usercheckout.php?step=5&listingid="

and put in the full path to the file, something like...

header("Location: http://mydomain.com/siteb/usercheckout.php?step=5&listingid="


Quote:
Originally Posted by MrGForce
Thanks again Larry for your help, and I'm still curious as to why David asked about the multi image module.
Because his mod does not you the upload_class.php file at all.
__________________
Larry

Knowledge learned is more valuable than knowledge given.
Lhotch is offline   Reply With Quote
Old 02-09-2010, 07:59 PM   #25
Senior Member
 
MrGForce's Avatar
 
Join Date: May 2009
Posts: 219
Rep Power: 9
MrGForce is on a distinguished road
Default

David;

Must apologize, didn't realize I was violating the license for the multi module using it in this way. I will email you in a day or so to get cost, etc. And I would say it's using it, but don't even attempt to go into the admin for that install in fear of messing up the main site. I simply make all the file changes through ftp.

And yes, it did work for a totally new listing. Haven't tried it yet doing a modification.

And Larry, I'll try your last suggestion to see if it will bring me back to siteb after doing the upload. I'll let you know.



.
__________________
MrGForce

Currently running 68Classifieds v4.1.5 Developer Edition ... Purple Template
MrGForce is offline   Reply With Quote
Old 02-09-2010, 09:46 PM   #26
Customer
 
Join Date: Jun 2009
Posts: 127
Rep Power: 7
pipelin is on a distinguished road
Default

If you are using upload images by 68Classifieds, you really need check your "phpinfo();" (insert this line in index.php) and look for DOCUMENT ROOT path. The path you have (/home/mrgforce/public_html/ ) looks short.
pipelin is offline   Reply With Quote
Old 02-10-2010, 02:47 AM   #27
All Hands On Deck
 
 
Join Date: Mar 2008
Posts: 2,666
Rep Power: 65
seymourjames is a jewel in the rough
Default

I don't think you have the multiple image uploader module active in both places. I can't see how it is uploading files from the second domain into the first domain unless the path within it is being explicitly set. If you want send me an email with your admin and ftp details and I will take a quick look for you.
__________________
"The fool doth think he is wise, but the wise man knows himself to be a fool.".

TemplateCodes.com for 68 Classifieds
seymourjames is offline   Reply With Quote
Old 02-10-2010, 06:40 AM   #28
Senior Member
 
MrGForce's Avatar
 
Join Date: May 2009
Posts: 219
Rep Power: 9
MrGForce is on a distinguished road
Default

Update ....

Pipelin ... I did the phpinfo() thing and it showed exactly what phpinfo does when I log into my hostgator account, and check it there. Looks short, but on a shared hosting account, it must be how they have the server set up.

David ... The photo upload for siteb did work, with Larry's suggestions, ONLY when it was a new listing with multiple photos. I just went in to check to see what happens when I tried to modify a listings images on siteb, and it reverted back to saving them in siteb's folders.

SO .... I just had to change everything back so that once someone visits SiteB, and clicks on ANY of the links, they are immediately taken back to the original site. That way there's no errors shown, and no license violations.

David ... I'll email you the one file that I wound up changing, so that you can see exactly what I had changed, so you can check to see why the revision did work in the multi image module when you said they shouldn't have.

Thanks again guys for all your help.



.
__________________
MrGForce

Currently running 68Classifieds v4.1.5 Developer Edition ... Purple Template
MrGForce is offline   Reply With Quote
Old 02-10-2010, 01:57 PM   #29
All Hands On Deck
 
 
Join Date: Mar 2008
Posts: 2,666
Rep Power: 65
seymourjames is a jewel in the rough
Default

I understand what you have done now. You have sent them from site B to site A and that should not be a an issue as you are not using the module in site B.
__________________
"The fool doth think he is wise, but the wise man knows himself to be a fool.".

TemplateCodes.com for 68 Classifieds
seymourjames is offline   Reply With Quote
Reply

Thread Tools
Display Modes


Similar Threads
Thread Thread Starter Forum Replies Last Post
photos oteenc Pre Sales Questions 2 07-31-2008 06:15 PM


All times are GMT -4. The time now is 06:39 PM.


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