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)

Omranic 02-27-2006 06:12 AM

Quote:

Originally Posted by influence
mess with the success rate

can you explain please

1numara 02-27-2006 06:47 AM

hi,

i love this hack and tried in my forum, but i have some problems ...

i activated all eStore and eBux Features and regulate the all usergroup settings, but for example when i try to donate the eBux points, it says "Your usergroup does not have permission to purchase eStore Options."

do you know where I do wrong ? what must I do ?

thanks for your help ..

ubblite 02-27-2006 07:22 AM

I have the latest version of this extension installed (v1.2.2) & I know this is a dumb question, but I'm having one problem with it. I can't change anything to a user's account, like their Avatar, Title, just about everything. All I get is:

"The user you are trying to do this option to is protected against it!"

message every time I try. It doesn't matter what user I try to apply the changes too, I keep receiving the same message. All the eStore options are at their default settings.

Any ideas? :ermm:

LJR 02-27-2006 07:27 AM

A simple but clearly low priority enhancement.

I spent several hours yesterday chasing down a bug where people were complaining they couldn't transfer funds to the bank. In the end it transpired they were using commas so

1000 was being entered as 1,000

any chance you could do a check for the comma and ignore it or have some validation on the field which would alter it to the format you want. This affected a few of my users because the value displayed for what's in the bank does include the seperator as and I think they assumed from that they could enter the same.

Thanks

redspider 02-27-2006 07:37 AM

Quote:

Originally Posted by username12
First problem I've had with eBux. When editing a user profile after upgrading to 1.2.2:

I just install today and have this problem how can I fix this?

CMX_CMGSCCC 02-27-2006 08:42 AM

Quote:

Originally Posted by moonclamp
I really can't thank you enough for doing the profile picture thing. :D

The only problem is that a user can upload the same picture 10 times in succession and earn 1000 points ... nobody will be any the wiser.

It really needs to be a one time only event ... or have a different price attached to changing the picture as well as removing it.

Will be fixed in v1.2.3

Quote:

Originally Posted by moonclamp
... also just noticed that removing the picture can send a user into minus points ... There is nothing to stop them doing it if they have no points.

Will be fixed in v1.2.3 as well.

Quote:

Originally Posted by caimakale
CMX -

I think there is a type in some code.

In estore_postbit_imicons.php on line 61:
Code:

$useringo['gifts'] .= "</td></tr>\n";

Will be fixed in v1.2.3.

Quote:

Originally Posted by Zelda-King
This is strange but since the upgrade to 1.2.2 my site (which uses chdir to forums and some forum includes) shows up as blank pages. The forums look fine though. If I disable the product, the site is okay.

I'll just have to use the previous version for a while.

What URL are you at specifically when this happens and does it always do it?

Quote:

Originally Posted by LadyJo
well, i upgraded and now all the gifts are gone, rebuilt gift and everything.
anyone with ANY idea why thsi would happen, please??

Jo

They are only deleted from the postbit, u should be able to goto Admin CP -> eStore Maintenance -> Fix All Gift Postbits to fix it. ALSO: Make sure u redo the template edit for postbit/postbit_legacy.

Quote:

Originally Posted by TTG
I took the ribbons and sports 'extras' off .. they seem to dissapear every time there's an update to estore .. members are getting tired of having to re-buy them every couple of days.

I dont see how this could happen unless u r uninstalling them before upgrading as the eBS install does not touch those tables.

Quote:

Originally Posted by lordofgun
BTW, CMX...I can't duplicate the problems when the unlimited rep option runs out, sol I'd say it was my stupid users' faults for now...

In any case, I changed in it v1.2.2, so they should not have the problem anymore I think anyways.

Quote:

Originally Posted by 3z3k3l
I just donated but there is 5.50 Shipping/Handling fee? Is that right? Don't mind paying it because this is such a great mod!

Yeah, thats because I run an online store for my company webpage and sales@cmgsccc.com is just that, my company business paypal account. If you donate, just subtract $5.50 from the amount u wanted to donate and it should come up right.

Quote:

Originally Posted by bonjurkes
i updated it to latest vers. it looks really cool

I want to ask something, i choose the decimal places as 2 at options.

But at store all prices shows like 300.00000

Why there is five 0 after . ??

I choose it to show two decimal place but it shows 5 decimal places at store.

did i forgot to do something??

Slight issue, will be resolved in v1.2.3

Quote:

Originally Posted by FROGGYJ
I noticed the same thing, my gifts show up, but not some users. Weird.

If the gifts are not showing up, it did not find them in the estoregifts table. Thats what Fix All Gift Postbits does, it reads the estoregifts table and sorts it out by touserid and adds all of the ones it finds for the user.

If u think some user's gifts are missing, goto PhpMyAdmin and do a query like... SELECT * FROM (TABLE_PREFIX)estoregifts WHERE touserid = (userid);

And see how many gifts it shows up, if it shows more othan the number of gifts in the postbit (up to the max setting that are displayed in the postbit).

Let me know and I'll need to log into ur forums and possibly use FTP access to figure out why the rebuild would not be functioning correct.

Quote:

Originally Posted by username12
First problem I've had with eBux. When editing a user profile after upgrading to 1.2.2:

Did u re-upload all files in the UPLOAD folder?

Quote:

Originally Posted by MorrisMcD
Second donation sent.. Keep up the great work

Thanx for supporting eBS!

Quote:

Originally Posted by CallieJo2
In my repair/optimize database tables I have two estoregifts with diff names:
estoregifts Data Length: 226.7 KB Index Length: 29.0 KB Overhead: 0
vb3_estoregifts Data Length: 42.2 KB Index Length: 6.0 KB Overhead: 0

Could this be the issue with some gifties not showing up for folks?

Are we suppose to have one without our prefix?

Thanks BUNCHES!!!

That could be the reason some gifts are not found. I dont remember there being an issue creating the estoregifts table without a TABLE_PREFIX, but it definitely should have the TABLE_PREFIX. I just checked the XML files, all of them have the TABLE_PREFIX's, so not sure. But the one without the prefix is not being used and can be deleted.

Quote:

Originally Posted by dirtycrow
can we have a opition to ban users from the shoutbox?

This will have to be an addon unless Zero Tolerance will add "hooks" into his AJAX ShoutBox, then I can create an addon that will be built into eBS.

But for now, I do not want to create addons for other hacks that require "code modifications" done to others hacks.

Quote:

Originally Posted by CallieJo2
After a few tests here's what I have found:

When you change the amount of gifts shown in postbit and then rebuild...some members gifts will appear again while some of the users that had their's showing will now disappear.

Also, the gifts are showing more than once. Before, if you received more than one of the same gift...it would only show once in postbit (I Loved That!) but all in profile. Now it shows more than once.

Thanks and have a splendid evening...

Now it shows all of the gifts it finds in the postbit, up to the amount u have set as the maximum. The reason for this is because the gifts now have the ability to have the "hover Message" to show the gift message and who sent the gift.

Quote:

Originally Posted by MissKalunji
there something that me and another user found out..........when ebux 1.22 is enable the vbgallery upload doesnt work if i disable it the upload shows back

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.

Quote:

Originally Posted by SolidSnake@GTI
Now I'm using 1.2.1 & any Thief try fail
any trying to Thief I get the following MSG

Thief failed miserably, aren't you ashamed of yourself? You have lost 20 Points.

So what ?
Knowing that I have many points & tried this option on many users with various points & the same result

What do u have the Thief Success Rate set to? Admin CP -> eStore Options -> Manage Options -> Thief -> Thief Success Rate at the bottom.

Set it to 100 and it should work every time to test that its working, then set it for the percentage that u want it to be at.

Quote:

Originally Posted by Ilovechase
I want you to know that this is awesome :). I also donated (bigclive) anywho I just wanted you to know that the gifts work like a charm the only thing is


1)I am having trouble with the money being deducted from users points(not working). Points arent working at all actually either way :)
2)Also no one is able to use change titles(their own or another one) none of us has permissions to do so.

Thank you sooooo much :)

1) Can u explain further what exactly is not working?
2) I need more info on this one too. Do u have it setup now so that noone can use Custom User Titles? And are the users purchasing the General Permission for Custom User Title, or are they just setting the User Title with Change User Title?

Quote:

Originally Posted by 1numara
hi,

i love this hack and tried in my forum, but i have some problems ...

i activated all eStore and eBux Features and regulate the all usergroup settings, but for example when i try to donate the eBux points, it says "Your usergroup does not have permission to purchase eStore Options."

do you know where I do wrong ? what must I do ?

thanks for your help ..

There is a GLOBAL Usergroup permission for access to the eStore. Admin CP -> Usergroups -> Usergroup Manager -> usergroup u want to give access to -> At the bottom "Can use eStore" or something similar, I forget the exact wording... and too lazy to look it up atm... lol

Quote:

Originally Posted by ubblite
I have the latest version of this extension installed (v1.2.2) & I know this is a dumb question, but I'm having one problem with it. I can't change anything to a user's account, like their Avatar, Title, just about everything. All I get is:

"The user you are trying to do this option to is protected against it!"

message every time I try. It doesn't matter what user I try to apply the changes too, I keep receiving the same message. All the eStore options are at their default settings.

Any ideas? :ermm:

There are some usergroups that are protected by default, 5-7, as they are staff members. U can disable the staff protection by going to Admin CP -> eStore Options -> Manage Settings -> Protected From Options Usergroups?

Quote:

Originally Posted by LJR
A simple but clearly low priority enhancement.

I spent several hours yesterday chasing down a bug where people were complaining they couldn't transfer funds to the bank. In the end it transpired they were using commas so

1000 was being entered as 1,000

any chance you could do a check for the comma and ignore it or have some validation on the field which would alter it to the format you want. This affected a few of my users because the value displayed for what's in the bank does include the seperator as and I think they assumed from that they could enter the same.

Thanks

I can have it strip comma's out of there for a future version. I can not have it strip period's though. Because some countries use . in place of comma's and it will be confusing lol.

But in v1.2.3, I'll have it strip commas from the donates, bank, thief options.

Quote:

Originally Posted by redspider
I just install today and have this problem how can I fix this?

I'm unable to replicate this problem, some more info is necessary for me to figure out the problem.

Quote:

Originally Posted by Lottis
Everything was working fine untill today. I upgraded to 1.2.2 and now i cant get into my adminpanel. Help, pls.

Warning: Unknown: Failed opening '/home/******/public_html/forum/plugins/estore_postbit_imicons.php' for inclusion (include_path='.:/usr/lib/php:/usr/local/lib/php') in /includes/class_postbit.php(1066) : eval()'d code on line 2

and;

Warning: Unknown: failed to open stream: No such file or directory in /admincp/global.php(194) : eval()'d code on line 2

Warning: Unknown: Failed opening '/home/****/public_html/forum/plugins/estore_admin_global.php' for inclusion (include_path='.:/usr/lib/php:/usr/local/lib/php') in /admincp/global.php(194) : eval()'d code on line 2

and;

Warning: Unknown: failed to open stream: No such file or directory in /includes/functions_bigthree.php(251) : eval()'d code on line 2

Warning: Unknown: Failed opening '/home/*******/public_html/forum/plugins/estore_forumrules.php' for inclusion (include_path='.:/usr/lib/php:/usr/local/lib/php') in /includes/functions_bigthree.php(251) : eval()'d code on line 2

Seems u forgot to upload all files in the UPLOAD folder inside the zip to your forums. (Especially the /plugins folder)

-CMX

Lottis 02-27-2006 08:47 AM

Quote:

Originally Posted by CMX_CMGSCCC


Seems u forgot to upload all files in the UPLOAD folder inside the zip to your forums. (Especially the /plugins folder)

-CMX

Yes, it was the plugin folder. Im really sorry to bug you with a mistace like that. :o

Murty 02-27-2006 08:55 AM

I am having a similar problem to a few other people. I have just updated, and all the gifts are now not showing on the postbit. I have edited the code and stuff, but it does not show up (and yes i have done the 'Fix All Gift Postbits' several times). Any thoughts? They are shown in the members profiles though.

CMX_CMGSCCC 02-27-2006 09:09 AM

Quote:

Originally Posted by Lottis
Yes, it was the plugin folder. Im really sorry to bug you with a mistace like that. :o

It's ok, just be sure in the future ALWAYS upload the ENTIRE UPLOAD folder again as there may have been some files that have changed.

Quote:

Originally Posted by Murty
I am having a similar problem to a few other people. I have just updated, and all the gifts are now not showing on the postbit. I have edited the code and stuff, but it does not show up (and yes i have done the 'Fix All Gift Postbits' several times). Any thoughts? They are shown in the members profiles though.

The template edit for the Gifts part has changed... Did u redo it?

Code:

                                <if condition="$post['giftsdisplay']"><div class="smallfont">$post[giftsdisplay]</div></if>
NOTE how it uses "giftsdiplay" and not "gifts" anymore. I changed this on purpose because the old templates would have been incompatible, so I changed it to "giftsdisplay".

-CMX

moonclamp 02-27-2006 09:15 AM

Is anyone here using VBAgallery? If so, are you getting the points info appearing in your gallery comments?

Murty 02-27-2006 09:28 AM

Quote:

Originally Posted by CMX_CMGSCCC
The template edit for the Gifts part has changed... Did u redo it?

Code:

                                <if condition="$post['giftsdisplay']"><div class="smallfont">$post[giftsdisplay]</div></if>
NOTE how it uses "giftsdiplay" and not "gifts" anymore. I changed this on purpose because the old templates would have been incompatible, so I changed it to "giftsdisplay".

-CMX

Yes I have done that and rechecked it. But still not coming up. :ermm: Herm....

kylek 02-27-2006 09:28 AM

Question on the unix time stamp for the lottery.

I have been reading and learning about how to work with and ceate a time stamp. Once I have the date and time right that I want for the daily lottery, do I just go in and edit daily lottery and change the time stamp in the ending time box and then click save settings?
Or do I need to do anything with the scheduled task manager and eBux lottery processing section?

ubblite 02-27-2006 09:36 AM

Quote:

Originally Posted by ubblite
I have the latest version of this extension installed (v1.2.2) & I know this is a dumb question, but I'm having one problem with it. I can't change anything to a user's account, like their Avatar, Title, just about everything. All I get is:

"The user you are trying to do this option to is protected against it!"

message every time I try. It doesn't matter what user I try to apply the changes too, I keep receiving the same message. All the eStore options are at their default settings.

Any ideas? :ermm:

Quote:

Originally Posted by CMX_CMGSCCC
There are some usergroups that are protected by default, 5-7, as they are staff members. U can disable the staff protection by going to Admin CP -> eStore Options -> Manage Settings -> Protected From Options Usergroups?
-CMX

Thank you for the quick response.

Yeah, I tried doing what you mentioned & even switched the usergroup setting to 0 in --> Protected From Options Usergroups. I get the same message regardless of which usergroup I try to apply the change (like user title): "The user you are trying to do this option to is protected against it!" every time. It's frustrating because everything else seems to be working great.

Anything else I can try to solve this problem?

Murty 02-27-2006 09:37 AM

And also, for some reason, the glow seems to cover more than just my username. It covers up my usertitle as well; and everything between it. And i assure you that the code i have put in is correct.

Rickie3 02-27-2006 09:49 AM

my update went smoothly,all seems good thanx CMX_CMGSCCC

CMX_CMGSCCC 02-27-2006 10:28 AM

Quote:

Originally Posted by Murty
Yes I have done that and rechecked it. But still not coming up. :ermm: Herm....

If u give me admin access I could probably debug it for u. If u want to do that, PM me the details and make sure to set the Admin Permissions 'Can Administer Plugins' if u create a new account for me.

Quote:

Originally Posted by kylek
Question on the unix time stamp for the lottery.

I have been reading and learning about how to work with and ceate a time stamp. Once I have the date and time right that I want for the daily lottery, do I just go in and edit daily lottery and change the time stamp in the ending time box and then click save settings?
Or do I need to do anything with the scheduled task manager and eBux lottery processing section?

Well, I have just found a vBulletin Admin function that can display the time/date in an easy to edit fashion. So v1.2.3 will list the months/days/hours/minutes for the End Date for the Lotteries, as well as the Option Next Refill time.

Normally though, you modify the unix time stamp and the scheduled task will end the lottery next time it runs and the time has passed.

Quote:

Originally Posted by ubblite
Thank you for the quick response.

Yeah, I tried doing what you mentioned & even switched the usergroup setting to 0 in --> Protected From Options Usergroups. I get the same message regardless of which usergroup I try to apply the change (like user title): "The user you are trying to do this option to is protected against it!" every time. It's frustrating because everything else seems to be working great.

Anything else I can try to solve this problem?

I think there was a bug in this, it will be fixed in v1.2.3

Quote:

Originally Posted by Murty
And also, for some reason, the glow seems to cover more than just my username. It covers up my usertitle as well; and everything between it. And i assure you that the code i have put in is correct.

Perhaps ur postbit is hacked up more than normal and it doesnt have the </div> after the online icons.

Quote:

Originally Posted by Rickie3
my update went smoothly,all seems good thanx CMX_CMGSCCC

Good, glad to hear it!

-CMX

ubblite 02-27-2006 10:36 AM

Quote:

Originally Posted by CMX_CMGSCCC
There are some usergroups that are protected by default, 5-7, as they are staff members. U can disable the staff protection by going to Admin CP -> eStore Options -> Manage Settings -> Protected From Options Usergroups?
-CMX

Quote:

Originally Posted by ubblite
Yeah, I tried doing what you mentioned & even switched the usergroup setting to 0 in --> Protected From Options Usergroups. I get the same message regardless of which usergroup I try to apply the change (like user title): "The user you are trying to do this option to is protected against it!" every time. It's frustrating because everything else seems to be working great.

Anything else I can try to solve this problem?

Quote:

Originally Posted by CMX_CMGSCCC
I think there was a bug in this, it will be fixed in v1.2.3
-CMX

Ah, for a minute there I thought it was something I did wrong. Ok, I'll be looking forward to the next release. Oh, and just so you know, I'm running vb 3.5.4. Thanks again.

CMX_CMGSCCC 02-27-2006 10:45 AM

Quote:

Originally Posted by ubblite
Ah, for a minute there I thought it was something I did wrong. Ok, I'll be looking forward to the next release - thanks again.

Yes, I confirmed there was a bug in that, it will be fixed in v1.2.3

-CMX

Rickie3 02-27-2006 10:47 AM

Quote:

Originally Posted by CMX_CMGSCCC
Yes, I confirmed there was a bug in that, it will be fixed in v1.2.3

-CMX

its working perfectly for me no probs changing user titles at all

ubblite 02-27-2006 10:57 AM

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.

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

mandy71480 02-27-2006 12:14 PM

Right, it's not showing up in the navbar. :(

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

Quote:

Originally Posted by CMX_CMGSCCC
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

I see your points.

Regarding the limit. We were on phpbb and they had a points system that had this feature and we have been missing it since the move to vB.

Regarding the points removal. Usually for us it will just be one post in one forum. Do you think there would be a way to accomplish this without to much hacking.

For the reporting can everyone see the admin donate?

We will probably be trying this out on our dev site soon.

Thanks for your reply. You guys seem much more responsive than the ucash/ushop group.

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

Quote:

Originally Posted by X-Files
I see your points.

Regarding the limit. We were on phpbb and they had a points system that had this feature and we have been missing it since the move to vB.

Regarding the points removal. Usually for us it will just be one post in one forum. Do you think there would be a way to accomplish this without to much hacking.

For the reporting can everyone see the admin donate?

We will probably be trying this out on our dev site soon.

