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.


All times are GMT. The time now is 11:39 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.01218 seconds
  • Memory Usage 1,749KB
  • 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
  • (3)bbcode_code_printable
  • (3)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (2)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)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