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)

sunrise2006 07-13-2007 03:16 PM

I think if use the below code in postbit & MEMBERINFO template instead of that is exists now for this product, it's will be better.

postbit & posbit_legacy:
Code:

<if condition="$post['credits']"><div>$vbphrase[credits]: $post[credits] (<a href="credits.php?u=$post[userid]">$vbphrase[donate]</a>)</div></if>
MEMBERINFO:
Code:

<if condition="$post['credits']"><div class="fieldset"><div style="padding:$stylevar[formspacer]px">$vbphrase[credits]</a>: <strong>$userinfo[credits]</strong> (<a href="credits.php?u=$userinfo[userid]">$vbphrase[donate]</a>)</div></div></if>
You cant put the follow codes on apposite place that you think.

Note: If you want to use these, in first you must to inactive the Display Credits in Postbit and Display Credits in Profile plug-ins from Plug-In Manager.

alessai 07-13-2007 04:44 PM

every thing works with me fine but it seems that it doesnt display anything in the memberlist (done every thing template change, files changes, and activate it from the global option)

Darkwaltz4 07-13-2007 04:56 PM

if they are not showing up in your templates it means the style you are using neglected to use the $template_hooks. I am thinking I should just abolish using them via plugins since nobody seems to retain them, but seems like such a waste....

anyway, you may use the template edits by sunrise2006, but modify them a little bit so they obey your settings, put them where you want them to appear in the following:

postbit / postbit_legacy
Code:

<if condition="$vbulletin->options['credits_public']"><div>$vbphrase[credits]: $post[credits] (<a href="credits.php?u=$post[userid]">$vbphrase[donate]</a>)</div></if>
MEMBERINFO
Code:

<if condition="$vbulletin->options['credits_public']"><div class="fieldset"><div style="padding:$stylevar[formspacer]px">$vbphrase[credits]</a>: <strong>$userinfo[credits]</strong> (<a href="credits.php?u=$userinfo[userid]">$vbphrase[donate]</a>)</div></div></if>

baghdad4ever 07-13-2007 05:17 PM

what is the benefit of credit points??

in other way where the members use this earned points ?????

Darkwaltz4 07-13-2007 05:21 PM

I've said this before throughout the thread and at the top post:

This hack does not come with its own use for the points, but does integrate with hacks that use points. I am also planning a companion shop type system for this hack, but need more ideas. Also, I am looking into building addons for third party hacks to infuse the use of points, but again I am still taking ideas.

As of this post there is confirmed integration with vBookie and the ICash line, and I am going to include an ICash converter in the next release. There may be more hacks, so please show me them and I can find out if and how to integrate with them if it is not obvious.

Fearlessninja 07-13-2007 06:26 PM

A donation log will be nice, so that you know who you received credits from?

Darkwaltz4 07-13-2007 06:27 PM

SHHHHHHHHHHHHHHHHHHHHHHHHHHHH

thats a surprise >.> it might already be done

EDIT: still adding one more surprise to 1.2 besides this one then ill release it....

AzzidReign 07-13-2007 07:33 PM

Quote:

Originally Posted by Darkwaltz4 (Post 1290105)
if they are not showing up in your templates it means the style you are using neglected to use the $template_hooks. I am thinking I should just abolish using them via plugins since nobody seems to retain them, but seems like such a waste....

I keep my template hooks :) Just thought you should know that someone actually keeps em :P

jahshaka 07-13-2007 11:49 PM

hi,

awesome mod and well needed!

any big differences in the install process for 1.2 ? I was going to install this today but i can wait a few more days... then again if it may take you a while longer and the upgrade is simple i can star with whats here now.

PixelFx 07-14-2007 12:19 AM

I have our offical support forums setup for this script here, as a side note... >>>>

we'll be updating links in v1.2, but doing our best to support this script on vbulletin.org and our main site. Also I hope to get some shots of our other vbcredit systems, and scripts as well like triad3 for those intersted, in the near future :D

Darkwaltz4 07-14-2007 02:00 AM

actually as it is turning out the upgrade process should be pretty painless, only like 1 or 2 extra file edits if you are already using 1.1

bollie 07-14-2007 09:00 AM

I can see somewhere a list, how many points members have ?

Vegetrunks 07-14-2007 12:38 PM

Donation done!
Good work Darkwalz :)

Darkwaltz4 07-14-2007 02:34 PM

you can see how many points members have on the memberlist or on the postbits and profiles if you have set the public option to yes and your style has $template_hook variables. If not, you have to add in the lines which is explained a couple times throughout the thread.

