The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
||||
|
||||
Vb Stats, outside of vb!
hey. on my http://www.url.com/index.php, i would like to add a small box with
Quote:
thanks men!!! |
#2
|
||||
|
||||
awwwww......come on!!! Theres been 'last post on non vb', why is this one so hard???
|
#3
|
||||
|
||||
Ok, here's how you do it (I do this on my site too, it's not hard.)
In your DEFUALT styleo nyour boards, pu tthis under the meta tags in FORUMHOME template: <meta name="threads" content="$totalthreads" /> <meta name="members" content="$numbermembers" /> <meta name="posts" content="$totalposts" /> <meta name="newmember" content="$newusername" /> Now, in your webpage (MUST be PHP) Put this in. (MAKE SURE to redirect the URL that's in the get_meta_tags to your forum URL. <?$stats = get_meta_tags("http://www.yoursite.com/forums/index.php?");?> Threads: <?php print( $stats['threads'] ); // to get the number of threads;?> Members: <?php print( $stats['members'] ); // to get the number of members ;?> Posts: <?php print( $stats['posts'] ); // to get the number of posts;?> Newest Member: <?php print( $stats['newmember'] ); // to get the newest members name;?> And there you go! |
#4
|
||||
|
||||
Quote:
|
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|