Log in

View Full Version : Welcome Panel [Final]


Pages : 1 [2]

RCK
07-15-2002, 02:00 PM
Use this code in your second SQL request:
$getnewpost=$DB_site->query_first("SELECT count(*) AS posts FROM post,thread WHERE post.dateline > '$bbuserinfo[lastvisit]' and thread.threadid=post.threadid and thread.forumid <> '21' and thread.forumid <> '19'");

Ian Emu-UK
07-15-2002, 06:25 PM
Thanks, that fixed it:D

king sting
07-18-2002, 07:39 PM
this hack kicks ass man! thanx alot!

EA Junkie
07-20-2002, 03:02 AM
[QUOTE]In the template forumhome_welcometext find:

trilOByte
07-20-2002, 04:17 AM
It's in the "Forum Home Page Templates"

Forum Home Page Templates [expand]>>forumhome_welcometext [edit]

veedee
07-21-2002, 02:42 PM
Hiya

I'm running 2.2.6 I want to install this but I have about 5 themes/styles.

When I come to upgrade to say 2.2.7 will I have a lot of work to do?

Regards,

veedee

carpman
07-26-2002, 12:38 PM
Hello, is it possible to put the welcome panel in the P_themeheader template of VBportal?

I would like to have the welcome panel display in P_themeheader template as will allow users to see information when the visit VBP front page and the forums.

great hack by the way :cool:

Reverend
08-19-2002, 03:07 PM
In the top bar of the panel where it says "Welcome" what code do i need to add so that when a member logs in it says
"Welcome Back,(username)".

And for a guest visitor it says "Welcome,Guest"

Hope that makes sense. :ermm:

trilOByte
08-19-2002, 03:58 PM
Welcome $username

trilOByte
08-19-2002, 04:02 PM
[QUOTE]Originally posted by carpman
Hello, is it possible to put the welcome panel in the P_themeheader template of VBportal?

I would like to have the welcome panel display in P_themeheader template as will allow users to see information when the visit VBP front page and the forums.

great hack by the way :cool:

carpman
08-19-2002, 04:16 PM
[QUOTE]Originally posted by trilOByte


You can put whatever you like in the p_themeheader, but much of the code will need to be changed. The avatar part wont work, but there are alternative which work a little differently.

To answer your question, if you just place the welcomepanel code into p_themeheader without any changes, no it wont work.

Reverend
08-19-2002, 05:52 PM
[QUOTE]Originally posted by trilOByte
Welcome $username

trilOByte
08-19-2002, 07:18 PM
So you want to add the word "back" into the welcome statement, if the user is a member?

So instead of ...

Welcome user1234
Welcome

You want...

Welcome back user1234
Welcome guest

Yes, it's possible, I think you need to create a new $var though, some code hacking and a couple of new template options, one for each option. Seems like a lot of trouble for a simple syntax preference. It would need to be something along the lines of a new $welcometext and new $unregwelcomemessage, so two new templates at least.

Though there might be an easier option, I honestly dont know.

Reverend
08-19-2002, 08:11 PM
Yeah i think i'll just add

"Welcome Back username" (for logged in members)

And just leave it as

"Welcome" (for guests.)

Seems a lot simpler.

Thanks trilOByte. ;)

trilOByte
08-19-2002, 08:40 PM
OK, I think this works.....

Open forum/index.php (make a backup copy) and find....

forumhome_pmloggedin,forumhome_welcometext,

Replace that with....

forumhome_pmloggedin,forumhome_welcometext,forumho me_newwelcometext,forumhome_newunregmessage,


Find...


// if user is know, then welcome
if ($bbuserinfo['userid']!=0) {
$username=$bbuserinfo['username'];

Immediately above that add....


// New Welcometext Addition.
if ($bbuserinfo['userid']!=0) {
$username=$bbuserinfo['username'];
eval("\$newwelcometext = \"".gettemplate('forumhome_newwelcometext')."\";");
} else {
$welcometext = "";
}


Find...

$unregwelcomemessage='';
if ($bbuserinfo['userid']==0) {
eval("\$unregwelcomemessage = \"".gettemplate('forumhome_unregmessage')."\";");
}


Below that add...


// New Unregelcometext Addition.
$newunregwelcomemessage='';
if ($bbuserinfo['userid']==0) {
eval("\$newunregwelcomemessage = \"".gettemplate('forumhome_newunregmessage')."\";");
}


Clse and save index.php

Open your templates and add a new template called...

forumhome_newunregmessage

Inside that put....

<b>Guest</b>

Add another template caqlled...

forumhome_newwelcometext

Inside that put....

back, <b>$username</b>

Then go to the forumhome template, locate the "WelcomePanel"

Find where it says Welcome and replace it with...

Welcome $newwelcometext $newunregwelcomemessage

That should do it.

I must say, it's a lot of trouble for a simple syntax modification.

Reverend
08-19-2002, 09:23 PM
Yep that works perfect.Thanks.

I know it seems like a lot of trouble for a simple modification,but i think it gives members or guests a more welcoming and personal greeting.
I actually saw it on a welcome panel hack for another bulletin board software.

trilOByte
08-19-2002, 11:37 PM
[QUOTE]Originally posted by Reverend

I actually saw it on a welcome panel hack for another bulletin board software.

michealo
08-23-2002, 07:47 PM
great hack, works like a charm!

Tony DiMera
08-24-2002, 01:42 AM
Great hack. BTW is thereanywayto have this appear on my homepage and link it to my vb as well

carpman
08-24-2002, 07:13 AM
[QUOTE]Originally posted by Tony DiMera
Great hack. BTW is thereanywayto have this appear on my homepage and link it to my vb as well

Tony DiMera
08-24-2002, 08:49 PM
Hopefully trilOByte can tell us how.

NTLDR
08-24-2002, 09:13 PM
[QUOTE]Originally posted by carpman
i would love to have it work in vbportal :)

Tony DiMera
08-24-2002, 09:59 PM
How could I put it on my Non vB homepage

NTLDR
08-24-2002, 10:07 PM
[QUOTE]Originally posted by Tony DiMera
How could I put it on my Non vB homepage

Tony DiMera
08-24-2002, 11:53 PM
php is what I use

carpman
08-25-2002, 09:17 AM
[QUOTE]Originally posted by NTLDR


All you need to do is add the PHP code to the PHP file for your home page and add the HTML to the hompage's template.

