The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
Comments |
#122
|
||||
|
||||
![]()
I finally got it verified. THE GEEK'S fix basically made the item number different than what was needed.
to fix it replace The Geek's original code PHP Code:
PHP Code:
And for those who don't see the line, Basically this was an sql injection fix. Quite handy imho. |
#123
|
||||
|
||||
![]()
Well I have fixed the item information however it required rewriting most of the insert query in the do='ipn' section. Actually so much of purchase.php has now been rewritten that it's hard to explain or do a copy and replace anymore, especially since I plan on capturing a lot more information.
But if anyone still has issues with it I may be able to help. And lastly if ron1n and WhSox21 don't mind I may endeavor to post a script based on their works in the future. If anyone is interested it is basically an art (or design) based script that involves ordering, viewing and troubleshooting art commissions. It will also tie into coppermine. Of course if they are discouraging the promotion of edited works based on their code I will continue working in secret ![]() |
#124
|
|||
|
|||
![]() Quote:
msn: ronin@elitecoders.org |
#125
|
|||
|
|||
![]()
Screenshots Please?
|
#126
|
|||
|
|||
![]() |
#127
|
|||
|
|||
![]()
Excellent hack. Will come in very handy for our product.
Quick question, during the script (do == "receipt").. I noticed (when you go down a bit further in the code).. this: PHP Code:
For example, I'm going though the code, making it to my own liking (ie: free products just insert the order info, and allows the user to download instantly, etc). But was just thinking: -- I'm logged in as Admin, and I have full usergroup access. Hence the fact that I got a bit worried when I noticed your code is fetching existing groups and updating the user profile with custom ones. Could you please confirm what this is doing exactly? Since I haven't seen anywhere in the admin section where this product/order system you created can "upgrade" a users group permissions after an order. I'm sure this is what is going on.. but if possible, please advise how it works. If I wanted to make usergroup = 3 (non-customer) into usergroup 6 (valid customer) after the PAID order procees what should I be looking for? Thanks in advance. Regards, Peter |
#128
|
|||
|
|||
![]()
Sorry, nevermind last post. It's in the Admin > Settings. Must have overlooked it somehow.
Thanks for the great script. ![]() |
#129
|
||||
|
||||
![]()
Will this work with the paypal merchant account setup as well? Using credit cards to pay through paypal?
Also the sql queries arnt working, Im getting errors. These two queries actually look similiar and prob are causing the errors Code:
INSERT INTO `ph_settings` VALUES ('', 0, '', '', 0, '', '', '', ''); -- -- Dumping data for table `ph_settings` -- INSERT INTO `ph_settings` VALUES ('', 0, '', '', 0, '', ''); |
#130
|
||||
|
||||
![]()
I added some products, but nothing still shows up on this screen (screenshot)
|
#131
|
|||
|
|||
![]()
Yes, there is some interesting coding for VBPurchase. One of the biggest problems was the SQL insert of new orders. The base of that problem is where the code uses both $product for the order and then right below it again is another $product containing another array of information about the order.
If you just make the 2nd $product = .. to something like $productinfo = .. then both your arrays of $product and $productinfo will work, and no sql input should be lost... works fine over here. When the developer mentioned in his description this script should only be used by experienced coders, I believe he really meant it. ![]() Peter |
![]() |
Thread Tools | |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|