Jump to content


Forum Satistics


  • Please log in to reply
7 replies to this topic

#1 _*Yeung_*

_*Yeung_*
  • Guests

Posted 21 May 2004 - 07:01 PM

Hey faken you know your front page not the forum but the site, how did u put the forum satistics on there???

#2 _*sEVEn_*

_*sEVEn_*
  • Guests

Posted 21 May 2004 - 11:02 PM

maybe some sorta news script? DHTML?

hey Faken... do you have any links to DHTML stuff? I don't need any, but just thought of it :blink:

#3 _*Yeung_*

_*Yeung_*
  • Guests

Posted 22 May 2004 - 12:32 AM

meh I dont think it has DHTML, its probably PHP because it also has the stats in the forum so i dunno

#4 _*sEVEn_*

_*sEVEn_*
  • Guests

Posted 22 May 2004 - 02:44 AM

yeah i dunno about that stuff.. =]]] but i was reaching :blink:

#5 _*Shao_*

_*Shao_*
  • Guests

Posted 22 May 2004 - 02:03 PM

If you're using the same forum software then you can call DB class for most of your needs. Below is a simple code that takes advantage of the DB class:

// locate and assign your own global variables and driver scripts from Invision forum
...

// you need to establish the DB class as defined in the index.php or forum.php in the invision script.
$DB = new db_driver;

// your DB class initializations
...

// your db connection and query
$DB->connect();
$DB->query("SELECT name from ibf_members");
$row = $DB->fetch_row();

Invision tables are excellently labelled for your convenience. The above sample code can fetch the user names among many other things from the ibf_members table (only registered users). There are many other tables with whatever info you need to display. Good luck and have fun!

PS: Yes, its all php script. PHP (Pretty Helpful Program)

#6 _*Yeung_*

_*Yeung_*
  • Guests

Posted 22 May 2004 - 04:55 PM

hmmm wait could you explain it better. it doesnt seem to work for me. My forum is located at emotiondesigns.com/forum and yeah dunno how to work it.

#7 Faken

Faken

    Pimpmaster G

  • Admin
  • 5,966 posts
  • Gender:Male
  • Location:Montreal, Canada

Posted 29 May 2004 - 12:01 PM

hmmm wait could you explain it better. it doesnt seem to work for me. My forum is located at emotiondesigns.com/forum and yeah dunno how to work it.

We have this tutorial in the PHP section...

http://www.pixel2lif...als.php?ID=5493

Faken

#8 _*Yeung_*

_*Yeung_*
  • Guests

Posted 29 May 2004 - 10:54 PM

oh what thanks!!




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users