The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
||||
|
||||
Users online on non vb pages?
Is there a mod to have users online show on pages that are non vbulletin? for example whos online on the right side column of the websites homepage....
I am also looking for a login box... once they login it shows their avatar and what not on the websites homepage aswell.... Anyone point me in the right direction here please |
#2
|
||||
|
||||
There have been plenty thread about this. Basically, you need to replicate what happens to display the logged in list in index.php.
|
#3
|
|||
|
|||
I also wish to know this. Any chance of being a little more clear or linking to one of the many threads? I have done some searches but can't find anything that seems to be right aside from an old (3.0) add on that is no longer supported.
Thanks. |
#4
|
||||
|
||||
You will require PHP knowledge. Again, you just look at what index.php does, and duplicate what it does.
|
#5
|
|||
|
|||
I have some php knowledge and am happy following modification routes. I just wondered if you may be able to point us to one of those many other threads you speak of that may give better detail on the particulars / areas of the index php file that should be even looked at, what functions they call on etc.
May as well have said "copy what vbulletin does". I obviously know that vbulletin is doing what I want, I just wish to have a little guidance on how to perform similar actions outside of the vbulletin files / framework. Anyone else care to point us in the direction of one of the many threads that ask the same thing that might have a better solution? Thanks |
#6
|
|||
|
|||
All threads have the same anwser. That was his point. If you want to know how to do it, look through the 'index.php' file and figure out how VB does it.
The example you are looking for is already in the index.php file. What more of an example could you need then the way its done by the jelsoft itself. Find the code that creates that section and then replicate it in your custom page. edit: I just looked at the index.php myself and their is a big fat comment near the bottom of the file that says logged in users. I would guess thats what your looking for. |
#7
|
|||
|
|||
Yup. moved that into file, sorted the file includes etc.
None of it worked. In the end just written my own sql query that direct gets the info from the database using the sessons, user ids and a timestamp. Maybe someone will actually reply to a thread with step by step instructions of how you do it the proper way in VB and then people can find it and link to it in the future. Not everyone knows enough about php to just work it out from some code that is there. was just hoping for a little more help. sigh. |
#8
|
|||
|
|||
I thought you said you knew PHP a couple of posts up?
|
#9
|
|||
|
|||
I said "I have some php knowledge". Enough to get by normally on basic things.
Anyway, never mind. |
#10
|
||||
|
||||
what about a login box?
|
Thread Tools | |
Display Modes | |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|