vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.6 Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=194)
-   -   Major Additions - vBCredits - Ultimate Points System (https://vborg.vbsupport.ru/showthread.php?t=151924)

barny11 08-01-2007 09:06 AM

Quote:

Originally Posted by Darkwaltz4 (Post 1305562)
If you are not running the latest version of vbulletin, your usercp link might be missing:

if so, add this in the USERCP_SHELL template, directly above the </table> tag at the bottom.

HTML Code:

<tr><td class="$navclass[credits]" nowrap="nowrap"><a class="smallfont" href="credits.php$session[sessionurl_q]">$vbphrase[manage] $vbphrase[credits]</a></td></tr>

Thanks Darkwaltz4 that fixed it :D

Just one very small point though ;) the "manage credits" text is aligned left....any way to make it centre ?

wtricks 08-01-2007 12:00 PM

Darkwaltz4 first I appreciate the fact you actually support your mod. Not too many developers answer as fast as you did in here, so this is a great "thumbs up" for you and an incentive for me to use this great mod. Still, before I download it and mess my board even more that it's messed with a not working ucash/ushop mod, I would like to ask you some questions and please offer me your specialized input:

I used ucash/ushop. I know it doesn't work on 3.6 and that it's not developed anymore for this. Still I have over 1000 people with their respective points. Is there a possibility I can keep in the database the points they had? So that when I install your hack this won't put them to 0 again? I don't quite fancy staying 4 hours to manually grant them the points (I did this when I installed the previous shop mod and it's not fun :)).

What would you advise me to do? I don't think you have a converter, but as a specialist you are into coding, what would you do in this case?

Thank you in advance for any tips and I appreciate the time and effort put into this mod ;)

subnet_rx 08-01-2007 12:56 PM

I'm really interested in the lottery being in the new store. I don't have a lot use for letting my members get by permissions by buying their way in. I mostly used it for fun things such as gifts, buying sports icons, and the lottery.

cheat-master30 08-01-2007 01:09 PM

I think a really nice feature for the store (as well as the lottery someone else said) would be trading in a way similar to some online games and the like, where you could choose an amount of credits to trade for an item from someone else, or trade some items of yours for some of theirs, etc. It would seriously open up a heck of a lot of possibilities.

Other things I would want are:

