Support Forums

Cant get passed image upload section

This is a discussion on Cant get passed image upload section within the Technical Support forums, part of the Technical Support Forums category; What version of 68 Classifieds are you running? Example: V4.1.10 Designer What template are you using? Default Please describe in ...


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

Reply
 
Thread Tools Display Modes
Old 03-03-2011, 02:01 PM   #1
Customer
 
Join Date: Jul 2010
Posts: 24
Rep Power: 5
tango is on a distinguished road
Default Cant get passed image upload section

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

What template are you using? Default


Please describe in detail the issue you are having: I have Template codes quick checkout/image upload module but that isn't the problem, when i try and post an ad with JavaScript disabled i get reverted to the default way of posting ads but, all goes fine until i get to the image upload part, i can upload an image but the skip the step and Continue and delete buttons do not work at all and i cant get to the next part. I disabled the preview page and it should go straight to the review order section.

Thanks for looking
tango is offline   Reply With Quote
Old 03-03-2011, 02:19 PM   #2
Staff
 
Join Date: Mar 2006
Location: New Jersey
Posts: 2,149
Rep Power: 68
John Snyder is a jewel in the rough
Default

The templatecodes checkout requires javascript to be enabled. I'm sure you would have to edit the module not to allow the other templatecodes image upload module to not show up in the normal checkout.

Try and edit like this to allow regular uploader for normal checkout (about line 46 / image_upload/hooks.php):
PHP Code:
if ($step == 100) { //take over the form (submits to this module's index.php) 
This will effectively disable the image_upload module, leaving you with quick checkout or normal checkout.
__________________
John
68C Staff

68C Downloads | Report a Bug | Knowledge Base
If you have a current support subscription, you can Submit a Support Ticket

Last edited by John Snyder; 03-03-2011 at 02:23 PM.
John Snyder is offline   Reply With Quote
Old 03-03-2011, 06:16 PM   #3
Customer
 
Join Date: Jul 2010
Posts: 24
Rep Power: 5
tango is on a distinguished road
Default

Thank you for you help but it didnt reslove the issue The attachment shows where i am stuck, the skip this step doesn't work, you click it and it doesn't do nothing.
Attached Images
File Type: jpg Capture.JPG (23.9 KB, 7 views)
tango is offline   Reply With Quote
Old 03-03-2011, 06:21 PM   #4
All Hands On Deck
 
 
Join Date: Mar 2008
Posts: 3,342
Rep Power: 84
seymourjames is a jewel in the rough
Default

send a ticket to me. I will take a look tomorrow morning. I will need FTP details and 68C admin control panel login details.
__________________
"The fool doth think he is wise, but the wise man knows himself to be a fool.".

TemplateCodes.com for 68C, Version 4 Templates & Modules
Get the Best U.S Hosting, Best U.K Hosting
seymourjames is offline   Reply With Quote
Old 03-03-2011, 07:19 PM   #5
curmudgeon
 
Join Date: Mar 2006
Posts: 5,413
Rep Power: 138
Lhotch is a glorious beacon of light Lhotch is a glorious beacon of light Lhotch is a glorious beacon of light
Default

Does image upload work properly with the default template?
__________________
Larry

Knowledge learned is more valuable than knowledge given.
Lhotch is offline   Reply With Quote
Old 03-03-2011, 09:58 PM   #6
Staff
 
Join Date: Mar 2006
Location: New Jersey
Posts: 2,149
Rep Power: 68
John Snyder is a jewel in the rough
Default

I can reproduce this, the buttons trigger js, and you'll have to edit your template to make it work with javascript disabled.

Here is how I did it:

Replace:
HTML Code:
<p class="continue"><input type="button" name="Skip" value="{$smarty.const.LANG_ADD_LISTING_SKIP}" onClick="MM_goToURL('parent','usercheckout.php?step=6&category={$section}&listingid={$listingid}&productid={$productid}');return document.MM_returnValue" /></p>
{else}
<p class="continue"><input type="button" name="Skip" value="Continue »" onClick="MM_goToURL('parent','usercheckout.php?step=6&category={$section}&listingid={$listingid}&productid={$productid}');return document.MM_returnValue" /></p>
{/if}
With:
HTML Code:
{literal}
<script type="text/javascript">
<!--
$(document).ready(function() {
    $('.nojslink').hide();
    $('.jsbutton').show();
});
//-->
</script>
<style type="text/css">.jsbutton { display:none; }</style>
{/literal}
<p class="continue">
    <a href="usercheckout.php?step=6&category={$section}&listingid={$listingid}&productid={$productid}" class="nojslink">{$smarty.const.LANG_ADD_LISTING_SKIP}</a>
    <input type="button" name="Skip" class="jsbutton" value="{$smarty.const.LANG_ADD_LISTING_SKIP}" onClick="MM_goToURL('parent','usercheckout.php?step=6&category={$section}&listingid={$listingid}&productid={$productid}');return document.MM_returnValue" />
</p>
{else}
<p class="continue">
    <a href="usercheckout.php?step=6&category={$section}&listingid={$listingid}&productid={$productid}" class="nojslink">Continue »</a>
    <input type="button" name="Skip" class="jsbutton" value="Continue »" onClick="MM_goToURL('parent','usercheckout.php?step=6&category={$section}&listingid={$listingid}&productid={$productid}');return document.MM_returnValue" />
</p>
{/if}
This is just to show the code without including the whole template, you should add the css to the main style sheet, and place the javascript inside the javascript tags higher up in the template. The link won't have any styling unless you add some.
__________________
John
68C Staff

68C Downloads | Report a Bug | Knowledge Base
If you have a current support subscription, you can Submit a Support Ticket
John Snyder is offline   Reply With Quote
Reply

Tags
image , upload

Thread Tools
Display Modes


Similar Threads
Thread Thread Starter Forum Replies Last Post
Help with image upload etrepreneur Templates, HTML, CSS, and Design Help 9 02-20-2009 03:56 PM
Compress Image Before Upload bowers01 Technical Support 7 09-10-2008 07:53 PM
Upload image in listing ad admin section wesse249 Technical Support 1 09-08-2008 08:59 AM


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


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