PhotoPost Community

PhotoPost Community (http://www.photopost.com/forum/)
-   Classifieds How do I...? (http://www.photopost.com/forum/classifieds-how-do-i/)
-   -   Wanted ads Images (http://www.photopost.com/forum/classifieds-how-do-i/130018-wanted-ads-images.html)

andrew67 January 19th, 2007 03:10 AM

Wanted ads Images
 
Hi, iam looking on how to allow users to upload images for there wanted ads, and allow them to display.

If i set the Category to "for sale" it will allow images but if i change it to "wanted" which i have a Category for wanted items.

I need to allow images to be used

Any ideas on how?

thanks

andrew67 January 19th, 2007 11:43 PM

still need help please

andrew67 January 22nd, 2007 01:35 AM

bump..

Chuck S January 22nd, 2007 12:39 PM

You would need to say add this on the uploadproduct1 template

change this

Code:

Content visible to verified customers only.
to this

Code:

Content visible to verified customers only.

andrew67 January 23rd, 2007 12:45 AM

thanks Chuck, but i edited the file and changed the code with yours and it didnt seem to work, any ideas?

cheers

andrew67 January 25th, 2007 01:53 AM

Update: tryed again and still doesnt seem to change to allow the user to upload pics or view them.

still only works on the buy template

Chuck S January 25th, 2007 07:57 AM

I would suggest two things since this discussion is not specifically a product support issue. The changes for what you want to do are going to require alot of your time. I suggest if you need further guidance you can post in our mod forum. Now you need to compare many templates to do something like this like showproduct1,editproduct1,uploadproduc1,showcat1 templates to the original templates to see the changes that need to be made. This is not an easy task to say the least. For example the change I gave you above will allow you to upload images but you will not be able to see them. Hense you need to compare showproduct and showproduct1 templates and see what to ad.

If you want to compare files I suggest you use a program called beyond compare by http://www.scootersoftware.com. You can compare each file between forsale and wanted to see the difference.

Here is also a link on how to create additional template sets

http://www.photopost.com/forum/showt...php?t=109206re

selsarac April 25th, 2008 01:36 PM

Hello Chuck_S, I want to edit in upper suggestion code changes.

and I don't see your code. I have Classifieds ads version pp-classifieds301.

from uploadproduct1.tmpl file's in row 62 to70.

Quote:

<td class="alt1">{$Globals['pp_lang']['producttitle']}</span></td>
<td class="alt1"><input class="bginput"type="text" size="50" name="title" />
<input class="bginput"type="hidden" name="theimage" value="" />
</td>
</tr>
PPPRINT;

if ( $Globals['zipcode'] == "yes" ) {
echo<<<PPPRINT
where Can I do here? I want to upload images all ads. Thank you, sincerelly yours.

Chuck S April 25th, 2008 03:46 PM

Your a verified customer you should see the changes here

You would do exactly as outlined there.

http://www.photopost.com/forum/showp...64&postcount=4

selsarac April 25th, 2008 05:49 PM

Thanks, but I am using vbulletin style entegration.
And /httpdocs/ilansel(pp_classifieds root)/templates/vb3enhanced folder template. I applied this hack to /httpdocs/ilansel/templates/uploadproduct1.tmpl files. and dont been done. There aren't any changed.

this hack effected when I changed in vb3enhanced folders in uploadproduct1.tmpl and others

Chuck S April 25th, 2008 05:53 PM

I would assume you did not apply this correctly then sorry.

You see in the first line the hidden empty image statement

You see in the block your replacing it with your putting 6 input prompts in the replacement code so if your editing the correct template you should be fine.

Chuck S April 25th, 2008 05:53 PM

You can post a url here to your site

selsarac April 25th, 2008 05:58 PM

http://www.bahcesel.com/ilansel/

user cankurtaran
passw: ss1315

please delete

Chuck S April 25th, 2008 06:05 PM

As I thought view your template in the vb3enhanced folder for uploadproduct1.tmpl it is not changed

http://www.bahcesel.com/ilansel/temp...dproduct1.tmpl

view page source to view the template it is the default

Chuck S April 25th, 2008 06:06 PM

You have actually edited the regular non vb template twice

http://www.bahcesel.com/ilansel/temp...dproduct1.tmpl

selsarac April 25th, 2008 06:25 PM

Quote:

Originally Posted by Chuck S (Post 1222672)
You have actually edited the regular non vb template twice

http://www.bahcesel.com/ilansel/temp...dproduct1.tmpl

I have re-edited http://www.bahcesel.com/ilansel/temp...dproduct1.tmpl and the image upload butons dont seen.

link is http://www.bahcesel.com/ilansel/uploadproduct.php .

ads type ariyorum.
and
step 2 alim ilanlari

selsarac April 25th, 2008 06:37 PM

do I need editing files in vb3enhanged folder? because I used vb style integrations.


and suggestion code is not there. in vb3enhanged/uploadproduct1.tmpl

and I dont know any code editing. I can doing copy/paste.

Chuck S April 25th, 2008 06:37 PM

Let me explain this again here so hopefully you understand. You keep editing the incorrect template. Your using vb therefore you must edit the template that exists in the vb3enhanced folder.

http://www.bahcesel.com/ilansel/temp...dproduct1.tmpl

selsarac April 25th, 2008 06:52 PM

Dear Chuck_S, yes I can see. This code is default.

Your suggested code aren't there.

Quote:

<td class="{$Style['tddetails']}">{$Globals['pp_lang']['producttitle']}</span></td>
<td class="{$Style['tddetails']}"><input type="text" size="50" name="title" />
<input type="hidden" name="theimage" value="" />
</td>
</tr>
PPPRINT;
in /httpdocs/ilansel/templates/vb3enhanced/uploadproduct1.tmpl file.

What I am editing any code?

can You say to me.(for example.) "you find this code string delete and this code string paste in vb3enhanged/uploadproduct11.tmpl file.."

selsarac April 25th, 2008 07:06 PM

if I was editing correct, then, I must editing other templates files, arent you?

for ex. showproduct.tmpl, editp.... vs....

can you prepare any version what All ads type can upload ads image?


All times are GMT -5. The time now is 02:17 AM.

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


1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97