Jump to content

question about sql echo?


sub7av

Recommended Posts

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?

Link to comment
Share on other sites

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

Link to comment
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.