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)

Blaine0002 02-04-2006 03:33 PM

im totally beat.

webwheeling 02-04-2006 03:43 PM

Thanks CMX for taking on this project! I really appreciate it and my members will be thrilled once they see it.

LBSources 02-04-2006 03:50 PM

Quote:

Originally Posted by AshokForums.com
I want to put a DVD on sale at the estore.. When someone has enough cash and buys it.. A mail or a PM should be sent to me.. So that i can get in touch with the member and ship the item...

Can someone help me out with this?

you should use a subscription for this... just make it a 1 time fee.. this isnt made for that sort of thing

LBSources 02-04-2006 03:59 PM

Quote:

Originally Posted by XtremeOffroad
Why would it be called Change Others User Title Immunity? if it is for your own immunity?

its just presented a little unclearly.. why would you buy immunity for someone else.. what it means is the product "Change others user title" this is immunity so they cant buy this product and use it on you.. so you buy that and you now own the product called "Change Others User Title Immunity" .. which means what? no one can .. wait i already said this..

understand? HTH

Lenny :)

LBSources 02-04-2006 04:00 PM

Quote:

Originally Posted by Sooner95
@lordnex: Quick reply was fixed in the last upgrade. Please read the release notes.

yes.. this was corrected...

lordnex.. make sure youre upgrading properly..

Upgrading Instructions:
1) Reupload all of the files/folders in the UPLOAD folder to your forum's root folder.
2) Reimport the product-ebux_estore.xml, choose ALLOW OVERWRITE to YES.
3) You will need to redo the template edit below if you want to add the 'Donate' feature for the postbit.

caimakale 02-04-2006 04:04 PM

Quote:

Originally Posted by XtremeOffroad
Why would it be called Change Others User Title Immunity? if it is for your own immunity?

Because the store optoin is "Change Others User Title" and you are purchasing immunity from this...Thus the reason for Change Other User Title Immunity....I see your point that the store item's title is a little misleading, but it really is to purchase immunity for yourself.

Here is a suggestion for a future release....how about a description area for each store item explaining a little detail about the product.

XtremeOffroad 02-04-2006 04:05 PM

Quote:

Originally Posted by LBSources
its just presented a little unclearly.. why would you buy immunity for someone else.. what it means is the product "Change others user title" this is immunity so they cant buy this product and use it on you.. so you buy that and you now own the product called "Change Others User Title Immunity" .. which means what? no one can .. wait i already said this..

understand? HTH

Lenny :)

Thanks LBSources and lordofgun for clearing that up.
I'll just change the title.

Edit: since this post I looked at the titles and damn if it didnt make sense, I feel like quite a dumb@ss now.
Cheers and thanks again.

LBSources 02-04-2006 04:08 PM

Quote:

Originally Posted by caimakale
Because the store optoin is "Change Others User Title" and you are purchasing immunity from this...Thus the reason for Change Other User Title Immunity....I see your point that the store item's title is a little misleading, but it really is to purchase immunity for yourself.

Here is a suggestion for a future release....how about a description area for each store item explaining a little detail about the product.

great minds think alike ;)

Lenny

TosaInu 02-04-2006 04:20 PM

Hello,

Is it possible to have this restricted to one forum/skin only?

LBSources 02-04-2006 04:25 PM

CMX .. not that its a problem.. i just donated to you using your link, but i was also charged an additional 5.50 shipping.. as i said.. no problem.. and thanks..

Heck i donated to the UShop cause and we still have nothing.. so im sure many appreciate what you have done thus far..

Code:

Shipping & Handling:                $5.50 USD

LBSources 02-04-2006 04:27 PM

Quote:

Originally Posted by TosaInu
Hello,

Is it possible to have this restricted to one forum/skin only?

sure, just make the template edits to the template (of the skin) of your choice.. obviously though if your members find http://www.yourdomain.com/estore.php they will find the store and they can participate .. but they WONT see points in their postbits and memberinfo.

also if youre trying to do this for testing reason.. this isnt a good way.. create a test board instead..

HTH

Lenny :)

caimakale 02-04-2006 04:29 PM

How about a branding free option, what will it cost?

Oddjob 02-04-2006 04:42 PM

Quote:

Originally Posted by Ignignokt
Yes, If you change the cash tables to uCash (assuming you were using it). Not sure about fresh installls...


Im confused.

I got rid of ucash and am using the ebux now......so how can i cahnge tables?

Frugal 02-04-2006 05:13 PM

Can someone help me. I'm trying to make certain user groups immune from having their title changed. I have edited

This part of the action.changeotherusertitle.php

Code:

// you cant change an administrators title :p
if (($touser['usergroupid'] == '6') || ($touser['userid'] == '1'))
{
// display error, this user is protected against this action
eval(standard_error(fetch_error('estore_protected_user')));
}

To

Code:

// you cant change an administrators title :p
if (($touser['usergroupid'] == '6') || ($touser['userid'] == '1') || ($touser['usergroupid'] == '27') || ($touser['usergroupid'] == '12') || ($touser['usergroupid'] == '22') || ($touser['usergroupid'] == '19') || ($touser['usergroupid'] == '13') || ($touser['usergroupid'] == '11') || ($touser['usergroupid'] == '35'))
{
// display error, this user is protected against this action
eval(standard_error(fetch_error('estore_protected_user')));
}

And yet still only admins are immune, the users in all the other groups listed above can still have their titles changed.

What am I doing wrong?

Frugal

LBSources 02-04-2006 05:17 PM

Quote:

Originally Posted by Frugal
Can someone help me. I'm trying to make certain user groups immune from having their title changed. I have edited

This part of the action.changeotherusertitle.php

Code:

// you cant change an administrators title :p
if (($touser['usergroupid'] == '6') || ($touser['userid'] == '1'))
{
// display error, this user is protected against this action
eval(standard_error(fetch_error('estore_protected_user')));
}

To

Code:

// you cant change an administrators title :p
if (($touser['usergroupid'] == '6') || ($touser['userid'] == '1') || ($touser['usergroupid'] == '27') || ($touser['usergroupid'] == '12') || ($touser['usergroupid'] == '22') || ($touser['usergroupid'] == '19') || ($touser['usergroupid'] == '13') || ($touser['usergroupid'] == '11') || ($touser['usergroupid'] == '35'))
{
// display error, this user is protected against this action
eval(standard_error(fetch_error('estore_protected_user')));
}

And yet still only admins are immune, the users in all the other groups listed above can still have their titles changed.

What am I doing wrong?

Frugal

frugal.. why not upgrade and just give the admins enough cash to purchase the change title immunity product?

LBSources 02-04-2006 05:21 PM

Quote:

Originally Posted by Ignignokt
Yes, If you change the cash tables to uCash (assuming you were using it). Not sure about fresh installls...

a little more detail on this.. change the cash tables where? in what product settings? what variable?

thanks..

Lenny

Frugal 02-04-2006 05:22 PM

Quote:

Originally Posted by LBSources
frugal.. why not upgrade and just give the admins enough cash to purchase the change title immunity product?

The admins already have immunity, it's the other 2000 or so users who's titles I wish to protect. I'd have to inform them all how to use the immunity that is the problem. Also a few of my members are dead and their title reflects that they died in combat, I would hate for someone to mess with their titles.

Frugal

Saskia 02-04-2006 05:29 PM

Quote:

Originally Posted by Ignignokt
View Richest Members is broke I believe...

In estore.php find the following code:
PHP Code:

        LIMIT 30 

and replace it by the following:
PHP Code:

        LIMIT " . $vbulletin->options['ebux_viewrichestnumber'] . " 

That fixed it for me.

Great Extension by the way! I've been waiting for a donation feature for ages now. I'm hitting install as soon as I have it fully customized. Thank you so much!

And Frugal, shouldn't you use OR's in your conditions? I'm not an expert, but I'd try that?

kofoid 02-04-2006 05:56 PM

I too would be happy to donate some $$$$ if you can get that gifts hack incorporated!!!

cRaZy-BoY 02-04-2006 05:58 PM

can you add a New Option.... that some one will need X poinst to move to Y group (that i'll set) for Z days....

or something like that....

and your hack is great i Installed it....Thank you for this hack :)

Frugal 02-04-2006 05:58 PM

Quote:

Originally Posted by LBSources
a little more detail on this.. change the cash tables where? in what product settings? what variable?

thanks..

Lenny

If you have ucash installed then just go into ebux options in ACP select Manage Settings and it should be the 4th option up from the bottom.

If you didn't have ucash installed then you may need to use phpmyadmin or similar to also rename the ebux field in the db to ucash.

Frugal

CallieJo 02-04-2006 06:19 PM

Wow! I'm so thrilled that you took the time to code this...big thumbs up!!! You totally rock!!! I mean that! I appreciate all the effort and hard work you put into this...and I'm so thrilled that we have more than one option for this type of thang (although the other one is not finished by the other coders)...

I haven't installed yet (I have 3 forums), but will install and even donate once the Gifts (with this gift preview hack here ) and the Ribbons options are avail from either you or the original coder of those hacks, as those two thangs are dearly missed on all my forums...

Thank you for this!! I mean that sincerely...you just don't know how happy you have made alot of peopes.

BTW - I will click install even though I'm waiting to install when gifts and ribbons are avail...

CallieJo 02-04-2006 06:20 PM

Quote:

Originally Posted by caimakale
How about a branding free option, what will it cost?

I'm interested in this also ;)

LBSources 02-04-2006 06:21 PM

Quote:

Originally Posted by Frugal
If you have ucash installed then just go into ebux options in ACP select Manage Settings and it should be the 4th option up from the bottom.

If you didn't have ucash installed then you may need to use phpmyadmin or similar to also rename the ebux field in the db to ucash.

Frugal

This would be also if your vbookie is using ucash also.. correct? im using vcash for vbookie currently.. id like to keep them seperate.. just wanted to know if i wanted to intergrate them..

the option also is

Points Field Name

correct?

Thanks Frugal..

Lenny :)

LBSources 02-04-2006 06:23 PM

Quote:

Originally Posted by kofoid
I too would be happy to donate some $$$$ if you can get that gifts hack incorporated!!!

he hasnt done enough already with this hack to earn a reward of a donation?

geesh :speechless:

Lenny

Skyline_GT 02-04-2006 06:36 PM

if it possible to add a feature that the thread creator can charge points to download the attachment

Ziki 02-04-2006 06:49 PM

Is this point system compatible with ibproarcade cause ucash is

3dsoft 02-04-2006 07:01 PM

Hi, we have a virtual horse ranch where the users buy and sell virtual horses. It would be very nice if users would be able to sell and buy virtual goods from other users via the eStore.

The itrader looks very good but is not compatible with eBux.

I also would like to have an option to give a reason when donating via the estore.

Ziki 02-04-2006 07:07 PM

So does it go with ibproarcade....

Ignignokt 02-04-2006 07:23 PM

When trying to thief from other, I can put in a character such as "&" and it will give a database error. Is there anyway to give the invalid amount error for this???

lordnex 02-04-2006 07:41 PM

I have a concern about the thief option. With the Ushop version, if you failed your rep got slapped down right quick. There was a penalty that was dished out that made people be careful with it.
Currently there's very little, if any penalty to using the thief option. (sure you can turn it on so that you give your money away but it doesn't really prevent someone from being vindictive).

Can we have an option specifically for thief to limit each USER to a number of times/day? Or the negative rep option on fail? (I have user levels setup in the promotions based on high good rep and very low negative rep so getting repped negatively has a big influence on my forums)

OAndrea 02-04-2006 07:44 PM

can I install this on VB3.5.2?

Ziki 02-04-2006 07:52 PM

lol it says this when I want to purchase the free features

For some reason the final cost of the item was not calculated.

