DragonByte Tech | vBulletin Mods & Addons - Powered by vBulletin





DragonByte Tech Proudly Hosted By Hivelocity.net
Custom Fitted Forum Hosting from Hivelocity

User Tag List

Results 1 to 8 of 8

Thread: Move vbcredits currencies to postbit tab?


Forum: Postbit Tabs Lite Support

Questions & Answers for Postbit Tabs.
Click here to buy!

  1. #1
    Member
    Level 2 (1,838 Loyalty Points)
    kyle's Avatar
    Total Contributions For

    kyle      $ 0.00
    Gil
    224 (2,017 Banked)
    User Info Thanks / Tagging Info Gifts / Achievements / Awards Activity Stats
    Join Date
    Feb 2010
    Posts
    45
    Points
    224
    Credits
    433
    Rep Power
    0

    Default Move vbcredits currencies to postbit tab?

    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 by kyle; 2nd June 2011 at 23:10.

  2. #2
    Founder
    Level 0 (0 Loyalty Points)
    Belazor's Avatar
    Total Contributions For

    Belazor Points (Total)      $ 0.00
    Gil
    41,626 (460,361 Banked)
    User Info Thanks / Tagging Info Gifts / Achievements / Awards Activity Stats
    Join Date
    Dec 2009
    Location
    Glasgow, Scotland
    Age
    27
    Posts
    16,616
    Blog Entries
    13
    Points
    41,626
    Credits
    1,001,866
    Rep Power
    10

    Default

    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
    Fillip Hannisdal
    Founder & Programming Director
    DragonByte Technologies http://www.DragonByte-Tech.com


    Please do not Private Message me with support requests or product questions. PMs are only for exchanging sensitive information (like FTP / AdminCP logins).
    Please do not Private Message me with business related queries (refunds, complaints, feedback, etc). Decado is the person to PM for those issues.
    Please do not Private Message Decado with support requests or forum errors.

    When I say "Hotfix Released" it means you should re-download the product and re-upload the files.
    Thanks kyle thanked for this post
    Like our products? Want to be notified on social media networks when we release updates or new products? Click the buttons below to Like us on Facebook, Follow us on Twitter and Follow us on Google+!

  3. #3
    Member
    Level 2 (1,838 Loyalty Points)
    kyle's Avatar
    Total Contributions For

    kyle      $ 0.00
    Gil
    224 (2,017 Banked)
    User Info Thanks / Tagging Info Gifts / Achievements / Awards Activity Stats
    Join Date
    Feb 2010
    Posts
    45
    Points
    224
    Credits
    433
    Rep Power
    0

    Default

    Sweet!! Thank you very much, just tried it out and alls well.

  4. #4
    Junior Member
    Level 8 (4,508 Loyalty Points)

    Total Contributions For

    DevOne5555      $ 0.00
    Gil
    114 (0 Banked)
    User Info Thanks / Tagging Info Gifts / Achievements / Awards Activity Stats
    Join Date
    Mar 2011
    Posts
    19
    Points
    114
    Credits
    53
    Rep Power
    0

    Default

    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?

  5. #5
    Founder
    Level 0 (0 Loyalty Points)
    Belazor's Avatar
    Total Contributions For

    Belazor Points (Total)      $ 0.00
    Gil
    41,626 (460,361 Banked)
    User Info Thanks / Tagging Info Gifts / Achievements / Awards Activity Stats
    Join Date
    Dec 2009
    Location
    Glasgow, Scotland
    Age
    27
    Posts
    16,616
    Blog Entries
    13
    Points
    41,626
    Credits
    1,001,866
    Rep Power
    10

    Default

    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.
    Fillip Hannisdal
    Founder & Programming Director
    DragonByte Technologies http://www.DragonByte-Tech.com


    Please do not Private Message me with support requests or product questions. PMs are only for exchanging sensitive information (like FTP / AdminCP logins).
    Please do not Private Message me with business related queries (refunds, complaints, feedback, etc). Decado is the person to PM for those issues.
    Please do not Private Message Decado with support requests or forum errors.

    When I say "Hotfix Released" it means you should re-download the product and re-upload the files.
    Like our products? Want to be notified on social media networks when we release updates or new products? Click the buttons below to Like us on Facebook, Follow us on Twitter and Follow us on Google+!

  6. #6
    Junior Member
    Level 8 (4,508 Loyalty Points)

    Total Contributions For

    DevOne5555      $ 0.00
    Gil
    114 (0 Banked)
    User Info Thanks / Tagging Info Gifts / Achievements / Awards Activity Stats
    Join Date
    Mar 2011
    Posts
    19
    Points
    114
    Credits
    53
    Rep Power
    0

    Default

    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. #7
    Junior Member
    Level 8 (4,508 Loyalty Points)

    Total Contributions For

    DevOne5555      $ 0.00
    Gil
    114 (0 Banked)
    User Info Thanks / Tagging Info Gifts / Achievements / Awards Activity Stats
    Join Date
    Mar 2011
    Posts
    19
    Points
    114
    Credits
    53
    Rep Power
    0

    Default

    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

  8. #8
    Founder
    Level 0 (0 Loyalty Points)
    Belazor's Avatar
    Total Contributions For

    Belazor Points (Total)      $ 0.00
    Gil
    41,626 (460,361 Banked)
    User Info Thanks / Tagging Info Gifts / Achievements / Awards Activity Stats
    Join Date
    Dec 2009
    Location
    Glasgow, Scotland
    Age
    27
    Posts
    16,616
    Blog Entries
    13
    Points
    41,626
    Credits
    1,001,866
    Rep Power
    10

    Default

    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.
    Fillip Hannisdal
    Founder & Programming Director
    DragonByte Technologies http://www.DragonByte-Tech.com


    Please do not Private Message me with support requests or product questions. PMs are only for exchanging sensitive information (like FTP / AdminCP logins).
    Please do not Private Message me with business related queries (refunds, complaints, feedback, etc). Decado is the person to PM for those issues.
    Please do not Private Message Decado with support requests or forum errors.

    When I say "Hotfix Released" it means you should re-download the product and re-upload the files.
    Like our products? Want to be notified on social media networks when we release updates or new products? Click the buttons below to Like us on Facebook, Follow us on Twitter and Follow us on Google+!

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. [vB 4.1.x] Urgent Need This type of postbit Tab???
    By Black tiger in forum Postbit Tabs Lite Support
    Replies: 1
    Last Post: 5th April 2011, 15:10
  2. [vB 4.1.x] Activity bars in last postbit tab
    By Freekoid in forum Postbit Tabs Lite Support
    Replies: 2
    Last Post: 12th February 2011, 02:37

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •