vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.8 Template Modifications (https://vborg.vbsupport.ru/forumdisplay.php?f=236)
-   -   Profile Enhancements - Postbit Mini Box: Member Info Icons (https://vborg.vbsupport.ru/showthread.php?t=212052)

Chadi 04-23-2009 10:00 PM

Postbit Mini Box: Member Info Icons
 
1 Attachment(s)
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:
Code:

<if condition="$show['infraction']"><div>$vbphrase[infractions]: $post[warnings]/$post[infractions] ($post[ipoints])</div></if>
Above that code, add
Code:

            <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:

Code:

.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:
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 04-24-2009 12:33 PM

Thanks :up:

relaxiha 04-25-2009 05:30 PM

hello please upload images

Gemma 04-25-2009 06:14 PM

Quote:

Originally Posted by relaxiha (Post 1798870)
hello please upload images

The images are in the first post :erm:

Chadi 04-27-2009 03:55 AM

Thanks Gemma ;)

EagleNick 04-29-2009 08:08 PM

How did you get the other fields in your postbit to be so neatly aligned in two columns?

DobieGillis? 04-30-2009 12:32 PM

what is the update?

Chadi 04-30-2009 12:55 PM

I simply attached the images in a zip file. That's it.

DobieGillis? 04-30-2009 01:17 PM

Quote:

Originally Posted by Chadi (Post 1801788)
I simply attached the images in a zip file. That's it.

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

Chadi 04-30-2009 04:34 PM

Quote:

Originally Posted by DobieGillis? (Post 1801795)
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 04-30-2009 06:52 PM

Quote:

Originally Posted by EagleNick (Post 1801359)
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? 04-30-2009 08:00 PM

Quote:

Originally Posted by Chadi (Post 1801927)
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 05-01-2009 12:01 PM

Nice hack installed thanks!

Paul M 05-01-2009 09:43 PM

Enough.

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

smsoom 05-02-2009 01:25 PM

Thanks
installed :)
http://www.roo7oman.com/vb/showthread.php?t=45750

Chadi 05-02-2009 09:07 PM

Thanks to those who installed this and showed appreciation.

Chadi 05-03-2009 04:34 PM

Quote:

Originally Posted by smsoom (Post 1803022)

Please click install then :)

exel 05-14-2009 11:41 PM

Quote:

Originally Posted by EagleNick (Post 1801359)
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 05-15-2009 02:34 PM

Installed, but there's something off on the code on Social Group section

You code:

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 05-15-2009 05:41 PM

Quote:

Originally Posted by Leo Brazil (Post 1811220)
Installed, but there's something off on the code on Social Group section

You code:

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 05-15-2009 05:44 PM

*** 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

Code:

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

Code:

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

mikey1991 05-16-2009 07:09 PM

Quote:

Originally Posted by EagleNick (Post 1801359)
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 05-18-2009 11:12 AM

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 05-19-2009 08:04 PM

Ok, resolved to myself :)

Thanks anyway! bye

GSeybold 09-10-2009 09:56 AM

Excellent Mods. Thank you. Worked like a charm. :up:

Cybershaolin 09-10-2009 01:59 PM

Could I get the code for normal postbit?

Very nice hack! :)

kmohamed 09-10-2009 04:08 PM

tagged for later use
thanx

NeroSoft 09-10-2009 05:33 PM

Thanks


In arabic
Code:

            <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 09-18-2009 06:12 PM

Thats the cleanest postbit ive seen yet. has this been released?

vnairp11 09-24-2009 01:59 PM

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 09-27-2009 12:54 PM

Quote:

Originally Posted by VonDoom (Post 1887129)
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 02-14-2010 06:27 PM

Quote:

Originally Posted by EagleNick (Post 1891297)
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 02-15-2010 05:56 AM

Quote:

Originally Posted by Thelonius Beck (Post 1982334)
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 02-18-2010 06:17 AM

Thanks, very working...

Thelonius Beck 02-22-2010 09:07 PM

Quote:

Originally Posted by RobbieZ (Post 1982685)
There's a real desire :D

Here you go then.

https://vborg.vbsupport.ru/showthread.php?t=236623

RapBesk 02-28-2010 04:30 PM

Thank you.

EagleNick 02-28-2010 11:44 PM

Quote:

Originally Posted by Thelonius Beck (Post 1989128)

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 03-02-2010 07:31 PM

Thanks for this :)

Silencer Groans 03-04-2010 11:51 PM

Thanks

farazfaraz 11-24-2010 06:21 PM

برای فارسی نویس ها و عربی نویس ها.


PHP Code:

<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



All times are GMT. The time now is 07:08 PM.

Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.

X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.02006 seconds
  • Memory Usage 1,862KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (8)bbcode_code_printable
  • (1)bbcode_php_printable
  • (14)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (1)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (40)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • printthread_start
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete