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)

Capricia 07-11-2007 05:18 PM

Yes i saw that one, but i'm far from being a coder, I need to know how to fit that in the postbit, I have various custom fields in my postbit and i want the credit field to fit in between them, or under them, i've toyed around using those codes but i got all these errors that's why i'm asking.

Darkwaltz4 07-11-2007 08:01 PM

hi everyone, im back, i have an update for all of you too :)

as well as the vbookie plugin, and screenshots

projectego 07-11-2007 08:02 PM

[high]* projectego clicks install :)[/high]

Darkwaltz4 07-11-2007 08:33 PM

Okay, from everyone's feedback, I will put together a post award type of system.

I will look into some converters for icash and ishop, provided they still exist on vBulletin.org, I know a bunch of them have been abandoned and removed.... If anyone can email me a copy of these hacks I can work on conversions faster (next best thing would be phpmyadmin access to your databases...)

Also, I am still putting together what a companion shop would include, however a full-blown project purchasing system (like what vbulletin and others use for real online sales) is in the works, but will most likely not be a free hack due to the size and complexity. This is meant for using in other hacks such as vBookie (confirmed) and some other things I will release later.

Look back tomorrow for the update :) (Dont forget to update to today's v1.1 for the time being!)

Edit: Legacy or the new postbits should still show credits, as well as custom styles provided they still contain the $template_hook variable. If that is not there then the plugin cannot insert it into your postbit, and it will have to be added manually. Same goes for any custom profile edits. The instructions for manual inserts to both of them are located in this post.

kylek 07-11-2007 09:59 PM

Two feature suggestions:

It would be great if it could be tied into ibproarcade for game play costs, jackpot, etc.

Also some type of a bank system where members could receive interest on their credits.

Its nice to see a new points system that is made for 3.6.7. Thanks!!

Darkwaltz4 07-11-2007 10:13 PM

I downloaded a bunch of hacks to check for integration and ill post the results and instructions tomorrow.

AzzidReign 07-11-2007 10:57 PM

I'm loving the progress here! Do you have an estimate as to how much your store will cost? And in the store, could people purchase points/credits with real money? If not, I'd like to request that feature.

OS Master 07-11-2007 11:32 PM

I have just installed version 1.1, and I love it! Hope this mod develops even more. Thanks a bunch!

jasculs 07-12-2007 01:53 AM

The updates are nice...What if you don't use the memberlist and it is inactive. Is there anyway that you can see who has the most credits then. Like a who has the most credits page or top credit statistics?

Darkwaltz4 07-12-2007 02:17 AM

Well, I figured it went perfect with the memberlist, and seeing the top lowest credit owners is kind of pointless (since legions will have 0), which means just top 10 or so.

If you can come up with more statistics other than top 10 Ill think of something standalone.

I am going to go offline and work on the next version in about a half hour, and the next update should be in about 18 hours :-p stay tuned!

everyone submit your ideas and be on the lookout for things not working.

AzzidReign 07-12-2007 03:44 AM

Some of these have already been mentioned, others not, but I thought I'd put it here since I suggested it in nexialys's thread when he was making a point system:

1) Allow people to buy the points/cash via paypal.
2) Allow people to cash out on their points/cash via paypal: set a rate via acp- every 1000 points = 1 dollar or whatever you want.
3) Allow people to donate/transfer points to other members on the site (which you've already done)
4) Integrate this with the Thanks System (e.g. receive a Thanks, get a Point) and maybe groan system (lose a point...can be abused, so IDK)
5) When a member has received so many points, they are "promoted" to another usergroup.
6) Have an option for the points/credits to expire. Such as, after x months of inactivity on the site, start having a deduction in points (which is set via ACP). Sort of like old gift cards that you would buy from circuit city. If you have it for 1 year, you start losing 5 bucks off the card after every month until all the money is gone.

Like I said, I know I already mentioned about buying points, but cashing in on points would be great because it would be nice to give back to my community if they work hard :P

I know I'm prolly asking a ton, so I'm sorry. I know you PM'ed me about the paid version, but I'm willing to pay more depending on how much the paid version is, if these options are put into place.

PixelFx 07-12-2007 04:49 AM

An additional note, Dark and I have a support section setup for all hacks we're working on, which I'll be able to do an extra line of support should people be interested. He and I are still putting things together, so feedback here on on our site, would be greatly appeciated :D Example: vBCredits, Attechment Limiter, Triad3, vbTopSites, vBTracker etc :D

