Register Members List Search Today's Posts Mark Forums Read

Reply
 
Mod Options
[Postbit-Legacy Hack] Attractive User Info Boxes for Posts Details »»
[Postbit-Legacy Hack] Attractive User Info Boxes for Posts
Mod Version: 1.00, by addamroy (Designer) addamroy is offline
Developer Last Online: Jul 2015 I like it Show Printable Version Email this Page

vB Version: 4.2.x Rating: (4 votes - 4.75 average) Installs: 26
Released: 06 Mar 2014 Last Update: Never Downloads: 0
Supported Template Edits Re-usable Code  

This mod will allow you to create attractive custom containers for your member's user info in postbit. For example, Join date, post count, location, thanks etc.

See screenshot in attachments for example.

First, you need to add a class to your additional.css files.

Go to styles and templates > edit templates > css templates > additional.css

Add to the bottom:

Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

Change color, width, and background-color to suit your sites needs.

Now you need to make some edits to your postbit_legacy template.

Go to styles and templates > edit templates > postbit templates > postbit_legacy

Find:

Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

Change it to:

Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.


Find:

Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

Change it to:

Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.


Find:

Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

Change it to:

Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.


Find:

Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

Change it to:

Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.


Essentially all that you've done here is wrapped the new div tag around each element of your user info displayed in the sidebar.

So the above template edits can also be applied to templates for other mods which display info here such as Abe's Post Thank You Hack.

NOTE: To also include place BLOG ENTRIES inside the same box, see post #3 http://www.vbulletin.org/forum/showp...70&postcount=3

Enjoy!

Check out my other Template Modifications for 4.x!

Link Private Forums to thread instead of error message

Sidebar Anywhere Enhancement - Custom Blocks Per Forum or Page

Change Thread Title Color for Specific Forums on Homepage

Change Background Color for Specific Forums on Homepage

Change Title Color of Specific Forums on Homepage

Thread Starter Image in Postbit for OP

CUSTOM BUTTONS that look like your forum!

Custom User Rank Box in Posts

Download Now

Only licensed members can download files, Click Here for more information.

Screenshots

Click image for larger version

Name:	custom_postbit_userinfo_container.png
Views:	1257
Size:	9.6 KB
ID:	148367

Show Your Support

  • To receive notifications regarding updates -> Click to Mark as Installed.
  • If you like this modification support the author by donating.
  • This modification may not be copied, reproduced or published elsewhere without author's permission.
Similar Mod
Mod Developer Type Replies Last Post
User info boxes for postbit legacy. megabink vBulletin 4.x Template Modifications 11 28 Dec 2013 16:25

Comments
  #2  
Old 06 Mar 2014, 12:44
tbworld tbworld is offline
 
Join Date: Oct 2008
Thanks for sharing!
Reply With Quote
  #3  
Old 17 Mar 2014, 08:32
ged's Avatar
ged ged is offline
 
Join Date: Feb 2005
Real name: Domates
"Blog entries: x" block is not in postbit_legacy template.

Open blog_postbit_entries_link template and replace its contents with these:


Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

__________________
http://www.dipsizkuyu.net - Turkey's fountain of knowledge.
Reply With Quote
  #4  
Old 30 Mar 2014, 20:10
SwollenCranium's Avatar
SwollenCranium SwollenCranium is offline
 
Join Date: Oct 2007
Location: Raleigh, NC
Thanks !!

Looks great.
Reply With Quote
  #5  
Old 04 May 2014, 17:19
Spangle Spangle is offline
 
Join Date: Jun 2011
I love this hack, it gives a more professional look to the postbit
Reply With Quote
  #6  
Old 04 May 2014, 17:22
Max Taxable's Avatar
Max Taxable Max Taxable is offline
 
Join Date: Feb 2011
Ha. I've had this for my v3 for several years. Cool to see someone did it for v4.
__________________
I'm helping folks at OzzModz now and in the future. Will be watching for PMs here though.
Reply With Quote
  #7  
Old 19 Jun 2014, 01:02
thetechgenius's Avatar
thetechgenius thetechgenius is offline
 
Join Date: Jun 2014
I added this to my forum, with a few modifications to the CSS to match my Custom Style. Thank you for this! *Installed*
Reply With Quote
  #8  
Old 20 Jun 2014, 05:52
john7911 john7911 is offline
 
Join Date: Feb 2013
Thank you
Reply With Quote
  #9  
Old 20 Jun 2014, 18:11
john7911 john7911 is offline
 
Join Date: Feb 2013
I have added the modification but there are some problem
http://oi62.tinypic.com/i3dnw3.jpg
What I have to do?
Thank you
Reply With Quote
  #10  
Old 22 Jun 2014, 11:17
addamroy addamroy is offline
 
Join Date: Sep 2010
Looks to me like you forgot to close a DIV tag, or left some other tag open...

I would recommend starting over and repeating the steps again, making sure to do it correctly.

I hope that helps, should be a simple fix if my assumption is correct.
__________________
Amazing Post-bit Legacy Hacks HERE http://www.vbulletin.org/forum/membe...ort=date#hacks
Reply With Quote
  #11  
Old 23 Jun 2014, 05:37
john7911 john7911 is offline
 
Join Date: Feb 2013
Originally Posted by addamroy View Post
Looks to me like you forgot to close a DIV tag, or left some other tag open...

I would recommend starting over and repeating the steps again, making sure to do it correctly.

I hope that helps, should be a simple fix if my assumption is correct.
OK I'll try it later.
Thank you
Reply With Quote
  #12  
Old 26 Jun 2014, 03:57
Max Taxable's Avatar
Max Taxable Max Taxable is offline
 
Join Date: Feb 2011
In vBulletin 4.2.1 - <vb:if> conditionals with this - how do we handle that syntax?

We have alot of custom fields in postbit, and they have IF conditionals, but if the field isn't filled in by the user the box still shows, but is empty. See screenies:

When the user leaves the custom fields blank:



When he does not:



Here is the entire postbit_legacy code:
Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.


When i try to put the DIVs inside the IFs, it breaks the template.
__________________
I'm helping folks at OzzModz now and in the future. Will be watching for PMs here though.
Reply With Quote
  #13  
Old 26 Jun 2014, 22:09
addamroy addamroy is offline
 
Join Date: Sep 2010
There is a conditional for custom fields that you should wrap around each div element which contains a custom field.

Try

Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

Replace field5 with the field ID of the custom field. Repeat for each one.

So for example IF the join date was a custom field, your code would look as follows:

Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

And again you would replace field5 with whatever the field ID would be for the custom field.

PS - Mark as installed!
__________________
Amazing Post-bit Legacy Hacks HERE http://www.vbulletin.org/forum/membe...ort=date#hacks
Reply With Quote
  #14  
Old 26 Jun 2014, 23:20
Max Taxable's Avatar
Max Taxable Max Taxable is offline
 
Join Date: Feb 2011
Originally Posted by addamroy View Post
There is a conditional for custom fields that you should wrap around each div element which contains a custom field.

Try

Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

Replace field5 with the field ID of the custom field. Repeat for each one.

So for example IF the join date was a custom field, your code would look as follows:

Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

And again you would replace field5 with whatever the field ID would be for the custom field.

PS - Mark as installed!
Yep I did exactly as you suggest here, all it does is break the template.

Wait. I am not clear on the bolded. What does this mean?
__________________
I'm helping folks at OzzModz now and in the future. Will be watching for PMs here though.
Reply With Quote
  #15  
Old 27 Jun 2014, 02:32
addamroy addamroy is offline
 
Join Date: Sep 2010
The code in your example shows that you didn't use the code exactly as provided.

You have the vb:if conditionals inside the div containers, it should be the other way around, you should have the div containers inside the if conditionals. That way the div only displays if the conditional is true.

Check my example above again to see what I mean. Your divs need to be INSIDE your conditionals, not vice versa.

For example where you have:

Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

It should be

Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

__________________
Amazing Post-bit Legacy Hacks HERE http://www.vbulletin.org/forum/membe...ort=date#hacks

Last edited by addamroy : 27 Jun 2014 at 02:40.
Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
Mod Options

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
Forum Jump


New To Site? Need Help?

All times are GMT. The time now is 15:52.

Layout Options | Width: Wide Color: