View Full Version : Login to VB from your Homepage. Plus other features.
joecool
01 Sep 2002, 00:29
Hello.
This hack will allow you to login from your homepage, then be redirected to your homepage (or anypage you like), and if already "Cookied" then it will say hello.
It will also display total posts on your homepage, And loads of features to come ::
Private messages,
new posts since last visit
top posts,
newest member
All on your homepage. :)
Beta tested needed. :)
** Attached file opens in WORDPAD **
assassingod
01 Sep 2002, 00:38
Ill will test this out. I really want one of these on my site. But cant find any good hacks:o
EDIT: Well, I found the instructions a little confusing, therefore I dont think I go the modifications in member.php correct.
But anyway, I get this error on my homepage (index.php)
Code:
---------------
Code is only visible to licensed users, and only when logged into the forums.
---------------
mewgood
01 Sep 2002, 00:48
is it the homepage must be in php?
joecool
01 Sep 2002, 01:27
Looks like you have not put the <?PHP tag. or <? at the beggining of the code. ;)
So it passes as HTML
joecool
01 Sep 2002, 01:32
Hey, assassingod .
Why are you editing members.php? only edit this file if you want to change redirection. :)
assassingod
01 Sep 2002, 01:53
Hey! Thanks joecool:) Ive got it working:)
I cant wait til the full release
joecool
01 Sep 2002, 02:47
Hey.. small problem with this error msg "cannot send header information" blah blah..
This has been detected on 2.27 VB. not 2.26.
also if you have alot of Javascript, may report errors.
finally, if you find a better way to stop Header errors, let me know.. :)
P.S i am still working on this to make it better.
joecool... thats almost like my name.. lol... anyways, say the forums and the site was on different servers.. can this hack still work? or does the site and forums have to be on the same server?
joecool
01 Sep 2002, 04:13
No it wont..
You would get too many errors.. :)
Maybe i will look into it. :)
Well, let me know if you find a way around it :)
YzermanCpt
01 Sep 2002, 05:50
Cool hack. I'll install and test this out.
Nice work joecool - I've been waiting for something like this. I'll check it out on my dev board today :).
I'd be very interested in the other items appearing on the homepage too :).
Unfortunately only just noticed the post from joeboo. My website and forum are on different servers too :(. Can you look into integrating that as I think this would be the case for quite a few people :).
joecool
01 Sep 2002, 12:34
Maybe if you people who have thier website / forum on different servers, may be able to use it if you copy the required .php files from the other server and place them in your website directory mirroring how it works normally.
Hmmmm.. I will look into this. :)
rapsearch
01 Sep 2002, 19:49
interesting...
is this something like the script options from www.phpportals.com ?
If possible, i'd like to see this hack in action, do you have a sample?
joecool
01 Sep 2002, 21:28
No demo. Sorry, i developed this script, using my works intranet site, we have a board on there, i will take some screen shots and post them here. Hope thats okay.
:)
Nice hack.
I added a little to this, you can get it to show PM's on your front page:
after
Code:
---------------
Code is only visible to licensed users, and only when logged into the forums.
---------------
enter
Code:
---------------
Code is only visible to licensed users, and only when logged into the forums.
---------------
(change the URL to point to your forum)
Where you print the user name out and link to the forum, enter this:
Code:
---------------
Code is only visible to licensed users, and only when logged into the forums.
---------------
This will print out Private Message on your forum.
You can see this in action on the front page of my site:
http://www.ac2hq.com
I am currently trying to get it too print out the Active Users, but I dont know the tags. If anybody can help me with this, that would be great.
joecool
02 Sep 2002, 02:39
I can help you with that..
My version does the following...
Sorry about the orange hyperlinks.. ;)
if thats what ur after then let me know. :)
also thanks for the previous post.. i will definatley add that.. :)
Ok, how would I get it too do exactly what you show in that picture?
joecool
02 Sep 2002, 02:57
hehe.. do you like it?? okay.. i will give you the details, but your gonna have to wait a few minutes..
I will get all the code and email it to you :)
i will send it in about 20 minutes. ;)
joecool
02 Sep 2002, 03:19
i will just upload it...
here any problems let me know :)
ok for some reason I cant get it too just show the total numbers of people who are logged on, period.
Also, the Guests doesnt count right... I have about 60 guests on right now, and it says 3.
Any clue?
rapsearch
02 Sep 2002, 11:55
Joecool...Do i need the first one (zip file) to use this text addon?...
If possible, it would be good to edit your first post here with the latest install instruction, just to keep this thread organised... I'm deffinately feeling this hack.. but will wait until its "finished"...so many dope ideas are said, i'd love to see them combined
joecool
02 Sep 2002, 11:59
Okay thianks.. I am gonna re-write the script to include everything... Also the above (home.txt) should work but you will need to do Step 1 in the attached zip file. ;)
rapsearch
02 Sep 2002, 12:01
ok....i'll keep an eye on this one :).... waiting for the re-written version :)
Thanks for this great addon..
joecool
02 Sep 2002, 12:38
Okay people, today i am gonna finalise this hack, I will be adding bits to show:::
Show a Member if they have a NEW PM on your homepage, this will allow, if user cannot be recoginsed it will say "Not logged in" and if they have one PM it says you have 1 message.. etc etc.. Aldo it will allow people to click the number and be redirected to the PM Folder. Wow.. :)
But its still BETA so the will be bugs. ;)
This is the code I am using for the front of www.ac2hq.com :
Code:
---------------
Code is only visible to licensed users, and only when logged into the forums.
---------------
DemiNeo0101
02 Sep 2002, 20:28
Originally posted by joecool
Hey.. small problem with this error msg "cannot send header information" blah blah..
This has been detected on 2.27 VB. not 2.26.
also if you have alot of Javascript, may report errors.
finally, if you find a better way to stop Header errors, let me know.. :)
P.S i am still working on this to make it better.
thats easy to fix, thats a user error, Its b/c you have spaces AFTER the ?> in one of your files. It happens to me all the time.
God i want this hack.. but I just wish there was a way around it.. since my forums and site are different servers :(
joecool
02 Sep 2002, 23:05
Hey, i found a way round it... I am gonna test it myself, if okay, then wow.. ;) i will let you know... ;)
assassingod
03 Sep 2002, 19:32
Hey joecool:) How is the hack going?? I cant wait til you finish it!!! Release the final version soon!!!!!:D
joecool
03 Sep 2002, 20:42
Hey people, i have been testing different parts of the script all night, I will imagine it will be released tomorrow, as full version??
Just wondering ??? Do I start a new thread in full relase section??
yeah.. i think u do. I have seen people do that.. from like v.1.0 to v.2.0.. so yeah..
joecool
04 Sep 2002, 11:45
OKay people i have release the version : http://www.vbulletin.org/forum/showthread.php?s=&postid=295259#post295256 but this is the version where they must be on the same server.. I am working on the Different server thingy.
rapsearch
04 Sep 2002, 13:27
One question.. is it possible to use this with the phpnuke script? ( i hope you know that)
Because i need to add
<?php
chdir("forum/vbulletin");
require('./global.php');
?>
ABOVE the <html> tag accoring to your instruction.. but find that hard to do :(....also.. does it conflict with possible PN features....
I hope you know something about this.
i use the script at www.rapsearch.com
joecool
04 Sep 2002, 13:34
It should be okay, but if PHP nuke requires a PHP file in a different folder you will need to do somehting like this: Example only*
../phpnuke/config.php (Example)
Maybe make a copy of your index file and test it first.. Any problems. PM me on simonroberts999@hotmail.com :)
rapsearch
07 Sep 2002, 17:59
:o(...can't get it to work.. you're familiar with the phpnuke script??
It has a file called header.php in which the <html> tag you're talking about is... but i can't the code you offer to be added above... get nothing but parse errors...
ps..if you want to discuss this by email.. let me know
Colon33
16 Sep 2002, 08:43
http://www.vbulletin.org/forum/showthread.php?s=&threadid=43454&perpage=15&display=&pagenumber=1
Most recent.
Version 2 comes out tomarrow
has anyone nade this work on version 2.8 ?
vBulletin® v3.6.12, Copyright ©2000-2012, Jelsoft Enterprises Ltd.