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)

PlymWS 07-23-2007 07:10 PM

Is there any way to retrospectively generate a credit score for someone ?

My forum has been running a while so I would like to be able to generate a credit score based on my users previous posts and thanks.

Also, would it be possible to add a points score for uploaing an attachment ?

kaisellgren 07-23-2007 07:17 PM

How to disable / not show for a specific member group? I would like to use this for displaying salary for my board staff :)

cheat-master30 07-23-2007 07:18 PM

Quote:

Originally Posted by PlymWS (Post 1299465)
Is there any way to retrospectively generate a credit score for someone ?

My forum has been running a while so I would like to be able to generate a credit score based on my users previous posts and thanks.

Also, would it be possible to add a points score for uploaing an attachment ?

You can easily retrospectively generate a credit score. Just install this, then go Maintenance -> Update Counters -> Appropriate Credits

You can then update credits for specific usergroups based on various factors.

Darkwaltz4 07-23-2007 07:21 PM

Quote:

Originally Posted by PlymWS (Post 1299465)
Is there any way to retrospectively generate a credit score for someone ?

My forum has been running a while so I would like to be able to generate a credit score based on my users previous posts and thanks.

Also, would it be possible to add a points score for uploaing an attachment ?

There is a form at the bottom of update counter page, use this to apply credits retroactively. Attachment uploading will most likely be implemented.

Quote:

Originally Posted by kaisellgren (Post 1299476)
How to disable / not show for a specific member group? I would like to use this for displaying salary for my board staff :)

Edit the usergroup settings for the usergroup in question, and set everything to 0. You can also disable specific people in the user edito, and the entire hack in the global settings. To disable showing of usergroups in the top richest credit holders, the option is in the usergroup editor.

Everyone: Dont forget to click install :) (or nominations for MOTM :D)

AdmiralGeek 07-23-2007 07:32 PM

everything is installed, but when i go to allow quizes that are submitted, my admin keeps asking me to log in over and over again! I thought this was fixed, and also when making changes to the admin_quiz.php there are two instances of the same code when searching.

This is when i am integrating it with the Quiz

two instances of this one
Code:

$DB->query("insert into ".TABLE_PREFIX."quiz
        (q_name,q_state,q_perms,q_start,q_end,q_autoend,q_timelimit,q_viewanswer,q_desc,q_forcat,q_image)
        values
        ('{$q_name}',{$q_state},'{$Perms}',".time().",{$End_Time},{$q_autoend},{$q_timelimit},{$q_viewanswer},'{$q_desc}',$q_forcat,'{$q_image}')");

and also this one

Code:

$DB->query("update ".TABLE_PREFIX."quiz
        set q_name='{$q_name}',q_state={$q_state},q_perms='{$Perms}',q_end={$End_Time},q_autoend={$q_autoend},q_timelimit={$q_timelimit},q_viewanswer={$q_viewanswer},q_desc='{$q_desc}',q_forcat=$q_forcat,q_image='{$q_image}'
        where qid='{$quiz['qid']}'");


Darkwaltz4 07-23-2007 07:34 PM

As I stated earlier, the number of tabs is important in which block to use. Revert your quiz files and search again, this time paying attention to tabs. There should be only one block for each thing. You probably get logged out because you replaced it twice. If after you fix that and it still doesnt work, we will go from there :)

AdmiralGeek 07-23-2007 07:38 PM

Quote:

Originally Posted by Darkwaltz4 (Post 1299492)
As I stated earlier, the number of tabs is important in which block to use. Revert your quiz files and search again, this time paying attention to tabs. There should be only one block for each thing. You probably get logged out because you replaced it twice. If after you fix that and it still doesnt work, we will go from there :)

are you referring to my post?

Darkwaltz4 07-23-2007 07:39 PM

Yeah?

AdmiralGeek 07-23-2007 07:40 PM

blocks? tabs? I am usong just vb3.6.7 not advanced

Darkwaltz4 07-23-2007 07:42 PM

Okay, when you are finding and replacing code from quiz.php and admin_quiz.php, also search for the number of tabs in the code block. If you searched for just the text it would appear twice, but checking the number of tabs (tab keypress, aka indents) makes it appear only once - which is the right one to replace.

I guess I will redo the instructions to identify a different block of code. Sucks I cant use plugins because there are no hooks at all in those files.


All times are GMT. The time now is 09:14 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.02276 seconds
  • Memory Usage 1,746KB
  • 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_code_printable
  • (4)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (4)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