sub7av Posted February 24, 2008 Share Posted February 24, 2008 hello, I have a vbulletin forum and it shows at the bottom of my forum all the registered users that have visited my forum in the past 24 hours. Does anyone have some ideas how I can echo that code onto my page webpage which is http://mydomain.com/index.php and my forum is http://www.mydomain.com/community/index.php I would like to have my webpage (homepage) to show the registered members either who is online now, or who have visisted in the past 24 hours, also if possible to be able to click there names and view there profiles as you would do on forum << this is not essential but would be good. I am hoping I can use a basic echo code rather than going through the sql. If the forum can relay the info already I was thinking I could to? Quote Link to comment Share on other sites More sharing options...
php_dave Posted February 24, 2008 Share Posted February 24, 2008 Hmm, SQL Echo is a command that sets whether or not a query is shown in the term window - same as termout in SQLPlus. What you are looking to do is take a peice of code from one page and merge it into another - I would look in the vbulletin forums/docs to find the code you need to copy and then just paste it into your index.php - or you could write the code to interigate the database yourself - again im sure vbulletin docs have the database schema available... This isnt really a MySQL solution to what you want to do.. HTH Dave 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.