Status
Not open for further replies.
Website
https://www.luvinpoker.com/
Forum version
vBulletin 4.1.x

kyle

Customer
#1
Been playing around with the postbit tabs on my test site before deciding to go live with them on a running site. I noticed that vbcredits deluxe II lite does not integrate with postbit tabs, neither the lite version or the pro version. Maybe what I am hoping do do is not possible but will ask.

Is there any way to have the vbcredits deluxe II lite currencies displayed on a separate tab for the postbit? What we are shooting for is to have first tab with member info (posts, join date,etc), second tab with vbshop items and vbcredits, third tab with thanks/ activity when they are installed.

I see you can turn the postbit display off for vbcredits but with the credit display tied to the postbit_userinfo_right_after_posts hook if this hook is moved into any view then the credits will not show with it turned off, if turned on then they will show but will also show duplicate in the tab that the hook was added and the regular postbit display.

Looking at the postbit tabs on here, when you are on the user info tab you see points and credits, we would like to as an example have them not show on this tab but have them displayed in the gift/achievement/award tab.

So just wondering if this is at all possible, thanks!
 
Last edited:

Belazor

Staff member
Owner
Developer
Customer
#2
The Pro version of PBTabs has an XML import to solve this (sort of), but in the Lite version what you can do is create a custom template hook {vb:raw template_hook.dbtech_userinfo_right_after_posts} and place it in a View, then go into "Automatic Template Edits" part of vBCredits and change its hook to dbtech_userinfo_right_after_posts :)
 
#4
Sorry, I'm trying to do the same thing as OP requested, under vBulletin 4.2. The way I understand it, to create a custom template hook I need to:

1. Create a new plugin.
2. Enter {vb:raw template_hook.dbtech_userinfo_right_after_posts} as the php code.

Or am I missing something? I don't understand which hook location I'm supposed to specify?
 

Belazor

Staff member
Owner
Developer
Customer
#5
The instructions in post #2 specify that you should create a new View in PBTabs, place
Code:
{vb:raw template_hook.dbtech_userinfo_right_after_posts}
inside that, then edit vBCredits' automatic template edit hook location to dbtech_userinfo_right_after_posts.
 
#6
Turns out the answer was staring me right in the face. I don't know why, but my mind never twigged to the idea of pressing the Advanced Options button – until now. Problem solved! Thanks for all your help (and patience) :)
 
#7
One last question: how do I find the template hooks that control the placement for vBShop points and items in Postbit Tabs? The automatically created tab views for those 2 fields don't seem to have any php code in them. All of my other user info (join date, location, etc.) is formatted using the .post_field div class in additional.css; I want to make all of my userinfo fields look consistent. Thanks :)
 

Belazor

Staff member
Owner
Developer
Customer
#8
If you edit the various postbit templates for vBShop, you can achieve this effect. You may have to delete the automatically generated view if it does not pick up your template changes.
 
Status
Not open for further replies.

Postbit Tabs

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