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? Link to comment https://forums.phpfreaks.com/topic/92002-how-do-i-get-members-to-echo-to-my-site/ 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. Link to comment https://forums.phpfreaks.com/topic/92002-how-do-i-get-members-to-echo-to-my-site/#findComment-471211 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. Link to comment https://forums.phpfreaks.com/topic/92002-how-do-i-get-members-to-echo-to-my-site/#findComment-471220 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? Link to comment https://forums.phpfreaks.com/topic/92002-how-do-i-get-members-to-echo-to-my-site/#findComment-471233 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 Link to comment https://forums.phpfreaks.com/topic/92002-how-do-i-get-members-to-echo-to-my-site/#findComment-471240 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.. Link to comment https://forums.phpfreaks.com/topic/92002-how-do-i-get-members-to-echo-to-my-site/#findComment-471246 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. Link to comment https://forums.phpfreaks.com/topic/92002-how-do-i-get-members-to-echo-to-my-site/#findComment-471247 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 Link to comment https://forums.phpfreaks.com/topic/92002-how-do-i-get-members-to-echo-to-my-site/#findComment-471248 Share on other sites More sharing options...
trq Posted February 20, 2008 Share Posted February 20, 2008 Well now you know how. Link to comment https://forums.phpfreaks.com/topic/92002-how-do-i-get-members-to-echo-to-my-site/#findComment-471258 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 Link to comment https://forums.phpfreaks.com/topic/92002-how-do-i-get-members-to-echo-to-my-site/#findComment-471263 Share on other sites More sharing options...
sub7av Posted February 20, 2008 Author Share Posted February 20, 2008 BUMP Link to comment https://forums.phpfreaks.com/topic/92002-how-do-i-get-members-to-echo-to-my-site/#findComment-471682 Share on other sites More sharing options...
sub7av Posted February 20, 2008 Author Share Posted February 20, 2008 bump Link to comment https://forums.phpfreaks.com/topic/92002-how-do-i-get-members-to-echo-to-my-site/#findComment-471878 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. Link to comment https://forums.phpfreaks.com/topic/92002-how-do-i-get-members-to-echo-to-my-site/#findComment-471906 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? Link to comment https://forums.phpfreaks.com/topic/92002-how-do-i-get-members-to-echo-to-my-site/#findComment-472043 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. Link to comment https://forums.phpfreaks.com/topic/92002-how-do-i-get-members-to-echo-to-my-site/#findComment-472111 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.