support please

XtremeOffroad 02-04-2006 07:53 PM

Quote:

Originally Posted by ZIKI-SET
lol it says this when I want to purchase the free features

For some reason the final cost of the item was not calculated.

support please

did you update to 1.0.5a?

that was a bug in 1.0.5
That was fixed in this release (1.0.5a)

Frugal 02-04-2006 08:00 PM

Is there any way to limit certain store items to certain user groups?

Frugal

Ziki 02-04-2006 08:02 PM

No I installed it just today no updates

tehste 02-04-2006 08:30 PM

this looks promising :)

caimakale 02-04-2006 08:34 PM

I have always liked the points showing up in vBa CMPS in the welcome block right under the "New Posts".

Here is a welcome module you can upload in vBa CMPS 2.1 which is much easier than modding the files themselves. The only edit made to this module is the ebux system so if you have customized your welcome block, you will have to redo them. This has been tested and works in all three colums (left, center, right). The link takes the user to their bank account to deposit or withdraw points.

I did attach a screenshot and the welcomeblock.module file. When importing the welcomeblock.module, it will tell you the files already exist, go ahead and overwrite them. If you don't want to overwrite, then follow the instructions below.

If you have hacked up your welcome block and just want the code to do the modifications here it is:

in your modules/welcomeblock.php file find:
Code:

// Reputation
Replace it with:
Code:

// add the points to the userinfo
        if ($vbulletin->options['ebux_enabled'] == 1)
        {       
                $post['points'] = number_format($vbulletin->userinfo[$vbulletin->options['ebux_pointsfield']], $vbulletin->options['ebux_decimalplaces']);
        }


        // Reputation

Then in your admincp go to your templates and then to your vBadvanced CMPS Templates. Find the adv_portal_welcomeblock and open it up. In it you will need to do two file edits, this can be tricky to because all code is in that file twice so pay close attention to where you edit your files.

Find:
Code:

<a href="$vboptions[bburl]/login.php?$session[sessionurl]do=logout&amp;logouthash=$bbuserinfo[logouthash]" onclick="return log_out()">$vbphrase[log_out]</a></span>
Above it add:
Code:

<if condition="$vboptions['ebux_enabled']">
                                        <a href="$vboptions[bburl]/estore.php?do=action&itemid=13">$vbphrase[ebux_points]</a>: $post[points]<br />
                                </if>

Then find:
Code:

<if condition="$bbuserinfo['reputationdisplay']">
                        <div style="margin-top:5px; margin-bottom:5px">$vbphrase[rep_power]: $reppower<br />

Above it add:
Code:

<if condition="$vboptions['ebux_enabled']">
                        <a href="$vboptions[bburl]/estore.php?do=action&itemid=13">$vbphrase[ebux_points]</a>: $post[points]
                </if>

The code isn't identical here so don't assume you have the right area...double check it.

I didn't feel this hack was substantial enough to start it's own hack thread, that's why I added it here. Hope that's ok, if not let me know and I will start a new thread.

Hope this helps a few people.

XtremeOffroad 02-04-2006 08:57 PM

Quote:

Originally Posted by caimakale
I have always liked the points showing up in vBa CMPS in the welcome block right under the "New Posts".

Here is a welcome module you can upload in vBa CMPS 2.1 which is much easier than modding the files themselves. The only edit made to this module is the ebux system so if you have customized your welcome block, you will have to redo them. This has been tested and works in all three colums (left, center, right). The link takes the user to their bank account to deposit or withdraw points.


Hope this helps a few people.


Thanks for this share, now i see a new version of vba, time to update that while i'm at it.

caimakale 02-04-2006 08:58 PM

Quote:

Originally Posted by XtremeOffroad
Thanks for this share, now i see a new version of vba, time to update that while i'm at it.

No Problem!


All times are GMT. The time now is 01:06 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.04717 seconds
  • Memory Usage 1,857KB
  • 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_code_printable
  • (2)bbcode_php_printable
  • (19)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (2)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