12 May 2000, 07:49
I am attempting to make a "Welcome Back, $username - Click Here For New Posts" hack to put on my main page. I created a file called welcome.php in the forums directory, then I was doing an include of the file on my main page. In theory, everything should have worked, but it didn't. Here is the code I have:
Code:
---------------
Code is only visible to licensed users, and only when logged into the forums.
---------------
As you can see, basically I just ripped the portion of code out of the vB index.php file. I know php like I know how to speak Hindi. Well, maybe a little better than that ;). I'm sure (If what I am trying to do is even possible in the first place) that it is a syntax error on my part.
Anybody have any advice? Or, has anyone already made a hack for this and have had it work successfully?
Thanks all!
{Edited by John to Put in code tags}
[Edited by John on 05-14-2000 at 09:34 PM]
Code:
---------------
Code is only visible to licensed users, and only when logged into the forums.
---------------
As you can see, basically I just ripped the portion of code out of the vB index.php file. I know php like I know how to speak Hindi. Well, maybe a little better than that ;). I'm sure (If what I am trying to do is even possible in the first place) that it is a syntax error on my part.
Anybody have any advice? Or, has anyone already made a hack for this and have had it work successfully?
Thanks all!
{Edited by John to Put in code tags}
[Edited by John on 05-14-2000 at 09:34 PM]