Thanks for your reply. You guys seem much more responsive than the ucash/ushop group.

Is it hard to move from the uCash 1.1.1 to this system? We do not have the store running but have been looking at their new version.

Reeve of shinra 02-27-2006 12:37 PM

Its very easy to have your existing ucash points moved over... its like 1 click ;)

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

Can we display the points (chips) in the navbar welcome block?

Code:

Welcome, X-Files. You have 32,997 chips!
You last visited: Today at 10:46 AM
Private Messages: Unread 0, Total 328.

Can the name be changed to chips instead of points?

Can we have real items in the shop?

Buy widget #1 for 1000 points(chips for us).

I know I should probably install and try things out. I need to get our dev site updated. so that I can try this out.

1numara 02-27-2006 12:54 PM

Quote:

Originally Posted by 1numara
hi,

i love this hack and tried in my forum, but i have some problems ...

i activated all eStore and eBux Features and regulate the all usergroup settings, but for example when i try to donate the eBux points, it says "Your usergroup does not have permission to purchase eStore Options."

do you know where I do wrong ? what must I do ?

thanks for your help ..
Quote:

Originally Posted by CMX_CMGSCCC
There is a GLOBAL Usergroup permission for access to the eStore. Admin CP -> Usergroups -> Usergroup Manager -> usergroup u want to give access to -> At the bottom "Can use eStore" or something similar, I forget the exact wording... and too lazy to look it up atm... lol

first, thanks for answer :)

i found the panel settings you said.

i think you said "eBux eStore Permissions" - "Can this group purchase eStore options at all?"

i checked this settings for all usergroup i want to give access, but it's already set as "yes" ...

did i look the correct settings ? if yes, is there something else to recommend me ?

CallieJo 02-27-2006 01:30 PM

Quote:

Originally Posted by CMX_CMGSCCC
That could be the reason some gifts are not found. I dont remember there being an issue creating the estoregifts table without a TABLE_PREFIX, but it definitely should have the TABLE_PREFIX. I just checked the XML files, all of them have the TABLE_PREFIX's, so not sure. But the one without the prefix is not being used and can be deleted.

I've deleted the old one...but it didn't affect the issue with gifts not showing up in postbit for most users. Even after updating the giftie fix thang in admin and here is my postbit/postbit legacy code:
Code:

<if condition="$post['giftsdisplay']"><div class="smallfont">$post[giftsdisplay]</div></if>
<if condition="$vboptions['ebux_enabled']"><div>$post[ribbons]</div></if>

Quote:

Originally Posted by CMX_CMGSCCC
Now it shows all of the gifts it finds in the postbit, up to the amount u have set as the maximum. The reason for this is because the gifts now have the ability to have the "hover Message" to show the gift message and who sent the gift.

Okies...thanks. If at any time in the future...not wanting to fill your plate more...can you enable it to be admin preference whether or not to show them all with messages or to just show them once with no message in postbit only?

At first I missed the messages, but then loved that it only showed one gift when there were more than one of the same thang. It kept it clean looking and peopes still could view messages in the profiles.

Also, I see the delete option in profile but not the hide option. Am I missing something? And is this always going to be in the profile for managing? I like it that way rather than usercp.

Thanks for all your hard work!! It's much appreciated BUNCHES!

Once I get this one site finished up I'll be working on another and adding your awesome product to it...at that time, I will again donate a little somethang somethang...Thanks and have a splendid day ;)

mandy71480 02-27-2006 01:44 PM

this is what my navbar template code looks like if this helps... not sure why estore isn't showing up in the navbar

Code:

<script type="text/javascript">
<!--
function log_out()
{
        ht = document.getElementsByTagName("html");
        ht[0].style.filter = "progid:DXImageTransform.Microsoft.BasicImage(grayscale=1)";
        if (confirm('$vbphrase[sure_you_want_to_log_out]'))
        {
                return true;
        }
        else
        {
                ht[0].style.filter = "";
                return false;
        }
}
//-->
</script>

<br />

