Welcome, Guest!!
follow us on... rss

Author Topic: php nuke  (Read 19788 times)

PAIN

  • Newbie
  • *
  • Posts: 13
    • View Profile
    • Eastern Ky Paintball
php nuke
« on: December 26, 2009, 11:34:57 AM »
I love the work you guys are doing. Can i get a guide for installing botscout on php nuke?
All that is required for evil to flourish is that good men do nothing

MysteryFCM

  • Moderator
  • Full Member
  • *****
  • Posts: 200
    • View Profile
    • I.T. Mate
Re: php nuke
« Reply #1 on: December 26, 2009, 11:43:54 AM »
It appears you've got to pay for phpNuke :(

http://phpnuke.org/modules.php?name=Release

However, the mod will usually go into a register.php or login.php file, depending on which one is present (or both if both are present)
Regards
Steven Burn
I.T. Mate / hpHosts
it-mate.co.uk / hosts-file.net

Mike

  • Administrator
  • Sr. Member
  • *****
  • Posts: 300
    • View Profile
Re: php nuke
« Reply #2 on: December 26, 2009, 04:50:45 PM »
However, the mod will usually go into a register.php or login.php file, depending on which one is present (or both if both are present)

MysteryFCM is right; if you can post the code in the files here we can probably figure what needs to be done. Without it we can only guess.
Please don't PM me for assistance- post your questions in the forum where others can see them.

PAIN

  • Newbie
  • *
  • Posts: 13
    • View Profile
    • Eastern Ky Paintball
Re: php nuke
« Reply #3 on: December 27, 2009, 03:43:50 AM »
the signup link points to the your account module in nuke, the index php file there is too large to post here but can be found at:
http://ww.easternkypaintball.com/download/index.php
I hope I am pointing you guys at the right file, i know a bit about this stuff and I am learning....thanks
All that is required for evil to flourish is that good men do nothing

Mike

  • Administrator
  • Sr. Member
  • *****
  • Posts: 300
    • View Profile
Re: php nuke
« Reply #4 on: December 27, 2009, 05:25:43 AM »
1) This isn't a valid URL.

2) When we do manage to get to the URL, it displays a "Can't access this file directly" message.

3) If the file is too big to paste into one message, break it up into several parts and post it in a series of replies to this message, OR

4) Copy the file, rename it "index.txt", and give us a URL to it.



the signup link points to the your account module in nuke, the index php file there is too large to post here but can be found at:
http://ww.easternkypaintball.com/download/index.php
I hope I am pointing you guys at the right file, i know a bit about this stuff and I am learning....thanks
Please don't PM me for assistance- post your questions in the forum where others can see them.

PAIN

  • Newbie
  • *
  • Posts: 13
    • View Profile
    • Eastern Ky Paintball
Re: php nuke
« Reply #5 on: December 27, 2009, 07:21:59 AM »
All that is required for evil to flourish is that good men do nothing

PAIN

  • Newbie
  • *
  • Posts: 13
    • View Profile
    • Eastern Ky Paintball
Re: php nuke
« Reply #6 on: December 27, 2009, 08:35:32 AM »
got my api key, and added your banner to the bottom of my page! just waiting on getting this thing installed to keep out the GARBAGE! Great work guys!
All that is required for evil to flourish is that good men do nothing

Mike

  • Administrator
  • Sr. Member
  • *****
  • Posts: 300
    • View Profile
Re: php nuke
« Reply #7 on: December 27, 2009, 11:35:02 AM »
Based on the code in that file, I think this is likely to be the portion of interest:

