vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   Modification Requests/Questions (Unpaid) (https://vborg.vbsupport.ru/forumdisplay.php?f=112)
-   -   "Real" user stats hack (https://vborg.vbsupport.ru/showthread.php?t=43087)

DonLKSAB 09-02-2002 03:07 PM

"Real" user stats hack
 
Hi all.
Im looking for a hack similar to all the RPG hacks in here.
But i want it to actualy read a HTML file or Mysql DB.
Im in a Seti@Home team and we have a stats program that creates HTML pages every hour.

This is what it creates

And i would like a feald in the CP were my users can add ther Seti username.
And then i want VB to read the HTML file and type how many "workunits" the user have done under "posts".

I know this may sound like a special hack but most games have some kind of stats software that creates HTML pages.
So for other games it could display how many fraggs or what ever.

/DonLKSAB

DonLKSAB 12-28-2002 10:18 PM

No one wanted this :-(

/DonLKSAB

Sebastian 12-29-2002 04:31 AM

1st question: you can create a custom profile in the admin cp for users to enter their name without hacking.

2nd question: i am not to sure how seti statistics work. is there an actual page that shows just the users seti count, without all the graphs etc? because it would be pretty easy to do if this was so.

DonLKSAB 12-29-2002 09:09 PM

Well i did some reaserch in the DB.
And it looks realy nice.
So this is what i need.

1. A new text field in CP to add the "username" in ( I can do that ).

2 Then i need to add two rows of text under the vbb username when they post on forum. One that displays "rank" and one for "WU?s".

That info is in a Mysql DB and i can add it to the vbb DB.

The DB table is called "stats_individual"
And it looks like this:
http://www.lksab.com/don/db.jpg

And Url to image: Image

So i need the hack to find the user in "name" and display "rank" and "tot_wu"

Thanks
/DonLKSAB


All times are GMT. The time now is 08:58 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.01104 seconds
  • Memory Usage 1,719KB
  • 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)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (4)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
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete