1 (edited by GeoffG 2007-04-26 23:15)

Topic: Store Mod?

Isn't there a mod for a store out yet?

I've seen a mod for differen't types of forums for a store, so I tried browsing punbb and punres for one ... but failed to find a store mod (possibly to add-on to cash mod)

is there one out yet? or one someone can create?

O_O

thanks in advance

-Geoff

Re: Store Mod?

http://nalan.org/store.php the closes thing that been done... and still it is not finished..


Q

My stuff or my style might sux, but atleast I'm willing to help when I can.
Don't be stupid and help ! We are the stupid one's !!!

Re: Store Mod?

quaker wrote:

http://nalan.org/store.php the closes thing that been done... and still it is not finished..


Q

*QQ* its your store mod?

what problems you having? I can't really help but I always heard money could smile

Re: Store Mod?

i had a few people work on it til the main people gave up on the idea...

lol. now it just emails you a copy of the reciept.

Q

My stuff or my style might sux, but atleast I'm willing to help when I can.
Don't be stupid and help ! We are the stupid one's !!!

Re: Store Mod?

Work with cash mod at all?

6

Re: Store Mod?

i know a little store mod has been made using the cash mod on www.rsmarket.org
not sure if they will share code or not.

Re: Store Mod?

quaker wrote:

i had a few people work on it til the main people gave up on the idea...

lol. now it just emails you a copy of the reciept.

Q

Hmm, I was the one who originally posted that order form ~ I had it for the sole purpose of emailing me with information on the purchase ~ it wasn't meant to be used as a "store mod", though I'm glad a few of you seem to have tried.

If your interested quaker, I do have a version which allowed PayPal payments. I have no intention of releasing it as a mod but if you are wanting to port it into Punbb I can send you the files.

Let me know,
Will

8 (edited by quaker 2007-04-27 14:21)

Re: Store Mod?

downliner that kewl. sorry about that i forgot about that mod a long time ago. i had someone do some work on it. adding a ap mod for the admin and some other stuff.
if you want me to port it over i can try with what i got.


Q

My stuff or my style might sux, but atleast I'm willing to help when I can.
Don't be stupid and help ! We are the stupid one's !!!

Re: Store Mod?

Hi quaker, I just had a quick play with the order form now and I think I hit the same problem you had a long time ago....

When I run the order form it is able to carry the total amount over to PayPal without a problem. As soon as I include the PunBB header and footer it doesn't seem to work though. It just comes up blank.

This was turning into a nice little mod, and a store mod is always requested.... anybody else want to try and get this thing off the ground?

10

Re: Store Mod?

ill try to put all the files in one place and give a link this morning.. for everything that i got.

Q

My stuff or my style might sux, but atleast I'm willing to help when I can.
Don't be stupid and help ! We are the stupid one's !!!

11 (edited by downliner 2007-04-27 14:51)

Re: Store Mod?

Here are the original files for the Store/Order Form.

http://www.pitseleh.co.uk/kevin/forum/Order.zip

As Quaker originally posted, to make it fit your board style you simply call the header and footer information. Do the following in order.php and form.php:

<?php

define('PUN_ROOT', './');
define('PUN_QUIET_VISIT', 1);
require PUN_ROOT.'include/common.php';
//if ($pun_user['g_read_board'] == '0')                         <!--remove the // for members only -->
//    message($lang_common['No view']);            <!--remove the // for members only -->

//Hide contest from Guest                                             
//if ($pun_user['is_guest'])                                            <!--remove the // for members only -->
//   message($lang_common['No permission']);               <!--remove the // for members only -->

//Set the page title here
$page_title = pun_htmlspecialchars($pun_config['o_board_title']) . ' / Store';
define('PUN_ALLOW_INDEX', 1);
require PUN_ROOT.'header.php';
require PUN_ROOT.'include/parser.php';

?>

put your body here and it will work

<?php

require PUN_ROOT.'footer.php'; ?>

To get PayPal to work the code should be:

        <form action="https://www.paypal.com/cgi-bin/webscr" method="post">
          <input type="hidden" name="cmd" value="_xclick">
          <input type="hidden" name="business" value="you@youremail.com">
          <input type="hidden" name="item_name" value="Order">
          <input type="hidden" name="amount" value="<?php echo $grand_tot ?>">
          <input type="hidden" name="no_note" value="1">
          <input type="hidden" name="currency_code" value="GBP">
          <input type="hidden" name="lc" value="GB">
          <input type="hidden" name="bn" value="PP-BuyNowBF">
          <input type="image" src="https://www.paypal.com/en_US/i/btn/x-click-but23.gif" border="0" name="submit" alt="Make payments with PayPal - it's fast, free and secure!">
          <img alt="" border="0" src="https://www.paypal.com/en_GB/i/scr/pixel.gif" width="1" height="1"> 
        </form>

I cant get the grand total to carry over to PayPal if I call my punbb header and footer information though. Without the PunBB info the code works fine ~ it is only after I replace my normal <html> tags with the <php> tags that is stops carrying across to PayPal.

I'd like to see your API mod quaker big_smile I did have a mate switch from using an array and build it into a sql database but it wasn't linked to PunBB at all so probably useless for this cause tongue

12

Re: Store Mod?

here is the files..
http://modelcrowd.com/uploaded/store.rar
the db is in a folder called db..lol. u will have to import the string.

Q

My stuff or my style might sux, but atleast I'm willing to help when I can.
Don't be stupid and help ! We are the stupid one's !!!

Re: Store Mod?

Error 403 - Forbidden

You tried to access a document for which you don't have privileges.

^ Thats all Im seeing whenI try to download sad

14 (edited by quaker 2007-04-27 15:11)

Re: Store Mod?

try now.. http://modelcrowd.com/store.rar
if not send me an email

i got this link..
http://www.dyn-web.com/scripts/orderform/

My stuff or my style might sux, but atleast I'm willing to help when I can.
Don't be stupid and help ! We are the stupid one's !!!

Re: Store Mod?

Hmm ran the sql query, uploaded all of the files to the correct directories but returning this error when I try to access the plugin:

An error was encountered
Error: Unable to fetch category/forum list.

Any ideas?

16

Re: Store Mod?

do have msn yim or aim?
scot405583@passport.com
scot405583 for yim and aim

My stuff or my style might sux, but atleast I'm willing to help when I can.
Don't be stupid and help ! We are the stupid one's !!!

17

Re: Store Mod?

i got an error when i tried to import the sql
but when i went back to look at the db it was there.
and i went to a test site that i use all the fiiles and db informations was there.
that db.txt was an export that i did on that store.

Q

My stuff or my style might sux, but atleast I'm willing to help when I can.
Don't be stupid and help ! We are the stupid one's !!!

18

Re: Store Mod?

Hmmm.... lol *added you on msn*

I have a few questions xD