vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   Modification Graveyard (https://vborg.vbsupport.ru/forumdisplay.php?f=224)
-   -   Mini Mods - BT - Memberinfo recent visitors [avatar + usergroup title] (https://vborg.vbsupport.ru/showthread.php?t=241194)

BlackThorn 04-23-2010 10:00 PM

BT - Memberinfo recent visitors [avatar + usergroup title]
 
Please ain't forget: If your IMAGEPATH(s) ON FTP, THEN THIS MOD DOESN'T WORK!
Please ain't forget: Your imagepath(s) must be at the SQL (DB)
Please ain't forget: NOAVATAR.GIF doesn't work yet. You can upload it if which one member ain't have an avatar.
Please ain't forget: If its okay for you, then please remember to mark as installed.

Step1: Open your memberinfo_block_recentvisitors template, all codes replace with;

PHP Code:

<div class="visitors">
    <
h5 class="blocksubhead smaller">{vb:rawphrase recent_visitors}</h5>
    <
div class="blockbody">
        <
div class="blockrow">
            <
div class="meta">
                {
vb:rawphrase last_x_visitors, {vb:raw block_data.visitorcount}}
            </
div>
<
td class="alt2" height="180px" padding="3px">
<
div class="alt1Active" style="border:0px solid #999999; padding:1px; height:180px; width:auto; overflow:auto">
            <
ol class="commalist">
                {
vb:raw block_data.visitorbits}
            </
ol>
</
div></td>
            <
span class="totalvisits">{vb:rawphrase this_page_has_x_visits, {vb:raw prepared.profilevisits}}</span>
        </
div>
    </
div>
</
div

Step2: Open your memberinfo_visitorbit template, all codes replace with;

PHP Code:

<table class="tborder" cellpadding="6" cellspacing="1" border="0" width="auto">
<
td class="tborder" width="10%" align="center">
<
img height="30px" width="30px" class="inlineimg" src="image.php?u={vb:raw user.userid}&dateline={vb:raw user.dateline}" border="0" /></td>
<
td class="alt1" width="80%">
{
vb:stylevar dirmark}&nbsp;<class="username" href="{vb:link member,{vb:raw user}}">{vb:raw user.musername}</a>{vb:raw user.invisiblemark}{vb:raw user.buddymark}<br />
<
small>&nbsp;{vb:raw user.displaygrouptitle}</small></td></table

Step 3: IF YOU USE BLOG, THEN open your blog_sidebar_user_block_visitors template and all codes replace with;

PHP Code:

<vb:if condition="$sidebar['visitorbits']">
<
li id="block_visitors">
    <
div class="block" <vb:if condition="$show['moveable']">id="block_visitors_div"</vb:if>>
        <
div class="blocksubhead" id="block_visitors_handle">
            <
a href="#top" id="collapse_c_blog_visitors" class="collapse"><img id="collapseimg_blog_visitors" src="{vb:stylevar imgdir_button}/collapse_40b{vb:raw vbcollapse.collapseimg_blog_visitors}.png" alt="" border="0" /></a>
{
vb:rawphrase recent_visitors}
        </
div>
        <
div class="blockbody" id="c_blog_visitors">
            <
div class="blockrow">
<
td class="alt2" height="180px" padding="3px">
<
div class="alt1Active" style="border:0px solid #999999; padding:1px; height:180px; width:auto; overflow:auto">
                
<
ul id="recent_visitors_list" class="commalist">{vb:raw sidebar.visitorbits}</ul></div></td>
            </
div>
        </
div>
    </
div>
    <
div class="underblock"></div>
</
li>
</
vb:if> 

Step 4: open your forumhome.css and vbulletin.css template and add this codes the bottom (under the end) of codes;

PHP Code:

.tborder
{
    
background#F0F2FA;
    
color#000000;
    
border1px solid #989898;
}
.
tcat
{
    
background#F2F2F2  url(images/buttons/newbtn_middle.png) repeat-x top left;
    
color#333333;
    
fontbold 11px verdanagenevalucida'lucida grande'arialhelveticasans-serif;
    
padding:8px 6px 7px 6px;
}
.
tcat a:link, .tcat_alink
{
    
color#333333;
    
text-decorationnone;
}
.
tcat a:visited, .tcat_avisited
{
    
color#333333;
    
text-decorationnone;
}
.
tcat a:hover, .tcat a:active, .tcat_ahover
{
    
color#FF4400;
    
text-decorationunderline;
}
.
thead
{
    
background#F2F2F2 url(images/buttons/newbtn_middle.png) repeat-x top left;
    
color#333333;
    
fontbold 11px tahomaverdanagenevalucida'lucida grande'arialhelveticasans-serif;
    
border-bottom:1px solid #8f95bf;
}
.
thead a:link, .thead_alink
{
    
color#333333;
}
.
thead a:visited, .thead_avisited
{
    
color#333333;
}
.
thead a:hover, .thead a:active, .thead_ahover
{
    
color#FF4400;
}
.
alt1, .alt1Active
{
    
background#FBFBFD;
    
color#000000;
        
}
.
alt2, .alt2Active
{
    
background#F0F2FA;
    
color#000000;
        



Sweeks 04-24-2010 07:49 PM

Will this mod be made to work with them in the filesystem in the future BT? :)

BlackThorn 04-24-2010 07:58 PM

Quote:

Originally Posted by Sweeks (Post 2026684)
Will this mod be made to work with them in the filesystem in the future BT? :)

Ummm, I ain't sure :)

southie 09-27-2010 02:00 AM

i couldnt find my forumhome.css or vbull.css files anywhere

southie 09-29-2010 03:00 AM

nm i found it haha, works good marked as installed, think you can do one for the friends list being above the vistitor , friends and about me tab ? instead of it being on the side bar?

BlackThorn 09-29-2010 05:32 AM

Quote:

Originally Posted by southie (Post 2104478)
nm i found it haha, works good marked as installed, think you can do one for the friends list being above the vistitor , friends and about me tab ? instead of it being on the side bar?

Ummm, could you show me a demo?

southie 09-30-2010 04:20 AM

<a href="https://vborg.vbsupport.ru/showthread.php?t=184411&highlight=myspace+vbtube" target="_blank">https://vborg.vbsupport.ru/showt...myspace+vbtube</a> thats the best i can do, i would just use this mod but its not for vb4.0x

BlackThorn 09-30-2010 09:24 AM

Quote:

Originally Posted by southie (Post 2104925)
https://vborg.vbsupport.ru/showthrea...myspace+vbtube thats the best i can do, i would just use this mod but its not for vb4.0x

Ummm yep. I did think it 1 month ago but I didn't coding that yet but I will think again... In fact, this is not useful because vBulletin profiles like that mod.


All times are GMT. The time now is 01:25 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.01538 seconds
  • Memory Usage 1,783KB
  • 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
  • (4)bbcode_php_printable
  • (3)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (8)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
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete