vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.5 Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=113)
-   -   Live Forum Statistics on All Pages in Header (https://vborg.vbsupport.ru/showthread.php?t=95493)

hyproVision 09-16-2005 07:24 PM

Wow your site looks very much like www.webhostingtalk.com !

Blindchild02 09-17-2005 05:22 PM

Quote:

Originally Posted by hyproVision
Wow your site looks very much like www.webhostingtalk.com !

i was just about to say that
http://www.webhostingtalk.com/

hyproVision 09-19-2005 02:39 PM

This comes up when i install it:

There seems to have been a problem with the Test Forums database.
Please try again by clicking the Refresh button in your web browser.

An E-Mail has been dispatched to our Technical Staff, who you can also contact if the problem persists.

We apologise for any inconvenience.


Code:

Database error in vBulletin 3.5.0 Release Candidate 2:

Invalid SQL:
SELECT COUNT(DISTINCT(userid)) AS count FROM testboardsession WHERE session.userid>0 AND session.lastactivity>1127143369;

MySQL Error  : Unknown table 'session' in where clause
Error Number : 1109


HaYLaZ 09-19-2005 07:38 PM

ı made some code modifications about this and ı change the table:D
ı think it was very beatiful and changable all colours
replace the codes below wiht your old codes and ı put this codes to myforumhome template under $navbar code.You can see the example in attachment

PHP Code:

<!-- Forum Stats in Header Template -->
<
table width="100%" border="0" cellspacing="0" cellpadding="0">
  <
tr>
    <
td>
      <
table align="center" border="1">
<
tr>
<
td bordercolor="red"><div class="smallfont">
<
span style="color: red;"><b>Discussions:</b$totalthreads </span></div>
 
<
td bordercolor="blue"><div class="smallfont">
<
span style="color: blue;"><b>Messages:</b$totalposts </span></div>

<
td bordercolor="black"><div class="smallfont">
<
span style="color: black;"><b>Members: </b>$numbermembers </span></div>
 
<
td bordercolor="green"><div class="smallfont">
<
span style="color: green;"><b>Online: </b>$totalonline </b> </span></div

<
td bordercolor="purple"><div class="smallfont">
<
span style="color: purple;"><b>Newmember :</b> <a href="$vboptions[bburl]/member.php?u=$newuserid"><b>$newusername</b></a> (welcome!)</span></div>

 </
tr>
</
table>
<!-- 
Forum Stats in Header Template --> 


you can change colours yourself

Neutral Singh 09-24-2005 09:00 AM

Quote:

Originally Posted by HaYLaZ
ı made some code modifications about this and ı change the table:D
ı think it was very beatiful and changable all colours
replace the codes below wiht your old codes and ı put this codes to myforumhome template under $navbar code.You can see the example in attachment

PHP Code:

<!-- Forum Stats in Header Template -->
<
table width="100%" border="0" cellspacing="0" cellpadding="0">
  <
tr>
    <
td>
      <
table align="center" border="1">
<
tr>
<
td bordercolor="red"><div class="smallfont">
<
span style="color: red;"><b>Discussions:</b$totalthreads </span></div>
 
<
td bordercolor="blue"><div class="smallfont">
<
span style="color: blue;"><b>Messages:</b$totalposts </span></div>

<
td bordercolor="black"><div class="smallfont">
<
span style="color: black;"><b>Members: </b>$numbermembers </span></div>
 
<
td bordercolor="green"><div class="smallfont">
<
span style="color: green;"><b>Online: </b>$totalonline </b> </span></div

<
td bordercolor="purple"><div class="smallfont">
<
span style="color: purple;"><b>Newmember :</b> <a href="$vboptions[bburl]/member.php?u=$newuserid"><b>$newusername</b></a> (welcome!)</span></div>

 </
tr>
</
table>
<!-- 
Forum Stats in Header Template --> 


you can change colours yourself

Yeah, hee hee, its duly called WHT Remix Style. ;)

Nice work HaYLaZ !! :)

Mr Chad 10-09-2005 07:14 AM

Quote:

Originally Posted by Neutral Singh
Yeah, hee hee, its duly called WHT Remix Style. ;)

Nice work HaYLaZ !! :)

didnt work w/ gold.

Mr Chad 10-09-2005 07:17 AM

Database error in vBulletin 3.5.0:

Invalid SQL:
SELECT COUNT(DISTINCT(userid)) AS count FROM x_session WHERE session.userid>0 AND session.lastactivity>11288029;

MySQL Error : Unknown table 'session' in where clause
Error Number : 1109
Date : Sunday, October 9th 2005 @ 04:17:09 AM
Script : http://www.thesite.com/
Referrer :
IP Address : x.x.x.x
Username : Chad
Classname : vb_database

Mr Chad 10-11-2005 03:33 AM

Quote:

Originally Posted by chatbum
Database error in vBulletin 3.5.0:

Invalid SQL:
SELECT COUNT(DISTINCT(userid)) AS count FROM x_session WHERE session.userid>0 AND session.lastactivity>11288029;

MySQL Error : Unknown table 'session' in where clause
Error Number : 1109
Date : Sunday, October 9th 2005 @ 04:17:09 AM
Script : http://www.thesite.com/
Referrer :
IP Address : x.x.x.x
Username : name
Classname : vb_database

why cant i get it to show how many users are online?

Mr Chad 10-13-2005 06:19 AM

? anyone

Mr Chad 10-24-2005 12:28 PM

Quote:

Originally Posted by chatbum
? anyone

how come you got it to work for online members...


All times are GMT. The time now is 10:38 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
  • Page Generation 0.01103 seconds
  • Memory Usage 1,774KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)bbcode_code_printable
  • (2)bbcode_php_printable
  • (5)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (3)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • printthread_start
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete