Go Back   vb.org Archive > vBulletin Modifications > Archive > vB.org Archives > vBulletin 3.0 > vBulletin 3.0 Full Releases
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools
vBPurchase 1.0c.fl1 Details »»
vBPurchase 1.0c.fl1
Version: 1.0c.fl1, by Ron1n Ron1n is offline
Developer Last Online: Jun 2008 Show Printable Version Email this Page

Version: 3.0.7 Rating:
Released: 06-15-2005 Last Update: 06-30-2005 Installs: 20
DB Changes Template Edits
Code Changes  
No support by the author.

FULL RELEASE!

**ATTN**
USE THE FIX LIST ---> AND MAKE SURE YOU HAVE COMPLETED EACH STEP BEFORE INSTALLING. IF YOU HAVE ALREADY INSTALLED, JUST MAKE SURE YOU DO THEM SOON.


For those of you with other versions installed please upgrade using the upgrade_OLDVERSION_NEWVERSION.txt and everything will workfine.

READ ALL OF THIS BEFORE POSTING AND BEFORE DOWNLOADING:
This is not a beta anymore, but it is for capable, expirienced users only. This can be used as a final product, but it is not meant to be a final product. Users will proabably want to add some features for their own forum to meet their unique needs.

Overview:
This is a purchase/member area hack for vBulletin that is integrated with paypal. It comes with no warrantee, no installer, and limited support. It has been tested on all 3.0.x versions and is working (for the most part).

Bugs:
- I did not include admincp phrases
- There are problems when usernames contain '

Suggestions:
- Custom order fields

Notices:
- There is no support extension, but this hack does automatically add users to a new usergroup if you want it to, and therefore you can have a support forum for your users who have actually purchased items.

Quote:
Originally Posted by shah
For those that keep asking this, this is a store hack which is strikingly similar to the ones found at vbadvanced.com, vbcore.com, cinvin.com, go to their products.php page and you will see.

It let's you add licenses/services/products and lets you sell each. You set the price and description from the admin, and it automatically appears in the purchase.php page, from their the user has the option to buy the product and once he/she has paid the price, they will be redirected to the page where they can download the file/license that they have purchased. Hope this descritption helps a little.

Like he has mentioned, you need to know what your doing and you are required to have a paypal account to install this hack, if you don't have paypal, then you pretty much can't use it I guess, not sure.
Thanks shah

Show Your Support

  • This modification may not be copied, reproduced or published elsewhere without author's permission.

Comments
  #92  
Old 06-28-2005, 08:05 AM
Bernd Bernd is offline
 
Join Date: Apr 2005
Posts: 138
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

purchase.php?do=reciept&tx= + NUMBERS

ends up being a blank page. I don't receive an error notification.
Reply With Quote
  #93  
Old 06-28-2005, 11:31 AM
jugo jugo is offline
 
Join Date: Feb 2004
Location: Reading your emails.
Posts: 573
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

?? Can we add custom fields to the order form?
Reply With Quote
  #94  
Old 06-28-2005, 01:12 PM
Ron1n Ron1n is offline
 
Join Date: Jun 2004
Posts: 373
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Bernd
purchase.php?do=reciept&tx= + NUMBERS

ends up being a blank page. I don't receive an error notification.
Look in your logs, copy and paste the two longs associated with that specific 'NUMBERS' string.

Also... answer these questions:
- is the order created
- is there a ' in the product name/ item name

I cant see why you would get a blank page... unless its not communicating with paypal and times out... or if your missing a template. The whole blank page doesnt make much sense. You can do some debugging and add some echo "[reached point:a]"; statements (but use different letters), and tell me if it dies at some point. This will help me track the problem.

Quote:
?? Can we add custom fields to the order form?
Be my guest!
Reply With Quote
  #95  
Old 06-28-2005, 02:50 PM
jugo jugo is offline
 
Join Date: Feb 2004
Location: Reading your emails.
Posts: 573
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

When will you have an installer for this ron1n. My brain hurts... lol
Reply With Quote
  #96  
Old 06-28-2005, 05:18 PM
Ron1n Ron1n is offline
 
Join Date: Jun 2004
Posts: 373
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by jugo
When will you have an installer for this ron1n. My brain hurts... lol
it doesnt really need one... its a simple install
Reply With Quote
  #97  
Old 06-30-2005, 12:33 AM
yoyoyoyo's Avatar
yoyoyoyo yoyoyoyo is offline
 
Join Date: Dec 2004
Location: USA
Posts: 1,612
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Thanks for the updated file. I installed it on a brand new install of VB 3.0.6, and it gave me a few errors when I ran the MySQL queries. I ran them one at a time as listed.