grace819
08-26-2002, 08:44 AM
I tried following the instructions here but I still can't find a way to install the hack since I don't know how to access/open the index.php file. :( Can anyone tell me how to do this? Thanks again for your time.

Tony DiMera
08-26-2002, 07:51 PM
*bump*

trilOByte
08-26-2002, 08:50 PM
[QUOTE]Originally posted by grace819
I tried following the instructions here but I still can't find a way to install the hack since I don't know how to access/open the index.php file. :( Can anyone tell me how to do this? Thanks again for your time.

trilOByte
08-26-2002, 08:52 PM
[QUOTE]Originally posted by Tony DiMera
How could I put it on my Non vB homepage

Tony DiMera
08-27-2002, 12:02 AM
Thank anyway

trilOByte
08-27-2002, 02:53 AM
Take a look at the hack vB Index v2.0 (https://vborg.vbsupport.ru/showthread.php?s=&threadid=41916&perpage=15&display=&pagenumber=1).

It's a non vB index page for your site and has the welcome panel built into it. If you dont want to use the whole hack, you may be able to strip out what you need with some trial and error and a little php knowledge.

That's the best I can do.

It's a nice hack too.

JCFN TeK gEEk
08-30-2002, 08:18 PM
hey.. i luv this hack, it's awesome.. however, ever since I done the hack.. I get this whacky error


[QUOTE]vel$depth$tempext")."\";"); if ($depth<$forumhomedepth) { $forumbits.=makeforumbit($forum['forumid'],$depth+1,$forumperms); } } // END if can view } // END while ( list($key2,$forum)=each($val1) ) { } // END while ( list($key1,$val1)=each($iforumcache["$forumid"]) ) { unset($iforumcache["$forumid"]); return $forumbits; } if (!isset($forumid) or $forumid==0 or $forumid=='') { $forumid=-1; } else { // need to get permissions for this specific forum $permissions=getpermissions(intval($forumid)); } $forumbits=makeforumbit(intval($forumid), 1, $permissions); $unregwelcomemessage=''; if ($bbuserinfo['userid']==0) { eval("\$unregwelcomemessage = \"".gettemplate('forumhome_unregmessage')."\";"); } eval("dooutput(\"".gettemplate('forumhome')."\");"); ?>

trilOByte
08-30-2002, 08:48 PM
Reapply the hack! Be very careful to cover every step in the instructions precisely.

JCFN TeK gEEk
08-30-2002, 09:01 PM
*sigh* i have done it several times.. do you think I could just send you my index.php file? maybe you can over look it, and tell me if its okay? cuz i'm really lost @ this point!! :bored:

trilOByte
08-30-2002, 10:27 PM
what version of vBulletin are you running?

JCFN TeK gEEk
08-30-2002, 10:30 PM
the latest one.. 2.2.7

trilOByte
08-30-2002, 10:34 PM
That worries me. I havent heard off anyone who has installed this successfully on 2.2.7 yet. The last confirmed problem free version was 2.2.6!

JCFN TeK gEEk
08-30-2002, 10:37 PM
hehe.. well this is the thing, it happen before I even upgraded.. on 2.2.6 :(

N9ne
08-30-2002, 10:37 PM
It should work with 2.2.7, ill install it on my test board now to check if u like

N9ne
08-30-2002, 10:38 PM
ill only install on my 2.2.7 if you want me to tril0byte

JCFN TeK gEEk
08-30-2002, 10:39 PM
tril0bye thats why im saying, maybe you can take a look @ my index.php file?

trilOByte
08-30-2002, 11:15 PM
Thanks Rock, hold fire on that install. This should work with 2.2.7 unless there have been some *major* changes. As I understand it, it's a fairly minor release, just security plugs and bug fixes. I'm thinking JCFN has either made an error or has some conflict with something else.

JCFN, before that, re-check your template modifications. I cant look at your file tonight, it'll be at least 24hrs before I can get near it.

asweetdeal
08-31-2002, 05:11 AM
love the hack and it works with vb 2.2.7 :D

JCFN TeK gEEk
08-31-2002, 01:59 PM
tril0bye, just letmme know when I can send ya over my modified php file. thanx in advanced!

Feanor
09-01-2002, 12:49 AM
Thanks a lot, first hack I installed! :)

JCFN TeK gEEk
09-02-2002, 07:07 PM
tril0bye, anyword, when i can shoot the file over to you?

FleaBag
09-03-2002, 01:18 AM
Working on 2.2.7, thanks. :)

Floris
09-03-2002, 03:35 AM
Yeah, upgraded yesterday. Works perfectly.

JCFN TeK gEEk
09-03-2002, 03:40 AM
yah. i got mine to work finally.. it works great :)

Baptizer
09-04-2002, 03:02 AM
Hello, I have two questions in regards to this WONDERFUL HACK! I got it to work properly, but:
1. how do i remove the login box from the bottom of the screen(no need for it there, considering there is one in the welcome panel).
2. my welcome panel is not the same length as my forum section(take a peak here: www.2darkpark.com/vbulletin ). I would like to get the length to equal that of the forum below it.


and last and very least(ignore this question if it is too difficult):
3. How exactly would i go about cojorning the 'whos online' to the bottom of the welcome panel(and also adding a 'whos online' gradient bar to make it look flush).

FleaBag
09-04-2002, 07:14 AM
With regard to moving the bottom login code box, remove the line " <td align="right">$logincode</td> " from your forumhome template.

TvNut
09-04-2002, 12:41 PM
great hack...I have 3 questions...

1. How can I remove the PM box from this hack...there is already one on the bottom of page....

2. How can I move Members: 80, Threads: 37, Posts: 174
Welcome to our newest member, whoever into the right box of this hack...

3. How can I remove All times are GMT -6 hours. The time now is 08:32 AM. Log Out | Mark All Forums Read | Forum Leaders
from the bottom of the page...

Thanks..I am new and trying to suck all this info in at once....

Baptizer
09-04-2002, 07:57 PM
THanks gamer! 1 answer is better than none! thanks again!

Baptizer
09-04-2002, 11:25 PM
Great hack..i got everything perfect me thinks!

RCK
09-04-2002, 11:42 PM
testing email poster function

----- Original Message -----
From: "vBulletin.org Forum Mailer" <post@vbhacks.com>
To: <webmaster@abime.net>
Sent: Monday, September 02, 2002 10:07 PM
Subject: Welcome Panel [Final]


