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)

docvader 02-20-2006 04:53 AM

Quote:

Originally Posted by lowandloudinc
yea i dont know why maybe a coder could help us out. im trying to figure it out and if i do ill post.

Why is it, that the memberinfo template will pull up a user's ebux points number when using $userinfo[totalpoints], $userinfo[bank], and $userinfo[points], but those same code snippets will not work in postbit or navbar templates???

kylek 02-20-2006 04:54 AM

Here's a strange one. Added an admin tonight, changed his usergroup from active member to administrator and now he cannot access the eStore, gets the you do not have permisson page. Anyone come across this before?

dan35 02-20-2006 05:02 AM

Quote:

Originally Posted by lowandloudinc
this is what i use to have and it did it

https://vborg.vbsupport.ru/showthrea...=credit+system

theres an image that is posted that i wanted it to look like , i beleive its the first pic posted


Same here ;)
'cause some members feel annoyed with the second page.

TamCaVBoy3 02-20-2006 05:05 AM

will this mod has this function ???

Use point system to pay to read a thread

example:

a user can make a thread and sell it for 5 points, other users will have to pay 5 points to read it or else, the message will be hidden

ChiliVB 02-20-2006 05:17 AM

I've upgraded my install to v1.17 and I have a question on the lottery system.

How do I change the end date of the Weekly Lottery?

After enabling the option and testing a ticket purchase with a user it gave an estimated end time of the lottery to be the same day (today, Monday) at 10:00 PM. The Time Active setting is 604800.

As info, I do not have the Daily Lottery option enabled at all.

I'm sure I'm overlooking something if you can point me in the right direction.

dxguru 02-20-2006 05:20 AM

I have an issue with the Lottery.

When I purchase a ticket, regardless of if it is Daily or Weekly, the confirm screen shows the same Lottery Ends Approximately: date (which is the weekly date)

PixelFx 02-20-2006 05:28 AM

how hard would it be to add ebux support to rpg inferno ? or visa versa ?

lazytown 02-20-2006 06:39 AM

I've seen this asked, with a few nonspecific answers...

But is there any way forums can automatically (or even manually) give points to users that contribute $$? VB already has contibuton/subscriber feature built in -- couldn't it give users points somehow through that once they donate? It doesn't need to integrate directly with Papal or anything.

Great Mod!
Thanks
-Vissa

CMX_CMGSCCC 02-20-2006 07:24 AM

Quote:

Originally Posted by caimakale
CMX -

I am working on a new item and noticed that you have a column in the estoreitems table called changeaways. Is this supposed to be there or was it a typo that was corrected, but the wrong column left? Off the top of my head I can't think of what would use this column.

It was renamed to changealways in a later version, you can delete changeaways from your estoreitems table if it exists.

Quote:

Originally Posted by lowandloudinc
this is what i use to have and it did it

https://vborg.vbsupport.ru/showthrea...=credit+system

theres an image that is posted that i wanted it to look like , i beleive its the first pic posted

1) Its a Code Modification.
2) Its using only the global setting for it, it wont work if the imagecost is different per attachment.
3) It also modifies a template.

#1 and #2 are stopping me from incorporating that, #3 is doable easily though.

Quote:

Originally Posted by XanTrax
CMX_CMGSCCC - There obviously is an exploit if members on my board and apparently one or two other peoples boards here members can/are doing something to get 50,000 points in less then an hour or so.

Find out what it is, and report it here so I can fix it.

Quote:

Originally Posted by rinkrat
I just installed for the first time and I'm using ucash as the points system since I had that installed and users have lots built up.

I gave myself permission to use the store and went into the estor and saw all of the items including the bank and glow and all that but there is nowhere to click to purchase any of the items.

Also, where do I put the points into the bank?

GREAT mod by the way from what I've seen on other sites. Got my vote already :)

The bank is unser Points Options.

Quote:

Originally Posted by voleibolmurcia
CMX_CMGSCCC

Just modify the template edit for MEMBERINFO, its that easy. Where it says $gift[message] remove that part and fix it up to your liking.


The code to insert in memberinfo template is that:


PHP Code:

            <if condition="$vboptions['ebux_enabled']">
            <
div class="fieldset">
                <
table class="tborder" cellpadding="5" cellspacing="0" border="0" width="100%" align="center">
                <
thead>
                    <
tr align="center">
                        <
td class="thead"><a style="float:$stylevar[right]href="#top" onclick="return toggle_collapse('pointsmode')"><img id="collapseimg_pointsmode" src="$stylevar[imgdir_button]/collapse_thead$vbcollapse[collapseimg_pointsmode].gif" alt="" border="0" /></a>$vbphrase[ebux_name$vbphrase[ebux_points]</td>
                    </
tr>
                </
thead>
                <
tbody id="collapseobj_pointsmode" style="">
                    <
tr>
                        <
td class="alt1">
                            <
div><a href="estore.php?do=donate&amp;userid=$userinfo[userid]">$vbphrase[ebux_points]</a>: $userinfo[points]</div>
                            <
div>$vbphrase[ebux_bank]: $userinfo[bank]</div>
                            <
div>$vbphrase[ebux_total_points]: $userinfo[totalpoints]</div>
                        </
td>
                    </
tr>
                </
tbody>
                </
table>
            </
div>
            </if>
            
            <if 
condition="$show['gifts']">
            <
div class="fieldset">
                <
table class="tborder" cellpadding="5" cellspacing="0" border="0" width="100%" align="center">
                <
thead>
                    <
tr align="center">
                        <
td class="thead" colspan="4"><a style="float:$stylevar[right]href="#top" onclick="return toggle_collapse('usergiftsmode')"><img id="collapseimg_usergiftsmode" src="$stylevar[imgdir_button]/collapse_thead$vbcollapse[collapseimg_usergiftsmode].gif" alt="" border="0" /></a>$vbphrase[estore_gifts]</td>
                    </
tr>
                </
thead>
                <
tbody id="collapseobj_usergiftsmode" style="">
                    <
tr>
                        <
td class="tcat"></td>
                        <
td class="tcat">$vbphrase[estore_sender]</td>
                        <
td class="tcat">$vbphrase[estore_message]</td>
                        <
td class="tcat"><if condition="$show['candelete']">$vbphrase[estore_delete]</if></td>
                    </
tr>
                    
$userinfo[gifts]
                </
tbody>
                </
table>
            </
div>
            </if> 

I didnt found any $gift[message].

I dont understad the 99% of php code. I think the "trick" is in the $userinfo[gifts] that may be the phrase o whatever that shows the image, sender and messagge.

I only want to show the image.

Thank u.

You'll have to modify the plugin for member_complete to accomplish that as well as the template edit. I wish I had more time to explain, but look at the plugin for member_complete and you should see some stuff like <td>$gift[message]</td>, etc..


Quote:

Originally Posted by BLazeD1
I tried changing the quantity for Username Glow to 0 - so that it is unlimited, but it wont save!

How can I make all the items unlimited?

To make it unlimited you have to change the Default Quantity to 0, not the "current" Quantity to 0.

Quote:

Originally Posted by VMS
I set in Admin CP "Max Gifts Displayed Other Than User Profile" is 10, but it still displays 20 (default). Is there anyway to adjust it the right way ? And are the gifts in User profile can be hidden by clicking on the eye button (like ushop before) or something so it won't show or display out side or users can display what gift they want to be displayed by themselve? Thanks in advance for all the answers and helps.

Slight bug, will be fixed in v1.1.8.

Quote:

Originally Posted by Sooner95
Finally upgraded to 1.1.7, pretty busy up here last few days, wind storm blew out power for a few days. anyhow, i've fallin behind in this thread and just have one question, tho it may have already been adressed.

The attachemnt cost thing. Its cool, but i don't really care for the redirect to the store to purchase it ect.. Is there anyway it could be set up like this?

Member clicks on attachment, a popup comes up giving them the option of purchasing attachment for set price, yes or no. they click yes, they veiw the attachment and it automatically takes the points, they click no, the popup just goes away and back to the page. Maybe even do this via AJAX?

Also, woul dit be possible to have it where once a member clicks an attachment once, they do not have to pay for it again?

Thanks.

This needs more research, but it might be possible. If someone can find out a way to do this, I will incorporate it.

Quote:

Originally Posted by BLazeD1
Someone on my forums found an exploit for this, I PM'ed you about it.

I'll look into it, thanx.

Quote:

Originally Posted by AlchemyX
How do I make, by default, access denied to post, reply, and post attatchments in a particular forum, on a per usergroup basis, so that my users can buy access to it?

BTW, I am absolutely loving this hack, it's awesome... I'm also trying to integrate it with v3arcade to make it give you a certain amount of points for becoming the new champion, and substantially less, but still some, for making it into the top 10 (but not being champion), and I'm also trying to figure out how to make it cost points to play particular games...

But all this aside, I'm new to vB, so It's taking me a bit to get accustomed to.

Nice hack :-)

I'm not familiar with all of vB's settings, but I think there is a setting under Forums Manager?

As far as v3arcade goes, John is going to implement the things needed to be compatible with eBux in the next build on March 12th, 2006, stay tuned!

Quote:

Originally Posted by Zowners
I was wondering if it would be possible to display the ammount of points they have in and out of the bank under their Name and info. Such as right here:

http://img98.imageshack.us/img98/4883/ebucks4go.gif

I edited that. I don't actually know how to do it (if you can't tell by the crappy font).

