vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 2.x Full Releases (https://vborg.vbsupport.ru/forumdisplay.php?f=4)
-   -   Add Product Actions to Lesane's Store Hack! (https://vborg.vbsupport.ru/showthread.php?t=48338)

midnightz 03-14-2003 12:51 PM

Hi There,

I would like to add a Image showing the product in the item box. How is that done. Such as 500 points for a CD and showing a pic of it, if they click on the pick, I could activate a popup window that tells more about the product.

midnightz

Fking 04-27-2003 08:36 PM

How to edit the body of the mail sent to user who just purchased something?

ChurchMedia 04-27-2003 08:41 PM

Quote:

Today at 03:36 PM Fking said this in Post #42
How to edit the body of the mail sent to user who just purchased something?

In the store_code_chunk edit the stuff below this line:

// ##################### Begin Email To User ############################

midnightz 05-24-2003 07:09 PM

Quote:

02-02-03 at 11:57 PM ChurchMedia said this in Post #32
You could do this -- It would require 2 templates per downloadable item and some code modifications. I can get that to you if you really want it...

The only "danger" I can see is that the download link would not be secure -- so once it's bought, the user could share it with someone else....

It might be better to just strip out all of the shipping info stuff from the templates and from the code and then email them a unique download link....

You can try to use amember, its is a script that helpes with secure downloads after processing http://membership.cgi-central.net/scripts/amember/ It is a retail script, but they have a lite version if I remember. Vbskins uses this as thier DL manager (I think)?

But thats what I use :)

midnightz 05-24-2003 07:10 PM

Hi ChurchMedia,

I would like to make the form with all fields required, since I can imagine a user processing thier points and sending me a blank email.

Is that possible if please, How?

Thanks,

midz

WebMasterAJ 06-02-2003 06:36 PM

This works perfectly, but I'm hacking this for a person who doesn't know too much about computers, and as simple as it sounds, editing store.php can be quite tedious and time consuming when we start to add/delete items.

So, is it possible to make it so you don't have to edit store.php?

Please let me know, I appreciate your help!

Sincerely,
Andrew Tatum

WebMasterAJ 06-04-2003 05:40 PM

Any takers? :(

ChurchMedia 06-09-2003 05:46 PM

WebMasterAJ,

It's a great idea. Unfortunately I'm not that great of a PHP programmer. There should be a way to add the code to the file without having to do it manually, but I just don't know how. Sorry!

cinq 07-17-2003 11:35 AM

I just came across this add on.
And i must say with this add-on hack, you just gave me a reason to install Lesane's Store hack ! :D

Thanks ChurchMedia :)

EWorld 09-06-2003 05:14 PM

I am a bit confused, what is Action Code? I mean how do I know what to put that as? I am very confused. Anyone have any ideas?

- EWorld

i took a guess at the action code and just added like 123 or wand or whatever to the action code, but the prodcut doesnt show up! i need help. thanks.

- Speedy

ChurchMedia 09-06-2003 07:26 PM

You just make one up. So if you were selling a t-shirt you could call that action code SHIRT. Then that's the code you replace in the code chunk that you add to store.php. You have to edit store.php every time you add a new product (I don't know how else to do it).

Good luck :)

Quote:

Today at 12:14 PM EWorld said this in Post #50
I am a bit confused, what is Action Code? I mean how do I know what to put that as? I am very confused. Anyone have any ideas?

- EWorld


i took a guess at the action code and just added like 123 or wand or whatever to the action code, but the prodcut doesnt show up! i need help. thanks.


- Speedy


MaDCaT75 09-06-2003 10:44 PM

I dont get it.... once they buy something.... do they actually purchase a physical object or is it like all pretend? :rolleyes:

ChurchMedia 09-07-2003 03:52 AM

Read the first post in the thread -- it's for selling physical product. It works great for me to get people posting and the products don't cost me much. It actually increases sales in my real store. :)

NexDog 09-07-2003 10:32 PM

Very cool add-on. At the moment I only use teh Store Hack for the points system and people can redeem points for disk space, domains, plans etc. Now i can hard code the lot. T'is great!

reismarktq2 09-11-2003 02:40 PM

I'm not sure exactly what you mean by this...
Quote:

1) In the "newstoreaction.php" script

>>>>>>>>>>>FIND

$link = mysql_connect("localhost","yourusername","yourpass word");


>>>>>>>>>>>CHANGE

yourusername and yourpassword
Help?

Logikos 09-12-2003 07:30 AM

how do yuo remove an item?

Logikos 09-12-2003 07:31 AM

Quote:

Originally Posted by reismarktq2
I'm not sure exactly what you mean by this...

Help?


database user name, database password




so ifi want to remove an action. How do i do it? removing the code doesnt work. This is my only question, Otherwise works flawless with no screw ups

stamos2003 12-31-2003 10:08 AM

i have a problem with this.

i installed all right away and good, but when i add an item to the shop it adds it to the database with all empty fields ?!

when i go then to edit the item there are also all empty fields.. :confused:

seems like its not putting the data in to the database, allthough i have no mysql error....

MindTrix 12-31-2003 04:10 PM

What version of the store are you running? Note if you recently downloaded the store hack then it is a new version called 3.0 and no add ons will work with it unless converted.

So basically this add on should only work with the old store hack which is no longer available for download. Hope this helps.

stamos2003 12-31-2003 06:27 PM

oh.... so i must wait until the add on is gonna updated ? if ever it's updadet :( sad......

MindTrix 12-31-2003 06:28 PM

Well if you are using the new store, then yes im afraid (about 95% sure ;) )


All times are GMT. The time now is 10:57 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.01106 seconds
  • Memory Usage 1,757KB
  • 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
  • (5)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (1)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (21)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