> Hello RCK,
>
> JCFN TeK gEEk has just replied to a thread you have subscribed to
entitled - Welcome Panel [Final] - in the Full Releases forum of
vBulletin.org Forum.
>
> ~~~~~ NEW ~~~~~
> New at vBulletin.org!
> You can now reply to the thread by replying to this message. All you need
to do is to make sure this code appears in the e-mail subject:
>
> You should also remove this text to ensure your reply is readable by other
forum users.
> ~~~~~ NEW ~~~~~
>
> Here are the contents of the post:
> ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> tril0bye, anyword, when i can shoot the file over to you?
> ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
>
> This thread is located at:
> https://vborg.vbsupport.ru/showthread.php?threadid=33477&goto=newpost
>
> There may be other replies also, but you will not receive any more
notifications until you visit the board again.
>
> Yours,
> vBulletin.org Forum team
>
> ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> Unsubscription information:
>
> To unsubscribe from this thread, please visit this page:
> https://vborg.vbsupport.ru/member2.php?action=usub&threadid=33477
>
> To unsubscribe from ALL threads, please visit this page:
> https://vborg.vbsupport.ru/member2.php?action=usub&type=allthread

trilOByte
09-05-2002, 10:05 AM
[QUOTE]Originally posted by TvNut
great hack...I have 3 questions...

1. How can I remove the PM box from this hack...there is already one on the bottom of page....

2. How can I move Members: 80, Threads: 37, Posts: 174
Welcome to our newest member, whoever into the right box of this hack...

3. How can I remove All times are GMT -6 hours. The time now is 08:32 AM. Log Out | Mark All Forums Read | Forum Leaders
from the bottom of the page...



Thanks..I am new and trying to suck all this info in at once....

trilOByte
09-05-2002, 10:07 AM
[QUOTE]Originally posted by RCK
testing email poster function


> ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> tril0bye, anyword, when i can shoot the file over to you?
> ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

inutero
09-07-2002, 12:54 PM
I got it working on 2.2.7, but the private message box is not showing up. I redid it twice, but still no PM box. Any ideas?

Smoothie
09-10-2002, 08:21 AM
I need help... :(

PennylessZ28
09-10-2002, 04:28 PM
How can I get the PM section to not appear in my welcome panel when a user is not logged in?

trilOByte
09-10-2002, 08:49 PM
[QUOTE]Originally posted by HR3rdGen
How can I get the PM section to not appear in my welcome panel when a user is not logged in?

badham
09-16-2002, 01:46 AM
[QUOTE]Originally posted by TvNut


2. How can I move Members: 80, Threads: 37, Posts: 174
Welcome to our newest member, whoever into the right box of this hack...


Thanks..I am new and trying to suck all this info in at once....

trilOByte
09-16-2002, 01:12 PM
It's just html. Copy the welcomepanel template code - everything between...

<!-- welcomepanel -->
....and
<!-- /welcomepanel -->

...into an html editor and you will see how it is laid out. Make the changes you want then copy the welcomepanel template code back into the forumhome template in the same position. You can do this with a WYSIWYG editor like dreamweaver, or whatever.

You will see elsewhere in the forumhome template, that there are a number of variables (vars) which start with a $ sign, such as $pminfo and $logincode. These are defined in other templates, and can be moved around pretty much anywhere you like.

The vars you are interested in are $numbermembers, $totalthreads and $totalposts. What they do should be self explanatory. Wherever you put

$totalposts

in the forumhome template, then the number of total posts will be displayed in that location on your forum. Be sure not to duplicate the vars - unless you want them to appear twice. Remember to prefix them with some plainh text which gives them meaning, for example

Number of Forum Members: $numbermembers

will be displayed as

Number of Forum Members: 251 (or whatever that number may be...)

HTH.

badham
09-16-2002, 03:36 PM
Thanks, I appreciate the help. Did as you recommended and works like a charm.

TheSaint-AeD
09-16-2002, 08:37 PM
[QUOTE]Originally posted by inutero
I got it working on 2.2.7, but the private message box is not showing up. I redid it twice, but still no PM box. Any ideas?

NTLDR
09-16-2002, 08:59 PM
Should work fine. This hack only moves the location of the PM box. Try adding $pminfo elsewhere in the forumhome template and see if it apears there, if not you have made a mistake with something else.

TheSaint-AeD
09-17-2002, 11:44 AM
sorry, it seems as if this is no bug, but a feature :D .

I can get to my PN's over the UCP --> Private Messages

I thought there'd be a quick Link in the Welcome-Panel, like 'You got 10 new messages' and if you klick on '10' you're taken to your Inbox.

Any Idea how to implement this?

trilOByte
09-17-2002, 09:44 PM
You're welcome.

The great thing about these forums, is that you learn so much using them. Rather than just posting a solution, it's far better to show people how to find the solution for themselves.

trilOByte
09-17-2002, 09:51 PM
[QUOTE]Originally posted by TheSaint-AeD
sorry, it seems as if this is no bug, but a feature :D .

I can get to my PN's over the UCP --> Private Messages

I thought there'd be a quick Link in the Welcome-Panel, like 'You got 10 new messages' and if you klick on '10' you're taken to your Inbox.

Any Idea how to implement this?

bouncer18
09-18-2002, 04:39 AM
I have a question...

I edited your hack a lil...

the problem i have is:

wehre you have it say Welcome only in the forumhome template i tried mine to say: welcome $username

but it wouldnt show my username, rather someone else's...

got any idea? it works fine right under it like you have it but i wanted to move that 1 line up and remove it below.

i got it to remove below but it did lke i stated above..

wierd ehh.. any ideas

bouncer18
09-18-2002, 04:44 AM
nevermind, i got it to work using:

$bbuserinfo[username]

Floris
09-18-2002, 05:23 AM
doh :D

TheSaint-AeD
09-18-2002, 12:58 PM
[QUOTE]Originally posted by trilOByte


Put this somewhere in the welcomepanel....


<font face="Verdana" size="1">You have<b> $newpm[messages] </b>new <a href="private.php">PM</a>'s.</font>

It'll look something like...

You have 3 new PM's.

Clicking on the number will take you to yhe new PM, while clicking on "PM" will take you to your PM inbox.

trilOByte
09-18-2002, 01:52 PM
Yes, if that's where you want it to appear. Just put it wherever you want it. The welcomepanel code appears withing the forumhome template, but other things have their own template and are *called* by variables - $logoutcode, $pminfo etc - to change how these display, you need to go to their own specific templates.

havefun
09-19-2002, 07:12 PM
thanks 4 your hack!

works great. :laugh:

lg, havefun

Je$ter
09-25-2002, 05:10 PM
Just installed this to our boards, many thanks tis a great hack :D

\ \ - Speedy - / /
09-27-2002, 07:24 PM
Will this work on 2.2.8?

~Speedy~

darkmaninc
09-27-2002, 09:54 PM
[QUOTE]Originally posted by Speedy Spike
Will this work on 2.2.8?


~Speedy~

Reverend
09-27-2002, 10:03 PM
Yep working for me as well on 2.2.8
Just had to re-apply the root/index.php hacks.
Job done.

JFry
09-28-2002, 03:09 AM
Working for me on 2.2.8. Thank you very much :) My only question is this: my forum home page now displays a user's private message status at both the top and the bottom of the page. Any way to remove the status at the bottom of the page?