<!-- breadcrumb, login, pm info -->
<table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="100%" align="center">
<tr>
        <td class="alt1" width="100%">
                <if condition="is_array($navbits)">
                        <table cellpadding="0" cellspacing="0" border="0">
                        <tr valign="bottom">
                                <td><a href="#" onclick="history.back(1); return false;"><img src="$stylevar[imgdir_misc]/navbits_start.gif" alt="$vbphrase[go_back]" border="0" /></a></td>
                                <td>&nbsp;</td>
                                <td width="100%"><span class="navbar"><a href="$vboptions[forumhome].php$session[sessionurl_q]" accesskey="1">$vboptions[bbtitle]</a></span> $navbits[breadcrumb]</td>
                        </tr>
                        <tr>
                                <td class="navbar" style="font-size:10pt; padding-top:1px" colspan="3"><a href="$scriptpath"><img class="inlineimg" src="$stylevar[imgdir_misc]/navbits_finallink.gif" alt="$vbphrase[reload_this_page]" border="0" /></a> <strong>$navbits[lastelement]</strong></td>
                        </tr>
                        </table>                       
                <else />
                        <div class="navbar" style="font-size:10pt"><a href="$vboptions[forumhome].php$session[sessionurl_q]" accesskey="1"><img class="inlineimg" src="$stylevar[imgdir_misc]/navbits_start.gif" alt="" border="0" /></a> <strong>$vboptions[bbtitle]</strong></div>
                </if>
        </td>       
       
        <if condition="$bbuserinfo['userid']">
       
                <td class="alt2" valign="top" nowrap="nowrap">
                <div class="smallfont">
                        <strong><phrase 1="$bbuserinfo[username]">$vbphrase[welcome_x]</phrase></strong><br />
                        <phrase 1="$pmbox[lastvisitdate]" 2="$pmbox[lastvisittime]">$vbphrase[last_visited_x_at_y]</phrase>
                        <if condition="$show['pmstats']"><br /><phrase 1="$vbphrase[unread_x_nav_compiled]" 2="$vbphrase[total_x_nav_compiled]" 3="$session[sessionurl_q]">$vbphrase[private_messages_nav]</phrase></if>
                </div>
                </td>
               
        <else />
               
                <td class="alt2" nowrap="nowrap" style="padding:0px">
                       
                <!-- login form -->
                <form action="login.php" method="post" onsubmit="md5hash(vb_login_password, vb_login_md5password, vb_login_md5password_utf, $show[nopasswordempty])">
                <script type="text/javascript" src="clientscript/vbulletin_md5.js"></script>
                <table cellpadding="0" cellspacing="$stylevar[formspacer]" border="0">
                <tr>
                        <td class="smallfont">$vbphrase[username]</td>
                        <td><input type="text" class="bginput" style="font-size: 11px" name="vb_login_username" id="navbar_username" size="10" accesskey="u" tabindex="101" value="$vbphrase[username]" onfocus="if (this.value == '$vbphrase[username]') this.value = '';" /></td>
                        <td class="smallfont" colspan="2" nowrap="nowrap"><label for="cb_cookieuser_navbar"><input type="checkbox" name="cookieuser" value="1" tabindex="103" id="cb_cookieuser_navbar" accesskey="c" />$vbphrase[remember_me]</label></td>
                </tr>
                <tr>
                        <td class="smallfont">$vbphrase[password]</td>
                        <td><input type="password" class="bginput" style="font-size: 11px" name="vb_login_password" size="10" accesskey="p" tabindex="102" /></td>
                        <td><input type="submit" class="button" value="$vbphrase[log_in]" tabindex="104" title="$vbphrase[enter_username_to_login_or_register]" accesskey="s" /></td>
                </tr>
                </table>
                <input type="hidden" name="s" value="$session[sessionhash]" />
                <input type="hidden" name="do" value="login" />               
                <input type="hidden" name="vb_login_md5password" />
                <input type="hidden" name="vb_login_md5password_utf" />
                </form>
                <!-- / login form -->
                       
                </td>
               
        </if>       
       
</tr>
</table>
<!-- / breadcrumb, login, pm info -->

<!-- nav buttons bar -->
<div align="center">
        <table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="0" border="0" width="100%" align="center" style="border-top-width:0px">
        <tr align="center">
                <if condition="$show['member']">
                        <td class="vbmenu_control"><a href="usercp.php$session[sessionurl_q]">$vbphrase[user_cp]</a></td>
                </if>
                <if condition="$show['registerbutton']">
                        <td class="vbmenu_control"><a href="register.php$session[sessionurl_q]" rel="nofollow">$vbphrase[register]</a></td>
                </if>
                <td class="vbmenu_control"><a href="faq.php$session[sessionurl_q]" accesskey="5">$vbphrase[faq]</a></td>
                <td class="vbmenu_control"><a href="memberlist.php$session[sessionurl_q]">$vbphrase[members_list]</a></td>
                <td class="vbmenu_control"><a href="calendar.php$session[sessionurl_q]">$vbphrase[calendar]</a></td>
                <if condition="$show['popups']">