When I entered the query:
[sql]ALTER TABLE `ph_settings` ADD `return` VARCHAR( 50 ) NOT NULL ,
ADD `notify` VARCHAR( 50 ) NOT NULL ;[/sql]
I got the following error:
Quote:
An error occurred while attempting to execute your query. The following information was returned.
error number: 1060
error desc: Duplicate column name 'return'
when I ran this SQL query:[sql]INSERT INTO `ph_settings` VALUES ('', 0, '', '', 0, '', '');[/sql]
I got the following error:
Quote:
An error occurred while attempting to execute your query. The following information was returned.
error number: 1136
error desc: Column count doesn't match value count at row 1
Try deleting the tables from your database and redo the sql queries as listed in the zip file and you will see what I mean.

Also I was a bit confused by the file name "includes_mysql_edit" but I soon figured out I needed to edit FORUM/includes/db_mysql.php

I am still getting taken to the paypal page even if the item is marked as FREE. Will this be changed in a future version?

Thanks again.
Reply With Quote
  #98  
Old 06-30-2005, 04:50 AM
PixelFx PixelFx is offline
 
Join Date: Dec 2002
Posts: 1,117
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I got the same errors when I installed 1.0c on vb3.0.7. Other than the few errors above so far so good, do you want me to post screenshots later?

When I got to click ok on settings edited, it gives me a phrase error:

Can Note Find Phase "Settings Edited" .... you weren't kidding when you wait phases not setup yet.

where do I read in database to know what phrases to setup ?
Reply With Quote
  #99  
Old 06-30-2005, 04:54 PM
Madmax4321 Madmax4321 is offline
 
Join Date: May 2005
Posts: 24
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

hi im now getting this error:

Warning: fopen(00H1682458552343F.datatrans): failed to open stream: Permission denied in /purchase.php on line 311

Warning: fputs(): supplied argument is not a valid stream resource in /purchase.php on line 312

Warning: fclose(): supplied argument is not a valid stream resource in /purchase.php on line 313

how do i fix this one and no info goes into db.

another thing i noticed is i get no ipn callback but if i look @ whosonline i see guest purchase.php?do=ipn viewing no permission message do i need to allow guests to view forum for this to work?

the reciept url returns np and says you can download from members area shortly etc and i get success message in log files but no ipn logs.

have you a solution try ??
Reply With Quote
  #100  
Old 07-01-2005, 09:18 PM
Ron1n Ron1n is offline
 
Join Date: Jun 2004
Posts: 373
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

@yoyoyoyo

Code:
ALTER TABLE `ph_settings` ADD `return` VARCHAR( 50 ) NOT NULL ,
ADD `notify` VARCHAR( 50 ) NOT NULL ;
found its way into my description - removed and reuploaded

Code:
I am still getting taken to the paypal page even if the item is marked as FREE.  Will this be changed in a future version?
Probably not - i just wont allow free items. I mean, I dont know. I wont be updating this POS anytime soon though, I have real work that is taking over my life and doesnt let me have any free time.

@PixelFX

Search the admin file I provided for the phrase 'redirect' without the ''

@Madmax4321

1. The fopen, fputs, fclose is all permissions errors on your system or it cant find the directory. You just have to chmod + make sure the file exists.

2. The URL reciept just lets you know the transaction was OK from the users end, basically it lets you debug. The reciept should never submit information into the database because users can spoof the reciept (thats paypals fault, not mine). The IPN, however, doesnt seem to be exploitable.

3. The IPN problem.. hrm. There shouldnt be a problem with guests viewing the purchase.php file - I didnt put anything there to stop them. Have you tried accessing purchase.php as a guest? If you can, then it should be OK. If you cant, I dont know which settings you changed to make it like that but I am pretty sure its not my code. If guests can view it, then please fetch your server logs for me and check to see what error was created.

There is now a fix list for version 1.0c.
Reply With Quote
  #101  
Old 07-01-2005, 09:34 PM
Madmax4321 Madmax4321 is offline
 
Join Date: May 2005
Posts: 24
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

as logged out i cannot access the purchase.php so im guesing its my usergroup settings i changed when started to build my forum.

will revert it all back and try again.

one thing i would note is the db colums notify & return arnt big enough my urls dont fit in them

i changed them to VARCHAR( 75 ) might be worth adding to fixlist
Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 01:00 AM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2024, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.04933 seconds
  • Memory Usage 2,317KB
  • Queries Executed 25 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (2)bbcode_code
  • (6)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (6)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (11)post_thanks_box
  • (11)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (11)post_thanks_postbit_info
  • (10)postbit
  • (11)postbit_onlinestatus
  • (11)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.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/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.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
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete