Status
Not open for further replies.

Remel

New member
Is there a way of disabling the whole vBCredits system that goes live to the site?

Basically I want to work on the events without the system being live on the site?

I can only seem to turn "events" off.
 
In the main config, disable events and the navbar tab.

Seems I didnt post to dbtech this particular patch to fix updating displays:

in (admincp)/credits_admin.php find

PHP:
// ##################### Start Events Update ###################################

add above

PHP:
// ##################### Start Displays Update ###################################

if ($_REQUEST['do'] == 'update_displays')
{
    $vbulletin->input->clean_array_gpc('r', array(
        'active' => TYPE_ARRAY
    ));

    $displays = $db->query_read("SELECT displayid FROM " . TABLE_PREFIX . "credits_display");

    while ($display = $db->fetch_array($displays))
    {
        $db->query_write("UPDATE " . TABLE_PREFIX . "credits_display  SET enabled = " .  intval($vbulletin->GPC['active'][$display['displayid']]) . " WHERE  displayid = '" . $db->escape_string($display['displayid']) . "'");
    }

    $db->free_result($displays);
    vbcredits_cache();

    define('CP_REDIRECT', 'credits_admin.php?' . $vbulletin->session->vars['sessionurl'] . 'do=displays');
    print_stop_message('credits_displays_saved');
}

Then, in the automatic template edits section (displays manager) you can uncheck all the displays to hide the amounts throughout the forum.

That should be enough to hide it all publicly - dont forget to reenable all of it when you are ready.
 
Status
Not open for further replies.

Legacy vBCredits II Deluxe

vBulletin 3.8.x vBulletin 4.x.x
Seller
DragonByte Technologies
Release date
Last update
Total downloads
846
Customer rating
0.00 star(s) 0 ratings
Back
Top