![]() |
for newest member add this to phpinclude_start:
PHP Code:
HTML Code:
<a href="member.php?u=$newuserid">$newusername</a> |
heloo FREIND ,
Step 1 : open : global.php Step 2 : Find line 491) Code:
eval('$header = "' . fetch_template('header') . '";'); Step 3 :Repalce with : Code:
$mem=$DB_site->query_first("SELECT COUNT(*) AS users FROM " . TABLE_PREFIX . "user"); Step 4: threads : $thr[threads] Posts : $post[posts] members : $mem[users] new member : $newusername finish |
Was this a reply to someones question? This is a very old thread, and the changes you suggest add more queries then needed to the page.
Quote:
|
LOL ...
|
Does this still work for 3.6.4? I can't seem to find the template: phpinclude_start
|
This will not work for 3.6 versions. Instead, you need to use the global_start plugin.
|
Do I have to create the "golbal_start" plugin? I can't find it?
|
I want to do this aswell!
I'm using 3.7, would appreciate som help here :-) |
This thread is 4 years old, and contains mostly outdated information.
I suggest you search for a more recent thread or create a new one. |
Displaying Avatar in Header Plugin:
Hook Location: global_start Code: Code:
if ($vbulletin->userinfo['userid']) --------- Showing user stats in the header Plugin: Hook Location: global_start Code: Code:
// forum stats start $totalonline = Total Users Online $numbermembers = Total Members Registered Unfortunately I don't have any other variables, so you'll need to find code for the other ones you'd like to display. |
All times are GMT. The time now is 08:23 AM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|