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)

TheMayhem 02-20-2010 06:46 AM

Quote:

Originally Posted by Boko577 (Post 1987011)
I've asked you this 3 times now, and I'm about to just uninstall the mod fully because it's annoying. Is there a way I can delete the awards given to someone? Cause I gave myself an award to see where it'd show up in the postbit, and now I'm not using awards and it's taking up space in my postbit... PLEASE ANSWER!

You must either wait for me to release 1.1.0, which will allow for you to delete all gifts via the administrative control panel.

Alternatively, if you really seriously need to delete a gift, run this mysql query.

PHP Code:

delete FROM `market_transactionsWHERE `gift_id` = or `gift_customid` = 

You must replace X with your userid. This will remove all gifts listed for your username. If running a mysql query is not an option then you need to wait until I finish 1.1.0 up and then you'll be able to do that there.

cindy helmond 02-20-2010 02:02 PM

where can you see who send you an gif ?
thx

Boko577 02-20-2010 04:59 PM

Quote:

Originally Posted by TheMayhem (Post 1987096)
You must either wait for me to release 1.1.0, which will allow for you to delete all gifts via the administrative control panel.

Alternatively, if you really seriously need to delete a gift, run this mysql query.

PHP Code:

delete FROM `market_transactionsWHERE `gift_id` = or `gift_customid` = 

You must replace X with your userid. This will remove all gifts listed for your username. If running a mysql query is not an option then you need to wait until I finish 1.1.0 up and then you'll be able to do that there.

There is no way to go into my ftp uploader and find the point market system file that has the gifts stored in it? I don't know what a mysql query is.

TheMayhem 02-20-2010 05:52 PM

Quote:

Originally Posted by Boko577 (Post 1987461)
There is no way to go into my ftp uploader and find the point market system file that has the gifts stored in it? I don't know what a mysql query is.

Gifts are stored in the database. The only thing that is stored in ftp are the gift images. The queries that are run to display the gifts are run via plugins.

Boko577 02-20-2010 06:36 PM

Quote:

Originally Posted by TheMayhem (Post 1987500)
Gifts are stored in the database. The only thing that is stored in ftp are the gift images. The queries that are run to display the gifts are run via plugins.

When will the next version come out?

Geez 02-20-2010 06:42 PM

Quote:

Originally Posted by TheMayhem (Post 1985947)
To remove a gift in 1.0.4 all you can do is disable the gift from the list. As of 1.1.0, which is the version I am working on you can delete the gift of user's as well as a bunch of other Administrative changes.

i already tried that, disabled the pencil gift and it still shows in my postbit

about when will the next version be released?

cindy helmond 02-20-2010 06:51 PM

you can disable an gift so you dont have two delete it

TheMayhem 02-20-2010 08:07 PM

Quote:

Originally Posted by Geez (Post 1987537)
i already tried that, disabled the pencil gift and it still shows in my postbit

about when will the next version be released?

Good question, I'm almost done with the entire Admin CP overhaul I've done for this version. However, I keep coming up with new ideas on features to add, tweaks to make, and so forth. Realistically, I might release the new version this week or at least allow those who need this fix to beta test the new release. The only thing that could potentially hold me up is with this release, I want the version to be fully a 100% compatible with vbcredits. I'm making changes to ensure that the two work flawlessly together so from day one people can use that product and this and it will work together without any issues. Some of the changes I'm doing in this release will reflect that and therefore it might be held up.

TheMayhem 02-21-2010 02:07 AM

1 Attachment(s)
Below are screenshots of the Admin CP changes done in the next release. I used my actual site forum so they might not look 100% identical, but it should give you an idea of the direction I am heading. Feedback and suggestions is greatly appreciated before I make this puppy go live.

DigitalDark 02-21-2010 09:51 AM

I like your work a lot. I'm enjoying your market! By the way, I want to remove the cofee gift from my postbit, I've tried the sql querry you have posted for the other user but doesn't work for me. Any idea?
Have you watched the problem with the purchase button in my forum? Or it has been solved yet?
Thanks!

An idea for the next release could be "Buying permissions to see other forum styles" or "permission to see more emoticons or topic icons".

bgg 02-21-2010 04:49 PM

I am interested in a Lottery system for the Points Market and uCash mods for vb 4.0 CMS.

