vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.6 Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=194)
-   -   Miscellaneous Hacks - EPC Massive User Creator :: Using PHP and .NET (ALL SOURCES) (https://vborg.vbsupport.ru/showthread.php?t=154637)

Magnumutz 08-19-2007 07:26 PM

Ok... by "my php", do you mean the webserver's php or the rpc_users.php file?
Anyway it is, i have no idea on how to compile it.

blogtorank 08-19-2007 07:33 PM

Your webserver's php.

If anything just upload a new PHP file (name it phpinfo.php) with the following code in it:

Quote:

<?php

phpinfo()

?>
Then you'll be able to see all you have compiled into PHP, by simply typing in http://www.yourdomainname.com/phpinfo.php ! Hope this helps, and here is a link on this to learn more as well:

http://www.php.net/phpinfo

Magnumutz 08-19-2007 08:01 PM

Yeah... i don't have it compiled: http://haste-network.net/php.php

blogtorank 08-19-2007 08:05 PM

No you do NOT have XML_RPC.... that's an XML only.... Please remove that file so no one can access this for security reasons :)

blogtorank 08-19-2007 08:10 PM

Here's what it should say underneath the xml, see the below screenshot... So here's my suggestion, go to your webhost (hopefully) then ask NICELY :) to ensure that xml_rpc is compiled into PHP show them the screenshot below...

I can't help you out there, as I don't own the server or host your site, but in today's age I would suggest that any host have xml_rpc compiled in to allow their clients to host sites that have webservices that require this....

As you know, they "may" give you some excuse on why not, and if that's the case it's time to find yourself a flexible and very reliable webhost.

nickypoooo 08-27-2007 10:34 PM

This is a great mod, thank you.
I have the same Warning and I hope you can help.

Quote:

Here's what it should say underneath the xml, see the below screenshot...


My php info shows the same as yours



Attachment 69157

but I still get that error:

Warning: main() [function.main]: open_basedir restriction in effect. File(/XML/RPC.php) is not within the allowed path(s): (/var/www/vhosts/mydomain.com/httpdocs:/tmp) in /rpc_users.php on line 6

Warning: main(XML/RPC.php) [function.main]: failed to open stream: Operation not permitted in /rpc_users.php on line 6

Fatal error: main() [function.require]: Failed opening required 'XML/RPC.php' (include_path='.:') in /var/www/vhosts/mydomain.com/httpdocs/forums/rpc_users.php on line 6


Any help will be appreciated.
Thank you

blogtorank 08-27-2007 11:39 PM

Your server has restrictions there just like the error stated:

open_basedir... Meaning it's a locked down server from your sysadmin or someone...

nickypoooo 08-29-2007 05:34 AM

I run my forum on my server and I can chage anything I want, Do you have an idea of what I need to change to get your mod to work?

Thank you

blogtorank 08-29-2007 06:25 AM

I don't run your server nor am I your sysadmin, but the only thing I can say is that this is your issue:

Quote:

open_basedir restriction in effect.
This should help you here:

http://www.php.net/features.safe-mode

All in all your server is running in safe-mode as depicted :)

Twisted Chaos 08-29-2007 02:43 PM

Well i see this hack as beneficial... could you make it so that it would email the actual email address about the account info and what not...

I could use this to make memberships for my clans members and remove the registration moderation stuff... :D ...well actually disable the whole registration period aside from this...
registration by admin only... sweet deal there... lol

Please???? lol thanx

my email address is amysticallegend at hotmail dot com

the url to my forums is www dot leagueofeight dot com

the php file will be in the root. ex. www dot leagueofeight dot com / rpc_users.php

blogtorank 08-29-2007 03:07 PM

Quote:

Originally Posted by Twisted Chaos (Post 1328140)
Well i see this hack as beneficial... could you make it so that it would email the actual email address about the account info and what not...

I could use this to make memberships for my clans members and remove the registration moderation stuff... :D ...well actually disable the whole registration period aside from this...
registration by admin only... sweet deal there... lol

Please???? lol thanx

my email address is amysticallegend at hotmail dot com

the url to my forums is www dot leagueofeight dot com

