Status
Not open for further replies.

s3ponline

Customer
There’s no way to turn it off minus not allowing it on every forum.

I’m not using it because members aren’t using it and it takes up space, but I’m still using the rest of the modifications features. How can I “turn it off” and also have it remove itself from the member profile page?
 
I have been playing around trying to do it, I will get back to you if I do find a way.
 
Ok I found a way, but remember DBT does not support customizations to their products. So if it does break something it will not be supported. You can always undue the changes by re uploading the product files.

In your ftp navigate to dbtech/usertag/hooks and look for the file: member_build_blocks_start.php

Once you open that you should see this:

Code:
<?php

// Fetch the profile blocks we need
require_once(DIR . '/dbtech/usertag/includes/class_profileblock.php');

$blocklist['usertags'] = array(
    'class' => 'UserTagging_UserTags',
    'title' => $vbphrase['dbtech_usertag_threadtags'],
    'options' => array(
        'perpage' => $vbulletin->GPC['perpage'],
        'pagenumber' => $vbulletin->GPC['pagenumber']
    ),
    'hook_location' => (intval($vbulletin->versionnumber) == 3 ? 'profile_left_last' : 'profile_tabs_last')
);

$blocklist['mentions'] = array(
    'class' => 'UserTagging_Mentions',
    'title' => $vbphrase['dbtech_usertag_mentions'],
    'options' => array(
        'perpage' => $vbulletin->GPC['perpage'],
        'pagenumber' => $vbulletin->GPC['pagenumber']
    ),
    'hook_location' => (intval($vbulletin->versionnumber) == 3 ? 'profile_left_last' : 'profile_tabs_last')
);

$blocklist['quotes'] = array(
    'class' => 'UserTagging_Quotes',
    'title' => $vbphrase['dbtech_usertag_quotes'],
    'options' => array(
        'perpage' => $vbulletin->GPC['perpage'],
        'pagenumber' => $vbulletin->GPC['pagenumber']
    ),
    'hook_location' => (intval($vbulletin->versionnumber) == 3 ? 'profile_left_last' : 'profile_tabs_last')
);

$show['vb4compat'] = version_compare($vbulletin->versionnumber, '4.0.8', '>=');
$headinclude .= vB_Template::create('dbtech_usertag_member_css')->render();
?>

Now change that file to this: Remember to save it.

Code:
<?php

// Fetch the profile blocks we need
require_once(DIR . '/dbtech/usertag/includes/class_profileblock.php');



$blocklist['mentions'] = array(
    'class' => 'UserTagging_Mentions',
    'title' => $vbphrase['dbtech_usertag_mentions'],
    'options' => array(
        'perpage' => $vbulletin->GPC['perpage'],
        'pagenumber' => $vbulletin->GPC['pagenumber']
    ),
    'hook_location' => (intval($vbulletin->versionnumber) == 3 ? 'profile_left_last' : 'profile_tabs_last')
);

$blocklist['quotes'] = array(
    'class' => 'UserTagging_Quotes',
    'title' => $vbphrase['dbtech_usertag_quotes'],
    'options' => array(
        'perpage' => $vbulletin->GPC['perpage'],
        'pagenumber' => $vbulletin->GPC['pagenumber']
    ),
    'hook_location' => (intval($vbulletin->versionnumber) == 3 ? 'profile_left_last' : 'profile_tabs_last')
);

$show['vb4compat'] = version_compare($vbulletin->versionnumber, '4.0.8', '>=');
$headinclude .= vB_Template::create('dbtech_usertag_member_css')->render();
?>
 
Remember too that changing the files will mean that each product update will require you to mimic the file changes in the updated file
 
Remember too that changing the files will mean that each product update will require you to mimic the file changes in the updated file

Well hopefully they’ll include this in the next product update.

Ozzy, you’re a god send! I’ll get back to you and let you know if it works and if anything breaks.
 
I got this error ozzy

Code:
// Fetch the profile blocks we need require_once(DIR . '/dbtech/usertag/includes/class_profileblock.php'); $blocklist['mentions'] = array( 'class' => 'UserTagging_Mentions', 'title' => $vbphrase['dbtech_usertag_mentions'], 'options' => array( 'perpage' => $vbulletin->GPC['perpage'], 'pagenumber' => $vbulletin->GPC['pagenumber'] ), 'hook_location' => (intval($vbulletin->versionnumber) == 3 ? 'profile_left_last' : 'profile_tabs_last') ); $blocklist['quotes'] = array( 'class' => 'UserTagging_Quotes', 'title' => $vbphrase['dbtech_usertag_quotes'], 'options' => array( 'perpage' => $vbulletin->GPC['perpage'], 'pagenumber' => $vbulletin->GPC['pagenumber'] ), 'hook_location' => (intval($vbulletin->versionnumber) == 3 ? 'profile_left_last' : 'profile_tabs_last') ); $show['vb4compat'] = version_compare($vbulletin->versionnumber, '4.0.8', '>='); $headinclude .= vB_Template::create('dbtech_usertag_member_css')->render(); ?>
 
At the top of the profile page. You don’t have to worry about it! Hopefully dbtech can help with keep tabs off.

s3ponline Seems like you missed removing some of the code, I would try editing that file again and remove everything, then past my solution in the first post. I am not able to replicate that issue on live site, or test site.

Or download this and overwrite the file.
 

Attachments

s3ponline Seems like you missed removing some of the code, I would try editing that file again and remove everything, then past my solution in the first post. I am not able to replicate that issue on live site, or test site.

Or download this and overwrite the file.

Looks like you’re right!

It works! Thank you! <3333333333333333333
 
Status
Not open for further replies.

Similar threads

Legacy Advanced User Tagging

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