If I must, I'll hack one myself... anyone willing to program it for pay?

James

bgg 02-21-2010 05:04 PM

Quote:

Originally Posted by TheMayhem (Post 1987757)
Below are screenshots of the Admin CP changes done in the next release. I used my actual site forum so they might not look 100% identical, but it should give you an idea of the direction I am heading. Feedback and suggestions is greatly appreciated before I make this puppy go live.

While these really look great, I think the store really needs to allow the adding of a custom category and a custom item for sale for the admin... For example I'd like to add lottery tickets for sale. Or other such admin controlled items or "payments" that have no direct effect on the forums.

James

TheMayhem 02-21-2010 06:11 PM

Quote:

Originally Posted by bgg (Post 1988193)
While these really look great, I think the store really needs to allow the adding of a custom category and a custom item for sale for the admin... For example I'd like to add lottery tickets for sale. Or other such admin controlled items or "payments" that have no direct effect on the forums.

James

In the next release, I actually have a few included categories with no items that are turned off by default. The same goes with items. This can be used so people can "customize" the hack without screwing around with it too much to the point they will break it on future releases. It will also allow for people to reassign categories and make them how they want it, which is another feature change in 1.1.0

Quote:

Originally Posted by bgg (Post 1988178)
I am interested in a Lottery system for the Points Market and uCash mods for vb 4.0 CMS.

If I must, I'll hack one myself... anyone willing to program it for pay?

James

I am going to be including a gambling area within the Point Market called Gambling. It will be purchased by purchasing access and the controls are within the vbulletin settings for it. Whether or not I include a Lottery system will entirely be dependent on what I see of vbcredits as if they end up scripting one, I probably will not script one. If they don't, then I will be including one.

Quote:

Originally Posted by DigitalDark (Post 1987910)
I like your work a lot. I'm enjoying your market! By the way, I want to remove the cofee gift from my postbit, I've tried the sql querry you have posted for the other user but doesn't work for me. Any idea?
Have you watched the problem with the purchase button in my forum? Or it has been solved yet?
Thanks!

An idea for the next release could be "Buying permissions to see other forum styles" or "permission to see more emoticons or topic icons".

Does the SQL produce errors or does it just not finding any matching rows? Forum permissions is something I've been promising forevor that is on this release. At minimum people will be able to buy special access to restricted forums. I was thinking about adding the option for users to be able to add smileys of their own, however I haven't decided.




With me just now finishing up the Admin CP overhaul, I'll be spending a lot of time on the user interface, main page design changes, and other features that's been requested. I'll also be trying to line it up better so you can turn certain things off or on that will allow for better integration with other point systems.

Jabong82 02-23-2010 04:41 AM

So are people unable to delete gifts etc? That seems like a necessary mod?

Geez 02-23-2010 09:26 PM

it will be in the next release, which should be soon

literatestylish 02-24-2010 04:08 PM

Mayhem,

Is there a way to see which members bought what?

Also, when is the new release coming out?

Great mod by the way!

Jabong82 02-24-2010 09:54 PM

I installed the market fine, and everything seems to be working fine, however when I go to the Admin CP panel and click on the Point Market controls I'm redirected to an error page (404). Am I missing a file somewhere? Thanks in advance.

Edit: Nevermind I somehow placed the market php in the wrong folder. Thanks for this great Mod. Nominated and Installed!

TheMayhem 02-25-2010 02:49 AM

Quote:

Originally Posted by literatestylish (Post 1990496)
Mayhem,

Is there a way to see which members bought what?

Also, when is the new release coming out?

Great mod by the way!

There's a massive admin CP addition in 1.1.0 related to this. I was kind of hoping to have it up this week however I've been very-very sick and this is the first time I've been on in 2 days.

Jabong82 02-25-2010 02:56 AM

