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)

Darkwaltz4 07-10-2007 11:59 PM

Ah, I think I forgot to highlight a row in the instructions

what you did was copy the next part for find: and then replace:

to fix, find:

//obsolete

asw 07-11-2007 12:01 AM

Quote:

Originally Posted by Darkwaltz4 (Post 1288007)
Ah, I think I forgot to highlight a row in the instructions

what you did was copy the next part for find: and then replace:

So I should replace $this->set_registration_defaults();

with

the ADD BELOW: code?

Thanks for responding so fast!!

Darkwaltz4 07-11-2007 12:07 AM

Sorry about the mixup, I converted my notes about file edits to the

Find:
====

stuff, and i missed highlighting that particular part.

if possible, you might want to start over with a fresh class_dm_user.php file and reapply the file edits to it. Basically, you have to undo the addition you made, and redo it correctly (which is what the previous posts instructions have you do.)

Anyway, I updated the download with the proper highlighting in the instructions file so this shouldnt happen again :-p

asw 07-11-2007 12:13 AM

That's why it's always wise to backup!

I'll reinstall sir. Thanks for your outstanding support!

asw 07-11-2007 12:17 AM

Worked like a charm!

I am sorry if I missed something but where do the members view or otherwise see their credits?

Thanks again-:up:

Darkwaltz4 07-11-2007 12:20 AM

:) let me know how it goes, if you want me to fix up the file for you, check your PMs

instruction file problem, again this has been clarified in the download, so it doesnt look like the ADD BELOW block from the selection above it anymore.

asw 07-11-2007 12:23 AM

Quote:

Originally Posted by Darkwaltz4 (Post 1288019)
:) let me know how it goes, if you want me to fix up the file for you, check your PMs

instruction file problem, again this has been clarified in the download, so it doesnt look like the ADD BELOW block from the selection above it anymore.

Thanks very much for your unbelievable support sir! :up:

Darkwaltz4 07-11-2007 12:25 AM

Users can see their credits in their postbits and profiles if you have set the option to yes in the vBulletin Options screen under vBCredits Global Settings.

If you have altered your postbits or profiles and would like to include the credits, the variables are $vbphrase['credits'] for the word, and for the value is $post['credits'] for posts, $userinfo['credits'] for profiles, and $vbulletin->userinfo['credits'] for the currently logged in user ($bbuserinfo['credits'] for templates).

Also, in the usercp is a link to Manage Credits under subscriptions, which links to credits.php, which also displays the number of credits and is also where the donation portion of the script is.

Edit: :D no problem asw, I want this to work for you as much as you do.

asw 07-11-2007 12:32 AM

Quote:

Originally Posted by Darkwaltz4 (Post 1288023)
Users can see their credits in their postbits and profiles if you have set the option to yes in the vBulletin Options screen under vBCredits Global Settings.

If you have altered your postbits or profiles and would like to include the credits, the variables are $vbphrase['credits'] for the word, and for the value is $post['credits'] for posts, $userinfo['credits'] for profiles, and $vbulletin->userinfo['credits'] for the currently logged in user ($bbuserinfo['credits'] for templates).

Also, in the usercp is a link to Manage Credits under subscriptions, which links to credits.php, which also displays the number of credits and is also where the donation portion of the script is.

Edit: :D no problem asw, I want this to work for you as much as you do.

Well,

Most of that went over my head but I did manage to locate the area and took a screenshot.

http://www.auctionsitewatch.com/images/credits.gif

Thanks again very much sir. :up:

Darkwaltz4 07-11-2007 12:39 AM

The automatic template edits are for the default vbulletin style. I will be making screenshots tonight, and maybe adding in more linking :-p

If you have edited postbits, to make it display, put this in the postbit template:
$vbphrase[credits]: $post[credits]

for profiles, put this in the memberinfo template
$vbphrase[credits]: $userinfo[credits]

Comes out as, for example
Credits: 100

To display your own credits to yourself in any template, use $bbuserinfo[credits]


All times are GMT. The time now is 12:01 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.02262 seconds
  • Memory Usage 1,740KB
  • 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
  • (3)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (3)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