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)
-   -   vB3 Boardstatistic Version 2 (https://vborg.vbsupport.ru/showthread.php?t=66783)

Symbian.info 08-30-2004 10:42 PM

Quote:

Originally Posted by Onkel_Tom
Wow, 101 installations right now and also 71 clicks for the Hack of the Month August !
Thanks to all Users ;)

Install it! Love it! Wait now for version 3!! Thanks neighbour!

But I have one problem! Templates are only installed in style 1 !! :ermm:
How can I have it also in the other templates??? (noway I do it by hand !!)

Host Directory 08-31-2004 12:44 PM

Which bit of code do i need to change to add new search engine spiders graphics to the stats? I found a web stats program on google that has 111 search engine spider icons that i would like to use.

PcFreak 08-31-2004 01:52 PM

Quote:

Originally Posted by Host Directory
Which bit of code do i need to change to add new search engine spiders graphics to the stats? I found a web stats program on google that has 111 search engine spider icons that i would like to use.

You can add new spiders in the functions_statistik.php.

Found this part:
Code:

//################################################################################################
//### Spider Bots und Crawler Erkennung START im Moment 92 verschiedene
//################################################################################################

To add a new Spider use this code:
PHP Code:

elseif(ereg("newspider"$agent)) $c_bot "NewSpider"

Now you must create a new field in the statistik_spider table for the new spider.

PcFreak

PS:
Can you post a link to the web stats program, please

Onkel_Tom 08-31-2004 02:32 PM

Quote:

Originally Posted by Host Directory
Which bit of code do i need to change to add new search engine spiders graphics to the stats? I found a web stats program on google that has 111 search engine spider icons that i would like to use.

You have to add your search engines to the database table statistic_spider in the same way as the existing entries.
you can use this code in phpmyadmin to add a search engine to the table:
Code:

INSERT INTO `statistik_spider` ( `ID` , `spidername` , `spider_link` , `balken_link` , `Zaehler` ) VALUES
('', 'Spidername1', 'images/statistik/spider/spidernamerflagname1.gif', 'images/statistik/bar1.gif'),
('', 'Spidername2', 'images/statistik/spider/spidernamerflagname2.gif', 'images/statistik/bar2.gif'),
('', 'Spidername3', 'images/statistik/spider/spidernamerflagname3.gif', 'images/statistik/bar3.gif');

just replace SpidernameX with your Spidername, spidernamerflagname3.gif with your filename of the flag image. look also at the end of the code and change barx.gif for each line starting at bar1.gif up to bar11.gif and then again from bar1.gif.

Pay attention on the last line is a ";" at the end not a comma !

after adding the entries into the table you should also edit your file functions_statistik in /includes directory:
find
Code:

elseif(ereg("zyborg", $agent)) $c_bot ="WiseNu";                                                                                                        //WiseNu
and add after:
Code:

elseif(ereg("spider agent identification string", $agent)) $c_bot ="Spidername as written in database";                                                                                                        //your new Spidername
find out the spider agent identification strinf while searching on google for this spider and wrote in this string, Spidername as written in database should have the identical syntax as your entrie in db table for spidername.

that's all

I'm working on a spider indentification at the moment which is identifiying more spiders and gives also more information about the spiders. So if you can wait you get a better version in few days or weeks ;)
It's a very hard work to write all the information from several websites in the net in one database table, collect all information and change the code that it works.
I also optimized the identification routine from functions_statistik that the serverload is not to high while identify the spiders, also a lot of double entries and wrong spider agents will be fixed in this release.

It would be great if you can share the spider flags with us and I can implement these grafics in the new release ;)

venomx 09-03-2004 09:31 AM

I just installed this on 9/2 yet its showing I had one signup on 9/1???

http://www.discussionjunction.com/fo...do=last_x_days

DWard 09-03-2004 05:31 PM

There is an error in the code... Where you show the latest sticky threads on the bottom left of 'Polls / Stickys / Searchwords' the userid in the username link does not correspond to the username itself.

Can you do something about this?

Onkel_Tom 09-03-2004 06:05 PM

Quote:

Originally Posted by DWard
There is an error in the code... Where you show the latest sticky threads on the bottom left of 'Polls / Stickys / Searchwords' the userid in the username link does not correspond to the username itself.

Can you do something about this?

You are right my friend ! ;)
Search in Template statistic_sticky_bit for:
Code:

href="member.php?u=$autorid">$sticky_autor
and replace it with:
Code:

href="member.php?u=$sticky_autorid">$sticky_autor
and it works ;)

DWard 09-03-2004 07:42 PM

No worries, if theres any problems ill find em out and report bk :)

MissKalunji 09-03-2004 07:43 PM

Quote:

Originally Posted by DWard
No worries, if theres any problems ill find em out and report bk :)


Hey dward i ws wondering how do you make that pic signature?? is it a php code and image??? dat shows up how many users and things??

Mind telling me how u did it??

** Off topic but im just curious *** :nervous:

Onkel_Tom 09-03-2004 08:01 PM

Quote:

Originally Posted by MissKalunji
Hey dward i ws wondering how do you make that pic signature?? is it a php code and image??? dat shows up how many users and things??

Mind telling me how u did it??

** Off topic but im just curious *** :nervous:

This picture is the output of another Hack called Signature Hack.
Pls. use the search function on this board to find the Hack in the database ;)


All times are GMT. The time now is 09:35 PM.

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.01324 seconds
  • Memory Usage 1,756KB
  • 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
  • (6)bbcode_code_printable
  • (1)bbcode_php_printable
  • (6)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (2)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