PixelFX Scripts

I've been very busy scuba diving the last 3 days so haven't been able to get in till now... ;)

Some of the ideas john and I have been kicking around, would be things like making it possible to do systems or models like, say rappelz online etc, through your site, if you ran gaming servers and other. The skys the limits for what john and I can make between us other than time. but thats normal :D

aceofspades 07-12-2007 10:19 AM

Wub Wub Wub you rock dude. Installed.

Edit: One question though, id like to change the maths involved in displaying the end point result in the member list, postbit etc. Where should i be looking if i wanted to do that, the product?

subnet_rx 07-12-2007 02:54 PM

Quote:

Originally Posted by AzzidReign (Post 1288850)
Some of these have already been mentioned, others not, but I thought I'd put it here since I suggested it in nexialys's thread when he was making a point system:

1) Allow people to buy the points/cash via paypal.
2) Allow people to cash out on their points/cash via paypal: set a rate via acp- every 1000 points = 1 dollar or whatever you want.
3) Allow people to donate/transfer points to other members on the site (which you've already done)
4) Integrate this with the Thanks System (e.g. receive a Thanks, get a Point) and maybe groan system (lose a point...can be abused, so IDK)
5) When a member has received so many points, they are "promoted" to another usergroup.
6) Have an option for the points/credits to expire. Such as, after x months of inactivity on the site, start having a deduction in points (which is set via ACP). Sort of like old gift cards that you would buy from circuit city. If you have it for 1 year, you start losing 5 bucks off the card after every month until all the money is gone.

Like I said, I know I already mentioned about buying points, but cashing in on points would be great because it would be nice to give back to my community if they work hard :P

I know I'm prolly asking a ton, so I'm sorry. I know you PM'ed me about the paid version, but I'm willing to pay more depending on how much the paid version is, if these options are put into place.


Hmm, I don't think you should be able to cash out points and convert them to money. That could create spam problems for a board, not to mention that if you combine this with the vBookie hack, it could be illegal. As far as the paypal for points, maybe that could be done through one of the many paypal hacks available here.

I'd like to thank Darkwaltz for getting the vbookie plugin done. I like how this is progressing.

Splinter77 07-12-2007 03:27 PM

please help-me after Import il Product
I have read to the perfection the file Modifications.txt

We apologise for any inconvenience.
Quote:

Database error
Database error in vBulletin 3.6.7:

Invalid SQL:
ALTER TABLE `user` ADD `credits` INT( 10 ) UNSIGNED NOT NULL DEFAULT '0';

MySQL Error : Duplicate column name 'credits'
Error Number : 1060
Date : Thursday, July 12th 2007 @ 06:15:03 PM
Script : http://www.xbox-inf.org/forum/adminc...=productimport
Referrer : http://www.xbox-inf.org/forum/adminc...?do=productadd
IP Address : x.x.x.x.
Username : ...........
Classname : vb_database
help-me :(

Darkwaltz4 07-12-2007 04:20 PM

There has been an error confirmed with the fresh install, i have a fix, and I'll update it, but it is just a holdover until i get the new version ready to my liking to call it updated.

IF YOU HAVE EXPERIENCED THE ABOVE ERROR, DOWNLOAD THE ATTACHMENT AGAIN AND IMPORT THE PRODUCT AGAIN (you dont have to do anything else if you followed those directions earlier)

This should have only happened to users who fresh installed 1.1 (not upgraded from 1.0)

Splinter77 07-12-2007 04:33 PM

ok aspect fix yours.
But between how much time I must wait for?

Darkwaltz4 07-12-2007 04:47 PM

I updated the 1.1 code with the fix, you can download it now. what I meant was I won't put up 1.2 until I'm done with it :-p

Quote:

Originally Posted by AzzidReign (Post 1288850)
Some of these have already been mentioned, others not, but I thought I'd put it here since I suggested it in nexialys's thread when he was making a point system:

1) Allow people to buy the points/cash via paypal.
2) Allow people to cash out on their points/cash via paypal: set a rate via acp- every 1000 points = 1 dollar or whatever you want.
3) Allow people to donate/transfer points to other members on the site (which you've already done)
4) Integrate this with the Thanks System (e.g. receive a Thanks, get a Point) and maybe groan system (lose a point...can be abused, so IDK)
5) When a member has received so many points, they are "promoted" to another usergroup.
6) Have an option for the points/credits to expire. Such as, after x months of inactivity on the site, start having a deduction in points (which is set via ACP). Sort of like old gift cards that you would buy from circuit city. If you have it for 1 year, you start losing 5 bucks off the card after every month until all the money is gone.

