vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.0 Full Releases (https://vborg.vbsupport.ru/forumdisplay.php?f=33)
-   -   Welcome Panel v1.0 (https://vborg.vbsupport.ru/showthread.php?t=63228)

Hh75 09-21-2004 09:25 PM

thank you. very nice. Installed in Testvb. :nervous:

khaleel 10-15-2004 11:14 AM

fantastic *installs* thanks mate

Chadi 10-16-2004 02:25 AM

how do I make the font size smaller?

Chadi 10-17-2004 03:58 PM

Anyone know how to make the font smaller in the panel?

Chadi 10-19-2004 03:15 AM

Can someone please help?

sv1cec 10-19-2004 06:28 AM

Quote:

Originally Posted by chadi
how do I make the font size smaller?

Use

PHP Code:

<td class="smallfont"

This is off my head, but it will give you small fonts, where you use it.

rgds

Spookysalem 10-19-2004 10:53 AM

Thanks for this. Works a treat

clicks installed

JKeats 12-23-2004 05:02 AM

i posted a question here - https://vborg.vbsupport.ru/showthrea...309#post585309

but realise now that i'm using this code... not that.

just wondering if there's a way i could make it so that my new posts counter doesn't include posts from froums a user doesn't have permission to view? thanks for the info.

ArtemisL 12-25-2004 09:13 PM

Ths is fantastic... have it installed on my forum!! :up:

Thanks for creating it, :classic:
Artemis

Barto 01-11-2005 10:59 AM

have it some problem whit vb 3.0.4 ?

BKD 02-26-2005 03:24 PM

<Bump>

Updated to vb 3.0.6 (or was it 3.0.7) and the changes made to the index.php cause a blank screen. Template for the box is fine , just the index changes not working.

JAYEMULE 03-12-2005 11:40 PM

Does this Hack work on VB 3.0.7 ?

would love to use it if it does.

Jaye

sv1cec 03-13-2005 04:39 AM

Yes, it does.

kenji4861 03-13-2005 05:02 AM

Worked out beautifully on my forum. The instruction forgets to say where to upload the noavatar.gif, but it's pretty self explanatory. Thanks for the good work!

biggkay 03-21-2005 04:15 AM

Two quick questions.
1. How I make the font smaller to everything matches?
2. How do I change Welcome to our newest member, to Newest Member?

mholtum 03-21-2005 04:47 AM

This ROCKS and installed like a charm! Thanks!

intrigue 03-21-2005 01:20 PM

works a treat thanks ZT
.matt

jungleb0y 03-28-2005 05:29 PM

Anyone know what needs to be done to integrate the welcome message into photopost?

I imagine all I would need to do is edit the template but uhhh dunno which template...

Thanks

Snake 04-06-2005 06:53 AM

Hey Scot, I have the spiders mod installed on my board and this is how it shows my welcome panel.

Quote:

Users Online: 2
2 members and 0 guests and [ARG:3 UNDEFINED] spiders
Most users ever online was 312, 04-04-2005 at 11:15 PM.
You last visited: Today at 10:29 AM
My forums: http://www.rpginsider.com/forums

User/pass: test/test

mkdevo 04-07-2005 12:33 AM

Quote:

Originally Posted by sv1cec
I also installed it, but I didn't like the way the various elements of the hack were spread around (no pan intended, I just prefer things in a different way), so I took the time to modify things a bit.

First, I added a profile field, where users can select if they want the welcome panel shown or not. Then I created a template called welcome_panel, where I moved all the presentation things, from the index.php. I left the queries there only. Finally, I modified my FORUMHOME to present the template, if the user has selected it in its Profile.

Click here to see how my welcome panel looks:

If someone is interested, I could post the code here.

sv1cec - is this offer still open? i'd love to use your version of this.. please let me know. thanks!

Benj 04-13-2005 10:51 AM

how would i resize the avatar so its say 50 x 50 ???

biggkay 04-19-2005 11:29 PM

Quote:

Originally Posted by biggkay
Two quick questions.
1. How I make the font smaller to everything matches?
2. How do I change Welcome to our newest member, to Newest Member?

Anyone??

biggkay 05-04-2005 12:04 AM

I guess there's not support for this hack anymore.

biggkay 05-11-2005 11:21 PM

I have managed to dabble in the code a bit and changed it to the way it is now. How can I move left "newusername" so it's aligned with total members' #. Also how can I change so that the "Newest Member" stays bold but not the actual member name?

This is the template code that I have.

Code:

<!-- Welcome Panel v1.0 :: Created By Zero Tolerance -->
<table class="tborder" cellpadding="6" cellspacing="1" border="0" width="100%" align="center">
<thead>
<tr>
<td class="tcat" colspan="3"><a style="float:right" href="#top" onclick="return toggle_collapse('forumhome_welcome_panel')"><img id="collapseimg_forumhome_welcome_panel" src="$stylevar[imgdir_button]/collapse_tcat.gif" alt="" border="0" /></a><div align='center'><b>{$welcome_message}</b></div></td>
</tr>
</thead>
<tbody id="collapseobj_forumhome_welcome_panel" style="">
<tr>
<!-- Main Welcome Panel Block :: Begin -->
        <td class='alt1' width='1%'>
        <!-- Avatar Cell :: Begin -->
        {$welcome_avatar}
        <!-- Avatar Cell :: End -->
        </td>

        <td class="smallfont" class='alt2' width='55%' valign='top'>
        <!-- Forum Quick Stats :: Begin -->
        {$welcome_intro}
        <table width='100%' cellspacing='0' cellpadding='0' valign='bottom'><tr><td width='50%' valign='bottom'>
                <table width='100%' cellspacing='1' cellpadding='1' valign='bottom'><tr>
                <td width='85%'>
        {$welcome_topics}
                </td></tr>
                <tr><td width='85%'>
        {$welcome_posts}
                </td></tr>
                </table>
        </td>
        <td valign='top'>
                <table width='100%' cellspacing='1' cellpadding='1'  valign='bottom'><tr>
                <td width='85%' colspan=''>
        <b><phrase 1="member.php?$session[sessionurl]u=$newuserid" 2="$newusername">$vbphrase[newest_member_x]</phrase></b>
                </td></tr>
                <tr><td width='85%'>
        {$welcome_members}
                </td></tr>
                </table>
        </td></tr></table>
        <!-- Forum Quick Stats :: End -->
        </td>
                <if condition="$bbuserinfo[userid]!=0">
        <td class="smallfont" class='alt2'width='40%' valign='top'>
        <!-- User Stats :: Begin -->
                      <b>Users Online:</b> $totalonline<br />
                        <phrase 1="$numberregistered" 2="$numberguest" 3="$numberspiders">$vbphrase[x_members_and_y_guests]</phrase><br />
                        <phrase 1="$recordusers" 2="$recorddate" 3="$recordtime">$vbphrase[most_users_ever_online_was_x_y_at_z]</phrase><br />
                      <phrase 1="$pmbox[lastvisitdate]" 2="$pmbox[lastvisittime]">$vbphrase[last_visited_x_at_y]</phrase>
        <!-- User Stats :: End -->
        </td>
                </if>
<!-- Main Welcome Panel Block :: End -->
</tr>
</tbody>
</table>
<!-- Welcome Panel v1.0 :: Created By Zero Tolerance -->


csidlernet 08-13-2005 07:58 AM

/me whacks install

Zidane007nl 08-14-2005 02:06 PM

I've successfully installed the hack, it was easy.
But the total posts seem to be off. The Welcome Panel says 6,915 posts, but the statistics say 6,880. :confused:

mkdevo 08-14-2005 09:39 PM

Quote:

Originally Posted by Zidane007nl
I've successfully installed the hack, it was easy.
But the total posts seem to be off. The Welcome Panel says 6,915 posts, but the statistics say 6,880. :confused:

same here... any insight on this?

Zidane007nl 08-15-2005 02:57 PM

Okay, I figured it out. The difference in the total posts is because the Welcome Panel doesn't subtract the posts that were deleted by users. My forum has 6,999 posts now and 36 posts were deleted (deletionlog table). So my forum has 6,963 posts.

MRGTB 10-19-2005 10:13 PM

This is a great hack but I have noticed that when you collapse the module it doesn't stay collapsed when you re-fresh the page.

Here is the template fix for this:

Code:

<!-- Welcome Panel v1.0 :: Created By Zero Tolerance -->
<table class="tborder" cellpadding="6" cellspacing="1" border="0" width="100%" align="center">
<thead>
<tr>
<td class="tcat" colspan="3"><a style="float:$stylevar[right]" href="#top" onclick="return toggle_collapse('forumhome_welcome_panel')">
        <img id="collapseimg_forumhome_welcome_panel" src="$stylevar[imgdir_button]/collapse_tcat$vbcollapse[collapseimg_forumhome_welcome_panel].gif" alt="" border="0" /></a><div align='center'><b>{$welcome_message}</b></div></td>
</tr>
</thead>
<tbody id="collapseobj_forumhome_welcome_panel" style="$vbcollapse[collapseobj_forumhome_welcome_panel]">
<tr>
<!-- Main Welcome Panel Block :: Begin -->
        <td class='alt1' width='1%'>
        <!-- Avatar Cell :: Begin -->
        {$welcome_avatar}
        <!-- Avatar Cell :: End -->
        </td>

        <td class='alt2' width='55%' valign='top'>
        <!-- Forum Quick Stats :: Begin -->
        {$welcome_intro}
        <table width='100%' cellspacing='0' cellpadding='0' valign='bottom'><tr><td width='50%' valign='bottom'>
                <table width='100%' cellspacing='1' cellpadding='1' valign='bottom'><tr>
                <td width='85%'>
        {$welcome_topics}
                </td></tr>
                <tr><td width='85%'>
        {$welcome_posts}
                </td></tr>
                </table>
        </td>
        <td valign='top'>
                <table width='100%' cellspacing='1' cellpadding='1'  valign='bottom'><tr>
                <td width='85%' colspan='2'>
        <phrase 1="member.php?$session[sessionurl]u=$newuserid" 2="$newusername">$vbphrase[welcome_to_our_newest_member_x]</phrase>
                </td></tr>
                <tr><td width='85%'>
        {$welcome_members}
                </td></tr>
                </table>
        </td></tr></table>
        <!-- Forum Quick Stats :: End -->
        </td>
                <if condition="$bbuserinfo[userid]!=0">
        <td class='alt2' width='40%' valign='top'>
        <!-- User Stats :: Begin -->
                      <b>Users Online:</b> $totalonline<br />
                        <phrase 1="$numberregistered" 2="$numberguest">$vbphrase[x_members_and_y_guests]</phrase><br />
                        <phrase 1="$recordusers" 2="$recorddate" 3="$recordtime">$vbphrase[most_users_ever_online_was_x_y_at_z]</phrase><br />
                      <phrase 1="$pmbox[lastvisitdate]" 2="$pmbox[lastvisittime]">$vbphrase[last_visited_x_at_y]</phrase>
        <!-- User Stats :: End -->
        </td>
                </if>
<!-- Main Welcome Panel Block :: End -->
</tr>
</tbody>
</table>
<br/>
<!-- Welcome Panel v1.0 :: Created By Zero Tolerance -->


tuga-gsm 12-27-2005 09:27 PM

hi there :D:D:D

is this hack avaiable for version 3.5.0?

tks :D



edit: sorry.

got it here https://vborg.vbsupport.ru/showthread.php?t=83124

for version 3.5.0 rc2

should it work on 3.5.1?

R34GTT 01-06-2006 11:50 PM

Hi, I have just installed this as per the instructions, but im getting and error message saying there is something wrong with this line

$welcome_new_posts=$DB_site->query_first("select count(*) as new_posts from ".TABLE_PREFIX."post where dateline > '{$bbuserinfo['lastvisit']}'");

Any ideas? Also im using 3.5.2

Dan

MRGTB 01-07-2006 12:50 AM

Quote:

Originally Posted by R34GTT
Hi, I have just installed this as per the instructions, but im getting and error message saying there is something wrong with this line

$welcome_new_posts=$DB_site->query_first("select count(*) as new_posts from ".TABLE_PREFIX."post where dateline > '{$bbuserinfo['lastvisit']}'");

Any ideas? Also im using 3.5.2

Dan

Are you using vB 3.5, as this is for vB 3.0

R34GTT 01-07-2006 09:00 AM

that'll be why then, damn!

Is there annyway to mod it for 3.5?

MRGTB 01-07-2006 12:09 PM

Quote:

Originally Posted by R34GTT
that'll be why then, damn!

Is there annyway to mod it for 3.5?

I'm pretty sure I've already seen this ported over for vB 3.5 by Zero somewhere as a plug-in.

Look here: https://vborg.vbsupport.ru/showthrea...ighlight=panel

R34GTT 01-07-2006 02:56 PM

All sorted now thanks :D


All times are GMT. The time now is 01:38 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.01608 seconds
  • Memory Usage 1,825KB
  • 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
  • (2)bbcode_code_printable
  • (1)bbcode_php_printable
  • (7)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (1)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (35)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
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete