Status
Not open for further replies.

Replicators

Customer
From what i remember, there were 2 plugin files with this mod that i had to apply, but in the recent one i downloaded, it only had one plugin. I ask if it is missing because the automatic template edits are just not working at all. The only product file i see in the xml folder is credits.xml, but i can swear there was another one before.
 
Indeed - there used to be, but they have been merged in v2.0.0 for your convenience. If you are having trouble changing the display settings, make sure the following is in your admin/credits_admin.php file:

PHP:
// ##################### Start Events Update ###################################
and inserting this ABOVE that if its not there already:

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');
}
 
That code wasn't in there, however putting it in didn't solve anything about the problem i am having. Somehow, something new has broken the addon i put up with the persistant credits display, as i try to do the same thing, and it won't show now.
 
is it just the postbit display that is missing the credits? (are profile, memberlist, navbar okay?)

what other addons do you have installed that add things to your postbit? Can you try disabling them to see if the credits reappear, and then reenable them one by one until it vanishes again? Sounds like one of them may be inserting into the postbit hook incorrectly, and that process will help narrow down which one.
 
Ok found the problem, in my addon here i wrote instructions on how to add a persistant credit display on the navbar, but i gave instructions on making a new display, instead of editing the nabar one already made. Making a new display seems to not work, so i have to actually edit the already made Navbar in the automatic templates. The information is the same when making it yourself to editing the navbar one, but won;t work unless you edit the existing navbar one. Is there a way to fix this?
 
Status
Not open for further replies.

Similar threads

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