Integration with any forum based games (like the one you're working on at the site and the chess one), being able to get credits for winning at these games, and maybe bet credits on them?

With those, you've practically got every possible use of a fictional currency other than a casino.

PixelFx 08-01-2007 03:27 PM

Quote:

Originally Posted by cheat-master30 (Post 1307085)
I think a really nice feature for the store (as well as the lottery someone else said) would be trading in a way similar to some online games and the like, where you could choose an amount of credits to trade for an item from someone else, or trade some items of yours for some of theirs, etc. It would seriously open up a heck of a lot of possibilities.

Other things I would want are:

Integration with any forum based games (like the one you're working on at the site and the chess one), being able to get credits for winning at these games, and maybe bet credits on them?

With those, you've practically got every possible use of a fictional currency other than a casino.

Most of that is in the works, although dark is prob post more specific information... :D Once its ready.

Darkwaltz4 08-01-2007 06:04 PM

Quote:

Originally Posted by barny11 (Post 1306908)
Thanks Darkwaltz4 that fixed it :D

Just one very small point though ;) the "manage credits" text is aligned left....any way to make it centre ?

sure! in the line you added, put align="center" inside the td tag (so it looks like this)
snippet
HTML Code:

class="$navclass[credits]" align="center"
Quote:

Originally Posted by wtricks (Post 1307033)
Darkwaltz4 first I appreciate the fact you actually support your mod. Not too many developers answer as fast as you did in here, so this is a great "thumbs up" for you and an incentive for me to use this great mod. Still, before I download it and mess my board even more that it's messed with a not working ucash/ushop mod, I would like to ask you some questions and please offer me your specialized input:

I used ucash/ushop. I know it doesn't work on 3.6 and that it's not developed anymore for this. Still I have over 1000 people with their respective points. Is there a possibility I can keep in the database the points they had? So that when I install your hack this won't put them to 0 again? I don't quite fancy staying 4 hours to manually grant them the points (I did this when I installed the previous shop mod and it's not fun :)).

What would you advise me to do? I don't think you have a converter, but as a specialist you are into coding, what would you do in this case?

Thank you in advance for any tips and I appreciate the time and effort put into this mod ;)

yes! I have been looking for a uCash/uShop hack to make a converter from it. If you have it, could you send it to blackwaltz4@msn.com? Otherwise, I could look at your forum with it installed and come up with something. (Or if I missed it here on vborg, you can link me, lol)

Quote:

Originally Posted by cheat-master30 (Post 1307085)
I think a really nice feature for the store (as well as the lottery someone else said) would be trading in a way similar to some online games and the like, where you could choose an amount of credits to trade for an item from someone else, or trade some items of yours for some of theirs, etc. It would seriously open up a heck of a lot of possibilities.

Other things I would want are:

Integration with any forum based games (like the one you're working on at the site and the chess one), being able to get credits for winning at these games, and maybe bet credits on them?

With those, you've practically got every possible use of a fictional currency other than a casino.

Well, with the arcade addons it is kinda a casino :-p Pay to play, win the jackpot if you score high enough... Not with luck but skill, but otherwise the main concept.

Yes, the itemshop will allow you to buy stuff for others, and even allow you to integrate it with any custom thing you have going (such as if you run a gaming server and want people to be able to buy ingame items :D) more info on that later.

Thanks to everyone who has voted already! And its only day one :)

raiderlax 08-01-2007 06:21 PM

I have disabled it and went to check my templates and all the template edits I had done are gone???

What happened, I just disabled it?

Darkwaltz4 08-01-2007 06:30 PM

Disabled what? The product, or the option in the ACP?

a lot of the displays will not appear when disabled, but it shouldnt have removed your template edits unless you use TMS

NathanLedet 08-01-2007 09:10 PM

Wow this is a great mod...saved me from hours of headaches trying to figure out how to run contests....and I have a questions.

I'm starting a contest where points will be awarded to those who participate...

1 point per post
2 points per thread started
5 points per referral

At the end of the month, the user with the most points wins the prize.

Question...How can I find out points from date to date? ie. if i want to know who earned the most points from July 1st-July 31, How can I determine that?

Also, is it possible to clear everyone's points back to zero, for the beginning of a new contest?

Thanks a lot for this mod!

Darkwaltz4 08-01-2007 09:19 PM

Quote:

Originally Posted by NathanLedet (Post 1307531)
Wow this is a great mod...saved me from hours of headaches trying to figure out how to run contests....and I have a questions.

I'm starting a contest where points will be awarded to those who participate...

1 point per post
2 points per thread started
5 points per referral

At the end of the month, the user with the most points wins the prize.

Question...How can I find out points from date to date? ie. if i want to know who earned the most points from July 1st-July 31, How can I determine that?

Also, is it possible to clear everyone's points back to zero, for the beginning of a new contest?

Thanks a lot for this mod!

Well, it doesnt have a tracking by date because there is a LOT of credits flying around. I could technically tie it into the transaction log, but it would be overflowing very quickly.

However, you can reset everyone to zero using the mass credit updater.
Fill it out like this:
(check all usergroups) (dont check any award types)
0, no, no, as much as you want.

This resets everyone to 0

NathanLedet 08-01-2007 09:23 PM

I appreciate the fast response!

I voted for this in the MOTM contest!!!!

NathanLedet 08-02-2007 12:23 AM

I'm having some weird issues with my points system.

Like i said in a previous post, i'm setting up a contest with the following points:

1 point per post
2 point per thread started
5 points per referral

I have all of my settings set properly on the Administrators, who i'm testing it out on to ensure it's working. I have it set to do 1 point per post, but when I (an admin) post, it bumps it up by 5 points instead of 1...why is this?

If i'm a member of 3 different usergroups, and each usergroup has x amount of points, will all of those points get add up?

I'm also unable to find the Mass credit updater...Your screenshots are a bit small :(

raiderlax 08-02-2007 12:54 AM

Quote:

Originally Posted by Darkwaltz4 (Post 1307385)
Disabled what? The product, or the option in the ACP?

a lot of the displays will not appear when disabled, but it shouldnt have removed your template edits unless you use TMS

I disabled the product and the template edits were gone ???

Darkwaltz4 08-02-2007 02:30 AM

Quote:

Originally Posted by NathanLedet (Post 1307634)
I'm having some weird issues with my points system.

Like i said in a previous post, i'm setting up a contest with the following points:

1 point per post
2 point per thread started
5 points per referral

I have all of my settings set properly on the Administrators, who i'm testing it out on to ensure it's working. I have it set to do 1 point per post, but when I (an admin) post, it bumps it up by 5 points instead of 1...why is this?

If i'm a member of 3 different usergroups, and each usergroup has x amount of points, will all of those points get add up?

I'm also unable to find the Mass credit updater...Your screenshots are a bit small :(

Do you have every other setting at zero?

Mass credit updater is in the bottom of the update counters page (yes i will be adding a box of links to these things directly in the next version)

Quote:

Originally Posted by raiderlax (Post 1307641)
I disabled the product and the template edits were gone ???

Did you actually check the templates for the edits? Many of the things in the templates will cease being defined and thus not appear, but it should not remove the html added unless you are using tms... i think i said that already

iKuro 08-02-2007 03:25 AM

is possible to change the word "credits" in postbit , member info and navbar for any custom currency name?????? EX

Pakollars: (number of pakollars)

instead of

Credits: (number of credits)

Help me plz

Darkwaltz4 08-02-2007 03:27 AM

Yep!

the phrase is in the GLOBAL group, named 'credits'. edit it to whatever youd like.

NathanLedet 08-02-2007 03:34 AM

Here are screenshots of my settings.

Global settings:
http://www.nathanledet.com/vbcredits/globalsettings.jpg

"Registered Users" usergroup settings: (same as Admin settings)
http://www.nathanledet.com/vbcredits...teredusers.jpg

Also, I have large amount of points going to those who refer new users. In vbCredits, the "?" says this:

Quote:

This is the award someone gets when someone else registers and says they were referred by them. Be careful with this setting because it is open to abuse by people creating many duplicate accounts to all refer to the same person. This action is detectable though.
What is the best way to detect if users are doing this?

Darkwaltz4 08-02-2007 03:59 AM

When did you first download the zip of vbcredits?

You can detect if users do that if there are a lot of dead accounts, all referring the same person.

iKuro 08-02-2007 04:11 AM

Quote:

Originally Posted by Darkwaltz4 (Post 1307727)
Yep!

the phrase is in the GLOBAL group, named 'credits'. edit it to whatever youd like.

woohoo thanks a lot dude _:D

NathanLedet 08-02-2007 04:24 AM

Quote:

Originally Posted by Darkwaltz4 (Post 1307745)
When did you first download the zip of vbcredits?

You can detect if users do that if there are a lot of dead accounts, all referring the same person.

I downloaded 1.3 today.

One more question...Are the credits for Referrals cron based?

credits for posts show up immediately, but I created a test account with a referral and the credits have not shown up.

edit: n/m..i just remembered they have to be registered for a day first....

Darkwaltz4 08-02-2007 04:42 AM

youre welcome iKuro, I will be linking to the credits phrase in the options for 1.4 :-p

okay, nathan lastly, run the updater, and see if the amounts remain. If so, I will need to take a look at your board for conflicts.

and yes, referrals are cron based, occur every midnight to check if requirements have been met :)
even if you make NO requirements, it still wont "count" until the cron file is run at midnight.

