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)

Murty 02-27-2006 11:07 AM

Consider yourself PMed CMX

CMX_CMGSCCC 02-27-2006 11:21 AM

Quote:

Originally Posted by ubblite
Yeah, we were just discussing this -

It could very well be a problem in 3.5.3/4 but doesn't affect earlier versions perhaps.

No, it definitely is a bug... for one take a look at the old code...

Code:

        // check to see if this user is protected
        $protectedusergroups = explode(",", $vbulletin->options['estore_protectedusergroups']);
        if (!is_member_of($vbulletin->userinfo, $protectedusergroups))
        {
                // display error, this user is protected against this action
                eval(standard_error(fetch_error('estore_protected_user')));
        }

There are 2 bugs in that code...
1) It's not checking the usergroups of the "$touser" variable, but of the $vbulletin->userinfo that is currently logged in.
2) It should not be !is_member_of, but it should be just is_member_of.

Quote:

Originally Posted by Murty
Consider yourself PMed CMX

Ok.

-CMX

Annie^.^ 02-27-2006 11:24 AM

How is the lottery works, because it seems like the users win very easily?

CMX_CMGSCCC 02-27-2006 11:36 AM

Quote:

Originally Posted by Annie^.^
How is the lottery works, because it seems like the users win very easily?

The lottery is an always win situation. If someone has purchased tickets, then someone will win the points. The reason its done like this is to better grow the community and encourage more people to buy lottery tickets. If there was many drawings and never a winner, nobody would buy a ticket.

-CMX

MissKalunji 02-27-2006 11:47 AM

Quote:

Originally Posted by CMX_CMGSCCC
Did u purchase the eStore General Permission for Upload Profile Picture? There was an issue in this I just found today and will be fixed in v1.2.3, but otherwise, I dont know what would cause an issue like this.
-CMX

i get the same for the request award page....when someone goes to request nothing shows blank page...if i disable ebux it works fine

CMX_CMGSCCC 02-27-2006 11:59 AM

Quote:

Originally Posted by MissKalunji
i get the same for the request award page....when someone goes to request nothing shows blank page...if i disable ebux it works fine

What do u mean Request Award page? eBS doesnt have a request award page?


BTW: Another thing I'm adding to v1.2.3 is a simple version double check. It checks that the product XML imported is the same version as the estore.php file thats uploaded.

-CMX

X-Files 02-27-2006 12:00 PM

1. Reporting. We need reports on what has been purchased and a full report on the admin donate. Is this type of information available?
2. Deleting a thread removes points. This is important because users are charged to use a certain forum and if they do not have enough points we will delete their thread and we want the points added back. So if we subtract a negative number it should add points and if we subtract positive point for other threads that they get points for posting in it will remove points. I hope I am making sense.
3. What about restricting the total points users are allowed to accumulate in a 24 hour period?

Thanks for all your hard work. We are looking into both products to decide which is best for us.

We are using ucash 1.1.1 now.

mandy71480 02-27-2006 12:08 PM

I've checked this whole board over for an answer, but I must be the only nub with this problem...

My menu to estore is not showing up so my members can use it. I checked all my templates and everything seems to be in place.
I really want to get this working right so I can send a donation in for this awesome plugin.

Any ideas?

CMX_CMGSCCC 02-27-2006 12:11 PM

Quote:

Originally Posted by X-Files
1. Reporting. We need reports on what has been purchased and a full report on the admin donate. Is this type of information available?
2. Deleting a thread removes points. This is important because users are charged to use a certain forum and if they do not have enough points we will delete their thread and we want the points added back. So if we subtract a negative number it should add points and if we subtract positive point for other threads that they get points for posting in it will remove points. I hope I am making sense.
3. What about restricting the total points users are allowed to accumulate in a 24 hour period?


Thanks for all your hard work. We are looking into both products to decide which is best for us.

We are using ucash 1.1.1 now.

1) There is a fully viewable Item History on the eStore page itself. It shows the top 5 sold items on the main page. Then when you view a category, it shows all items in the category with a View button on the right to view the history for that item. The Item History page itself is fully paged and everything so if there are 10000 entries, it will show 1,2,3, etc.. pages just like vB shows pages for the Threads. Also there is a fully searchable Admin CP feature for Item History as well.

2) The only reason I do not wish to look at removing points upon deleting posts is for the simple reason that u have to first get everyone who posted in the thread, and how many times they have posted in that thread and then calculate the amount of points to remove per post, amount of points to remove per character, amount of points to remove per views, amount of points to remove per thread creation, and then update each individual user in the database. And everyone will have posted a different amount of times so u cant even do a simple query for "IN (1,2,3,)" for the MySQL command. So it could be 1000 queries if 1000 different people posted in a single thread. If u know a way to do it in 1 query let me know :)

3) This would be a difficult item to achieve, it would have to basically add a second points column and increase it every time the points gets increased from actions. And inside the WHERE clause where it updates the users points, it would have to do "AND (pointstoday < $maxpointsperday)" which is plausible I guess, but thats a pretty big change since it changes the WHERE clause as well as adds another field to SET for every MySQL query. In other words, I'm not sure the amount of time put into it and making sure everything is working properly as well as On/Off variable for it as well, is worth it at this time.

-CMX

CMX_CMGSCCC 02-27-2006 12:12 PM

Quote:

Originally Posted by mandy71480
I've checked this whole board over for an answer, but I must be the only nub with this problem...

My menu to estore is not showing up so my members can use it. I checked all my templates and everything seems to be in place.
I really want to get this working right so I can send a donation in for this awesome plugin.

Any ideas?

Its not showing up in the navbar u mean? or u mean when users goto it, it says they cant access it?

If its the 2nd one, goto Admin CP -> Usergroups -> Usergroup Manager -> usergroup u want to give access to -> Can Access eStore (towards the bottom) -> Set this to Yes.

-CMX


All times are GMT. The time now is 01:26 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.04274 seconds
  • Memory Usage 1,757KB
  • 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
  • (1)bbcode_code_printable
  • (7)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