Status
Not open for further replies.

AngelArs

New member
Won't show up

It shows up fine in the profile section - but not in the post bit.

What is the code to manually insert it into the post bit?
 
Last edited:
Are you sure the plugin, Moods in Postbit under the group DragonByte Tech: User Status & Moods is enabled?
 
Ok then there is no way at this time, but, you can create the following plugin to give yourself some:

AdminCP > Plugins & Product > Add New Plugin

Product: vBulletin
Hook Location: postbit_display_complete
Title: Manual USM Postbit Integration
Execution Order: 5
Plugin is Active: Yes
Plugin PHP Code:
PHP:
$opts =& $this->registry->options;
$backup = array($template_hook['postbit_userinfo_left'], $opts['dbtech_status_enabled'], $opts['dbtech_status_moodenabled']);

foreach (array('status', 'mood') AS $i => $which)
{    //for both types separately
    if ($backup[$i + 1])
    {    //only enabled individually
        $opts['dbtech_status_enabled'] = !$i;
        $opts['dbtech_status_moodenabled'] = $i;
        $template_hook['postbit_userinfo_left'] = '';
        require(DIR . '/dbtech/status/hooks/postbit_display_complete.php');
        $template_hook['dbtech_' . $which] = $template_hook['postbit_userinfo_left'];
    }
}

list($template_hook['postbit_userinfo_left'], $opts['dbtech_status_enabled'], $opts['dbtech_status_moodenabled']) = $backup;
unset($opts, $backup);

That will give you access to these variables for use in your postbit/_legacy templates:
HTML:
{vb:raw template_hook.dbtech_status} and {vb:raw template_hook.dbtech_mood}

Turn off the original Moods in Postbit plugin under the group DragonByte Tech: User Status & Moods. Should be safe from upgrades as well :)
 
So basically replace the new plugin for the Moods in Postbit pluggin? Correct?

Will try tonight. Thanks so much for your help Ozzy. Was going to buy this mod until it started giving us all these problems. Not sure why dragon doesn't allow admins to manually place this where they need it in the post bit.
 
Still not showing up Ozzy, we tried 4 different locations.

We are using this post bit in case that helps;

eTiKeT™ 2011 Posbit_legacy - Postbit - vBulletin.org Forum

It was working fine with the above postbit, then one day it was gone. Not sure why. Happens on all skins. Probably doesn't have anything to do with the above postbit but I thought I'd list it here, just in case it helps you solve this :)
 
Last edited:
If you disable that mod, do they show up then?

Nothing to disable, it was just a few template edits and some CSS.

This (dragon) mod was working fine with it.

I also just noticed this in my postbit, but not sure how it got there;

Code:
{vb:raw template_hook.dbtech_mood}
 
If that is in your postbit, then you may not have done what I described in post #4 correctly?
 
I am not totally sure I can resolve it but:

Could you please create and PM me with a temporary AdminCP account?

For security reasons, we recommend you create a new AdminCP account only for DBTech support, then disable or delete it after we have both confirmed the issue has been solved and there are no further issues. It should ideally be a temporary account created for us only. If we have created an account on your site already, you can optionally boost that account to Administrator and then de-admin this account once the issue has been solved.

If you use a .htaccess password protection for your AdminCP directory, it is recommended that you create a new authorized user for DBTech and remove this user once the issue has been solved.

Please test any temporary accounts you create to ensure that the AdminCP account can access the administrative controls for the product we are assisting you with.

Ensuring this is all in order before submitting the information will significantly speed up the process of assisting you. We will alert you via PM if there's any issues with the login information you have provided.

When sending the PM, for your security you should also un-tick the "Save a copy in my Sent Items folder" checkbox. When the access details have been received, we will delete the PM from our inbox. Ensuring you have not kept a copy of the PM reduces the risk of security breaches.

Thank you for helping us debug our products and allowing us to assist you, we appreciate it. :)
 
Haven't forgotten about you Ozzy :)

I am doing a lot of work on the postbit (cleaning it up) and didn't want us both to be working on the code at the same time.

I should be done in a couple of days, and then I'll send you a PM with the details that you requested. Thanks for being patient :)
 
UPDATE:

I noticed today that it is working in the profile section.

Can anyone think of a reason why the postbit would be excluded?

UPDATE:

Reverted to default vB postbit legacy. Still nothing works, so it appears to be the mod and nothing with the forum.
 
Last edited:
UPDATE:

Figured out what was causing all of the problems.

I completely uninstalled the dragonbyte thanks/like hack and installed the one by Abe1.

Still nothing would show up. So one by one I disabled every hack that had anything to do with the postbit.

It took a while to diagnose, but I finally found the culprit, it was this mod:

[ozzy47] Ignore User In Postbit Dropdown Menu - vBulletin.org Forum

Like a light switch I can disable/enable that mod, and the postbit mods by dragonbyte will appear/disappear.

Too bad because I really needed that mod. but it's disabled until it can be fixed.

Hope this helps others with similar problems :)
 
I am unable to replicate this on my sites, with both of the mods installed and running. :confused:
 
OK, well maybe you can still help. Tried using your suggestion in post #4 and the status hook part works great, but the mood hook ({vb:raw template_hook.dbtech_mood}) still shows the status along with it.

The original “Moods in Postbit” plugin under the group DragonByte Tech: User Status & Moods - IS - turned off (unchecked).

Is there anyway to have JUST the mood section show up alone?

Not only that but under every mood there is also an additional "I am Happy" showing up. (See screenshot)
 

Attachments

  • status.jpg
    status.jpg
    9.9 KB · Views: 8
Last edited:
Are the details you sent me in the PM still active? If so I can look into why it may be messing up.
 
No, but it will only take a few minutes to set them back up for you. I'm in there now trying to center an object with css (and having no luck, but I'm learning other stuff).

Right now the mod it is set back as default. I'll reset your mod add-0n for you. Thanks for helping out Ozzy. They should give you a special award, You're like the only one that really helps out here and on vB :)
 
Let me know when it is ready to go and you are through playing with what you are, don't want to many cooks in the kitchen. :)
 
Status
Not open for further replies.

Legacy User Status & Moods

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