PDA

View Full Version : Welcome Panel


AN-net
06 Feb 2004, 17:19
Ok my original thread went missing, so here it is.

Description:
Welcome both users and guests on your forum with an organized table and style.

Credits:
To Tungsten for Avatar on Forum Home Hack

Demo:
http://www.animationation.net (http://www.animationation.net/)

edit:
screenshots added!

Zachery
06 Feb 2004, 17:39
We DO NOT allow file based hacks here. Sorry :)

If you can remake your mod with out file hacks you can reattach it withing 24~ hours

AN-net
06 Feb 2004, 19:26
no prob ill fix it;)

Edit:
instructions editied!

Zachery
06 Feb 2004, 19:49
Thanks :) it looks nice, can you give us a screen to if it wouldnt be too much trouble?

Tony G
06 Feb 2004, 22:56
The screenshots for his mod are in the first post, it's exactly the same.

I moved your instructions back to the first post, nice mod. :)

Zachery
06 Feb 2004, 23:02
They werent there originally ;)

AN-net
06 Feb 2004, 23:16
sry i added the screenshots after farnath said that;)

Ryan Ashbrook
07 Feb 2004, 02:22
Hey this is a nice mod but I was just wondering. I had, in my what's going on box, users that had visited so far this day. I added the hack thinking I'd be able just to stickit on at the end, however whenever I try I get some kind of error, is there anyway around this?

AN-net
07 Feb 2004, 02:54
what kind of errors do you get?

give the code u added and i can recode it around to fit into the panel correctly;)

AN-net
07 Feb 2004, 03:15
are you getting an error saying:
error expecting:
')' on line 53
or around that line #?

HiDeo
07 Feb 2004, 12:24
Very goof taff

Ryan Ashbrook
10 Feb 2004, 21:15
are you getting an error saying:
error expecting:
')' on line 53
or around that line #?

No, that isn't the error.

This is the text I want to add

$todayloggedinusers
</if>
<tbody>
<tr>
<td class="thead" colspan="2">
<a style="float:$stylevar[right]" href="#top" onclick="return toggle_collapse('forumhome_stats')"><img id="collapseimg_forumhome_stats" src="$stylevar[imgdir_button]/collapse_thead$vbcollapse[collapseimg_forumhome_stats].gif" alt="" border="0" /></a>
<phrase 1="$vboptions[bbtitle]">$vbphrase[x_statistics]</phrase>
</td>
</tr>
</tbody>
<tbody id="collapseobj_forumhome_stats" style="$vbcollapse[collapseobj_forumhome_stats]">
<tr>
<td class="alt2">&nbsp;</td>
<td class="alt1" width="100%">
<div class="smallfont">
<div>$vbphrase[threads]: $totalthreads, $vbphrase[posts]: $totalposts, $vbphrase[members]: $numbermembers</div>
<div><phrase 1="member.php?$session[sessionurl]u=$newuserid" 2="$newusername">$vbphrase[welcome_to_our_newest_member_x]</phrase></div>
<if condition="$maxposter[userid]"><div><phrase 1="member.php?$session[sessionurl]u=$maxposter[userid]" 2="$maxposter[username]">$vbphrase[most_active_user_in_forums]</phrase></div></if>
</div>
</td>
</tr>
</tbody>


this comes just before the birthdays on the "what's going on box" so I figered I'd just stick that in there welcome panel just above birthdays. that's when I get this:

Parse error: parse error, expecting `T_STRING' or `T_VARIABLE' or `T_NUM_STRING' in /home/terra/public_html/tgp/forums/includes/adminfunctions_template.php(3014) : eval()'d code on line 327

And now I'm confused because I'm still newbie.
Thanks for helping :)

AN-net
10 Feb 2004, 22:18
its alrdy in the welcome panel from the looks of the code in the instruct file:

<tbody>
<tr>
<td class="thead" colspan="2">
<a style="float:$stylevar[right]" href="#top" onclick="return toggle_collapse('forumhome_stats')"><img id="collapseimg_forumhome_stats" src="$stylevar[imgdir_button]/collapse_thead$vbcollapse[collapseimg_forumhome_stats].gif" alt="" border="0" /></a>
<phrase 1="$vboptions[bbtitle]">$vbphrase[x_statistics]</phrase>
</td>
</tr>
</tbody>
<tbody id="collapseobj_forumhome_stats" style="$vbcollapse[collapseobj_forumhome_stats]">
<tr>
<td class="alt2">&nbsp;</td>
<td class="alt1" width="100%">
<div class="smallfont">
<div>$vbphrase[threads]: $totalthreads, $vbphrase[posts]: $totalposts, $vbphrase[members]: $numbermembers</div>
<div><phrase 1="member.php?$session[sessionurl]u=$newuserid" 2="$newusername">$vbphrase[welcome_to_our_newest_member_x]</phrase></div>
</div>
</td>
</tr>
</tbody>

Dan
23 Feb 2004, 23:32
nice mod :D

xleu
31 Mar 2004, 02:20
i take it thx a lot ;)

imported_Blindchild02
05 Sep 2004, 17:33
is there a way to change the words - No Avatar Specified, to an image?

Mike Bucy
10 Sep 2004, 17:34
I have just installed this welcome panel in my new install of VB3.0.3 usinging your instructions to the letter. In fact I've do it 3 times. I loose all the forums formating and have the top of the forums above the welcome panel..

Here is a copy if forumhome:

Mike Bucy
10 Sep 2004, 18:25
OK I see what happened. You need to edit instructions to put ---Welcome Panel--- After $navbar.

Nice Welcome Panel!!!!!