Discussion of paid addons out in the open at vborg is against the rules so I cant really say anything here, but I can in PM (or email) :)

cashing out sounds really exploitable, although it could work if you were stringent about where and what points you granted (so an actvity credit would be difficult to spam)

I still have to look into what kind of addons I could make with hacks that dont already allow integration (let alone even use a) points system. I was looking into the arcades, but I need some ideas of what roles the points should play. same thing with the thank you hack.

Your last two - will consider.

Quote:

Originally Posted by aceofspades (Post 1289065)
Wub Wub Wub you rock dude. Installed.

Edit: One question though, id like to change the maths involved in displaying the end point result in the member list, postbit etc. Where should i be looking if i wanted to do that, the product?

New version 1.2 there are some new features with that which I will announce with the release later., and includes a plugin which you can edit to change any display things.

Gottcha 07-12-2007 05:17 PM

Need Help ... installed ...did the file edits and the template edits and imported the product ... new install .... still not seeing the credits on my site

www.coralforum.com

any help is appreciated.

aceofspades 07-12-2007 05:36 PM

Crap. Tried to post a message in quick reply and got an error. Tried to post a message in full editor and got this DB error:

Quote:

Database error in vBulletin 3.6.6:

Invalid SQL:
UPDATE user SET
credits = credits + ,
posts = posts + 1,
usertitle = 'Administrator',
lastpost = 1184265257,
lastpostid = 9
WHERE userid = 1;

MySQL Error : You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '
posts = posts + 1,
usertitle = 'Administrator',
lastpost = 1184265257,
' at line 2
Error Number : 1064
Date : Thursday, July 12th 2007 @ 07:34:17 PM
Script : xxx/newreply.php?do=postreply&t=2
Referrer : xxx/newreply.php?do=newreply&noquote=1&p=7
IP Address : xxx
Username : xxx
Classname : vb_database
On top of that i tried to rebuild the points so that the users had points based on what they did before i installed the product, but even after updating the counters they still all displayed 0.

Splinter77 07-12-2007 05:37 PM

thakyou man ;)

Darkwaltz4 07-12-2007 06:34 PM

Gottcha, did you get an error when you imported the product?

There was an error with fresh installs which was corrected in the download (you need to download the new version and upload the product again).

aceofspades, still trying to see whats wrong with yours, did you perhaps forget to import the product file?

Splinter, how is your fix going? Edit: okay good I see it is working :) But it is not showing up in your postbit, so you will have to add it manually if you would like. see this post.

aceofspades 07-12-2007 06:46 PM

Heh no i def got the product on there.

Quote:

vBCredits 1.1 An integrated points system by Darkwaltz4 [blackwaltz4@msn.com] that enables users to gain credits six different ways and can be utilized by third party applications. Contact for information on paypal and subscription addons, or branding removal.
The messages are getting posted despite the database error, but the points are a stuck at 0. Is there anything i can try? I can pm you a link to my board if it will help.

Gottcha 07-12-2007 06:55 PM

Quote:

Originally Posted by Darkwaltz4 (Post 1289361)
Gottcha, did you get an error when you imported the product?

There was an error with fresh installs which was corrected in the download (you need to download the new version and upload the product again).

yes ... i didn get an original sql error and the read that the new download fixed it ... i redownloaded and installed with no success

PixelFx 07-12-2007 07:25 PM

I'm testing it on our official site in a moment.. see if I can reproduce any issues your having,

Darkwaltz4 07-12-2007 07:26 PM

okay, capricia's problem has been resolved :)

Gottcha
check your vBCredits global settings, make sure 'Display credits publicly' is set to yes.

aceofspades
Uninstall the credits product (not the file edits) and then Import the product file from the top post.

alessai 07-12-2007 07:39 PM

same error with aceofspades for 1.0 ill try to install the other one 1.1 >>> itried it in the localhost

put please please i need the top 10 feature (Important)

