PDA

View Full Version : Mini Mods - BT - Memberinfo recent visitors [avatar + usergroup title]


BlackThorn
04-23-2010, 10:00 PM
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;

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

<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;<a 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;

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

.tborder
{
background: #F0F2FA;
color: #000000;
border: 1px solid #989898;
}
.tcat
{
background: #F2F2F2 url(images/buttons/newbtn_middle.png) repeat-x top left;
color: #333333;
font: bold 11px verdana, geneva, lucida, 'lucida grande', arial, helvetica, sans-serif;
padding:8px 6px 7px 6px;
}
.tcat a:link, .tcat_alink
{
color: #333333;
text-decoration: none;
}
.tcat a:visited, .tcat_avisited
{
color: #333333;
text-decoration: none;
}
.tcat a:hover, .tcat a:active, .tcat_ahover
{
color: #FF4400;
text-decoration: underline;
}
.thead
{
background: #F2F2F2 url(images/buttons/newbtn_middle.png) repeat-x top left;
color: #333333;
font: bold 11px tahoma, verdana, geneva, lucida, 'lucida grande', arial, helvetica, sans-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
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
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
https://vborg.vbsupport.ru/showthread.php?t=184411&highlight=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.