NathanLedet 08-02-2007 04:47 AM

You're a great help :) I appreciate it a lot.

If the cron runs, will it add to their referral list even if the user hasn't been registered for the amount of days i set or the amount of posts i set?

Darkwaltz4 08-02-2007 04:51 AM

the thing about vbulletin referrals, is they arent actually saved anywhere

when you go somewhere to see their referrals, they are generated right there.

so...if I wanted to have a referral bonus of any sort, I would have to make some large table scans for each and every user, each and every time I was adding credits. Since I add credits for a lot of things, it just wouldnt make sense.

So, I have to actually count and save them myself, but that goes great with the referral verification requirements to cut down on exploits :-p

Short answer: yes, vb will still show anyone who lists them as referred, but vbcredits wont count it until the requirements are met :)

maidos 08-02-2007 09:18 AM

is it possible to make user pay with their point to download a attachement file?

Darkwaltz4 08-02-2007 09:20 AM

not yet :) I intend to have some basic credit stuff with attachments in 1.4, and infuse it extensively with another of my hacks on my site which deals with attachments

maidos 08-02-2007 09:30 AM

sounds really cool, when do u plan to release 1.4 ,,

also i am not able to view my credits on profil when i view a thread :/

Darkwaltz4 08-02-2007 09:32 AM

do you mean in the postbits?

maidos 08-02-2007 09:38 AM

yes.... i cant seem to view how much credit i have on my profile by using the template edit on postbit, can u look on my admincp for me?

btw when is the version released u know the attachment payment

Darkwaltz4 08-02-2007 09:38 AM

