PDA

View Full Version : shoutbox/chatbox light template mod


SCORPION1
06-21-2006, 10:00 PM
This is my first attemp at anything like this and is working fine on my board
I would like to say thanx to

Otikeu-Welcome Panel w/ChatBox Lite v1.0

King Kovifor-Welcome Panel Template Rewrite v2.1

Dream-Chatbox Lite

this is part of all there work put together that as giving me the chance to do this

What does it do?

This is a template change of the welcome panel w/chatbox Lite v1.0 instead of the forum stats i have put the members avatar and private message code inplace and kept the newest member code.
Another change i have done is moved the welcome_member to where the statistics was
i have also removed the what going on/who as visted-who is online ect
i have not put a screen shot up.
But this is visable to all members of

www.vaultsecrets.com/forum/index.php

you will need to install these for this to work

chatbox lite
https://vborg.vbsupport.ru/showthread.php?t=92537&highlight=shout

Welcome Panel Template Rewrite v2.1
https://vborg.vbsupport.ru/showthread.php?t=100672
please read instructions and text before installing any of these hacks

I did not install any of the template changes to chatbox lite
and i also cleared the forumhome/welcome panel template for this but this is upto yourself if you want to keep them this should also work on all vbulletin scripts

once you have installed these go to
admin cp/styles and templates/forumhome and copy this code under
&navbar

<if condition="$show['guest']">
<else />
<!-- Welcome Panel -->
<table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="100%" align="center">
<thead>
<tr>
<td class="tcat" colspan="2">
<div align="center"></div>
<strong>
<phrase 1="$bbuserinfo[username]">
<div align="center"><strong> We Are Waiting To hear From you so give us a shout </strong></div>
</phrase></td>
</tr>
</thead>
<tbody id="collapseobj_welcome_panel" style="$vbcollapse[collapseobj_welcome_panel]">
<tr>
<td class="thead" width="67%"><div align="center"><strong> Shoutbox </strong></div></td>
<td class="thead" width="33%"><div class="smallfont">
<strong><phrase 1="$bbuserinfo[username]">$vbphrase[welcome_x]</phrase></strong>&nbsp;</td>
</tr>
<tr>
<td rowspan="4" class="alt1">
<div class="smallfont" align="center">
<iframe src="chatbox_lite.php?nofocus=1" width="100%" frameborder="0" name="chatbox"> </iframe></div> </td>
<td class="alt2" valign="top" nowrap="nowrap">
<div class="smallfont">
<p align="center"><strong></strong><strong>
<phrase 1="$bbuserinfo[username]"> </phrase>
</strong>


<a href="profile.php?{$session[sessionurl]}do=editavatar">{$bbuserinfo['avatar_build']}<if condition="$bbuserinfo['pmunread']">
</a>
</if>
<phrase 1="$pmbox[lastvisitdate]" 2="$pmbox[lastvisittime]"></phrase>
<if condition="$show['pmstats']">
<br />
<phrase 1="$vbphrase[unread_x_nav_compiled]" 2="$vbphrase[total_x_nav_compiled]" 3="$session[sessionurl_q]"> </phrase>
<p>
<phrase 1="$vbphrase[unread_x_nav_compiled]" 2="$vbphrase[total_x_nav_compiled]" 3="$session[sessionurl_q]">
<div align="center">$vbphrase[private_messages_nav]</div><div align="center"><br />
<b>Newest Member:</b> $newusername
</phrase>
<p>
</div>
</div>
</if>
<div align="center"></a>
</div></td>
</div>
</tr>
</if>
</table>
<!-- / Welcome Panel -->
</if>
<br>

thats it hope you enjoy and like

R.Solutions
06-22-2006, 10:54 PM
Not bad, thinkin about it.

Ntfu2
06-23-2006, 03:29 AM
screen shot for us non members of your site please

SCORPION1
06-23-2006, 06:15 AM
screen shot for us non members of your site please
i am going to try and sort one out today but not the easy when you have a little one running around your feet all day lol but will get it sorted:D

SCORPION1
06-23-2006, 10:44 AM
i have added some screenshots now i know there not the best but you should get the idea
i am wondering how you lot are doing screenshots if you can help

drp100
06-23-2006, 02:05 PM
if you press printscreen button, then you can paste into photoshop or word etc

RFViet
06-23-2006, 06:47 PM
Can it be seen from all pages ??

SCORPION1
06-24-2006, 12:07 AM
Can it be seen from all pages ??
the shoutbox works and the private message notice works on all pages but this will not show the avatar on all pages at the moment