Hey faken you know your front page not the forum but the site, how did u put the forum satistics on there???
Forum Satistics
Started by
_*Yeung_*
, May 21 2004 07:01 PM
7 replies to this topic
#1 _*Yeung_*
Posted 21 May 2004 - 07:01 PM
#2 _*sEVEn_*
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
hey Faken... do you have any links to DHTML stuff? I don't need any, but just thought of it
#3 _*Yeung_*
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_*
Posted 22 May 2004 - 02:44 AM
yeah i dunno about that stuff.. =]]] but i was reaching
#5 _*Shao_*
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)
// 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_*
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
Posted 29 May 2004 - 12:01 PM
We have this tutorial in the PHP section...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.
http://www.pixel2lif...als.php?ID=5493
Faken
#8 _*Yeung_*
Posted 29 May 2004 - 10:54 PM
oh what thanks!!
0 user(s) are reading this topic
0 members, 0 guests, 0 anonymous users