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)
-   -   NewThread with member info on register (https://vborg.vbsupport.ru/showthread.php?t=34361)

Scott MacVicar 01-21-2002 10:00 PM

This hack was requested by Joe and is ideal for review of users in a private mod / admin forum. This involves very little effort to install and is a great asset, to dealing with problem users as it allows other mods to report on a user. I've found that mods and admins aren't always on at the same time.

Sparkz 01-22-2002 03:06 PM

Nice hack - implementing it at once :)

Quote:

Running vBulletin 2.2.1 on:
CPU: Dual P3 800mhz - RAM: 1024mb - HDD: 20GB Raid5
Apache 1.3.22 - PHP 4.1.0 - MySQL 3.23.39 - zlib installed - mod_gzip enabled
zend optimizer 1.20 - Zend Accelerator 2.0

*drool*

Scott MacVicar 01-22-2002 03:10 PM

its DDR RAM too 2100mhz not the SD RAM which runs at 100 or 133mhz

Modshack 01-22-2002 03:42 PM

Show off :))

How much does that cost then

[high]* Modshack throws crappy raq away
[/high]

HM

StarBuG 01-22-2002 06:44 PM

I tried your hack an get a Parse error in the register.php in the same line the hack starts!

this is the part around and with the code:
PHP Code:

  // initialise cookies
  
if ($cookieuser==1) {
    
vbsetcookie("bbuserid",$userid);
    
vbsetcookie("bbpassword",md5($password));
  }
  
$DB_site->query("UPDATE session SET userid=$userid WHERE sessionhash='".addslashes($session['dbsessionhash'])."'");
  
  
//Start Hack to Post userinfo to a forum
[Here the code of the hack]
????
//End Hack to post userinfo to a forum

  
if ($newuseremail!="")
  {
    if (
$birthday == 0) {
       
$birthday "N/A";
    } else {
       if (
date("Y")>$year and $year>1901 && $year!='0000') {
          
$birthday = @date($calformat1,mktime(0,0,0,$month,$day,$year));
       } else {
          
$birthday = @date($calformat2,mktime(0,0,0,$month,$day,0));
       }
       if (
$birthday=="") {
         
$birthday "$month-$day-$year";
       }
    } 

Any suggestions?

I use 2.2.1g and run the newest php version ;-)

Greetings

StarBuG

Sparkz 01-22-2002 07:27 PM

Quote:

Originally posted by PPN
its DDR RAM too 2100mhz not the SD RAM which runs at 100 or 133mhz
DDR2100 is the only way to go :)

Waiting for parts for my new game machine now.
AMD XP1900+
1GB RAM
Geforce 3
etc :D

Can't wait to start building it :)

Scott MacVicar 01-22-2002 07:36 PM

Starubg download the hack again, i created this hack in a stupid text editor in school and it seems to have caused problems with linebreaks when i saved it. So download the file and apply the hack again, even though its the same text, the linebreaks are sorted.

also please remove the php code you have in your post, your showing the entire hack to unliscenced users and we don't want to give those pirates any hacks.

thats the machine i'm running here :P

Athlon 1.8 XP
1GB DDR RAM
40GB 7200rpm HDD
Geforce 3
Iomega CD-ReWriter

i have a CRT monitor though, i want a TFT flat screen one :P

StarBuG 01-22-2002 07:58 PM

THX!!

Now it works fine :D

And I have removed the code hehe ;)

Thx for your work!

Greetings

StarBuG

Sparkz 01-22-2002 08:04 PM

When I move back to norway, I'm planning to build a dual MP system to use as a server.

If I can afford it, I'll prolly throw in some SCSI disks.
Enough dreaming for now, tho :)

techno 01-22-2002 09:54 PM

Quote:

you should immediately go change the forumid specified via the admin panel so new users won't have problems when registering
I dont understand this part...?


All times are GMT. The time now is 06:05 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.01093 seconds
  • Memory Usage 1,746KB
  • 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_php_printable
  • (3)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (2)pagenav_pagelink
  • (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