sub7av Posted February 19, 2008 Share Posted February 19, 2008 I have a Vbull forum and I would like to get the users online to be echoed to my website .index.php I would like the usernames to be shown and not just a number does anyone have a snip or code to help me? Quote Link to comment Share on other sites More sharing options...
roopurt18 Posted February 20, 2008 Share Posted February 20, 2008 Do you have any mechanism in place to determine which users are currently online? If not someone was asking about that just today: http://www.phpfreaks.com/forums/index.php/topic,183085.0.html If you can already determine which user IDs are currently online, then it's a simple MySQL statement to connect them to their appropriate user names. Quote Link to comment Share on other sites More sharing options...
sub7av Posted February 20, 2008 Author Share Posted February 20, 2008 All I have is the forum which runs fine and shows the users online with there member names, I am creating my website now that has no login or register at all. I want the members names to be shown on my homepage I have nothing in place friend. Quote Link to comment Share on other sites More sharing options...
sub7av Posted February 20, 2008 Author Share Posted February 20, 2008 there must be a basic way to simply echo that info onto my index page, the code is already done for the forum, I just want to echo that section at the bottom of my forum onto my site index page? Quote Link to comment Share on other sites More sharing options...
therealwesfoster Posted February 20, 2008 Share Posted February 20, 2008 You'll need to run an SQL query and have it grab all of the user's who's last activity is less that 15 minutes ago and display the results. Thats as simple as it gets Quote Link to comment Share on other sites More sharing options...
sub7av Posted February 20, 2008 Author Share Posted February 20, 2008 hwo do i do that friend can u post me some snippets.. Quote Link to comment Share on other sites More sharing options...
trq Posted February 20, 2008 Share Posted February 20, 2008 Do you know any php? Were not here to write code for you. Quote Link to comment Share on other sites More sharing options...
sub7av Posted February 20, 2008 Author Share Posted February 20, 2008 i know friend, i know but i just need to finish this last section off i am so tired its 4am and i gotta get dis done Quote Link to comment Share on other sites More sharing options...
trq Posted February 20, 2008 Share Posted February 20, 2008 Well now you know how. Quote Link to comment Share on other sites More sharing options...
sub7av Posted February 20, 2008 Author Share Posted February 20, 2008 why is it so hard to get help from this forum instead its always snotty little answers if you dont know just say so Quote Link to comment Share on other sites More sharing options...
sub7av Posted February 20, 2008 Author Share Posted February 20, 2008 BUMP Quote Link to comment Share on other sites More sharing options...
sub7av Posted February 20, 2008 Author Share Posted February 20, 2008 bump Quote Link to comment Share on other sites More sharing options...
suttercain Posted February 20, 2008 Share Posted February 20, 2008 why is it so hard to get help from this forum instead its always snotty little answers if you dont know just say so Do you want help or do you want someone to write the code for you? Big difference. Quote Link to comment Share on other sites More sharing options...
sub7av Posted February 20, 2008 Author Share Posted February 20, 2008 if someone can tell me what to do I will do it, I know its about looking for the code inside my forum page and pasting it into my main page but I dont know where to look, there is no need to write any code from what I understand. I am sure I can just copy and paste the part where it grabs the live tables from sql, I am using vbullet forum? Quote Link to comment Share on other sites More sharing options...
roopurt18 Posted February 20, 2008 Share Posted February 20, 2008 Just a suggestion, you might try seeing if vbulletin has their own support or user forum where you can ask about where that piece of code is. If I knew anything about vbulletin I might be able to help you, but I don't. If you were to ask me, "In general, how would I accomplish this?" then I could tell you. Most of the other users of this forum fall into that same general category. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.