function confirmNewUser($username, $user_email, $user_password, $user_password2, $random_num, $gfx_check) {
   global $stop, $EditedMessage, $sitename, $module_name, $minpass;
   include("header.php");
   include("config.php");
   $username = filter($username, "nohtml");
   $user_email = filter($user_email, "nohtml");
   $user_viewemail = "0";
   userCheck($username, $user_email);



So, you could try placing the 'include()' line right before the line with "$user_viewemail = "0";, like this:

function confirmNewUser($username, $user_email, $user_password, $user_password2, $random_num, $gfx_check) {
   global $stop, $EditedMessage, $sitename, $module_name, $minpass;
   include("header.php");
   include("config.php");
   $username = filter($username, "nohtml");
   $user_email = filter($user_email, "nohtml");
   include('/path/to/botscout/file.php');
   $user_viewemail = "0";
   userCheck($username, $user_email);


(Change the path to where the BotScout file is, of course.)

In the botscout file, you'll need to set a couple of things:

1) Make sure you set the file to use a CUSTOM apptype by uncommenting this section:

// for custom settings or unlisted board type
// see documentation for setting the 'CUSTOM' fields
$apptype='CUSTOM';   



Then in this section, change the code to look like this:

}elseif($apptype='CUSTOM'){

   // create your own custom form fields here
   // see documentation for more information
   $XUSER = $username;
   $XMAIL = $user_email;

}else{
« Last Edit: December 27, 2009, 11:37:04 AM by Mike »
Please don't PM me for assistance- post your questions in the forum where others can see them.

PAIN

  • Newbie
  • *
  • Posts: 13
    • View Profile
    • Eastern Ky Paintball
Re: php nuke
« Reply #8 on: December 27, 2009, 02:38:36 PM »
looks like i'll be doing a lot of testing tomorrow lol. Thanks for the help!
All that is required for evil to flourish is that good men do nothing

PAIN

  • Newbie
  • *
  • Posts: 13
    • View Profile
    • Eastern Ky Paintball
Re: php nuke
« Reply #9 on: December 28, 2009, 04:22:25 AM »
So i guess the only way to test this is just to wait..the lack of bots will speak for itself..or get myself on your list like that other guy did lol
All that is required for evil to flourish is that good men do nothing

Mike

  • Administrator
  • Sr. Member
  • *****
  • Posts: 300
    • View Profile
Re: php nuke
« Reply #10 on: December 28, 2009, 04:45:20 AM »
You could enable email alerts:

// send email notices when a bot is stopped?
// use '1' to send, '0' to skip.
$send_alerts = '1';

// if sending alerts, send them to what email address?
$toText = "your-email@somedomain.com";




So i guess the only way to test this is just to wait..the lack of bots will speak for itself..or get myself on your list like that other guy did lol
Please don't PM me for assistance- post your questions in the forum where others can see them.

PAIN

  • Newbie
  • *
  • Posts: 13
    • View Profile
    • Eastern Ky Paintball
Re: php nuke
« Reply #11 on: December 28, 2009, 04:54:50 AM »
i entered the api key into the botscout form, is that all that is needed for the api key to work? I am prettysure i wont need more than 20 a day if even 20 a week but it helps to be prepared..
All that is required for evil to flourish is that good men do nothing

PAIN

  • Newbie
  • *
  • Posts: 13
    • View Profile
    • Eastern Ky Paintball
Re: php nuke
« Reply #12 on: December 28, 2009, 04:59:14 AM »
Nice!! If christmas hadn't busted me up financially I'd be sending you guys a donation! but rest assured I start back to work the 4th and shortly thereafter I will paypal you guys some LOVE
All that is required for evil to flourish is that good men do nothing

Mike

  • Administrator
  • Sr. Member
  • *****
  • Posts: 300
    • View Profile
Re: php nuke
« Reply #13 on: December 28, 2009, 02:00:04 PM »
i entered the api key into the botscout form, is that all that is needed for the api key to work?

Yep, that should do it. (Actually the API Key allows 300 queries per day by default, it's anonymous usage with no API key that's limited to 20 per day.)
Please don't PM me for assistance- post your questions in the forum where others can see them.

PAIN

  • Newbie
  • *
  • Posts: 13
    • View Profile
    • Eastern Ky Paintball
Re: php nuke
« Reply #14 on: January 04, 2010, 02:09:44 PM »
2 bots neither got intercepted
1 in your database arkxrzlizmff@ds4ns1ns2.cn
1 not in your database jegertoms@gmail.com
All that is required for evil to flourish is that good men do nothing