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


All times are GMT. The time now is 08:07 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.02278 seconds
  • Memory Usage 1,745KB
  • 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
  • (1)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (3)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