njoker555 07-14-2007 03:00 PM

any way to give points per character? that would be a lot more convenient

thanks for the mod, the first cashmod that actually worked without giving me any other problems :D << clicks install

edit: having some issues - on my template, Silver & Red - the point count isnt showing in their posts - but in the default one it shows but its kinda messed up, how can i fix that? - the link is www.gamers-forum.com if u want to see it

bollie 07-14-2007 03:13 PM

Quote:

Originally Posted by Darkwaltz4 (Post 1290823)
you can see how many points members have on the memberlist or on the postbits and profiles if you have set the public option to yes and your style has $template_hook variables. If not, you have to add in the lines which is explained a couple times throughout the thread.

i use https://vborg.vbsupport.ru/showthread.php?t=148045

njoker555 07-14-2007 03:46 PM

i thought i was able to alter the amount of GFP for the person via admincp and viewing their profile there, but im not seeing an option for that :/

Darkwaltz4 07-14-2007 04:07 PM

The 1.2 instructions will contain manual instructions for adding in missing template stuff, until then use that post.

you can edit the amount of credits in the user editor in the ACP (provided you made the admincp/user.php edit as per the instructions)

I am considering a per-character thing for each post, except it is extremely exploitable, even in principle. feel free to discuss.

subnet_rx 07-14-2007 08:10 PM

The whole thing is exploitable really unless governed by someone. You can spam posts, new threads, and sign up bogus referrals to get money. I usually give 1 cent per post character, and already say that it's a violation to post full articles, texts, or other copyrighted content.

Also, when you delete your post or thread, does this take the money back?

Darkwaltz4 07-14-2007 08:46 PM

1.2 includes settable delete options (so you could even punish usergroups if something they posted was deleted :-p)

these options are somewhat difficult because there are multiple areas where delete occurs. for instance, do i fire it when a post is soft or hard deleted? what if a soft delete is undeleted? do i give it back? plus there are areas where post management is done en masse, such as with inline moderation, which skips the datamanagers entirely... so, the bottom line, just means more file modifications for you all to perform when installing :D

I say per-character is even harder because i have to deal with people editing their posts and bbcode tags and such. so i think if i implement it it will only be for when you first post, but then someone can copy/paste a huge block of text, and then edit it to something normal when they are done >.> like i said, its particularly easy to exploit per-character.

sorry for the wait on 1.2, there are a whole host of major additions to it which i think will please everyone.

Fearlessninja 07-14-2007 09:40 PM

Quote:

Originally Posted by Darkwaltz4 (Post 1290177)
SHHHHHHHHHHHHHHHHHHHHHHHHHHHH

thats a surprise >.> it might already be done

EDIT: still adding one more surprise to 1.2 besides this one then ill release it....

Haha, my bad, sorry, good work!

EvilKitty 07-14-2007 09:58 PM

I'll give this a look once 1.2 is released.

Darkwaltz4 07-14-2007 10:04 PM

perhaps you guys want to hit install so you get the update email i send out? :-p

njoker555 07-14-2007 11:02 PM

Quote:

Originally Posted by Darkwaltz4 (Post 1290891)
The 1.2 instructions will contain manual instructions for adding in missing template stuff, until then use that post.

you can edit the amount of credits in the user editor in the ACP (provided you made the admincp/user.php edit as per the instructions)

I am considering a per-character thing for each post, except it is extremely exploitable, even in principle. feel free to discuss.

yea i did edit the user.php file but i dont see anywhere regarding that :/ im about to go check again to see that its there for sure and see what happens.

looking forward to 1.2 instructions and the characters per post inst extremely needed for me, if it is "extremely" exploitable

Darkwaltz4 07-14-2007 11:32 PM

in the ACP user editor contains the credits for each use, you can edit them there.

ill add in per character then, hope to have it out by tonight

DeMiNe0 07-14-2007 11:37 PM

Installed even though i haven't installed this yet. I can't wait for the update. Awsome job. Im not sure if there is a way to do this yet, but can you make, it so that you can assign a usergroup to give and take points?

Darkwaltz4 07-14-2007 11:38 PM

give and take via what manner? in 1.1 whoever can edit users via the control panel can edit, but in 1.2 there is a setting for this to allow it via the posts.

DeMiNe0 07-14-2007 11:41 PM

I would really like it via posts, as i would like my moderators to be able to give and take points as well, and not just admins.

Edit: any idea when you'll be releasing 1.2? Should i install it now, then upgrade?

njoker555 07-15-2007 12:10 AM

i got it now im stupid, i uploaded the changed user.php in the main folder, so the old one was stil in the admin cp lol, i see it now, thanks :D

still waiting for the 1.2 to help me fix in my other tempaltes :) thanks!

subnet_rx 07-15-2007 12:46 AM

Quote:

Originally Posted by Darkwaltz4 (Post 1291122)
1.2 includes settable delete options (so you could even punish usergroups if something they posted was deleted :-p)

these options are somewhat difficult because there are multiple areas where delete occurs. for instance, do i fire it when a post is soft or hard deleted? what if a soft delete is undeleted? do i give it back? plus there are areas where post management is done en masse, such as with inline moderation, which skips the datamanagers entirely... so, the bottom line, just means more file modifications for you all to perform when installing :D

I say per-character is even harder because i have to deal with people editing their posts and bbcode tags and such. so i think if i implement it it will only be for when you first post, but then someone can copy/paste a huge block of text, and then edit it to something normal when they are done >.> like i said, its particularly easy to exploit per-character.

sorry for the wait on 1.2, there are a whole host of major additions to it which i think will please everyone.

Catch it on the soft deletes for sure. If moderation is being performed on enough posts that it would significantly affect a user's credit balance, then they may need some infraction points. As far as per character, that's not that important to me personally.

Darkwaltz4 07-15-2007 01:45 AM

ETA for 1.2 is tonight :) not sure about exact number of hours though

EDIT: innocent whistling

fizzleboink 07-15-2007 03:05 AM

Looking forward to that 1.2 release. :)

I will install this hack tomorrow if everything looks ok. I will be integrating iShop as well. If I run into any problems I'll let you guys know.

PixelFx 07-15-2007 06:35 AM

with everything he's adding should have users drooling, not to mention addon scripts we're working on :D

Darkwaltz4 07-15-2007 12:24 PM

New version 1.2!

BUGFIXES
- Manage Credits Link on Forumhome
- Fresh Install Bug from 1.1
- Automatic Usercache Rebuild

UPGRADES
- Manage Credits Link Now Displays Your Credits
- Negatives and Fractions Allowed for Everything (Can't donate negative though)
- Base Amount for Mass Updater
- Deleting / Unapproving Posts / Threads can remove Credits!

NEW CREDIT GAINING METHODS
- Credits Per Character In Posts
-- Amount Updates Upon Post Edit!
-- Also Available for use with Mass Updater
-- Includes option to strip BB Code

TRANSACTION LOG
- View what you Donate and Receive
- Optional PM Alert
- Usergroup permission to Post anonymously (and view anonymous postings!)
- Usergroup permission to View Other's Transaction Logs
- Also included to retroactively apply Transactions from the log using the Mass Updater
- Comments with all Transactions that support BB Code
- Paginated

AWARD CREDITS TO POSTS WITH AJAX
- Similar to the Reputation System
- Allows Ability to Add or Detract from User Via AJAX on the Postbit
- Also uses Transaction Log, PM Alert, Anonymous Posting, Comments

CONVERT ICASH TO VBCREDITS
- Included in the complementary folder

Hope everyone likes this :D
John "Darkwaltz4" Jakubowski


Gottcha 07-15-2007 01:03 PM

working beautifully ... great job and cant wait for future addons

OS Master 07-15-2007 02:33 PM

Notified of 1.2. Installing and I will notify you of any bugs...

DeMiNe0 07-15-2007 02:33 PM

Works REALLY well!!

Is there a way to have a PM sent when Points are awarded or taken from a user as well from the postbit?

And am i able to put the postbit ajax Take/Give points link in the users profile as well?

fizzleboink 07-15-2007 03:56 PM

Installed on 3.6.7 and it works great. Integrates with IShop no problem too.

Darkwaltz4 07-15-2007 04:51 PM

Actually it is not meant for use on the profiles, but I might look into it for future versions.

Glad everyone is happy with it :)

DeMiNe0 07-15-2007 05:15 PM

Hmmm. i have that set up, and it doesn't seem to be sending PM's.

Also, do you have AIM/MSN? I'm working on an addon to credits.php to make a way to give/take points from the member profile, and would like some help on it. I'm pretty beginner when it comes to php. I've got somthing going, but im having a problem getting ID's i think.


Edit: Ok, my mistake :). The PM does go through, but you are not notified of the PM and does not display that you have new PM's. Could be an odd caching problem on my end though. I'm gona check out your PM code. I'm assuming your using the DM for PM sending?


All times are GMT. The time now is 02:40 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.02328 seconds
  • Memory Usage 1,834KB
  • 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
  • (4)bbcode_code_printable
  • (5)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)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