vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   Modification Graveyard (https://vborg.vbsupport.ru/forumdisplay.php?f=224)
-   -   Major Additions - Point Market System 3.1x (https://vborg.vbsupport.ru/showthread.php?t=232676)

Athena1984 03-10-2010 12:14 PM

I really like this mod. Thank you for adding forum access! That is a great addition and is really useful for getting members to become active.

TheMayhem 03-10-2010 12:58 PM

Quote:

Originally Posted by DigitalDark (Post 2000776)
I've found 2 bugs I think.

1st in admincp the edit.png image doesn't appear because for some reason the "forum" folder is missing so the url is this "www.site.com/images/pointmarket/edit.png" and it must be this "www.site.com/forum/images/pointmarket/edit.png". It only appears in Category & Items section.

2nd bug. In mozilla firefox the purchase button is not working. In IE is working perfectly but I don't know what is wrong.

Thanks TheMayhem for your time!

I repeatedly tested yesterday the purchase buttons using the default style of vBulletin and various versions of Firefox and could not reduplicate the error which means... It's your styles. Try adding the default vbulletin style and seeing if it works in firefox.




For those who had the mysql error on the main page, please send me a private message with a link to your forum. In addition I need a link to your PHP Info, a test username to your forum with some points so I can see what is causing the error for you but not others.

literatestylish 03-10-2010 01:21 PM

Nevermind! my mistake.

Thanks for the great mod Mayhem!

Kreyg 03-10-2010 01:59 PM

Quote:

Database error in vBulletin 4.0.2:

Invalid SQL:
SELECT *, COUNT(marketid) FROM market_transactions
where marketid='13';

MySQL Error : Mixing of GROUP columns (MIN(),MAX(),COUNT(),...) with no GROUP columns is illegal if there is no GROUP BY clause
Error Number : 1140
Request Date : Wednesday, March 10th 2010 @ 10:58:56 AM
Error Date : Wednesday, March 10th 2010 @ 10:58:56 AM
Script : http://www.hotbloodedgaming.com/forum/market.php
Referrer : http://www.hotbloodedgaming.com/forum/forum.php
IP Address : 98.207.68.212
Username : Kreyg
Classname : vB_Database
MySQL Version : 5.0.51a-3ubuntu5.5
I got this after I installed and tried to go to the market

TheMayhem 03-10-2010 02:19 PM

Quote:

Originally Posted by Kreyg (Post 2000923)
I got this after I installed and tried to go to the market

I believe I found what was causing it and have updated the zip folder. To fix it, redownload the point market zip and upload the market.php file to your root forum folder.

Kreyg 03-10-2010 02:25 PM

Quote:

Originally Posted by TheMayhem (Post 2000931)
I believe I found what was causing it and have updated the zip folder. To fix it, redownload the point market zip and upload the market.php file to your root forum folder.

That worked. Thanks a lot buddy!

TheMayhem 03-10-2010 02:31 PM

No problem. :) I still have yet to look into the broken edit images icon or the lottery system not working initially. I'll play with them after work and maybe release a maintenance release tomorrow that fixes those.

The Ottoman 03-10-2010 02:49 PM

an idea for the next release is to have the users upload their own image for gifts (which can be restricted to 20x20 gifs if need be.)

And then it would be *really* cool if that user generated gift were to stay in the store and anyone else who buys that gift in the future pays the original creator of the gift.



On edit.... really cool modification. closest thing to VbPlaza that I have seen in a while.

TheMayhem 03-10-2010 03:48 PM

Quote:

Originally Posted by The Ottoman (Post 2000948)
an idea for the next release is to have the users upload their own image for gifts (which can be restricted to 20x20 gifs if need be.)

And then it would be *really* cool if that user generated gift were to stay in the store and anyone else who buys that gift in the future pays the original creator of the gift.



On edit.... really cool modification. closest thing to VbPlaza that I have seen in a while.

Currently how it is setup if a user creates a custom gift, they can choose the price to charge. If another user buys that gift, the user earns those credits as a type of revenue.

The Ottoman 03-10-2010 04:05 PM

Quote:

Originally Posted by TheMayhem (Post 2000982)
Currently how it is setup if a user creates a custom gift, they can choose the price to charge. If another user buys that gift, the user earns those credits as a type of revenue.


Yeah, but they can't upload their own images. I was aware of the current setup, I was just adding with my request, in the same way I would have said It would be cool if someone could grind peanuts down so that the oil mixes and forms a pasty butter...

and then it would be REALLY cool to take that peanut butter and mix it with your thing called chocolate.


You've got the chocolate, I just want you to make the peanut butter.



Darnit, now I'm hungry.

The Ottoman 03-10-2010 04:14 PM

Another Question/Request:

I plan on having a couple of hundred gifts, and they are going to be broken out into different categories (think of departments in a store). I've noticed how you have the purchase a gift / create a gift options set up. I was wondering how I would go about creating new fields under the Gift category, and then assigning those gifts to the different categories.

beacher 03-10-2010 06:10 PM

I've installed the PL1 but the problem with the lottery is unfixed, now with two lottery the system add the cost for the ticket to all the lotteries as jackpot, even I place the bet for one only ;)

Jabong82 03-10-2010 08:36 PM

Great mod.

One minor error I get though is when I go to the market page and click anything in the "Top Market Items", I get an admin error saying I don't have permission to access this area.

I believe I changed all the permissions for the market, so not sure why this may be. Any help would be appreciated. Thank you again.

ZGeek 03-10-2010 09:16 PM

Srs, this is my favorite mod. Thank you so much for your work.

The Ottoman 03-10-2010 10:44 PM

Quote:

Originally Posted by Jabong82 (Post 2001147)
Great mod.

One minor error I get though is when I go to the market page and click anything in the "Top Market Items", I get an admin error saying I don't have permission to access this area.

I believe I changed all the permissions for the market, so not sure why this may be. Any help would be appreciated. Thank you again.


Go into the Usergroup Manager and turn it on (it's at the bottom of the Usergroup setting, and turned off of all groups by default). Do this in addition to turning on the hack in the Admin CP.

jacob115 03-10-2010 10:58 PM

How do I remove the color red from the username glow feature?

Jabong82 03-10-2010 11:35 PM

Quote:

Originally Posted by The Ottoman (Post 2001205)
Go into the Usergroup Manager and turn it on (it's at the bottom of the Usergroup setting, and turned off of all groups by default). Do this in addition to turning on the hack in the Admin CP.

Thanks for the response.

I am able to use the market, its just this one particular area can't be accessed. My user permissions are on and I tried resetting it as well.

I can use every other area of the market but this area.

TheMayhem 03-11-2010 01:38 AM

Quote:

Originally Posted by Jabong82 (Post 2001228)
Thanks for the response.

I am able to use the market, its just this one particular area can't be accessed. My user permissions are on and I tried resetting it as well.

I can use every other area of the market but this area.

I'm not really sure where you mean, can you take a screenshot and point your cursor to the link your talking about?


And PL1 only had the fix to the market mysql error. I'll deal with the lottery bugs tomorrow.

War.Frog 03-11-2010 01:46 AM

I'm just waiting on vBCredits. Once it has gone gold, this is going in!

Jabong82 03-11-2010 02:27 AM

1 Attachment(s)
Quote:

Originally Posted by TheMayhem (Post 2001261)
I'm not really sure where you mean, can you take a screenshot and point your cursor to the link your talking about?


And PL1 only had the fix to the market mysql error. I'll deal with the lottery bugs tomorrow.

Basically when I click any of the items in the Red Boxes (photo 1), I am taken to the error message (photo 2).

However despite not being able to access these, I can go anywhere else in the store and buy items etc. Only these areas for some reason are off limit to me.

Switch3130 03-11-2010 02:43 AM

Thanks for the update I'm upgrading now.

TheMayhem 03-11-2010 03:23 AM

Quote:

Originally Posted by War.Frog (Post 2001266)
I'm just waiting on vBCredits. Once it has gone gold, this is going in!

I've tested this on vbcredits a bit this week and the products work very well together. Darkwaltz4 has done an amazing job with vbcredits and I think the market compliments it nicely.






Quote:

Originally Posted by Jabong82 (Post 2001291)
Basically when I click any of the items in the Red Boxes (photo 1), I am taken to the error message (photo 2).

However despite not being able to access these, I can go anywhere else in the store and buy items etc. Only these areas for some reason are off limit to me.

OH! Okay, I now know what you mean. The id variable isn't properly being passed through. I'll mark it as a glitch and include it in the PL 2 release I plan on doing Thursday evening. I just want to give you guys a little more time to find anything else that needs attention before I upload the needed fixes.

Jabong82 03-11-2010 03:26 AM

Quote:

Originally Posted by TheMayhem (Post 2001312)
I've tested this on vbcredits a bit this week and the products work very well together. Darkwaltz4 has done an amazing job with vbcredits and I think the market compliments it nicely.








OH! Okay, I now know what you mean. The id variable isn't properly being passed through. I'll mark it as a glitch and include it in the PL 2 release I plan on doing Thursday evening. I just want to give you guys a little more time to find anything else that needs attention before I upload the needed fixes.


Sounds great. Thanks again for all your help!

beacher 03-11-2010 05:43 AM

thanks Mate for the news about the PL2 release. ;)

Juggernaut 03-11-2010 05:45 AM

I can't seem to find where to delete gifts :(

TheMayhem 03-11-2010 03:57 PM

Quote:

Originally Posted by Destron (Post 2001363)
I can't seem to find where to delete gifts :(

To delete a purchased gift, go into the admin cp. If it is a custom gift go to the custom gifts page and if it is a regular gift go to the normal gifts page. On the gift listing you'll see a purchased icon with the number of people who purchased it. Select the gift you are looking for by clicking the number link. Inside it'll give the list of everyone who has purchased that gift. Simply click the radio button of the person you want to delete the gift purchase and click delete :)

Juggernaut 03-11-2010 06:14 PM

^^ Thank you very much, that worked great, nominated for MOTM :D

PixelFx 03-11-2010 06:19 PM

this system looks promising

DigitalDark 03-11-2010 07:33 PM

1 Attachment(s)
I've attached you a screenshot of my Acp. There is something strange in the edit button.

decipher442 03-11-2010 08:08 PM

How can I take the nav bar "Market" link out of my menu?

TheMayhem 03-11-2010 08:39 PM

Quote:

Originally Posted by DigitalDark (Post 2001713)
I've attached you a screenshot of my Acp. There is something strange in the edit button.

It's a reported glitch on the path that I've fixed for the next version.

Quote:

Originally Posted by decipher442 (Post 2001732)
How can I take the nav bar "Market" link out of my menu?

Go to your Plugin Manager and disable the plugin Point Market: Navigation Tab by checking the checkbox. This will remove the Market tab.

jacob115 03-11-2010 09:02 PM

Is it possible to change the refund time?

TheMayhem 03-11-2010 09:06 PM

Edit the usergroup that you want to change the refund time for and that'll change the refund time of each item.

decipher442 03-11-2010 09:26 PM

I got a question....

Ok so I am interested in this point market mainly so that I can let my users redeem their points for domain names, websites, real cash, etc..

Is there a way to create a market item and have it notify a certain user (me) when purchased?

TheMayhem 03-11-2010 09:41 PM

In version 2.0.0 I installed three test items. Those test items you can custom script to do whatever you like such as that. You'd have to custom script the actions of those test items to do what your asking.

decipher442 03-11-2010 09:57 PM

Quote:

Originally Posted by TheMayhem (Post 2001776)
In version 2.0.0 I installed three test items. Those test items you can custom script to do whatever you like such as that.


I seen that and edited one of them as "Domain name" and purchased it... everything worked but I can not seem to find out where in the admin panel it shows that USER X purchased the item.

Quote:

You'd have to custom script the actions of those test items to do what your asking.
What do you mean by "custom script the action" please elaborate more on this.

* If you mean editing the title and description of the test ones you created, "I did that."

Is there a way to create a market item and have it notify a certain user (me) when purchased?

UPDATE: I just noticed that after purchasing the item that it did not show in the admin panel under the "Point Market Item History" Why is this?

After I purchased the item it says, "Transaction Information Your item has been purchased successfully." However it does show anywhere that I purchased it on the forum or in the admin panel.. I also noticed that it didn't take the points away from my account either (im using the ucash hack) :(

Any ideas as to what I may be doing wrong?

TheMayhem 03-11-2010 11:09 PM

Quote:

Originally Posted by decipher442 (Post 2001790)
I seen that and edited one of them as "Domain name" and purchased it... everything worked but I can not seem to find out where in the admin panel it shows that USER X purchased the item.



What do you mean by "custom script the action" please elaborate more on this.

* If you mean editing the title and description of the test ones you created, "I did that."

Is there a way to create a market item and have it notify a certain user (me) when purchased?

UPDATE: I just noticed that after purchasing the item that it did not show in the admin panel under the "Point Market Item History" Why is this?

After I purchased the item it says, "Transaction Information Your item has been purchased successfully." However it does show anywhere that I purchased it on the forum or in the admin panel.. I also noticed that it didn't take the points away from my account either (im using the ucash hack) :(

Any ideas as to what I may be doing wrong?

In order for your test items to work, you need to manually edit market.php file and write the necessary php code for it to work. On the release I am about to give that has a number of fixes it will automatically take off the points for the test purchases, add a transaction purchase, and show up on the history. However, if you want it to physically do something instead of a user just purchasing a blank page that said they purchased something, you need to modify the code and add the actions or tell the script what to do. I'll be releasing this within the next 12 hours or so.

decipher442 03-11-2010 11:24 PM

Quote:

Originally Posted by TheMayhem (Post 2001818)
In order for your test items to work, you need to manually edit market.php file and write the necessary php code for it to work. On the release I am about to give that has a number of fixes it will automatically take off the points for the test purchases, add a transaction purchase, and show up on the history. However, if you want it to physically do something instead of a user just purchasing a blank page that said they purchased something, you need to modify the code and add the actions or tell the script what to do. I'll be releasing this within the next 12 hours or so.

Cool so you updating this within the next 12 hours or so... Awesome Deal!

btw.. whats your paypal so I can give you a DONATION? (I didn't notice an option here)

TheMayhem 03-12-2010 12:36 AM

Quote:

Originally Posted by decipher442 (Post 2001822)
Cool so you updating this within the next 12 hours or so... Awesome Deal!

btw.. whats your paypal so I can give you a DONATION? (I didn't notice an option here)

I updated it so it appears.

A maintenance 2.0.1 has been released to fix the admin cp image issues, gambling issues, and reported sql issues.

jacob115 03-12-2010 01:08 AM

Another question, do you plan to allow for multi-currency? Like so we can have 2 point fields and users can choose which field to use?


All times are GMT. The time now is 01:22 PM.

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.02467 seconds
  • Memory Usage 1,847KB
  • 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
  • (21)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (1)pagenav_pagelinkrel
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (40)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