vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.0 Full Releases (https://vborg.vbsupport.ru/forumdisplay.php?f=33)
-   -   vB Statistic version 3.0.0 (directors Cut *g*) (https://vborg.vbsupport.ru/showthread.php?t=74603)

Amavisca 01-20-2005 03:33 AM

Awsome hax. Work great on v3.06 Thnx

yoyoyoyo 01-20-2005 03:41 AM

Quote:

Originally Posted by kall
If anyone wants to restrict the display of the Server type values on the main page, do the following change to STATISTIC template:

Find
PHP Code:

<td class="alt2">$webserver</td>
</
tr>
<
tr
    <
td class="alt1"><img src="statistic/images/misc/php.gif" alt="$vbphrase[vbstatistic_infos_data_dec]width="32" height="32" border="0" /></td>
    <
td class="alt1">$vbphrase[vbstatistic_php_version]</td>
    <
td class="alt1">$phpversion</td>
</
tr>
<
tr
    <
td class="alt2"><img src="statistic/images/misc/sql.gif" alt="$vbphrase[vbstatistic_infos_data_dec]width="32" height="32" border="0" /></td>
    <
td class="alt2">$vbphrase[vbstatistic_sql_version]</td>
    <
td class="alt2">$mysqlversion</td

Replace with:
PHP Code:

<td class="alt2"><if condition="$bbuserinfo[usergroupid]==5 OR $bbuserinfo[usergroupid]==6 OR $bbuserinfo[usergroupid]==7">$webserver<else /><strong>Admin only!</strong></if></td>
</
tr>
<
tr
    <
td class="alt1"><img src="statistic/images/misc/php.gif" alt="$vbphrase[vbstatistic_infos_data_dec]width="32" height="32" border="0" /></td>
    <
td class="alt1">$vbphrase[vbstatistic_php_version]</td>
    <
td class="alt1"><if condition="$bbuserinfo[usergroupid]==5 OR $bbuserinfo[usergroupid]==6 OR $bbuserinfo[usergroupid]==7">$phpversion<else /><strong>Admin only!</strong></if></td>
</
tr>
<
tr
    <
td class="alt2"><img src="statistic/images/misc/sql.gif" alt="$vbphrase[vbstatistic_infos_data_dec]width="32" height="32" border="0" /></td>
    <
td class="alt2">$vbphrase[vbstatistic_sql_version]</td>
    <
td class="alt2"><if condition="$bbuserinfo[usergroupid]==5 OR $bbuserinfo[usergroupid]==6 OR $bbuserinfo[usergroupid]==7">$mysqlversion<else /><strong>Admin only!</strong></if></td

Just take out the 5 and 6 conditions if you dion't want to show to mods and supermods.

cool- now I can move this in to the public area :)

PcFreak 01-20-2005 05:26 AM

Quote:

Originally Posted by spinball
I think you might need to add an 'addslashes' in there somewhere?

Quote:

Originally Posted by Onkel_Tom
PcFreak, I thought this was fixed in Dezember in a beta release ????

Nope. ;)
I fix this for keywords, not for referers. ;)
I have add a new statistic counter.php. Just exchange the new statistic_counter.php with the old one to fix this problem.

Quote:

Originally Posted by Torqued
I want to try a re-install of this from the beginning

Not the statistic is the problem. It?s your portal.
vBadvanced is a really very good modification. But it is change so much the orginal vBulletin file structur.
At the moment i have no solution for this portal problem.

Quote:

Originally Posted by Bryan Ex
I got it... it's based on the registration date of the first user id in the database (normally user #1) but I did an import from phpBB2 so admin is user 2. In /statistic/side/forum.php find AROUND LINE 48;

My mistake
I had never thought that userid 1 will be miss sometimes :)
Your solution to change the userid in the forum.php is correctly

Quote:

Originally Posted by sv1cec
OK, I've find the problem with the icon in the search engines search strings

That wasn?t a problem
It was not intended of me, display a link in the alternate text of an image.
The alternate text is the image description. (It is for user with exotic Browsers, or for user which block images). For exampel: Some user surf with Text Browsers (blind user or user with a see handicap) I want make my code accessible for all without barriers. (besides it is xhtml conform)

Greets
PcFreak

sv1cec 01-20-2005 05:43 AM

Quote:

Originally Posted by PcFreak
That wasn?t a problem
It was not intended of me, display a link in the alternate text of an image.
The alternate text is the image description. (It is for user with exotic Browsers, or for user which block images). For exampel: Some user surf with Text Browsers (blind user or user with a see handicap) I want make my code accessible for all without barriers. (besides it is xhtml conform)

Greets
PcFreak

Then I am afraid that I do not understand your explanation.

"You can show the complete Search string while resting the mouse over the sign. The string will be shown in the "Alt" Tag."

The Alt tag of an image, appears when you rest your cursor over the image. Am I wrong? In any case, that does not bother me, so don't bother yourself either.

Rgds and tnx

kall 01-20-2005 05:44 AM

Quote:

Originally Posted by Torqued
That's the problem. I have statistic_java_counter.php in /public_html/forums but when the script runs, I get the error message for the other path. :ermm:

You can either use the full path to the file ie:
PHP Code:

include("/home/youraccount/public_html/forums/statistic_counter.php"); 

or...
PHP Code:

if (THIS_SCRIPT != 'adv_index')
{
include(
"./statistic_counter.php");


.. if you want to stop the including when people are viewing your adv_index page.

Ah. Right, sorry. Just stick the full path to statistic_java.js in the template. Then, you will need to edit the .js file, on line 113, enter your full forum path.

Onkel_Tom 01-20-2005 06:02 AM

Quote:

Originally Posted by sv1cec
Then I am afraid that I do not understand your explanation.

"You can show the complete Search string while resting the mouse over the sign. The string will be shown in the "Alt" Tag."

The Alt tag of an image, appears when you rest your cursor over the image. Am I wrong? In any case, that does not bother me, so don't bother yourself either.

Ooops, that was a translation mismatch from me ;)

Spinball 01-20-2005 06:09 AM

Quote:

Originally Posted by Spinball
I think you might need to add an 'addslashes' in there somewhere?

Still getting regular database errors.
Any chance of a patch, or instructions on how to patch, please?

PcFreak 01-20-2005 06:15 AM

Quote:

Originally Posted by sv1cec
Then I am afraid that I do not understand your explanation.
"You can show the complete Search string while resting the mouse over the sign. The string will be shown in the "Alt" Tag."

Its ok. Thats mean, shown in the alt tag of the link ;).
Sorry for this misunderstanding

Quote:

Originally Posted by sv1cec
But I would appreciate some help in solving the additional line issue on the top of my site.

I look around for a solution.
At the moment i have no idea.
I use the IE 6.0 and dont see any line on the top of your side.
Maybe there more users here, with the same problem. I am sure, together we find a solution for this.

PcFreak

PcFreak 01-20-2005 06:18 AM

Quote:

Originally Posted by Spinball
Still getting regular database errors.
Any chance of a patch, or instructions on how to patch, please?

I have add a new statistic counter.php. Just exchange the new statistic_counter.php with the old one to fix this problem

Have you done this?

PcFreak

hugo 01-20-2005 06:28 AM

MMHH...

I´m looking for the lenguage SPANISH.. i understand that german is great, but ... i need the spanish translation.

=P If anyone do the translation, i´m interesting..


All times are GMT. The time now is 11:50 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.01913 seconds
  • Memory Usage 1,784KB
  • 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
  • (4)bbcode_php_printable
  • (13)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (1)pagenav_pagelinkrel
  • (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