Darkwaltz4 07-12-2007 07:41 PM

alessai
did you get the error with a clean install of 1.1 or when overwriting 1.0?

also for now you can display credits in the memberlist, and order by them, to display Top as much as you want :)

alessai 07-12-2007 07:44 PM

:) didnt install 1.1 yet... i got the error when itried to install 1.0... ill try 1.1 now and i hope it works fine

aceofspades 07-12-2007 09:14 PM

I was using the updated 1.1 product file, which i tried uninstalling, redownloading and reinstalling anyway. This is the database error it gives:

Quote:

Database error in vBulletin 3.6.6:

Invalid SQL:
UPDATE user SET
credits = credits + ,
posts = posts + 1,
usertitle = 'Administrator',
lastpost = 1184278263,
lastpostid = 15
WHERE userid = 1;

MySQL Error : You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '
posts = posts + 1,
usertitle = 'Administrator',
lastpost = 1184278263,
' at line 2
Error Number : 1064
Date : Thursday, July 12th 2007 @ 11:11:03 PM
Script : xxxxxxxxx/newreply.php?do=postreply&t=2
Referrer : xxxxxxx/newreply.php?do=newreply&noquote=1&p=14
IP Address : xxxxxx
Username : xxxx
Classname : vb_database
I just tried doing the file edits again but i get the same result :(. Does the database error not give any clues about the cause of the problem?

Darkwaltz4 07-12-2007 09:19 PM

It indicates that there was an error that was displayed when you installed/upgraded, and the value in the post/thread award amount is null. (not there)

I can look at your forum for what the problem was, can you talk on any kind of messenger, and grant me temporary admin access?

jags2ooo 07-12-2007 10:11 PM

hm mmi don't understand, Okay you get credits, What do you do with those credits?

Darkwaltz4 07-12-2007 10:19 PM

Currently there is nothing I have released which used my credits system, but I will in the near future.

Until then, this hack is compatible with many other third party scripts, and I am posting specific instructions for them as I find them :)

================================================== ===
As for aceofspades and alessai

to fix the problem, you MUST go through each and every usergroup and at least hit submit on the settings to build the usergroup cache. I will try to add something to automatically do this in the new version so it doesnt happen again, until then, you have to do this step to fix the error.

wilburshere 07-12-2007 10:36 PM

hi im getting this error when posting a new thread any ideas on fixing this ??


Code:

Parse error: syntax error, unexpected T_CONSTANT_ENCAPSED_STRING, expecting ')' in /home/xxxxx/public_html/test/includes/class_dm_user.php on line 110

but when i check the forum the post/thread is now there

alessai 07-12-2007 11:01 PM

problem solved :) thanx

Quote:

also for now you can display credits in the memberlist, and order by them, to display Top as much as you want
how can i display it in the memberlist (it doesnt show up currently)

Darkwaltz4 07-12-2007 11:05 PM

i have identified the function to automatically build the usergroup cache on install, and it will be included in 1.2 for convenience :)

wilburshere, this sounds like an improperly performed class_dm_threadpost.php file. If possible, you may want to start with a fresh version and apply the file edits again. If this doesnt work, please PM me and we will work on it together.

to display in the memberlist, go to the global options and select "Display in memberlist"

I also notice a lot of people are missing key $template_hook variables inside their templates. Without them I cant add things via plugin, and they have to be done manually. The default vbulletin style includes them, but I guess custom style makers leave them out.

wilburshere 07-12-2007 11:29 PM

ok i will give it a whirl

its only on my test forum atm

incurable 07-13-2007 05:22 AM

Quote:

Originally Posted by Vesica (Post 1288085)
I don't know if it is just me and my bad luck with plugins, but for some reason, I installed it and it shows credits in the post bit, but I can not edit the credits or manage them anywhere.

i think i have the same problem like you... :(

Darkwaltz4 07-13-2007 06:32 AM

You can edit the credits via the admincp, and you can donate them, but USING them requires third party hacks for the time being.

i am almost done with v1.2 :) its a huge update and youll forgive me to the time its taking.

sunrise2006 07-13-2007 12:08 PM

Thanks, it's great mod, I wistful from a long time for such this.


All times are GMT. The time now is 06:09 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.02563 seconds
  • Memory Usage 1,846KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)bbcode_code_printable
  • (10)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (3)pagenav_pagelink
  • (1)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