scotty
09-28-2002, 10:53 AM
just remove the second "$ pminfo" (without space) in your "forumhome"-template.

\ \ - Speedy - / /
09-28-2002, 01:47 PM
I have 2 log outs (on in the top one in the bottom, how to i get ride of the one on the bottom of the vB?)



~Speedy~


EDITE - N/M Found it ;)

GREAT HACK!


~Speedy~

N9ne
09-28-2002, 06:09 PM
Does this add two queries to forumhome?

\ \ - Speedy - / /
10-07-2002, 01:23 AM
Great Hack, but how do you remove the Log-in/out thingy from the footer now that it is in the header you don't realy need it do you?


I lost it again :( (EDIT) lol

\ \ - Speedy - / /
10-09-2002, 09:52 PM
how/where would i do this?

\ \ - Speedy - / /
10-09-2002, 10:11 PM
how do you do this?

jpawluk
10-10-2002, 10:06 PM
Great Hack, it's the second one I've installed. The first was Logicians Birthday Greeting. Both work great... However, I've done something wrong, obviously while installing this one. When you scroll down my forum home page and get to the end of the forums list, they repeat. :ermm:

You can see here (http://ganesha.pawluk.info)

Being a real noob, any suggestions would be welcome.

John

Tigga
10-10-2002, 11:01 PM
John - You've probably got $forumbits in your forumhome template twice. Check that and if so delete one. :)

jpawluk
10-11-2002, 12:05 AM
[QUOTE]Originally posted by PlurPlanet
John - You've probably got $forumbits in your forumhome template twice. Check that and if so delete one. :)

Tigga
10-11-2002, 12:14 AM
Glad to be of service. :)

sklwer
10-12-2002, 03:13 AM
hey Guys,
I got it working in version 2.28 and I was hoping to put the info in my home site ( Thats shtml) any idea?????
appriciate

MartynJ
10-12-2002, 10:23 AM
[QUOTE]Originally posted by \ \ - Speedy - / /
how do you do this?

refertech
10-12-2002, 12:49 PM
Any of you guys know why the color above my posts would be diffrent now? Probably something to do with the last active hack I installed. Could someone help me out with how to go about correcting this.

Thanks,

Mark

Tigga
10-12-2002, 06:05 PM
Try looking in your member list template for colspan="6". Change the colspan to 7 and it should fix it. :)

refertech
10-12-2002, 09:52 PM
Yeap that done the trick. Thanks for helping a newbie out. :)

Mark

digitalJE5U5
10-13-2002, 05:15 AM
Love the hack. One small problem though, Im trying to add the variables

$recordusers
and
$numberregistered
and
$numberguest

to the control panel, but instead of
"currently online: <insert #>"

I get "currently online:"

That make sense?

Any help is VERY appreciated.

THanks,
/DJ

NTLDR
10-13-2002, 04:43 PM
You need to make sure that the welcome panel templates are evaluated after the users online code is, otherwise the varaibles contain no data.

Instead of adding the code for the templates where it says to in the instructions for the second change add it after:

$recordusers = $maxusers[0];
$recorddate = vbdate($dateformat,$maxusers[1]);
$recordtime = vbdate($timeformat,$maxusers[1]);
eval("\$loggedinusers = \"".gettemplate('forumhome_loggedinusers')."\";");
}

It should then show up correctly.

digitalJE5U5
10-13-2002, 09:23 PM
Instead of adding the code for the templates where it says to in the instructions for the second change add it after:


Thanks for the help. I've found my fix! I just not sure exactly what you mean. You refer to the "second change". The second change has to do with index.php? And you refer to "template". Could you please tell me exactly what code, and where I need to put it? I just dont wanna screw anything up.

THanks alot!

/DJ

NTLDR
10-14-2002, 07:07 PM
Place this code:

if ($bbuserinfo[userid]!=0) {
$avatarurl=getavatarurl($bbuserinfo[userid]);
if ($avatarurl=='') {
$avatarurl='images/avatars/noavatar.gif';
}
$avatarimage='<a href="member.php?s='.$session[sessionhash].'&action=editavatar"><img src="'.$avatarurl.'" border="0">';
} else {
$avatarimage='<a href="register.php?s='.$session[sessionhash].'&action=signup"><img src="images/avatars/guestavatar.gif" border="0"></a>';
}

Directly after the code I posted in 348 and not where it says to put it in the instructions.

Rand M
10-18-2002, 06:49 PM
Installed on v2.2.8. All working really well.

Thanks for the 'hack'.

ae86
10-27-2002, 05:55 AM
***Edit*** fixed nevermind :)

GREAT hack, well done :)

Harken
10-28-2002, 10:41 PM
nice hack...the only problem i see ..well on my forum..is i still have the private message bar at the bottom as well as the top now...how do i remove the bottom pm bar.

FleaBag
10-28-2002, 10:55 PM
Works with my 2.2.8. Thank you. :)

Tigga
10-28-2002, 10:56 PM
Harken - Remove the 2nd instance of $pminfo from your forumhome template. :)

mindbuster
10-28-2002, 11:49 PM
Installed fine on 2.2.8.

Thanks, great hack.

CarlosC
11-03-2002, 10:42 PM
Excellent hack!!

Thanks!!

marocnl
11-03-2002, 10:49 PM
Hi there,

I put some time-measuring-code into my php-file and it seems like the following 2 queries from ur hack r causing the execution time of the index.php to be like 10 times higher than with it.
It's about these 2 queries:
$getnewthread=$DB_site->query_first("SELECT COUNT(*) AS threads FROM thread WHERE lastpost > '$bbuserinfo[lastvisit]'");
$getnewpost=$DB_site->query_first("SELECT count(*) AS posts FROM post WHERE dateline > '$bbuserinfo[lastvisit]'");

Could you tell why this is???

theroyal
11-14-2002, 05:19 AM
Will this work on the new 2.28?

Floris
11-14-2002, 07:48 AM
Yes and on 2.2.9

Dark_Wizard
11-14-2002, 10:46 AM
[QUOTE]Originally posted by xiphoid
Yes and on 2.2.9

Floris
11-14-2002, 10:57 AM
I see no reason why it will not work on the upcomming vb229

Brew
11-14-2002, 04:17 PM
This hack is Great!

I would like to have this in my category as well though. It would be the forum directly below the main page of vB.

Can someone tell me how to make this available inside category display? I tried it but I think there's some files to hack to make it work.

Thanks!

Brew

