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)
-   -   duplicate ip/password list! (https://vborg.vbsupport.ru/showthread.php?t=36269)

SaintDog 03-18-2002 07:02 PM

Seems to be working fine for me, at least since I have been using it. I will see if I left out or deleted anything from the script that may be causing the header error. If I can find the reason I will re-upload it.

SaintDog

Zedd 03-19-2002 10:34 PM

Hi, hack sounds great. I downloaded the file and installe dit, but when I run it I get a blank white screen. Was I suppose to modify the file in anyway to get it to work on my server?

SaintDog 03-19-2002 11:26 PM

Nope, just upload to your /admin folder and open your browser and goto the location of the file :)

SaintDog

Zedd 03-19-2002 11:50 PM

ok I did that and it did not work, so here is a question.

I have the php3 version, so all of my php files end in php3

So what is the difference between the two versions VB offers and which one are the hacks written for

SaintDog 03-19-2002 11:55 PM

The hack was written for the PHP versions I am pretty sure, although there should not be too much of a difference I would not think, but I do not know everything about php so I could be wrong.

SaintDog

nafae 03-20-2002 01:29 AM

Saintdog/supreemball: In addition to your pretty color change, I added an admin nav option to the admin's index.php page, and that is when I notice the "not outputing header" error. Here is what I put for the nav link:

PHP Code:

//the normal part of the navigation
makenavoption("Build Mailing List","email.php?action=genlist","<br>");
//this is the part I added:
makenavoption("View Duplicate IP Addresses","dupeip.php/"); 

I added the slash at the end of dupeip.php because vbulletin was adding things to the url that your script didn't like, so I was getting "page not found" errors. What can I do to add a link on the admin page and get it to integrate as normal? Any ideas?

Great hack btw, :D

Axel Foley 03-20-2002 10:28 PM

Saintdog: your version produces a warning if you call the script directly, but if you integrate it in the CP it works fine. :)

Nafae: you can do it this way (this is an extract of my index.php, the Hacks sections) look at the dupeip line.

PHP Code:

// *************************************************
makenavoption("Login Information","loginlog.php?action=modify","<br>");
makenavoption("PM Stats","pmstats.php?action=","<br>");
makenavoption("Moderator Logs","modlog.php?showLimit=25","<br>");
makenavoption("Mass PM","masspm.php?action=","<br>");
makenavoption("Duplicate IPs&PW","dupeip.php?action=","<br>");
makenavoption("Template Backup System","tbs.php?action=modify");
makenavselect("Hacks","<hr>");
makenavoption("Browse Attach.","browseatt.php?action=intro","<br>");
makenavoption("Delete Attach.","rematt.php?action=intro","<br>");
makenavoption("Convert Date/Time","convert.php?action=intro","<br>");
makenavoption("Encrypt String","convert.php?action=intro","<br>");
makenavselect("Hack Admin Func.","<hr>");
// ************************************************* 

Supreemball: thanks a lot for this one. I'll integrate it with the extended version of the loginlog hack (originally by PPN) that I made to look at dupes also for login IPs...:D

Jawelin 03-21-2002 09:26 AM

Quote:

Originally posted by SaintDog
I became rather board and the white and all was hurting my eyes so I made a few changes to make it look like the control panel (default style), it makes thing a little neater in my opinion.
[...]

Nice restyle... Just, shouldn't have been a little cleaner to use
cpheader() and cpfooter() functions as in each AdminCP page, instead of replicating such a html code inside the php script ?

:laugh: Thanks

chris frolic 04-02-2002 04:56 AM

Awesome hack. Love it :).

LaNder 04-02-2002 08:35 AM

i integrated it in the CP but it still shows the errors:
Quote:

Warning: Cannot add header information - headers already sent by (output started at /.../admin/dupeip.php:5) in /.../admin/global.php on line 118

... line 119
... line 120
... line 121
how can i fix it?


LaNder


All times are GMT. The time now is 10:35 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.01280 seconds
  • Memory Usage 1,748KB
  • 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
  • (2)bbcode_php_printable
  • (2)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (3)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