PDA

View Full Version : Profile Enhancements - Postbit Mini Box: Member Info Icons


Chadi
24 Apr 2009, 05:57
Postbit Mini Box: Member Info Icons

This added a nice little white box in postbit_legacy displaying 5 mini icons that link to the members profile areas:

view profile
view album
add to contacts
view social groups
See screenshot for a preview.

http://www.pingy.us/?v=postbit.png

Installation

Step #1 Edit postbit_legacy

Find:
<if condition="$show['infraction']"><div>$vbphrase[infractions]: $post[warnings]/$post[infractions] ($post[ipoints])</div></if>Above that code, add
<div align="center" class="postbit-mini-box">
<a href="member.php?$session[sessionurl]u=$post[userid]" title="View Public Profile">
<img src="images/buttons/folder_user.png" alt="View $post[username]'s Profile" style="border:0" /></a>
&nbsp;
<a href="album.php?u=$post[userid]" title="View $post[username]'s Album" rel="nofollow">
<img src="images/buttons/add_album.png" alt="View $post[username]'s Photo Album" style="border:0" /></a>
&nbsp;
<a href="profile.php?$session[sessionurl]do=addlist&amp;userlist=buddy&amp;u=$post[userid]" title="Add $post[username]'s to Your Contacts" rel="nofollow">
<img src="images/buttons/heart_add.png" alt="Add $post[username]'s to Your Contacts" style="border:0" /></a>
&nbsp;
<a href="group.php?$session[sessionurl]u=$post[userid]" title="Social Groups">
<img src="images/buttons/social.png" alt="View Social Groups" style="border:0" /></a>
</div>

Step #2: Add CSS Info

Go to style manager > main css > Additional CSS Definitions (2nd box).

Add this:

.postbit-mini-box {
border:1px dotted #E0E0F6;
font-size:11px;
color:#4D528C;
background-color:white;
padding:3px;
margin-left: auto;
margin-right: auto;
}

Step #3:

Upload the the 4 icons found inside the attached image.zip file to your /forum-path/images/buttons folder

Philippians 3:7
"But what things were gain to me, those I counted loss for Christ."

Check out my other mods:

Mods
Thread Listing by Letter with ABC Navigation Menu (http://www.vbulletin.org/forum/showthread.php?t=211939)
Text Background Highlight (http://www.vbulletin.org/forum/showthread.php?t=211940)
ESV Bible Verse with Audio (http://www.vbulletin.org/forum/showthread.php?t=211936)
My Shelfari Bookshelf Profile Tab (http://www.vbulletin.org/forum/showthread.php?t=212050)
Postbit Mini Box: Member Info Icons (http://www.vbulletin.org/forum/showthread.php?t=212052)
MixPod Playlist MP3 Player in Profile (http://www.vbulletin.org/forum/showthread.php?p=1801014)
Styles
Green Earth Admin Style (http://www.vbulletin.org/forum/showthread.php?p=1801526)
Purple Element Admin Style (http://www.vbulletin.org/forum/showthread.php?t=212035) Please show your appreciation by voting and clicking install :up:

* Please Note: No Support Provided via PM or Email, only in This Thread for those who click Install *

cyberbob73
24 Apr 2009, 13:33
Thanks :up:

relaxiha
25 Apr 2009, 18:30
hello please upload images

Gemma
25 Apr 2009, 19:14
hello please upload images

The images are in the first post :erm:

Chadi
27 Apr 2009, 04:55
Thanks Gemma ;)

EagleNick
29 Apr 2009, 21:08
How did you get the other fields in your postbit to be so neatly aligned in two columns?

DobieGillis©
30 Apr 2009, 13:32
what is the update?

Chadi
30 Apr 2009, 13:55
I simply attached the images in a zip file. That's it.

DobieGillis©
30 Apr 2009, 14:17
I simply attached the images in a zip file. That's it.

ok, lol! I saw a book image, what is that for?

Chadi
30 Apr 2009, 17:34
ok, lol! I saw a book image, what is that for?

I have an old, unsupported 3.5v mod called vbjournal. That's what mine is for. I did not include it since I doubt most people have it installed anyway.

EagleNick
30 Apr 2009, 19:52
How did you get the other fields in your postbit to be so neatly aligned in two columns?
Hello? You've ignored my PM as well and I'm puzzled as to why.

DobieGillis©
30 Apr 2009, 21:00
I have an old, unsupported 3.5v mod called vbjournal. That's what mine is for. I did not include it since I doubt most people have it installed anyway.

thanks, Chadi! I love your mod!:)

dianna
01 May 2009, 13:01
Nice hack installed thanks!

Paul M
01 May 2009, 22:43
Enough.

Off topic posts removed. If you want to fight, do it elsewhere please.

smsoom
02 May 2009, 14:25
Thanks
installed :)
http://www.roo7oman.com/vb/showthread.php?t=45750

Chadi
02 May 2009, 22:07
Thanks to those who installed this and showed appreciation.

Chadi
03 May 2009, 17:34
Thanks
installed :)
http://www.roo7oman.com/vb/showthread.php?t=45750

Please click install then :)

exel
15 May 2009, 00:41
How did you get the other fields in your postbit to be so neatly aligned in two columns?

I would like to know this too! :D

Btw - Installed! :D

Leo Brazil
15 May 2009, 15:34
Installed, but there's something off on the code on Social Group section

You code:


<a href="http://www.talkjesus.com/groups/" title="Social Groups">
<img src="images/buttons/social.png" alt="View Social Groups" style="border:0" /></a>


Ok, I just changed your website to mine on this and worked fine, but in fact gives me the whole list of Social Groups and not User's Social Groups.

That would be nice.

Sorry, I didn't get what was the issue on this but I have to say I liked you postbit design. Mind to share ?

Thanks

Chadi
15 May 2009, 18:41
Installed, but there's something off on the code on Social Group section

You code:


<a href="http://www.talkjesus.com/groups/" title="Social Groups">
<img src="images/buttons/social.png" alt="View Social Groups" style="border:0" /></a>
Ok, I just changed your website to mine on this and worked fine, but in fact gives me the whole list of Social Groups and not User's Social Groups.

That would be nice.

Sorry, I didn't get what was the issue on this but I have to say I liked you postbit design. Mind to share ?

Thanks


I'm pretty sure that's the way the social system in VB works. Even if you visit your own social group's main page, the navbit does not show something like "Chad's Social Group" or such. However, the main social group page will show your own social group(s) on the bottom either way, never another user's.

Even if you view a user's profile and click on any of their social group on the right block, it will not show their name/user ID in the navbit or actual address link. Another thing to consider is this: how link it show that user's social group if they have more than one? As far as I'm aware, vb doesn't operate this way. If I am wrong and someone wants to share a method to get this option working, let me know.

So in essence, the link for the social group in my mod is just a general link to social groups page.

Chadi
15 May 2009, 18:44
*** Minor Update ***

Tiny update to fix an incorrect link (which I'm sure most installers picked up on anyway)

In postbit_legacy

Replace this line

<a href="http://www.talkjesus.com/groups/" title="Social Groups">

With this:

<a href="group.php?$session[sessionurl]u=$post[userid]" title="Social Groups">

mikey1991
16 May 2009, 20:09
How did you get the other fields in your postbit to be so neatly aligned in two columns?

I'd like to know this too :)

Tagged

danyz81
18 May 2009, 12:12
hello! great hack, it's looking good thanks!
I would like also to know your postbit aligned in two columns, is so nice :)

i know that is a table with 2 columns and css declaration postbit
but the css not work to me :(

can you show please also this hack?

danyz81
19 May 2009, 21:04
Ok, resolved to myself :)

Thanks anyway! bye

GSeybold
10 Sep 2009, 10:56
Excellent Mods. Thank you. Worked like a charm. :up:

Cybershaolin
10 Sep 2009, 14:59
Could I get the code for normal postbit?

Very nice hack! :)

kmohamed
10 Sep 2009, 17:08
tagged for later use
thanx

NeroSoft
10 Sep 2009, 18:33
Thanks


In arabic
<div align="center" class="postbit-mini-box">
<a href="member.php?$session[sessionurl]u=$post[userid]" title="View Public Profile">
<img src="images/buttons/folder_user.png" alt="استعراض الملف الشخصي لـ $post[username]'s" style="border:0" /></a>
&nbsp;
<a href="album.php?u=$post[userid]" title="استعرض البومات $post[username]" rel="nofollow">
<img src="images/buttons/add_album.png" alt="استعرض البومات $post[username] " style="border:0" /></a>
&nbsp;
<a href="profile.php?$session[sessionurl]do=addlist&amp;userlist=buddy&amp;u=$post[userid]" title="اضف $post[username]الى قائمه اتصالاتكـ واصدقائكـ" rel="nofollow">
<img src="images/buttons/heart_add.png" alt="اضف $post[username] الى قائمه اتصالاتكـ واصدقائكـ" style="border:0" /></a>
&nbsp;
<a href="group.php?$session[sessionurl]u=$post[userid]" title="Social Groups">
<img src="images/buttons/social.png" alt=" استعرض جروبات $post[username]" style="border:0" /></a>
</div>

VonDoom
18 Sep 2009, 19:12
Thats the cleanest postbit ive seen yet. has this been released?

vnairp11
24 Sep 2009, 14:59
this is good stuff bro thanks. can u tell me where exactly in main css to find the color to blend this in with my forum page colors where the postings and rest of the postbit bacground is?

EagleNick
27 Sep 2009, 13:54
Thats the cleanest postbit ive seen yet. has this been released?
No, it hasn't. The author doesn't intend to share how he/she did it, either. I asked in this thread and via PM (and so did several other members) but he refuses to help, which is a shame.

Thelonius Beck
14 Feb 2010, 19:27
No, it hasn't. The author doesn't intend to share how he/she did it, either. I asked in this thread and via PM (and so did several other members) but he refuses to help, which is a shame.

It's actually rather simple to achieve. If there's really a desire, I'll post up a tutorial.

RobbieZ
15 Feb 2010, 06:56
It's actually rather simple to achieve. If there's really a desire, I'll post up a tutorial.

There's a real desire :D

hayaldunya
18 Feb 2010, 07:17
Thanks, very working...

Thelonius Beck
22 Feb 2010, 22:07
There's a real desire :D

Here you go then.

http://www.vbulletin.org/forum/showthread.php?t=236623

RapBesk
28 Feb 2010, 17:30
Thank you.

EagleNick
01 Mar 2010, 00:44
Here you go then.

http://www.vbulletin.org/forum/showthread.php?t=236623
Thanks! I'm very appreciative that you took the time to do this. :cool: Too bad I've had to wait this long, but I guess "better late than never."

Loget
02 Mar 2010, 20:31
Thanks for this :)

Silencer Groans
05 Mar 2010, 00:51
Thanks

farazfaraz
24 Nov 2010, 19:21
برای فارسی نویس ها و عربی نویس ها.


<div align="center" class="postbit-mini-box">
<a href="member.php?$session[sessionurl]u=$post[userid]" title="View Public Profile">
<img src="images/buttons/folder_user.png" alt="مشاهده پروفایل کاربری $post[username]" style="border:0" /></a>

<a href="album.php?u=$post[userid]" title="مشاهده آلبوم شخصی $post[username]" rel="nofollow">
<img src="images/buttons/add_album.png" alt="مشاهده آلبوم شخصی $post[username]" style="border:0" /></a>
&nbsp;
<a href="profile.php?$session[sessionurl]do=addlist&amp;userlist=buddy&amp;u=$post[userid]" title="Add $post[username]'s to Your Contacts" rel="nofollow">
<img src="images/buttons/heart_add.png" alt="اضافه کردن $post[username] به لیست دوستان" style="border:0" /></a>
&nbsp;
<a href="group.php?$session[sessionurl]u=$post[userid]" title="Social Groups">
<img src="images/buttons/social.png" alt="مشاهده گروه هایی که $post[username] در آن عضو می باشد" style="border:0" /></a>
</div>

COL NIL SATIS
24 Nov 2010, 20:13
Is this available for 4.0.6??

car20
29 Sep 2011, 09:53
Hello

Is this available for 4.1.X

----------------
I Used that and got bad links

http://www.forum.car20.com/group.php?$session[sessionurl]u=$post[userid]
http://www.forum.car20.com/profile.php?$session[sessionurl]do=addlist&userlist=buddy&u=$post[userid]
http://www.forum.car20.com/album.php?u=$post[userid]
http://www.forum.car20.com/member.php?$session[sessionurl]u=$post[userid]