vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   Modification Graveyard (https://vborg.vbsupport.ru/forumdisplay.php?f=224)
-   -   Major Additions - vbBux / vbPlaza v1.5.8 (Points + Store System) (https://vborg.vbsupport.ru/showthread.php?t=106953)

CMX_CMGSCCC 02-14-2006 04:57 AM

Quote:

Originally Posted by shaynehammy
What would be great if there was a history list that displayed who changed anothers user titles. Say the last 20 titles changes.

So where the Most sold catergory is.Clicking on this (Change Others User Title) would take you to who bought what.

This will happen in v1.1.3 when it releases.

Quote:

Originally Posted by kylek
Can't find this doing a search so,

Can points be removed from a specific member? Or is there a way to reset one members point total to zero?

Yes, you can edit the user in the Admin CP by using the Users -> Search For User admin feature. On the left hand side at the bottom it will display the eBux/eStore options for that individual user.

Quote:

Originally Posted by caimakale
Are you talking about serializing it and leaving it in the user table or adding it to the datastore?

I'm saying that the gifts field inside of the user database has to be an array of "serialized" fields so that it will not have to query the actual estore_gifts TABLE.

-CMX

Geser 02-14-2006 05:46 AM

I am reinstalled eBux / eStore. Uninstalled and then installed v1.1.2
I still unable to remove items. Still getting "You do not have enough points to perform this action.".
And still not see option to change user title color after i bought this option(fist change is ok, but after this i unable to change. I set "Can Change Always" in admin cp). I see only button "Remove"
Anybody can confirm this problems?

caimakale 02-14-2006 05:58 AM

Quote:

Originally Posted by Geser
I am reinstalled eBux / eStore. Uninstalled and then installed v1.1.2
I still unable to remove items. Still getting "You do not have enough points
to perform this action.".

And still not see option to change user title color after i bought this option. I see only button "Renove"
Anybody can confirm this problems?

OK here goes.

In order to be able to go back and change your color etc...you had to have that option enabled before you bought the item. If you bought it, then enabled the "Change Always Items" in the item, it won't work unless you set it manually now.

If it is set now, then anybody who purchases it at this point will have the ability to come back and change at any time.

So how do you manually set it? You first need to figure out what the item number is. One way of doing this is finding the item in the store and then hover over it. It will show you the URL and will look something like this:

http://www.yourwebsitehere.com/estore.php?do=action&itemid=6

In that link you can see that the itemid is 6.

So get your itemids that you need to change on your user. Open up your AdminCP >> User area. Find the user you want to change. When you find the user and are viewing their info, scroll to the bottm where you can see their points and other store options. You will want to add the itemid to the "Change Always Items". Separate them by commas. For example, in my personal account I have 5,6,11 in that field so I can continually change my username color, username glow, and usertitle color because I have purchased these things.

If you don't have these numbers in the "Change Always Items" area then it thinks you are either going to need to remove it or repurchase it, those will be your only options until you manually set it. And if you don't have enough eBux to repurchase it again, then you will get the error that you got.

These probably aren't the best instructions but I hope it helps.

Geser 02-14-2006 06:06 AM

Quote:

Originally Posted by caimakale
OK here goes.

In order to be able to go back and change your color etc...you had to have that option enabled before you bought the item. If you bought it, then enabled the "Change Always Items" in the item, it won't work unless you set it manually now.

If it is set now, then anybody who purchases it at this point will have the ability to come back and change at any time.

So how do you manually set it? You first need to figure out what the item number is. One way of doing this is finding the item in the store and then hover over it. It will show you the URL and will look something like this:

http://www.yourwebsitehere.com/estore.php?do=action&itemid=6

In that link you can see that the itemid is 6.

So get your itemids that you need to change on your user. Open up your AdminCP >> User area. Find the user you want to change. When you find the user and are viewing their info, scroll to the bottm where you can see their points and other store options. You will want to add the itemid to the "Change Always Items". Separate them by commas. For example, in my personal account I have 5,6,11 in that field so I can continually change my username color, username glow, and usertitle color because I have purchased these things.

If you don't have these numbers in the "Change Always Items" area then it thinks you are either going to need to remove it or repurchase it, those will be your only options until you manually set it. And if you don't have enough eBux to repurchase it again, then you will get the error that you got.

These probably aren't the best instructions but I hope it helps.

Thanks alot. It helps.
But what about first problem? I still unable to remove items.

caimakale 02-14-2006 06:16 AM

Quote:

Originally Posted by Geser
Thanks alot. It helps.
But what about first problem? I still unable to remove items.

It looks like a bug, and in checking it out, I found another bug.

So concerning your problem, unless you have enough money to purchase the item again, you can't return it. Even if it is going to give you a refund.

So when I was testing it. I returned the glowing username and it put the points back into my account. I then hit the back button in my browser and it took me right back to the previous page where I had the option to remove it or change the color. I entered in a color and selected change and it changed it just fine without charging me any money. So not only did I get a refund for the item, but I still ended up with my glowing username. This could be exploited and somebody could earn a ton of points doing it.

***EDIT***
So I just checked something else. It turns out you don't even have to hit the back button. Once it's been purchased you always own it if the "Change Always Items" is active. One of two things needs to happen. Refunds need to be turned off when "Change Always Items" is active on an item, or when an item is removed and a refund issued, the itemid# for the "Change Always Items" needs to be deleted from the database. I know for the time being, I am turning off refunds so people can't rob the bank.

Geser 02-14-2006 10:00 AM

Quote:

Originally Posted by caimakale
It looks like a bug, and in checking it out, I found another bug.

So concerning your problem, unless you have enough money to purchase the item again, you can't return it. Even if it is going to give you a refund.

So when I was testing it. I returned the glowing username and it put the points back into my account. I then hit the back button in my browser and it took me right back to the previous page where I had the option to remove it or change the color. I entered in a color and selected change and it changed it just fine without charging me any money. So not only did I get a refund for the item, but I still ended up with my glowing username. This could be exploited and somebody could earn a ton of points doing it.

***EDIT***
So I just checked something else. It turns out you don't even have to hit the back button. Once it's been purchased you always own it if the "Change Always Items" is active. One of two things needs to happen. Refunds need to be turned off when "Change Always Items" is active on an item, or when an item is removed and a refund issued, the itemid# for the "Change Always Items" needs to be deleted from the database. I know for the time being, I am turning off refunds so people can't rob the bank.

Ok, thanks for your work. Now i know it's bug and not problem of my installation.

voleibolmurcia 02-14-2006 11:19 AM

This mod allows to create any "shop" to insert items, and users can buy it?

chairman miaow 02-14-2006 11:50 AM

Quote:

Originally Posted by Frugal
I have now edited this post

https://vborg.vbsupport.ru/showpost....postcount=1389

to include a comprehensive guide to getting vbookie working with eBux using both the sql and file editing methods.

Frugal - thanks for this - it was getting confusing with all the different stuff being quoted about vBookie....mine works perfectly with ebux now.

CMX_CMGSCCC - Many many thanks for this mod...it's amazing how often and quickly you update it ! Also would love it to be integrated with the ibpro arcade ( haven't got a clue about the "hooks" etc though !)

Sooner95 02-14-2006 11:51 AM

Quote:

Did you reupload all of the files in the UPLOAD folder? That is a common mistake people tend to forget as well.
Yes, I always make sure I do the basics before complaining. This error has never went away, since 1.08. Not a big deal, more than likely you have it fixed, unfiortanetly, I have been unable to fix the table for that user via phpadmin. Got a friend who will check it out for me, see if it can be salvaged, otherwise I'll just delete that user and recreate.


Quote:

In the future, I'll add it so the Admin CP, search for Users can edit the otherflags and some of the other fields that are added to the usertable in case of corruption too.
excellent, that would be great CMX.

Quote:

Does IBProArcade have any hooks implemented?
I'm not very code savy, but if you mean a file hooks_ebuxestore.xml in the includes/xml folder, then no. thats in the 2.5.3 release, i know he has released one m ore update since, so woud have to check if their are any in that one.

I know a PM was sent to MR Zeropage (author of ibPro) so hopefully he will contact you about working out this addon.

Thanks again for the support and fine work.

Also, with the help of others, figured out the timestamp thing for creating lottos as well.

Sooner95 02-14-2006 12:55 PM

Got bored, made another gift.

its a dollar..lol


All times are GMT. The time now is 01:19 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.02904 seconds
  • Memory Usage 1,784KB
  • 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
  • (11)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (6)pagenav_pagelinkrel
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)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