Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

brentmags

Pioneers
  • Posts

    11
  • Joined

  • Last visited

Everything posted by brentmags

  1. Hi Jason, curious to know how you got on with this. Have a meeting with BNZ tomorrow - 24 January 2011. Will let you know if i make any headway into it regards, Brent
  2. hi dude...interesting for that bit of code above doesn't always get a desired result. So i had a look at the code itself and have tested it...and had others test it and create an account and it is working well. on a fresh or NEW install (cos i want to use fb connect and am running PHP Version 5.2.5) the only notable change was in the create_account.php. i stepped through the find and replace, uploaded and created accounts to find subtle differences and this works for me. follow what it informs to the end on the instructions then come back to - d(FIND): the code below is the old code which i copied and pasted over the newly inserted code if this makes sense :'( <?php if (ACCOUNT_GENDER == 'true') { ?> <tr> <td class="main"><?php echo ENTRY_GENDER; ?></td> <td class="main"><?php echo tep_draw_radio_field('gender', 'm') . ' ' . MALE . ' ' . tep_draw_radio_field('gender', 'f') . ' ' . FEMALE . ' ' . (tep_not_null(ENTRY_GENDER_TEXT) ? '<span class="inputRequirement">' . ENTRY_GENDER_TEXT . '</span>': ''); ?></td> </tr> <?php gender hopefully for you should now work in the create account :thumbsup:
  3. hi andes1...i believe it could have something to do with the cookie :huh: exited out of my own facebook account and logged off out of oscommerce, and even closed the window completely and re opened again and still i get this. Altered the cookie setting in fbconnect.php to false with dire result, i.e. can go through the fb logon process but thats about it! even manipulated this via a few google search cookie settings //Facebook Connect include 'includes/classes/facebook.php'; include_once "fbconnect.php"; setcookie('fbs_'.$facebook->getAppId(), '', time()-100, '/', '. yourdomain.com'); thanks for the pointer
  4. wooo whooo it's almost summer here!

  5. hi...again not sure if anyone has picked this up...or maybe it is a browser setting i need to look at but have tested on 4 different browsers. facebook connect works a treat by the way...thank you, i have it running on a test site this is what i have discovered which could pose a problem for a single pc having multiusers who don't know each other where rogue purchases can be made. logon on using facebook connect and everything is sweet. When i log out it is ok but when i want to go and re log in, and lets say i am a different user it takes me to the previous used account. any suggestions would be great. to test this out on the demo site here is the link: http://www.freshfishdeliveries.co.nz/max/catalog/index.php kiwidownunder
  6. hey mate...not sure if you worked this out...but i found that unless you turn in admin/configuration/customers details/gender to false you will continue to get a loop in the create account page if gender is set to true. I turned this off to start off with until i read your thread. to solve it go back into login.php. I added these 2 lines of code, switched the gender back to true again via admin/config/customers details - created another account for logon for facebook and it worked. here is the code: look for in login.php $customer_id = $fb_customer['customers_id']; $customer_default_address_id = $fb_customer['customers_default_address_id']; $customer_first_name = $fb_customer['customers_firstname']; $customer_country_id = $fb_country['entry_country_id']; $customer_zone_id = $fb_country['entry_zone_id']; tep_session_register('customer_id'); tep_session_register('customer_default_address_id'); tep_session_register('customer_first_name'); tep_session_register('customer_country_id'); tep_session_register('customer_zone_id'); and replace with: $customer_id = $fb_customer['customers_id']; $customer_id = $fb_gender['gender_id']; $customer_default_address_id = $fb_customer['customers_default_address_id']; $customer_first_name = $fb_customer['customers_firstname']; $customer_country_id = $fb_country['entry_country_id']; $customer_zone_id = $fb_country['entry_zone_id']; tep_session_register('customer_id'); tep_session_register('gender_id'); tep_session_register('customer_default_address_id'); tep_session_register('customer_first_name'); tep_session_register('customer_country_id'); tep_session_register('customer_zone_id'); you will see i have placed in the gender_id string (lines 2 and 8). I am not a php'r but this worked for me. If someone advises otherwise please add to this kiwidownunder
  7. Hi Scott, i am NO php coder, but have just installed this contribution and despite the fact it took ages to do it, i started from the beginning working through each change as directed getting the result we are after. actually totals 8 downloads in all to different folders, and i am wondering if you started off right in the first place. I am assuming you didn't jump to the start of the queue (like me) at just download/upload - make the necessary changes and 'hey presto'. Don't worry i did it and then started again...making sure i had backed up the files i was using or just leaving them open just in case i had to Ctrl + Z etc and then refresh to see what was happening. on all accounts you should be minimally uploading (i take it you have a modified store)these files: catalog/admin/exportorders.php catalog/admin/includes/languages/english/exportorders.php and made changes to these files: catalog/admin/includes/boxes/customers.php catalog/admin/includes/filenames.php catalog/admin/includes/languages/french.php catalog/admin/includes/languages/english.php hope this helps
  8. Hi Chris...great contribution for someone who doesn't know too much about php but can follow your instructions gaining the desired affect. I have just recently added a contribution Option Types v2.1.3that allows me to add selection boxes, text area, upload photos etc for some of the items i intend to sell. Hence the reason why i am writing...for one aspect of pdf invoice works, but not totally for which i will share. Subject to how many Option Types you use per product, when it comes to viewing your invoice, once you run out of line description that is it. Is there (for i am not savvy with php YET) a way in which the line expands similarly to admin/invoice or packing slip where you get a full list of the order but in pdf format. I am guessing that the neccessary code changes might be in the catalog/pdfinvoice and account_history_info and likewise in the includes/pdfinvoice and account_history_info any comments would be appreciated - thankyou
  9. Hi...after a bit of 'trial and error' with STS 4.6 i finally got this great contrib going...as most have stated it was exactly what they were after. I am pretty fresh with php so some direction/confirmation of my thoughts would be appreciated. On your cart you sell a product with which a buyer can select size, colour, upload a picture to have printed on etc. Lets say s/he has successfully chosen 6 drop down boxes...choosing a variable from each and then proceeds through checkout. They receive an email soon after that lists the 6 drop down boxes and variables they have chosen and we see it in Admin view in both packing/invoice detail. I have installed a contrib called PDF_Customer_Invoice_v1.1 where via accessing My Account the user can print off an invoice once the product etc has been delivered. It is in this area I'd like to ask a question. The pdf invoice without any modification will only show a single line of the customer purchase. Once you run out of line, that also means the end of any purchase description that equates not giving a full invoice of purchase. (want to duplicate what admin invoice or packing slip offers where you see full account of purchase) How or where do I begin to start the modifications. Amongst some files uploaded, common ones are catalog/pdfinvoice and account_history_info and includes/languages/english/pdfinvoice and account_history_info I am assuming it is a table properties setting...but assuming is about all. Any thoughts would be great!! cheers
  10. Hi Jack...firstly i am very fresh out of the boX with this 'keep your cart safe' business and have been reading a my fair share of threads etc getting up to play with 'protection' - scratching my head in disbelief that i got it going the first time or shivers (or words to the effect) if i am miles off the mark. Subject to this quote: i tried variation of it inclusive of html/"and after it" which led to Site Monitor now working. as yet my cart is not 'PUBLIC PUBLIC' for buying any product so when i went to do a 'Manual Check for Hacked Files' it listed 47 hacked files (or in Red) where all but one of them were in my newly named admin folder which i only renamed this morning. PHPids works in tandem with Site Monitor and FWR Security Pro - just a BIG thanks for what you guys do and if it wasn't for others asking similar questions i wouldn't have worked it all out in it's entirity one last thing - htaccess codes, what is the deal on these please? (going there to find out)
  11. Hi...i will soon see if this goes in the correct space, but have been reading through quite a few of these posts to find things similar and disimilar and copying and pasting code to see if it gets rid of the issue before me. i followed the installation process uploading i would believe to the correct locations. CMOD'd that folder and txt file, and under Step B - Admin number 5 all of this worked a charm, i.e. i see everything in admin/configuration and admin/tools with tables created in IP ban and PHPids log step C & D (incidentally run FWR Security Pro) so made sure that the code was correct in catalog/inculdes/application_top.php it was with the testing that i came unstuck. I entered both of the variables for both TEST 1 & 2 and when i pushed enter nothing changed. I still viewed my normal default cart screen or variables of it. In the process of following steps to make my cart safe i have in fact renamed my admin folder. I am assuming this (for i am NEW to this all) that this contribution can/does work with a renamed admin file? OR do i revert to calling it admin, reinstall the contribution and start again. my cart is 2.2 vRC2a running on php version 5.2.5 i am going through the process of securing my cart having read in a previous post that having PHPIDS, Security Pro, Site Monitor and htaccess codes are a good start (not too sure of what the htaccess codes are but one thing at a time) any help or guidance/direction would be greatly appreciated kiwidownunder
×
×
  • Create New...