Ali-g
11-15-2002, 06:07 PM
When i upload index.php i allways receive the following error:
Parse error: parse error, unexpected $ in /home/virtual/site10/fst/var/www/html/forumi/index.php on line 329
What can i do?

NTLDR
11-15-2002, 06:10 PM
You haven't followed the instructions correctly. Uninstall and then re-install the hack again.

MotownLF
11-23-2002, 03:04 PM
*edit*

ryancooper
11-24-2002, 04:12 PM
Is there a way to exclude certain forum id's from being counted in the new posts and new threads?

I have a usenet hack installed and have excluded the usenet forums from the view new posts search but hte welcome panel is still counting the new posts and threads. . .

Thanks!

Prince
11-25-2002, 03:23 AM
I have it installed on 2.2.9

NetAccess
12-02-2002, 08:56 PM
I have no Forumhome.php I do have a forumdisplay.php can anyone tell me what is wrong lol. Ok Nevermind I am stupid and slow found it gg's

lost myself
12-05-2002, 01:20 AM
What a great hack, thanks

search@thing
12-06-2002, 09:11 PM
Hi,

i hope you may help me, i have a Problem with the border at the Welcome Panel => the border is not there.

This is the URL: Talkarea.com (http://www.talkarea.com). I?m sorry, but this is an german site.

Thank you for your help and your quick reply!!!

time4akshun
12-11-2002, 07:15 PM
Killer hack!

suffeks
12-13-2002, 04:56 AM
ok, when i visit the boards after a while, it says xx new posts, so ok, but when i go and view them, sometimes, not always, it just says cant find any matches. whats wrong? using ver 2.2.9, also did this in 2.2.8. help!?

ethics
12-13-2002, 08:59 AM
[QUOTE]Originally posted by suffeks
ok, when i visit the boards after a while, it says xx new posts, so ok, but when i go and view them, sometimes, not always, it just says cant find any matches. whats wrong? using ver 2.2.9, also did this in 2.2.8. help!?

Roody
12-14-2002, 02:16 AM
[QUOTE]Originally posted by ethics


Private forums?

I thought I saw a few people ask how it would be cool to exclude a certain forum from the search. Didn't see any answers though.

Strider Xero
12-20-2002, 10:04 PM
<font face="Verdana" size="1">You have<b> $newpm[messages] </b>new <a href="private.php">PM</a>'s.</font>

Nice little peice of code, but if the person has no PMs, it will say 'You have new PMs'. Is there any way I could make it say 'You have 0 new PMs' instead??

94supratt
12-21-2002, 11:32 PM
It worked for me but I ended up with 2 avatars. Looks like this. How do I fix it?

suffeks
12-24-2002, 06:00 AM
so excluding private forums, how to? actually wait, i have access to private forums on my forum, and sometimes i still get no matches found, i think its another problem. unless, by default, private forum posts arent supposed to show up even for people who have access, but it still counts them.

flup
12-30-2002, 01:39 PM
I have got a problem.
I have got 1 forum for my own, and im getting paid to work on 2 other forums.

On mine forum tha avatar wont show up!
On 1 of my customers it does, and at the other is wont shot up.

The Avatar string is the same at templates.
What may be the problem?

Strider Xero
12-30-2002, 03:56 PM
Give us the address to the forums that you're having problems with so we can take a look at it.

sauron2002
01-06-2003, 07:19 AM
top stuff, thanks for making it, i also really like the excellant readme which is one of the best ive read / followed, :)

great stuff :)

Haddy
01-10-2003, 09:24 PM
Nice instructions but i screwed something cause i get this.....

Fatal error: Call to undefined function: adminlog() in /home/*****/public_html/forums/index.php on line 7
*username edited out*

Index Attached....

Any clues?

razorback
01-11-2003, 09:32 AM
:cheeky:

Very good this kack

thank's

;)

Oblivion Knight
01-17-2003, 04:05 PM
I modified the code a little to make who's online show below the panel instead of the PM's, but everything's working perfectly for me.. :)

Also, the thread's are counted wrong.. It's counting how many threads have had replies in them, not new threads that have been created. This may have already been pointed out, but I couldn't really be bothered going back through 26 pages when I'm having no problems with the hack.

* Oblivion Knight clicks install.

buro9
01-30-2003, 08:27 AM
BUG ALERT:

The hack is fantastic, but the post counts in the hack are incorrect... where it says "There have been blah posts in blah threads", those counts are not excluding any posts in forums that the user does not have permission to see.

I've now edited the queries in index.php to exclude my private forums totally... but that means the counts are incorrect for those who are allowed to see the private forums.

The queries now look like this:


$getnewthread=$DB_site->query_first("SELECT COUNT(*) AS threads FROM thread WHERE lastpost > '$bbuserinfo[lastvisit]' AND forumid != 54");
$getnewpost=$DB_site->query_first("SELECT count(*) AS posts FROM post p, thread t WHERE p.dateline > '$bbuserinfo[lastvisit]' AND p.threadid = t.threadid AND t.forumid != 54");


Which excludes forum 54 in the search... but there should be a better way than this.

Aside from this, the whole thing works a dream and you can see it running at http://www.buro9.com/forum/

Cheers

David K

iceman11111
03-06-2003, 04:52 PM
Great Hack!

easy as pie!

xcel
03-12-2003, 01:03 AM
Sweet No problems whatsoever.

Thanks for a Great Hack!!

Xcel

msimplay
03-16-2003, 09:14 PM
Will this hack be released for vb3 ?
if need be i mean

sola
03-17-2003, 11:10 PM
Yeah, kinda hoping so too. Looks great. Wish I could have it. :cry:

Slappy Nutz
04-05-2003, 12:22 PM
Kick Ass hack! I moved a few things around to my liking! :)
www.live-enabled.com/forums !

*install*

Geminy
04-05-2003, 02:14 PM
This is the Italian translate of the hack

Questa ? la traduzione in Italiano dell'Hack.

Mathiau
04-10-2003, 03:03 AM
anyone got this on 2.3.0? and no probs?

Oblivion Knight
04-10-2003, 12:34 PM
[QUOTE]Today at 04:57 AM Mathiau said this in Post #392 (https://vborg.vbsupport.ru/showthread.php?postid=380005#post380005)
anyone got this on 2.3.0? and no probs?

msimplay
04-10-2003, 01:41 PM
Me too working on 2.3 rc3

Mathiau
04-10-2003, 07:55 PM
dido - i put it in and done deal!

kdog316
04-19-2003, 07:48 PM
in the forum home does the

<----text----->
thing go before
<-----main----> or somewhere else in there

dotagious
04-23-2003, 10:27 PM
[QUOTE]04-19-03 at 03:48 PM kdog316 said this in Post #397 (https://vborg.vbsupport.ru/showthread.php?postid=384318#post384318)
in the forum home does the

<----text----->
thing go before
<-----main----> or somewhere else in there

Sanjiyan
04-24-2003, 12:45 PM
Greetings,

Installed fine on 2.3.0 bar one little snag..
I have it displaying in this order:

Welcome Message
Currently Active Users
Private Messages

Now the problem is, is that I cant alter the cell width of the PM New Icon, as shown in the attachment below.

The cell width is the same as the avatar width, which makes the New PM Icon graphic look well out of place.

Is there away I can fix this? I tried altering the welcomepanel html code, only for it not work eitherway.

Anyway, to understand what I mean please click on the attachment below.

Thanks

nanni
04-25-2003, 09:26 AM
[QUOTE]04-05-03 at 04:14 PM Geminy said this in Post #391 (https://vborg.vbsupport.ru/showthread.php?postid=377868#post377868)
This is the Italian translate of the hack

Questa ? la traduzione in Italiano dell'Hack.

Sanjiyan
04-28-2003, 01:24 PM
bump

eoc_Jason
05-01-2003, 05:15 PM
Sanjiyan - if you want those to be different widths, easiest way would be to make each section its own table...

eoc_Jason
05-01-2003, 05:18 PM
Oh yeah, btw.... I was experienceing forum slowdown's, especially during peak time, and it was the worst on the forumhome... well I ran the sql explain stuff and found out that the line:

$getnewpost=$DB_site->query_first("SELECT count(*) AS posts FROM post WHERE dateline > '$bbuserinfo[lastvisit]'");

was causing a major slowdown because there was no index on post.dateline, if you add an index on it (and thread.lastpost for good measure since it has a similar query) you should see a nice speed improvement, especially if you have a good number of posts (my forum is approaching 400,000).

Cicada
05-13-2003, 10:35 PM
my avatars dont display, any help?

KimG
05-18-2003, 08:55 AM
[QUOTE]05-01-03 at 07:18 PM eoc_Jason said this in Post #402 (https://vborg.vbsupport.ru/showthread.php?postid=390060#post390060)
Oh yeah, btw.... I was experienceing forum slowdown's, especially during peak time, and it was the worst on the forumhome... well I ran the sql explain stuff and found out that the line:

$getnewpost=$DB_site->query_first("SELECT count(*) AS posts FROM post WHERE dateline > '$bbuserinfo[lastvisit]'");

was causing a major slowdown because there was no index on post.dateline, if you add an index on it (and thread.lastpost for good measure since it has a similar query) you should see a nice speed improvement, especially if you have a good number of posts (my forum is approaching 400,000).

eoc_Jason
05-28-2003, 01:14 AM
easiest way would be to use phpmyadmin, you can just click the index button on the dateline column in the post table. Or, if you know how to use MySQL from the command line, let me know and I can tell you how to do the Alter Table command.

Bulleh
05-31-2003, 01:35 PM
i see

Mike11212
05-31-2003, 03:18 PM
I need help I must of done something wrong.

The hack works great when your loged in but when your a guest its all out of wack.

http://www.hardwaregeeks.com/board see what I mean

anyone know how to help I tried editing templates but it just made me angry I couldn't figure it out

eoc_Jason
05-31-2003, 03:50 PM
It looks like you are missing (or have an extra) table column somewhere....

I would go through the templates and count them up to make sure they all match...

atomic fireball
06-05-2003, 09:05 AM
Ah.....this hack is simply the gift that keeps on giving. I love it, thanks!

We just installed it over on our brand new forum, it looks great:
http://www.thedigitalreview.com/forum/

Jason, thanks for the heads up about adding an index to post.dateline and thread.lastpost as well. We did that too.

Awesome hack, I really like it.

saj
06-16-2003, 12:01 PM
will this work on vb2.3.0????

eoc_Jason
06-16-2003, 01:30 PM
I'm running 2.3.0 and it works great for me.... (Note my post above about additional indexes, otherwise if you have a large forum it will slow it to a crawl)

jclay
06-16-2003, 03:05 PM
Fantastic hack, truly brilliant.

Thanks!!! :)

spick
06-17-2003, 05:48 PM
nice. but no avatar shows up for new users.

atomic fireball
06-17-2003, 06:19 PM
[QUOTE]Today at 11:48 AM spick said this in Post #413 (https://vborg.vbsupport.ru/showthread.php?postid=409971#post409971)
nice. but no avatar shows up for new users.

spick
06-17-2003, 06:26 PM
yea. i did that. still nothing.

Buczilla
06-18-2003, 01:48 AM
AWESOME HACK!!!

ogden2k
06-25-2003, 09:24 PM
Will this be re-done for vB 3?

trilOByte
07-05-2003, 04:51 PM
[QUOTE]06-25-03 at 11:24 PM ogden2k said this in Post #417 (https://vborg.vbsupport.ru/showthread.php?postid=412765#post412765)
Will this be re-done for vB 3?

atomic fireball
07-05-2003, 06:21 PM
[QUOTE]Today at 10:51 AM trilOByte said this in Post #418 (https://vborg.vbsupport.ru/showthread.php?postid=415509#post415509)
I'm thinking about it. ;) :D

SirSteve
07-05-2003, 07:35 PM
Newest posts/threads part works but the avatar part doesn't (for vb3).

trilOByte
07-05-2003, 07:40 PM
Yeah, I'll update it. There are a lot of excellent suggestions for updates from loads of people that can be used. Just waiting for vB3 final to be realeased so we know what templates we are dealing with. I'll see if I can figure out why the avatar code isn't working in the meantime. Though it doesnt surprise me that it doesnt work for vB3 as so much has changed.

SirSteve
07-06-2003, 01:15 PM
Oh, I just realized that the "since your last visit" part works on the forum home page but none of the other pages since vb3 has that part on all the other pages now.

trilOByte
07-06-2003, 04:14 PM
Yeah, ther's a lot that's changed. Not just the way vB3 handles the call for avatars.

It'll need some thought. Might be an idea to make the navbar with the breadcrumbs and a wel;come panel into one. Not sure if it would be good to see your avatar and all that info on ever page though.

Also... all those "temprary" buttons will likely turn into something or be removed. Another reason for waiting for the final release.

SirSteve
07-06-2003, 09:40 PM
Yeah, avatar and the new posts/threads on every page wouldn't be right... I moved the "View New Posts" over next to new posts/threads and made it a text link.

G.I.JOE?MFA?
07-11-2003, 07:21 AM
i use vBPortal 3.0b and vB 2.3.0 and wanted the welcome (it worked fine in 2.28 b4 vBPortal was isntalled) it works fine but the avatar isnt being displayed

any fix for that?

VBPortal 3.0b and vB 2.3.0 with welcome panel

heres the site http://dfmafia.net/forums

G.I.JOE?MFA?
07-14-2003, 05:13 AM
nm i found it and fixed it

Oblivion Knight
07-14-2003, 08:04 AM
[QUOTE]05-01-03 at 07:18 PM eoc_Jason said this in Post #402 (https://vborg.vbsupport.ru/showthread.php?postid=390060#post390060)
Oh yeah, btw.... I was experienceing forum slowdown's, especially during peak time, and it was the worst on the forumhome... well I ran the sql explain stuff and found out that the line:

$getnewpost=$DB_site->query_first("SELECT count(*) AS posts FROM post WHERE dateline > '$bbuserinfo[lastvisit]'");

was causing a major slowdown because there was no index on post.dateline, if you add an index on it (and thread.lastpost for good measure since it has a similar query) you should see a nice speed improvement, especially if you have a good number of posts (my forum is approaching 400,000).

Courage
07-16-2003, 08:45 PM
Greate hack.

I modified a lot my Forum Home.

Something useful for you all:

Simple search

On Forumhome template add this whre you want:



<form action="http://www.softnews.ro/forum/search.php" method="post" target="_blank">

<input type="hidden" name="s" value="$session[sessionhash]">
<input type="hidden" name="searchdate" value="-1">
<input type="hidden" name="beforeafter" value="after">
<input type="hidden" value="0" name="showposts">
<input type="hidden" name="action" value="simplesearch">
<input type="text" class="bginput" name="query" onfocus="this.value='';" onblur="if(this.value=='') this.value='username'"> $gobutton<br>
<a href='search.php' target='_blank'>Advanced search</a>
</form>



Here is the demo:
http://www.softnews.ro/forum/

Also see the attached file

Cal Poly Forum
07-18-2003, 04:50 PM
edited. :banana:

Hostc
07-26-2003, 09:57 PM
Hello,


I have a little problem with this welcome panel..




The online users stuff is messed up


This is my forumhome code


{htmldoctype}
<html>
<head>
<!-- no cache headers -->
<meta http-equiv="Pragma" content="no-cache">
<meta http-equiv="no-cache">
<meta http-equiv="Expires" content="-1">
<meta http-equiv="Cache-Control" content="no-cache">
<!-- end no cache headers -->
<meta name="keywords" content="vbulletin,forum,bbs,discussion,jelsoft">
<meta name="description" content="$bbtitle is a discussion forum powered by vBulletin. To visit the forum, go to $bburl/ . To find out about vBulletin, go to http://www.vbulletin.com/ .">
<title>$bbtitle - powered by vBulletin</title>
$headinclude
</head>
<body>
$header

<!-- text -->
<table cellpadding="2" cellspacing="0" border="0" width="{contenttablewidth}" {tableinvisibleextra} align="center">
<tr valign="top">
<td><a href="javascript:window.location=window.location"><img src="{imagesfolder}/vb_bullet.gif" border="0" align="middle" alt="$bbtitle : Powered by vBulletin version $templateversion"></a>
<normalfont><b>$bbtitle</b></normalfont></td>
</tr>
</table>

<table cellpadding="2" cellspacing="0" border="0" width="{contenttablewidth}" {tableinvisibleextra} align="center">
<tr valign="bottom">
<td><smallfont>
Members: $numbermembers, Threads: $totalthreads, Posts: $totalposts<br>
Welcome to our newest member, <a href="member.php?s=$session[sessionhash]&action=getinfo&userid=$newuserid">$newusername</a>
</smallfont></td>
</tr>
</table>
<!-- /text -->
<!-- welcomepanel -->
<table cellpadding="{tableouterborderwidth}" cellspacing="0" border="0" bgcolor="{tablebordercolor}" {tableouterextra} width="{contenttablewidth}" align="center">
<tr>
<td>
<table cellpadding="4" cellspacing="{tableinnerborderwidth}" border="0" {tableinnerextra} width="100%">
<tr id="cat">
<td bgcolor="{categorybackcolor}" colspan="6"><normalfont color="{categoryfontcolor}"><b>Welcome</b></normalfont></td>
</tr>
<tr>
<td bgcolor="{secondaltcolor}" align="center" valign="top" width="100">$avatarimage</td>
<td bgcolor="{firstaltcolor}">
<smallfont>
$unregwelcomemessage
$welcometext<br>
The time now is $timenow.<br>
You last visited: $bbuserinfo[lastvisitdate].<br>
<b>$newposts</b>
</smallfont>
</td>
<td bgcolor="{secondaltcolor}" align="center" valign="middle" width="300">
$logincode
</td>
</tr>
$pminfo
</table>
</td></tr></table>
<!-- /welcomepanel -->
<br>
<!-- begin custom front page tables -->
<table background="{imagesfolder}/cat_back.gif" border="0" cellpadding="0" cellspacing="0" width="{contenttablewidth}" height="27" align="center">
<tr id="cat">
<td width="170" height="27" align="left" valign="top">
<img border="0" src="{imagesfolder}/firmament_front_table_top_ls.gif" width="170" height="27"></td>
<td width="100%" height="27" valign="middle">
<p align="center"><a class="title" href="online.php?s=$session[sessionhash]">
<smallfont><b>Users Online</b></smallfont></a></td>
<td width="170" height="27" align="right" valign="top">
<img border="0" src="{imagesfolder}/firmament_front_table_top_rs.gif" width="170" height="27"></td>
</tr>
</table>


<!-- main -->
<table cellpadding="{tableouterborderwidth}" cellspacing="0" border="0" bgcolor="{tablebordercolor}" {tableouterextra} width="{contenttablewidth}" align="center"><tr><td>
<table cellpadding="4" cellspacing="{tableinnerborderwidth}" border="0" {tableinnerextra} width="100%">

$forumbits
$loggedinusers
</table>
</td></tr></table>




<!-- bottom table setup -->
<table height="14" width="100%" border="0" cellpadding="0" cellspacing="0">
<tr>
<td width="60" height="14" align="left" valign="top">
<img src="{imagesfolder}/ls_main_table_bottom.gif" width="60" height="14"></td>
<td height="14" width="100%" background="{imagesfolder}/extended_main_table_bottom.gif"><img src="{imagesfolder}/clear.gif" width="100%" height="14"></td>
<td width="44" height="14" align="right" valign="top">
<img border="0" src="{imagesfolder}/rs_main_table_bottom.gif" width="60" height="14"></td>
</tr>
</table>
<!-- End bottom table setup -->

<!-- /main -->

$pminfo
<br>

<!-- timezone/login-->
<table cellpadding="2" cellspacing="0" border="0" width="{contenttablewidth}" {tableinvisibleextra} align="center">
<tr valign="top">
<td><smallfont>$timezone</smallfont></td>
<td align="right">$logincode</td>
</tr>
</table>
<!-- /timezone/login -->

<br>

<!-- icons -->
<table cellpadding="10" cellspacing="0" {tableinvisibleextra} align="center" style="border: 1px solid #0A0E1D; background-color: #161E38;">
<tr>
<td align="center">
<img src="{imagesfolder}/on.gif" border="0" alt="On" align="absmiddle">
<b><smallfont>New posts</smallfont></b>
&nbsp;&nbsp;
<img src="{imagesfolder}/off.gif" border="0" alt="Off" align="absmiddle">
<b><smallfont>No new posts</smallfont></b>
&nbsp;&nbsp;
<img src="{imagesfolder}/lock.gif" border="0" alt="Closed Forum" align="absmiddle">
<b><smallfont>A closed forum</smallfont></b>
</td>
</tr>
</table>
<!-- /icons -->

$footer
</body>
</html>

SirSteve
08-06-2003, 04:06 PM
Anyone get anywhere with this for 3.0?

trilOByte
08-06-2003, 04:27 PM
One has already been released for 3 that is as good (better actually) than anything I could make. It's also a template mod, with no hacking of php files, sports all the features of the original etc.

Find it here:
http://www.vbulletintemplates.com/mods/showthread.php?t=4066

[BA]Techie
08-12-2003, 01:56 AM
Does this work with 2.3.0?

GoTTi
08-21-2003, 06:30 PM
n/m problem fixed

StrykerContact
08-24-2003, 07:18 AM
Works great, very simple to install. Thanks a lot man :)

Cal Poly Forum
08-25-2003, 12:15 AM
How can we put a gap between Welcome to the newest member and the Welcome Panel?

shishkabob
08-25-2003, 08:25 PM
oy, nvm.

Buczilla
08-26-2003, 07:47 PM
[QUOTE]08-24-03 at 09:15 PM Cal Poly Forum said this in Post #436 (https://vborg.vbsupport.ru/showthread.php?postid=428451#post428451)
How can we put a gap between Welcome to the newest member and the Welcome Panel?

m_k
08-27-2003, 07:45 AM
Great Hack!

Lots of user requests for login at top of page, and this is the perfect solution... thanks for the good work :-)

http://www.expat.ru/forum/

cerebro
09-23-2003, 06:39 PM
There is some update for the version 2.3.0 ?

Becauso my index.php is too slow, and the MySQL process is overload when someone access to the Home Forum...maybe is something wrong whith Welcome Panel and vb 2.3.0

http://foro.alkon.com.ar/

shadow187
10-02-2003, 05:11 PM
Nice Hack m8 !!!

Works great on 2.3.2, installed it without any problems !!!

GreetZ

zsmom
10-05-2003, 02:05 PM
Nice hack! I also just installed it on 2.3.2 without any problems.

hollabizzack
10-06-2003, 10:44 PM
this what it said to do in the index.php to add welcome header at top,in new to this i did the first step but i can't locate >>"the template forumhome_welcometext" can you tell where it i

In the template forumhome_welcometext find:

############################
Welcome back, <b>$username</b>
############################

Directly under it add this...

############################
<br>There have been <b>$getnewthread[threads]</b> threads and <b>$getnewpost[posts]</b> posts since your last visit!
############################

that is the "since your last visit" hack done!

hollabizzack
10-07-2003, 08:33 PM
im stuck right here, where would this be at?
it says

.......In the template forumhome_welcometext find:

############################
Welcome back, <b>$username</b>
############################

Directly under it add this...

############################
<br>There have been <b>$getnewthread[threads]</b> threads and <b>$getnewpost[posts]</b> posts since your last visit!
############################

would this be in the same index file im looking and don't see but i'll keep trying !

hollabizzack
10-07-2003, 08:36 PM
this is what i see

if ($bbuserinfo['userid']!=0) {
$username=$bbuserinfo['username'];
eval("\$welcometext = \"".gettemplate('forumhome_welcometext')."\";");
eval("\$logincode = \"".gettemplate('forumhome_logoutcode')."\";");
eval("\$newposts = \"".gettemplate('forumhome_newposts')."\";");

} else {
$welcometext = "";
eval("\$newposts = \"".gettemplate('forumhome_todayposts')."\";");
eval("\$logincode = \"".gettemplate('forumhome_logincode')."\";");
}

$birthdaybits="";
if ($showbirthdays) {

$birthdays = gettemplate('birthdays',0,0);
$btoday = explode('|||',$birthdays);
$today = vbdate("Y-m-d",time());

QATARAT
11-15-2003, 02:21 AM
great hack

PsyBlast
11-19-2003, 02:13 AM
does this version work correctly on 2.3.3? I see zsmom said it works on 2.3.2 without problems

Nebby
11-27-2003, 12:04 AM
Great work, it works a treat ^_^

Mike Bucy
12-02-2003, 05:30 AM
I have a 1 year old welcome panel hack. I wanted to all another line to forumhome. I currently have:

"View New Posts"
"View Post in last 3 days"

Under this I would like to put a link to showarchiv.php saying "View Archive Posts From 2000-2002"

They are both bold and underline. I would like the Archive to look the same.

Can anyone show me the code to do this. "I'm kind of a rookie"

Mike

LilPimp
12-12-2003, 10:53 PM
How do u get the PM Box in there...And all the things like new posts, newest member and stuff... Can i get those in..?

jaliam
01-09-2004, 05:02 AM
Lovely hack! It works like a charm.

tHe Rk
01-16-2004, 02:35 PM
[QUOTE=]

joeychgo
03-08-2004, 03:39 AM
Will this work with 3.0 cand 4?

Will this work with vbadvanced?

blakkboy
03-12-2004, 05:06 AM
please please please!!!!!

can someone please go through the steps to make this welcome panel possible on my forums

tony adams
10-07-2004, 07:55 AM
hi

will this work with 3.0.3

thanks

TLCanna
02-16-2005, 12:07 PM
Will this hack work on 3.0.6?

Otikeu
07-06-2005, 11:40 PM
[QUOTE=TLCanna]Will this hack work on 3.0.6?

QATARAT
07-07-2005, 12:57 PM
there is another one wark with the new vb 3

tray to Search

RoryF
07-24-2005, 02:40 PM
How can you make it so it shows the title of new threads in certain forums such as in the announcements section.

So it says, Announcements - thread title with link. etc.

It's been done in other forums with this welcome back. Can anyone help me?