<if condition="$show['member']">
                                <td id="estoremenu" class="vbmenu_control"><a href="$show[nojs_link]#estoremenu">$vbphrase[estore_name] $vbphrase[estore_menu]</a> <script type="text/javascript"> vbmenu_register("estoremenu"); </script></td>
                        </if>               
                        <if condition="$show['searchbuttons']">
                                <if condition="$show['member']">
                                <td class="vbmenu_control"><a href="search.php?$session[sessionurl]do=getnew" accesskey="2">$vbphrase[new_posts_nav]</a></td>
                                <else />
                                <td class="vbmenu_control"><a href="search.php?$session[sessionurl]do=getdaily" accesskey="2">$vbphrase[todays_posts]</a></td>
                                </if>
                                <td id="navbar_search" class="vbmenu_control"><a href="search.php$session[sessionurl_q]" accesskey="4" rel="nofollow">$vbphrase[search]</a> <script type="text/javascript"> vbmenu_register("navbar_search"); </script></td>
                        </if>
                        <if condition="$bbuserinfo['userid']">
                                <td id="usercptools" class="vbmenu_control"><a href="$show[nojs_link]#usercptools">$vbphrase[quick_links]</a> <script type="text/javascript"> vbmenu_register("usercptools"); </script></td>               
                        </if>
                <else />               
                        <if condition="$show['searchbuttons']">
                                <td class="vbmenu_control"><a href="search.php$session[sessionurl_q]" accesskey="4">$vbphrase[search]</a></td>
                                <if condition="$show['member']">
                                <td class="vbmenu_control"><a href="search.php?$session[sessionurl]do=getnew" accesskey="2">$vbphrase[new_posts_nav]</a></td>
                                <else />
                                <td class="vbmenu_control"><a href="search.php?$session[sessionurl]do=getdaily" accesskey="2">$vbphrase[todays_posts]</a></td>
                                </if>
                        </if>
                        <td class="vbmenu_control"><a href="forumdisplay.php?$session[sessionurl]do=markread" rel="nofollow">$vbphrase[mark_forums_read]</a></td>
                        <if condition="$bbuserinfo['userid']">                       
                                <td class="vbmenu_control"><a href="#" onclick="window.open('misc.php?$session[sessionurl]do=buddylist&amp;focus=1','buddylist','statusbar=no,menubar=no,toolbar=no,scrollbars=yes,resizable=yes,width=250,height=300'); return false;">$vbphrase[open_buddy_list]</a></td>                       
                        </if>                       
                </if>
                <if condition="$bbuserinfo['userid']">
                        <td class="vbmenu_control"><a href="login.php?$session[sessionurl]do=logout&amp;logouthash=$bbuserinfo[logouthash]" onclick="return log_out()">$vbphrase[log_out]</a></td>
                </if>
        </tr>
        </table>
</div>
<!-- / nav buttons bar -->

<br />
<if condition="$show['forumdesc']">
        <table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="100%" align="center">
        <tr>
                <td class="alt1" width="100%"><strong>$foruminfo[title]</strong> <span class="smallfont">$foruminfo[description]</span></td>
        </tr>
        </table>
        <br />
</if>

<if condition="$show['popups']">
<!-- NAVBAR POPUP MENUS -->
       
        <if condition="$show['searchbuttons']">
        <!-- header quick search form -->
        <div class="vbmenu_popup" id="navbar_search_menu" style="display:none">
                <table cellpadding="4" cellspacing="1" border="0">
                <tr>
                        <td class="thead">$vbphrase[search_forums]</td>
                </tr>
                <tr>
                        <td class="vbmenu_option" title="nohilite">
                        <form action="search.php" method="post">
                                <input type="hidden" name="do" value="process" />
                                <input type="hidden" name="showposts" value="0" />
                                <input type="hidden" name="quicksearch" value="1" />
                                <input type="hidden" name="s" value="$session[sessionhash]" />
                                <input type="text" class="bginput" name="query" size="20" />$gobutton<br />
                        </form>
                        </td>
                </tr>
                <tr>
                        <td class="vbmenu_option"><a href="search.php$session[sessionurl_q]" accesskey="4" rel="nofollow">$vbphrase[advanced_search]</a></td>
                </tr>
                </table>
        </div>
        <!-- / header quick search form -->
        </if>

        <if condition="$show['member']">
        <!-- user cp tools menu -->
        <div class="vbmenu_popup" id="usercptools_menu" style="display:none">
                <table cellpadding="4" cellspacing="1" border="0">
               
                <tr><td class="thead">$vbphrase[quick_links]</td></tr>               
                <if condition="$vboptions['enablesearches']"><tr><td class="vbmenu_option"><a href="search.php?$session[sessionurl]do=getdaily">$vbphrase[todays_posts]</a></td></tr></if>
                <tr><td class="vbmenu_option"><a href="forumdisplay.php?$session[sessionurl]do=markread">$vbphrase[mark_forums_read]</a></td></tr>
                <tr><td class="vbmenu_option"><a href="#" onclick="window.open('misc.php?$session[sessionurl]do=buddylist&amp;focus=1','buddylist','statusbar=no,menubar=no,toolbar=no,scrollbars=yes,resizable=yes,width=250,height=300'); return false;">$vbphrase[open_buddy_list]</a></td></tr>
                               
                <tr><td class="thead"><a href="usercp.php$session[sessionurl_q]">$vbphrase[user_control_panel]</a></td></tr>
                <if condition="$show['siglink']"><tr><td class="vbmenu_option"><a href="profile.php?$session[sessionurl]do=editsignature">$vbphrase[edit_signature]</a></td></tr></if>
                <!--<if condition="$show['avatarlink']"><tr><td class="vbmenu_option"><a href="profile.php?$session[sessionurl]do=editavatar">$vbphrase[edit_avatar]</a></td></tr></if>-->
                <tr><td class="vbmenu_option"><a href="profile.php?$session[sessionurl]do=editprofile">$vbphrase[edit_profile]</a></td></tr>
                <tr><td class="vbmenu_option"><a href="profile.php?$session[sessionurl]do=editoptions">$vbphrase[edit_options]</a></td></tr>
               
                <tr><td class="thead">$vbphrase[miscellaneous]</td></tr>
                <if condition="$show['pmstats']"><tr><td class="vbmenu_option"><a href="private.php$session[sessionurl_q]">$vbphrase[private_messages]</a></td></tr></if>
                <tr><td class="vbmenu_option"><a href="subscription.php$session[sessionurl_q]">$vbphrase[subscribed_threads]</a></td></tr>
                <tr><td class="vbmenu_option"><a href="member.php?$session[sessionurl]u=$bbuserinfo[userid]">$vbphrase[my_profile]</a></td></tr>
                <if condition="$show['wollink']"><tr><td class="vbmenu_option"><a href="online.php$session[sessionurl_q]">$vbphrase[whos_online]</a></td></tr></if>
               
                </table>
        </div>
        <!-- / user cp tools menu -->
        </if>
