vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   Modification Graveyard (https://vborg.vbsupport.ru/forumdisplay.php?f=224)
-   -   Administrative and Maintenance Tools - Webmaster Tools (WMT4vB) (https://vborg.vbsupport.ru/showthread.php?t=221089)

toonysnn 08-16-2009 10:00 PM

Webmaster Tools (WMT4vB)
 
Webmaster Tools

These tools are for administrators to check their pagerank, whois domains, and looking up IP addresses. This may all be done easily, but if you're in the Admin CP, it's that much handier. Brought to you by vBWMS.com

I want to make this clear, this modification will (at some point) request information from a remote server. This is not a bug, this is not an exploit. This is a simple data request, basically version checking (when requested) and all the functionality on the mod.
I'll find a way to eliminate this in the future, but this is a beta release. Probably will eliminate the need for it (except for version checking) soon.

Features
  • Lookup IP
  • Whois Domain
  • Check PageRanks
  • [Product] Check for WMT Updates
  • To come:
    • Server Stats (Implemented)
      • Process List
    • Load Time Averages (On Hold)
    • IP Lookup (Implemented)
      • IP Location (On Hold)
Server Sided

This modifications relies on three different methods of checking via WHOIS and IP Lookup. One method for PageRank.
For Whois/IP Lookup, you'll either need php's shell_exec(), system(), or fopen() available.
For PageRanks, you'll be required to have php's fopen() available, otherwise you cannot check the pagerank. (Unless visiting manually)
This is a *nix modification only. Windows based systems will NOT work with this modification.

Please click Install if you install this modification. :)

Version History
  • 1.0.1
    • Removed bug where, even if having shell_exec or system but not fopen() (whois / ip lookup)
    • Added functionality that removes options from the main stats page should the functions not be available.
    • Added Server Statistics / Status
  • 1.0.0
    • Initial Release
Screenshots
http://vbwms.com/screenshots/wmtools/

Piratos 08-17-2009 09:25 AM

Hum nice and happy to be the 1st one who say that (:

Regards!

elenh 08-17-2009 09:31 AM

Thanks a llot! INSTALLED

apiasto 08-17-2009 10:34 AM

sound nice n i installed it and now i get this fatal error messege when i click on web tools,how can i fix this?thanks
Call to undefined function stri_replace() in /home/********/*****/admincp/whtools.php on line 15

Ljusya 08-17-2009 10:40 AM

after install i`ve message
Fatal error: Call to undefined function stri_replace() in my/path/odmincp/whtools.php on line 15

toonysnn 08-17-2009 12:28 PM

oh woops. I was doing some testing and trying to mess around with settings. One moment and I'll have that removed.

toonysnn 08-17-2009 12:30 PM

Okay anyone receiving the stri_replace error, it should be fixed now. :)

apiasto 08-17-2009 03:18 PM

ok great its working thanks.by the way does it get page rank info and is it possible to add 1 more feature to this like to find ip location.thanks

saadessa 08-17-2009 03:28 PM

installed its working fine without any error thank you for this greate hack

toonysnn 08-17-2009 03:29 PM

Sure, I'll add IP Location in the next release. :)

apiasto 08-17-2009 04:26 PM

Quote:

Originally Posted by toonysnn (Post 1869224)
Sure, I'll add IP Location in the next release. :)

that will be cherry on top thnx :D

pein87 08-17-2009 05:23 PM

nice to see you got it all working good job.

toonysnn 08-17-2009 05:39 PM

Thanks. I had everything done, I just needed to test it a little bit and get more features implemented. :)

toonysnn 08-18-2009 05:50 AM

Upgraded to 1.0.1. Added a feature or two. :)

Floris 08-18-2009 11:23 AM

Small typo line 120 of the admincp file
Code:

print_cp_message("None of the methods attempted are availble. Please contact your host about enabling system, fopen, or shell_exec.");
availble = available

Scovic 08-18-2009 12:05 PM

Nice toonysnn,
Installed and working fine.

toonysnn 08-18-2009 01:32 PM

Thanks Floris for reporting that. I've been coding more late at night, typos are unavoidable. Lol.

bleros 08-19-2009 01:48 AM

Whois a domain / Lookup IP

Warning: shell_exec() [function.shell-exec]: Cannot execute using backquotes in Safe Mode in [path]/admincp/whtools.php on line 105

Warning: shell_exec() [function.shell-exec]: Cannot execute using backquotes in Safe Mode in [path]/admincp/whtools.php on line 122

Server Statistics / Status

$$$$$$$ RAM INFO $$$$$$$
$ cat /proc/meminfo

Warning: shell_exec() [function.shell-exec]: Cannot execute using backquotes in Safe Mode in [path]/admincp/whtools.php on line 70

$$$$$$$ CPU INFO $$$$$$$
$ cat /proc/cpuinfo

Warning: shell_exec() [function.shell-exec]: Cannot execute using backquotes in Safe Mode in [path]/admincp/whtools.php on line 73

$$$$$$$ DISKINFO $$$$$$$
$ df -aH

Warning: shell_exec() [function.shell-exec]: Cannot execute using backquotes in Safe Mode in [path]/admincp/whtools.php on line 76

$$$$$$$ LOADAVGS $$$$$$$
$ cat /proc/loadavg

Warning: shell_exec() [function.shell-exec]: Cannot execute using backquotes in Safe Mode in [path]/admincp/whtools.php on line 79

Brandon Sheley 08-19-2009 02:08 AM

can you upload a screenshot?
is the something that only admin can see, if all members

Faizan 08-19-2009 02:29 AM

Nice Hack

toonysnn 08-19-2009 02:35 AM

Quote:

Originally Posted by bleros (Post 1870207)
Whois a domain / Lookup IP

[snip]
Server Statistics / Status
[snip]

I did not expect users to run this in safe mode, I will have to add safemode functionality in order to get this working right. Thanks for reporting it.

Quote:

Originally Posted by Loco.M (Post 1870210)
can you upload a screenshot?
is the something that only admin can see, if all members

Currently it's only admincp. I will have the availability of the public viewing this script though, when this goes completely stable (no bugs, all features that should be in it is there, etc.)

For screenshots: http://vbwms.com/screenshots/wmtools/


All times are GMT. The time now is 02:32 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.01208 seconds
  • Memory Usage 1,755KB
  • 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
  • (3)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (21)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