Hey Mayhem love your mod. I noticed though when I was testing it, that the UserName Strikethrough for me is unable to be refunded? Like when I click "yes" to initiate a refund, it tells me that I do not have access (like I'm locked out) of this area, but I can do refunds for other items like glow, color etc. Its just for the strikethrough something is weird. Don't know if thats a bug.

Anyway I look forward to your new release! Thanks again.

TheMayhem 02-25-2010 06:14 PM

Quote:

Originally Posted by Jabong82 (Post 1990921)
Hey Mayhem love your mod. I noticed though when I was testing it, that the UserName Strikethrough for me is unable to be refunded? Like when I click "yes" to initiate a refund, it tells me that I do not have access (like I'm locked out) of this area, but I can do refunds for other items like glow, color etc. Its just for the strikethrough something is weird. Don't know if thats a bug.

Anyway I look forward to your new release! Thanks again.

Yes this is a bug that has been reported and fixed in version 1.1.0

jacob115 02-26-2010 12:08 PM

I am working on some codes and have a question. I am editing my point store to make it work perfectly for me, but I have a question. Here is the code for changing username:
Code:

// *********** Change Username ************
    if ($itembuy[marketid] == 13) {
            $findother = $vbulletin->db->query_read("SELECT * from " . TABLE_PREFIX . "user where username='".addslashes($new_username)."'");
            $findother = $vbulletin->db->fetch_array($findother);
        if ($findother)  {
            $error = 10; // Someone has that username.
        }
        $minchar = $vbulletin->options[minuserlength];
        $maxchar = $vbulletin->options[maxuserlength];
        if ($minchar > strlen($new_username)) {
            $error = 11;
        }
        if ($maxchar < strlen($new_username)) {
            $error = 12;
        }
        if ($error == 0) {
            $vbulletin->db->query_read("update " . TABLE_PREFIX . "user set `username`='".addslashes($new_username)."', `$pointfield`=$points-$amount where userid='$userid'");
            $vbulletin->db->query_read("insert into " . TABLE_PREFIX . "market_transactions set `date`='$time', marketid='$itembuy[marketid]', userid='$userid', affecteduser='$userid', amount='$amount'");
            $points = $points - $amount;
            $purchases = $purchases+1;
        }
    }
//

I understand I need to change the market ID, but what would the code be to add a specific usergroup (chosen by me, not user, like I would specify the additional usergroup in the code)

Thanks!

fly 02-26-2010 12:40 PM

I'm no SQL expert, but I'd think this would work. You'd obviously need to remove all the stuff that deals with username, as well...

Code:

$vbulletin->db->query_read("update " . TABLE_PREFIX . "user set `membergroupids`='6', `$pointfield`=$points-$amount where userid='$userid'");
Don't run that, as it will add the user to the admin group if I'm correct.

jacob115 02-26-2010 07:15 PM

That doesn't seem to work, can I have a full code with it so I can replace the entire thing. Maybe there is another thing bothering it.

Thanks!

TheMayhem 02-27-2010 10:42 PM

Quote:

Originally Posted by jacob115 (Post 1991944)
I am working on some codes and have a question. I am editing my point store to make it work perfectly for me, but I have a question. Here is the code for changing username:
Code:

// *********** Change Username ************
    if ($itembuy[marketid] == 13) {
            $findother = $vbulletin->db->query_read("SELECT * from " . TABLE_PREFIX . "user where username='".addslashes($new_username)."'");
            $findother = $vbulletin->db->fetch_array($findother);
        if ($findother)  {
            $error = 10; // Someone has that username.
        }
        $minchar = $vbulletin->options[minuserlength];
        $maxchar = $vbulletin->options[maxuserlength];
        if ($minchar > strlen($new_username)) {
            $error = 11;
        }
        if ($maxchar < strlen($new_username)) {
            $error = 12;
        }
        if ($error == 0) {
            $vbulletin->db->query_read("update " . TABLE_PREFIX . "user set `username`='".addslashes($new_username)."', `$pointfield`=$points-$amount where userid='$userid'");
            $vbulletin->db->query_read("insert into " . TABLE_PREFIX . "market_transactions set `date`='$time', marketid='$itembuy[marketid]', userid='$userid', affecteduser='$userid', amount='$amount'");
            $points = $points - $amount;
            $purchases = $purchases+1;
        }
    }
//

I understand I need to change the market ID, but what would the code be to add a specific usergroup (chosen by me, not user, like I would specify the additional usergroup in the code)

Thanks!

I'll have the code for you to do this shortly, mostly because Additional Usergroups is one of the new options to the Point Market items to be purchased. :)

jacob115 02-28-2010 12:53 AM

Do you mean you will give me the specific code to do it or it will be in the next version of the Point Market System?

If it is the next version of Point Market System, is there anyway I could be a beta tester?

Thanks!!

DigitalDark 02-28-2010 05:54 PM

It could be possible to purchase permissions in order to access certain forums. It would be a great idea. Thanks!

argothiusz 02-28-2010 06:53 PM

Quote:

It could be possible to purchase permissions in order to access certain forums. It would be a great idea. Thanks!
Here is your answer "mostly because Additional Usergroups is one of the new options to the Point Market items to be purchased." Make a forum, assign new usergroup to it then make that usergroup available for purchase ^_^ and there you go :D

maidos 02-28-2010 07:08 PM

is it possible to create an own purchase merchandise. i want to create a entry fee of a contest which will cost them points but theres no given option to that

maidos 02-28-2010 07:13 PM

and maybe also allow user to purchase a usergroup?

Forum Lover 02-28-2010 09:52 PM

Still tagged and waiting for your v1.1.0 release. Any ETA mate?

literatestylish 03-02-2010 03:00 AM

I hope the update is coming soon! This is an awesome mod but I'm itchin for the new updates!

mandingo 03-02-2010 03:16 AM

Hope you're feeling better bro.

Pangramma 03-02-2010 05:06 PM

Mayhem, GREAT mod, it really suited me when I looked for a new change in my bigboard

The suggestions made before were great... buying additional usergroups it's EXTREMELY potential, meaning some users will see X forum, have Y pm's quota, have more or less restrictions, and so on.

Other NICE suggestion was the "expiration date" for the gifts. That would make users work harder so they can earn more points to spend.

Other ideas in my head, more sadistic :), involve buying attacks to users, like Banning for X days; dismember a user from a usergroup; changing the username, etc


This changes would make the forum experience more "gamer", like an RPG game, buying guns, shields, and potions and stuff :P. I'd LOVE to see a forum so interactive like the one in my head right now :)



SO, Mayhem, I'm sure you're working on 1.1, and I hope that you continue with this GREAT work you're doin'.


Best regards
Laucha

Forum Lover 03-03-2010 02:42 AM

Banning for x days!? Sounds great. :p

TheMayhem 03-03-2010 05:49 AM

Update: It's been a few days since I posted here. As far as I can tell I am pretty much done with the Administrative changes for this version. I'm now working on the user side of things and fixing reported bugs that I haven't already fixed. The version would of been out last week but I got sidelined for several days due to a weird illness that kept me in lala land. Anyways, I have spring break starting Friday so I'll have plenty of free time coming up. Beta testing for this version will begin shortly and I'll be private messaging users based off of glitches they found or features they suggested that I have implimented.

DigitalDark 03-03-2010 03:45 PM

Ok. I hope you have recovered of you illness. If I can help you with something tell me.
See you and thanks for working in that mod!

Sayid 03-03-2010 07:49 PM

Nominated rated 5 tagged for later use
One of the best mods I have seen
Is it allowed to translate this to other languages?
Thanks a lot

random1231231231 03-04-2010 04:24 AM

Quick question, do i need to install ucash first to make this plugin works?

TheMayhem 03-04-2010 05:21 AM

Quote:

Originally Posted by semprot (Post 1996637)
Quick question, do i need to install ucash first to make this plugin works?

In general you need a point system such as ucash, vbcredits, or vbookie. Some people have used the reputation field or even posts field for theres but I don't recommend it.

random1231231231 03-04-2010 11:03 AM

Quote:

Originally Posted by TheMayhem (Post 1996661)
In general you need a point system such as ucash, vbcredits, or vbookie. Some people have used the reputation field or even posts field for theres but I don't recommend it.

Thanks, i install ucash then. Your plugin works great :D

Next questions are :
  • i don't like the stealing idea, i want to disable it for all users, so i've disabled it from admincp > point market > categories & items.
    Is it the correct way to avoid stealing?
  • On usergroup setting, there is "Steal Percentage" field, can i set it to 0? Because it was said to enter value between 1 and 100.
  • And on the "Market" page and postbit, the points shows as "Points". How do i change it to for example US$, etc.
    Do i need to modify the template manually or is there an option maybe in your plugin?


All times are GMT. The time now is 02:41 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.02590 seconds
  • Memory Usage 1,858KB
  • 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
  • (3)bbcode_code_printable
  • (2)bbcode_php_printable
  • (16)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