<if condition="$show['member']">
        <!-- estore tools menu -->
        <div class="vbmenu_popup" id="estoremenu_menu" style="display:none">
                <table cellpadding="4" cellspacing="1" border="0">

                <tr><td class="thead"><a href="estore.php?$session[sessionurl]">$vbphrase[estore_name] $vbphrase[estore_main]</a></td></tr>
                <tr><td class="vbmenu_option"><a href="estore.php?$session[sessionurl]do=action&amp;itemid=48">$vbphrase[estore_lottery]</a></td></tr>
                <tr><td class="vbmenu_option"><a href="estore.php?$session[sessionurl]do=action&amp;itemid=27">$vbphrase[estore_give_gifts]</a></td></tr>
                <tr><td class="vbmenu_option"><a href="estore.php?$session[sessionurl]do=action&amp;itemid=13">$vbphrase[ebux_bank]</a></td></tr>
                <tr><td class="vbmenu_option"><a href="estore.php?$session[sessionurl]do=action&amp;itemid=7">$vbphrase[estore_donate]</a></td></tr>
                <tr><td class="vbmenu_option"><a href="estore.php?$session[sessionurl]do=action&amp;itemid=16">$vbphrase[estore_thief]</a></td></tr>

                <tr><td class="vbmenu_option"><a href="estore.php?$session[sessionurl]do=richestusers">$vbphrase[ebux_richest_users]</a></td></tr>
                <tr><td class="vbmenu_option"><a href="estore.php?$session[sessionurl]do=userhistory">$vbphrase[estore_history]</a></td></tr>
                <tr><td class="vbmenu_option"><a href="estore.php?$session[sessionurl]do=mostsold">$vbphrase[estore_most_sold]</a></td></tr>

                <if condition="is_member_of($bbuserinfo['usergroupid'], 6)">
                        <tr><td class="thead">$vbphrase[estore_admin_only]</a></td></tr>
                        <tr><td class="vbmenu_option"><a href="estore.php?$session[sessionurl]do=action&amp;itemid=12">$vbphrase[estore_admin_donate]</a></td></tr>
                </if>

                </table>
        </div>
        <!-- / estore tools menu -->
        </if>
<!-- / NAVBAR POPUP MENUS -->

<!-- PAGENAV POPUP -->

        <div class="vbmenu_popup" id="pagenav_menu" style="display:none">
                <table cellpadding="4" cellspacing="1" border="0">
                <tr>
                        <td class="thead" nowrap="nowrap">$vbphrase[go_to_page]</td>
                </tr>
                <tr>
                        <td class="vbmenu_option" title="nohilite">
                        <form action="$vboptions[forumhome].php" method="get" onsubmit="return this.gotopage()" id="pagenav_form">
                                <input type="text" class="bginput" id="pagenav_itxt" style="font-size:11px" size="4" />
                                <input type="button" class="button" id="pagenav_ibtn" value="$vbphrase[go]" />
                        </form>
                        </td>
                </tr>
                </table>
        </div>

<!-- / PAGENAV POPUP -->
</if>


LBSources 02-27-2006 01:55 PM

Quote:

Originally Posted by LBSources
sorry for not keeping up folks.. CMX glad everyones contribution went to a worthy cause unlike our ushop contributions..

but i havent been keeping up as of lately..

anyone have the outlines on how the lottery works.. i guess i mean the settings and how the variables in the options are defined..

thanks in advance.. install and operation went flawless and my HOTM obviously went with this project thumbsup!

BUMP? :nervous:

Ayway to exclude a certain usergroup from points per download?

MissKalunji 02-27-2006 02:01 PM

Quote:

Originally Posted by CMX_CMGSCCC
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

i have the other hack : award

and when i go to request award...it goes blank
if i unable the ebux hack it shows

same thing for the vbgallery sorry i didnt explain myself properly


All times are GMT. The time now is 04:22 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.08058 seconds
  • Memory Usage 2,068KB
  • 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
  • (7)bbcode_code_printable
  • (56)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (3)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