Yes, that should be doable. In the template that displays there, try $userinfo['points'] and it should show there, if not, try $vbulletin->userinfo[points]...

Quote:

Originally Posted by inspiration100
might sound strange but how do you enable the attachments cost points ?

In the Admin CP, eBux Options.

Quote:

Originally Posted by jilly
If a member has two different people buy them the same gift, it only shows up once in their postbit. Is there a way to make each gift appear individually, even if it's the same gift?

Only if you hack the action.gift.php file.

Quote:

Originally Posted by jojo77
Having issues with the ban access feature.

Ok just tested the ban function and it does not seem to be working. I bought one to ban a to a test account of mine and that account was still able to access the forum they were banned from. Any suggestions?

It works on my test forum at http://www.ps2hits.com/forums/

Does the user have any usergroups that say "overrides settings" enabled?

Quote:

Originally Posted by docvader
For some reason, when I install it, it's not picking up the point values. II've gotten around the phrases). Anyone have any idea why this won't work in the navbar?

In fact, I'm not getting this to show in my postbits either:

Any suggestions???

Dont use $post[points], use $userinfo[points] or $vbulletin->userinfo[points] maybe.

Quote:

Originally Posted by shaynehammy
CMX.

Is possible to include what users title was changed to in history? Nice to have a history of all title changes for users.

Thanks

Will be added in v1.1.8.

Quote:

Originally Posted by docvader
Why is it, that the memberinfo template will pull up a user's ebux points number when using $userinfo[totalpoints], $userinfo[bank], and $userinfo[points], but those same code snippets will not work in postbit or navbar templates???

Because its a different variable name in other spots.

Quote:

Originally Posted by kylek
Here's a strange one. Added an admin tonight, changed his usergroup from active member to administrator and now he cannot access the eStore, gets the you do not have permisson page. Anyone come across this before?

Does administrator have the Usergroup Setting "Can Access eStore at all?" enabled to Yes?

Quote:

Originally Posted by dan35
Same here ;)
'cause some members feel annoyed with the second page.

If you can find a better solution without a Code Hack and I'll implement it. I was looking for it a while back and didnt come up with anything.

Quote:

Originally Posted by TamCaVBoy3
will this mod has this function ???

Use point system to pay to read a thread

example:

a user can make a thread and sell it for 5 points, other users will have to pay 5 points to read it or else, the message will be hidden

There is currently no feature to sell threads as of this time, it does sound like an interesting Idea though, I'll put that on the think tank of ideas to see if its possible/plausible without any code hacks.

Quote:

Originally Posted by ChiliVB
I've upgraded my install to v1.17 and I have a question on the lottery system.

How do I change the end date of the Weekly Lottery?

After enabling the option and testing a ticket purchase with a user it gave an estimated end time of the lottery to be the same day (today, Monday) at 10:00 PM. The Time Active setting is 604800.

As info, I do not have the Daily Lottery option enabled at all.

I'm sure I'm overlooking something if you can point me in the right direction.

It's a UNIX timestamp value, for now thats all there is to edit it. I'm looking into a better way so a non-coder user can updated it easier, but it will take some time to figure out a way to do it easier.

Quote:

Originally Posted by dxguru
I have an issue with the Lottery.

When I purchase a ticket, regardless of if it is Daily or Weekly, the confirm screen shows the same Lottery Ends Approximately: date (which is the weekly date)

There is a bug in the XML import script for v1.1.7: To fix the lottery daily time, goto Manage Lotteries, for the end date for the Daily Lottery, enter the value 1, then goto Scheduled Tasks and click on Run Now next to the Process eLottery cron task and it will be fixed to work daily.

Quote:

Originally Posted by PixelFx
how hard would it be to add ebux support to rpg inferno ? or visa versa ?

Assuming RPG Inferno has a variable where u can change the points table field, it would be hella easy. If not, maybe u could try changing the points table field for ebux and see if it "likes" RPG Inferno enough to work properly :)

Quote:

Originally Posted by vissa
I've seen this asked, with a few nonspecific answers...

But is there any way forums can automatically (or even manually) give points to users that contribute $$? VB already has contibuton/subscriber feature built in -- couldn't it give users points somehow through that once they donate? It doesn't need to integrate directly with Papal or anything.

Great Mod!
Thanks
-Vissa

Actually that should be possible by adding a plugin to the plugin named --> paidsub_build

I'll see about adding a setting for this as well, but the points will always be the same, no matter what subscription was chosen I think, if thats ok, I'll go ahead and add this feature.

-CMX

NoRespect 02-20-2006 08:42 AM

The only thing I would like to see is withdrawl tax from the bank.

But still a kick ass hack. :)


All times are GMT. The time now is 07:46 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.03933 seconds
  • Memory Usage 1,849KB
  • 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_php_printable
  • (26)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