vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB3 General Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=111)
-   -   Need to update Newuser and Registered users counter. (https://vborg.vbsupport.ru/showthread.php?t=97266)

knightdriver 10-01-2005 01:33 AM

Need to update Newuser and Registered users counter.
 
I am new to vb.

I am adding new users to vb through a sql script.

Everything works fine with one exception.

The Newest User and registered members couters are not increasing or showing the latest registration.

Is there anyway I can fix this. Where in the forums can I add code to update these stats. Users will never be added to the site with the registration screen. They will all be added only through this sql script.

Please help.

Thanks,

Knight.

Marco van Herwaarden 10-01-2005 04:18 AM

Try updating counters in your ACP.

knightdriver 10-01-2005 11:51 PM

That wont update the Newest Member and Member count.

This process only runs during the register of new users.

I am adding users via sql so I need to run the update portion of the resitration in my own php script.

Any help would be appreciated.

Thanks,

Knight.

Marco van Herwaarden 10-02-2005 05:52 AM

What tables are you modifying when you manually insert a new user?
Is this a 1 time action, or ongoing?

Andreas 10-02-2005 06:34 AM

Record userstats in table datastore

knightdriver 10-05-2005 01:33 PM

Quote:

Originally Posted by MarcoH64
What tables are you modifying when you manually insert a new user?
Is this a 1 time action, or ongoing?

I am inserting into User, UserField and UserTextField.

It is an ongoing thing.

I have a website where people register. As part of the registration it sets up the user in the forums automatically. I have disabled registration through the forums.

Knight.


All times are GMT. The time now is 12:42 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.02078 seconds
  • Memory Usage 1,716KB
  • 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_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (6)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