vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 2.x Full Releases (https://vborg.vbsupport.ru/forumdisplay.php?f=4)
-   -   Total members registered TODAY 1.0 (Forumhome) (https://vborg.vbsupport.ru/showthread.php?t=36370)

AllMadden.net 03-13-2003 08:47 PM

I am having trouble with this. I took over a board that had this hack installed and for some reason the number next to the register today: isn't there. I downloaded the hack and re-did everything (it was already there) and it still isn't there. Any ideas?

One question is...but root directory does it mean the directory the index.php for the board is in?

firas 03-14-2003 06:17 AM

gr8 hack

thanx

Snapperhaed 03-22-2003 05:51 PM

Nice Hack, Thanks! Works right out of the box with v2.3 #3.

Reverend 03-29-2003 07:35 PM

Does anyone know which part of the following code i need to edit so that it adjusts the registered joindate to compensate for an offset timezone.
My board is set for -5 hours.At the moment the members registered today total doesn't refresh until 5am.I want to edit the code so that the total refreshes at midnight.
Code:

<?php

// Hack made by Psico

if ($action=="+++++gistered") {
        include("./global.php");

$registrations=$DB_site->query("SELECT COUNT(*) AS count,username,userid,posts FROM user WHERE joindate > ". mktime(0,0,0,date("m"),date("d"),date("Y")) ." GROUP BY username order by username ASC");

while ($membersreg = $DB_site->fetch_array($registrations)):
        if (($counter++ % 2) != 0) {
                                $backcolor="#F1F1F1";
                                $bgclass="alt1";
                        } else {
                                $backcolor = "#DFDFDF";
                                $bgclass="alt2";
                        }
eval("\$registered .= \"".gettemplate("+++++gisterbit")."\";");
endwhile;
}
eval("dooutput(\"".gettemplate("+++++gister")."\");");
?>


magna 03-30-2003 05:44 AM

nice hack, however I tried to install this and i am getting the same error as memtioned above

Fatal error: Call to undefined function: gettemplate() in /usr/home/mysite/public_html/forum/+++++gister.php on line 21

I have checked and rechecked and cannot find any problems. It counts new members just fine, just gives this error when you click on the number.

any ideas, works great otherwise

tkeil69575 06-24-2003 04:46 PM

nice hack psico,
installed it today and works fine :)

Janitor 01-03-2004 05:22 PM

inetd, have you tried it for 3. gamma yet?

budlite74 02-02-2004 12:29 AM

??


All times are GMT. The time now is 06:12 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.03831 seconds
  • Memory Usage 1,732KB
  • 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
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (1)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (8)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