sure, grab a hold of me on IM or PM to send me admincp details

edit: some 1.4 postbit code has done the trick :D

keep in mind 1.4 IS actually installed on vbcredits.com, what I deem stable for testing anyway as I move onto the next part :-p even if its stuff you may not realize is happening...

fly 08-02-2007 11:45 AM

How can I disable the credits for words/characters posted?

Darkwaltz4 08-02-2007 11:46 AM

set the Post Size credit to 0.

if its still not working, you are running a stale version of the product file. download from here and reimport over what you are using.

Dream 08-02-2007 09:12 PM

Does this still need code changes?

And can I have points be money, where 1 point is 1 cent, like $ 0,01

cheat-master30 08-02-2007 09:28 PM

Quote:

Originally Posted by Dream (Post 1308444)
Does this still need code changes?

And can I have points be money, where 1 point is 1 cent, like $ 0,01

It now needs no code changes.

Darkwaltz4 08-02-2007 09:38 PM

Quote:

Originally Posted by Dream (Post 1308444)
Does this still need code changes?

And can I have points be money, where 1 point is 1 cent, like $ 0,01

Nope, no more file edits :)

and to make it look like money... change the credits phrase to '$' and set the decimals to 2. :-p

Of course, if you wanted users to be able to buy credits with actual money....see my site

speaking of that, will be putting up the bank and lottery on vbc soon

Chachacha 08-02-2007 11:00 PM

Quote:

Originally Posted by Darkwaltz4 (Post 1308462)

speaking of that, will be putting up the bank and lottery on vbc soon

Shweet...

raiderlax 08-03-2007 04:45 AM

I installed and made the template edits, but nothing shows up, I'm using a custom style too.

maidos 08-03-2007 04:46 AM

do u know how to start the credits from fresh start, i mean removing all users credits tat exist already. also new members get 100 credits, but i dont want them to have that much where do i change it

where do i disable the credits on one specigic forum

alessai 08-03-2007 02:06 PM

Quote:

Originally Posted by Darkwaltz4 (Post 1308462)
Nope, no more file edits :)

and to make it look like money... change the credits phrase to '$' and set the decimals to 2. :-p

Of course, if you wanted users to be able to buy credits with actual money....see my site

speaking of that, will be putting up the bank and lottery on vbc soon

:D great no file edits (even for a fresh install?) because im going to upgrade to 3.6.8 when you finish from 1.4
Quote:

Originally Posted by maidos (Post 1308724)
do u know how to start the credits from fresh start, i mean removing all users credits tat exist already. also new members get 100 credits, but i dont want them to have that much where do i change it

where do i disable the credits on one specigic forum

1/ go to update counters at the end you wll find it (not sure if it called update countrs)
2/from groups permissions
3/ you have to disable to count of pots in it then it will autmatically disable the counting of criedts.

jasculs 08-03-2007 02:55 PM

Is there anyway you can create an add-on for vbcredits that is similar to this. It's kind of like a fantasy league, but for the sport of mixed martial arts. Is there a way to make a general one I can use, I guess that would be easier and everyone can use it.

Here's an idea of what I'm talking about:

http://subfighter.com/fdbeventbetting-215.html

Also here are some screen shots of what it looks like and what options you have when you are logged in, the options are in the red squares:
Attached Thumbnails

Darkwaltz4 08-03-2007 03:26 PM

Quote:

Originally Posted by raiderlax (Post 1308723)
I installed and made the template edits, but nothing shows up, I'm using a custom style too.

Did you add in the template hooks listed at the bottom of the instructions? And what version of vb are you using?

Quote:

Originally Posted by jasculs (Post 1309012)
Is there anyway you can create an add-on for vbcredits that is similar to this. It's kind of like a fantasy league, but for the sport of mixed martial arts. Is there a way to make a general one I can use, I guess that would be easier and everyone can use it.

Here's an idea of what I'm talking about:

http://subfighter.com/fdbeventbetting-215.html

Also here are some screen shots of what it looks like and what options you have when you are logged in, the options are in the red squares:
Attached Thumbnails

Um, this idea is kinda far flung. Doesn't vBookie handle this kind of concept? You should ask them to make that kind of module :-p Since there's already an addon for vBookie, this would accomplish what you want. At any rate, you are welcome to request it on my site afterwards.


All times are GMT. The time now is 03:10 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.03121 seconds
  • Memory Usage 1,860KB
  • 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
  • (2)bbcode_html_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