the php file will be in the root. ex. www dot leagueofeight dot com / rpc_users.php

Do see the rpc_users.php here, which you can set the options adminemail to 1 :) this will turn on e-mail receiving globally when you set this to 1 rather than 0

PHP Code:

   $userdm->set('username'$username); // NO NEED TO TOUCH THIS.
            
$userdm->set('email'$email); // NO NEED TO TOUCH THIS.
            
$userdm->set('password'$password); // NO NEED TO TOUCH THIS.
            
$userdm->set('usergroupid'2); // Registered Users Group ID
            
$userdm->set('ipaddress''127.0.0.1'); // NO NEED TO TOUCH THIS.
            
$userdm->set('referrerid''SomeNameHere'); // PUT A USERNAME OF SOMEONE AS A REFERER HERE
            
$userdm->set('timezoneoffset''0'); // TIMEZONE
            
$userdm->set_bitfield('options''adminemail'0); // RECIEVE E-MAIL FROM ADMIN? YES OR NO 1 OR 0 WE PUT IT AS 0 FOR YOU 


So you are asking if I could make you an actual exe in respect to your forums, since you have no .NET development??

Twisted Chaos 09-04-2007 04:33 AM

i have placed the rpc_users.php in the root as i stated now... but i noticed in the php file it is looking for some rpc.php file in the xml folder?

PHP Code:

    define('THIS_SCRIPT''rpc_users.php');
    require_once(
'./includes/init.php');
    require_once(
'./includes/class_dm.php');
    require_once(
'./includes/class_dm_user.php');
    require_once(
'XML/RPC.php'); *
    require_once(
'XML/RPC/Server.php'); * 

Where do i get all of those included files from? I dont see any of the * ones in the download.....

and Yes i am asking for a build... i have Visual Studio 6.0 and I plan on upgrading to .NET 2005 or later soon.... but until then I would need a build

blogtorank 09-04-2007 05:19 AM

XML/RPC is a PEAR Mod that's located inside your /usr/lib/php/XML :)

The other includes come packaged up with your vbulletin script.

Well build is only given if you shoot us a PM and we will build you one in our spare time :)

DNshrine 10-06-2007 10:37 PM

Any chance of having this released for *nix systems any time soon?

Iskib 10-12-2007 12:15 PM

--------------------------------------------------------------------------------

I purchased the full version of another one of this guys products. It has been 5 days and still not able to download it. They have asked for information which I have sent and still the file is not there to download.

I have sent 3 support tickets with no response.

************WARNING**************

STAY AWAY

Neutral Singh 10-20-2007 03:29 PM

this works!! amazing!!

Twisted Chaos 01-03-2008 12:49 AM

hey i know this is an odd request... but is there anyway we could make this for an invidual user basis with more info and be able to remove the register.php? and have it as a request registration page?

i would love to make it admin only user registration via application if i could.... high security :D

Ba$im 01-08-2008 06:56 PM

hi
amazing work really
still have problem if user was non english
I get this
response from server does not contain valid xml
hope you can help me on this

thanks

Ba$im 01-08-2008 07:29 PM

hummm after some play around
there are problem if username have space
for example
Z orny

also if username begin with number

also it so tired cuz first you must search for user then
search for email and make list

I think this will be so great if it work as bot going on aouther forum
or yahoo or google gorup
get user from them and make auto generator for email

as well as if you can make it work as cronjob

so it will work every hour

so it will sign 100 user every hour

I think this what will be really amazing

if you can do that let me know i can paid for you

have a great day

Twisted Chaos 01-11-2008 08:08 PM

I have almost finished a modified version of this script...

Instead of having a multiple of users registered at once I created one that will allow registrations by an application only...

It requires a log in and allows for more information for the user...

It is based of the RPC scripts so i will give him most of the credit

Neutral Singh 03-12-2009 06:35 PM

This still works like a charm...Thank you.

jononline 03-02-2011 04:03 PM

does it work with vbulletin 4.1.2?


All times are GMT. The time now is 01:31 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.01360 seconds
  • Memory Usage 1,777KB
  • 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
  • (4)bbcode_quote_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
  • (22)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