vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   Modification Graveyard (https://vborg.vbsupport.ru/forumdisplay.php?f=224)
-   -   Major Additions - microCART: Shopping System for vB4 (https://vborg.vbsupport.ru/showthread.php?t=256723)

JimboSlice 03-18-2011 03:25 PM

I only sale physical items, dont need downloads. It hasnt been an issue but at times I forget to set it to physical.

I still want the sideblock to work properly. Any updates?

dale09 03-18-2011 05:45 PM

Can someone please help. I have installed everything and it seem's to have installed without a hitch. I have a few products added. However, I get some error about a security token missing when trying to add to cart. The usergroup has permission to purchase.

I should have mentioned I downloaded the MICROCART_114_2802011.zip version.


I also notice when clicking the "add to cart" button, it's taking me to http://www.mysite.com/search.php?do=process

Why? Please help

mikem164 03-18-2011 06:20 PM

Can you elaborate a little on how this works, as this may be the reason my Screenshots aren't working.
* /home/username/downloads/
Do I put an actual username in there? in the file it's listed as: /home/***username***/downloads/
Do I need the *'s??
Thanks, Mike

dale09 03-18-2011 07:01 PM

Mike, you need to put your path there. The path to the directory that you are using for the downloads. You don't need the *'s in there, they did that to give folks to the idea it needed to be changed with your actual username on the server.

mikem164 03-18-2011 07:50 PM

ok, created it without the *'s and it's one folder under my forum and used my username like this: home/forum/username/files and I still can't get my screenshots or thumbnails to appear.
Thanks for the input. Folders are chmodd to 777 I'm out of guess's

UPdate: I found that the Thumbnail for the screen shot is going to forum/microcart/photos/thumbs. The thumbnail is there. The Screenshots are ending up the photo's folder but... Size is 0kb. This tells me that the ABOVE path is for Downloadable files for purchase on a per user basis and not for pics.

So, why would the images get uploaded but at 0kb? What's holding it up? yikes

Thanks for the help... hope developer hops on here tonite!

mikem164 03-19-2011 02:52 PM

UPDATE:
If I manually up a thumb to my photos/thumbs with the name that failed to upload then it appears.
Screenshots fail uploading as well, but source showed where it was looking for the image of the screenshot here: microcart/photos/thumbs/6155b071b57f091add071aaa4c48a2c7.jpg

All I need to do is figure why the upload is failing. When I upload a folder, it hangs on the blank Vb screen. I tried this on another forum with Vb 4.0.2 and exact same result.

Arseynimz 03-20-2011 12:53 AM

Great mod here michael - thanks heaps!

I'm trying to go about modifying it a touch here and there though, but thought I'd ask you first in case you were already on to it. I would like to show tax inclusive pricing in the shop (i.e. before going through to the cart - is there any plan for this?

Also, can you direct me to where I can modify the pdf invoice output? I am trying to add a few lines to the invoice, and also modify some of the tables that are created - all help appreciated!

Edit: Also any way to get rid of the funky psychadelic background on the pdf's?!

micheal332001 03-20-2011 10:41 AM

Quote:

Originally Posted by stationar (Post 2174591)
Tried to install, but it errored: Internal Server Error


Tried reinstall, and got this error:

Product: MICROCART_114_01022011

Looks like to did not remove all the tables for the microcart system and thats why you have this error.
goto your mysql and remove all microcart_ tables then try and re-install.
If you are still having problems please pm me with admincp and cpanel access and ill install it for you.

Quote:

Originally Posted by Raffaele (Post 2174761)
Yes, micheal332001....as i only would sell only Services and for the others if i would sell skins or documents yes i would like it to be turned on. this would be very beneficial for many users/clients.

Thank you for your reply,
Raffaele:D

I will see about an option per product to turn on or off some options.

Quote:

Originally Posted by JimboSlice (Post 2174781)
I only sale physical items, dont need downloads. It hasnt been an issue but at times I forget to set it to physical.

I still want the sideblock to work properly. Any updates?

I will put a new option in to turn off the downloads tab, as for the forum block im working on this and will have a new update when i have time.
Im very busy at the moment with privet work at the moment and that comes before any free scripts.

Quote:

Originally Posted by dale09 (Post 2174851)
Can someone please help. I have installed everything and it seem's to have installed without a hitch. I have a few products added. However, I get some error about a security token missing when trying to add to cart. The usergroup has permission to purchase.

I should have mentioned I downloaded the MICROCART_114_2802011.zip version.


I also notice when clicking the "add to cart" button, it's taking me to http://www.mysite.com/search.php?do=process

Why? Please help

There are no security token missing as i have looked into the add to cart button and as for it taking you to http://www.mysite.com/search.php?do=process i cannot get this version to do that.
Please send me your site url and login details so that i can try it out on your site.

Quote:

Originally Posted by mikem164 (Post 2174863)
Can you elaborate a little on how this works, as this may be the reason my Screenshots aren't working.
* /home/username/downloads/
Do I put an actual username in there? in the file it's listed as: /home/***username***/downloads/
Do I need the *'s??
Thanks, Mike

when you got your webhost account you used a username to setup the account in most casses this would be put in where it says ***username***

micheal332001 03-20-2011 10:49 AM

Quote:

Originally Posted by mikem164 (Post 2175106)
UPDATE:
If I manually up a thumb to my photos/thumbs with the name that failed to upload then it appears.
Screenshots fail uploading as well, but source showed where it was looking for the image of the screenshot here: microcart/photos/thumbs/6155b071b57f091add071aaa4c48a2c7.jpg

All I need to do is figure why the upload is failing. When I upload a folder, it hangs on the blank Vb screen. I tried this on another forum with Vb 4.0.2 and exact same result.

please make sure your folder microcart and all folders within this folder are chmodded to 777

Quote:

Originally Posted by Arseynimz (Post 2175287)
Great mod here michael - thanks heaps!

I'm trying to go about modifying it a touch here and there though, but thought I'd ask you first in case you were already on to it. I would like to show tax inclusive pricing in the shop (i.e. before going through to the cart - is there any plan for this?

Also, can you direct me to where I can modify the pdf invoice output? I am trying to add a few lines to the invoice, and also modify some of the tables that are created - all help appreciated!

Edit: Also any way to get rid of the funky psychadelic background on the pdf's?!

to remove or modify the background look at line 2060 to 2089

to edit the PDF out put you will need to look for this

PHP Code:

if ($_REQUEST['do'] == 'invoice')


and change it the way you like here.
to add a new line use this

PHP Code:

$pdf->ezText('<b><u>'.$vbphrase["microcart_invoice_to"].'</u></b>'); 


micheal332001 03-20-2011 10:51 AM

Quote:

Originally Posted by razvy64 (Post 2174022)
# CMOD 777 the directories:

* microcart
* microcart/photos
* microcart/photos/thumbs
* microcart/photos/tmp
* microcart/editor/files
* microcart/editor/flash
* microcart/editor/media
* microcart/editor/photos
* microcart/pdf
* microcart/fonts
* microcart/images


I cannot find this:
* microcart/fonts

Should this be a problem?

this folder is no longer required microcart/fonts
all fonts are now in the pdf folder


All times are GMT. The time now is 06:32 AM.

Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.

X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.01753 seconds
  • Memory Usage 1,762KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (2)bbcode_php_printable
  • (8)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (3)pagenav_pagelinkrel
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • printthread_start
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete