When you say:
/*=======================================================*\\
| Step Two - Template Modification - index
\\*=======================================================*/
Find:
$welcomeguest
</table>
And under it add:
$welcomepanel
What file doo you mean? The template style file?
Dont worry, I found what you mean, in the Admin CP right?
Its a bit too wide.. Ill just change it..
Now heres the finished thing!
http://www.gamesnetuk.co.uk/forums.php
Hmm.. now is there a way to get rid of those black lines?
Yeah that's what I meant.
Sorry, I don't know what you've done.
Show me your code.
All I really did was change the width and to center it... well here it is in index_welcomepanel:
<center><table cellspacing="0" cellpadding="0" border="0" width="95%" align="center">
<tr>
<td class="tborder">
<table border="0" cellspacing="1" cellpadding="4" width="95%">
<tr>
<td class="thead" colspan="3"><b>Welcome</b></td>
</tr>
<tr>
<td class="tcat" colspan="3"><b>Information Center</b></td>
</tr>
<tr>
<td class="trow1" valign="top">
<img src="$mybbuser[avatar]" />
</td>
<td class="trow2" valign="top">
Welcome Back: <b>$mybbuser[username]</b><br />
<b><u>Your Stats</u></b><br />
User ID: $mybbuser[uid]<br />
Posts: $mybbuser[postnum]<br />
Title: $mybbuser[usertitle]<br />
Registered Email: <a href="mailto:$mybbuser[email]">$mybbuser[email]</a>
</td>
<td class="trow1" valign="top">
<b><u>Board Stats</b></u><br />
Members: $panelstats[users]<br />
Threads: $panelstats[threads]<br />
Posts: $panelstats[posts]<br />
Registrations: $panelstats[regs]<br />
Newest Member: $panelstats[newmember]<br />
</td>
</tr></table>
</td></tr></table>
<br />
Well thats it ?:/
I had a quick look at the pages source html (using FrontPage) and fixed the problem by changing a few width values. Try changing the first four lines of the index_welcomepanel template to this...
<center><table cellspacing="0" cellpadding="0" border="0" width="90%" align="center">
<tr>
<td class="tborder">
<table border="0" cellspacing="1" cellpadding="4" width="100%">
Not a problem.
Well, this again came in useful, BTW.. it works in RC3, with a few choice modifications!
Yeah, you will probably find that most modifications will work with any version of myBB, as the code doesn't always change that much. It just takes a few template modifications to make them fully compatible. I'm sure Ryan will work on this when he gets chance.
Heh well, I found one slight bug, the stats dont show correctly... the number of posts is 0...