![]() |
|
Mod Options |
![]() |
|||||||||||||||||||||||||||||||||||||||||||||||
[Postbit-Legacy Hack] Attractive User Info Boxes for Posts
![]() Developer Last Online: Jan 2018 ![]() ![]() ![]()
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:
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:
Change it to:
Find:
Change it to:
Find:
Change it to:
Find:
Change it to:
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 Show Your Support
The following members like this post: fleshy66
|
![]() |
||||
Mod | Developer | Type | Replies | Last Post |
Show Thread Enhancements User info boxes for postbit legacy. | megabink | vBulletin 4.x Template Modifications | 11 | 28 Dec 2013 17:25 |
Comments |
#2
|
|||
|
|||
Thanks for sharing!
![]() No members have liked this post.
|
#3
|
||||
|
||||
"Blog entries: x" block is not in postbit_legacy template.
Open blog_postbit_entries_link template and replace its contents with these:
__________________
http://www.dipsizkuyu.net - Turkey's fountain of knowledge. The following members like this post: addamroy
|
#4
|
||||
|
||||
Thanks !!
Looks great. No members have liked this post.
|
#5
|
|||
|
|||
I love this hack, it gives a more professional look to the postbit
No members have liked this post.
|
#6
|
||||
|
||||
Ha. I've had this for my v3 for several years. Cool to see someone did it for v4.
No members have liked this post.
|
#7
|
||||
|
||||
I added this to my forum, with a few modifications to the CSS to match my Custom Style. Thank you for this! *Installed*
No members have liked this post.
|
#9
|
|||
|
|||
I have added the modification but there are some problem
http://oi62.tinypic.com/i3dnw3.jpg What I have to do? Thank you ![]() No members have liked this post.
|
#10
|
|||
|
|||
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 No members have liked this post.
|
#11
|
|||
|
|||
Originally Posted by addamroy
OK I'll try it later.![]()
Thank you ![]() No members have liked this post.
|
#12
|
||||
|
||||
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:
When i try to put the DIVs inside the IFs, it breaks the template. No members have liked this post.
|
#13
|
||||||||
|
||||||||
There is a conditional for custom fields that you should wrap around each div element which contains a custom field.
Try
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:
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 No members have liked this post.
|
#14
|
||||||||
|
||||||||
Originally Posted by addamroy
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? No members have liked this post.
|
#15
|
||||||||
|
||||||||
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:
It should be
__________________
Amazing Post-bit Legacy Hacks HERE http://www.vbulletin.org/forum/membe...ort=date#hacks No members have liked this post.
Last edited by addamroy; 27 Jun 2014 at 03:40. |
![]() |
«
Previous Mod
|
Next Mod
»
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
Mod Options | |
|
|
New To Site? | Need Help? |
All times are GMT. The time now is 00:52.