The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
Details »» | |||||||||||||||||||||||||
I need code that will take an entry into a formbox, send a copy of that entry to one site using one name for the box, send it to another site using another name for the box, etc...
In other words, I'm trying to create one single registration page that will transparently register the user with liveuniverse.com, and Vbulletin at the same time, without renaming all the login fields on member.php. For example the field for the username on Liveuniverse.com is named "dig.new.handle" while the field for the username on Vb is named "username". If someone could help me with this it would be greatly appreciated. A friend suggested hidden frames, but I didn't understand his explanation. Thanks! -Eugene Pertinent info: My forum http://techhappy.com/forums/member.p...ster&who=adult Liveuniverse: http://www.liveuniverse.com Show Your Support
|
Comments |
#2
|
|||
|
|||
i started a post about just the same type of thing yesterday:
http://vbulletin.com/forum/showthread.php?threadid=7216 |
#3
|
|||
|
|||
i dont understand what your trying to do on your site. If they sign up it puts them in the database. I want to have a form that signs them up to multiple sites, and i dont have explicit access to the database.
|
#4
|
|||
|
|||
Also, I dont want to have multiple sign ups to Vb.
I want it to sign up to Vb, a chat service, and everyone.net, all from one page. The problem is, each of those services name the fields differently, one calls the username "username", another calls it "Dig.user", etc.. |
#5
|
|||
|
|||
same here....
basically i want this for two things. 1 is exactly what you want, so that they sign up for say vbulletin and their email also goes to a mailing list script as well. Secondly, i want to be able to put some code into someone's elses of server script (that does NOT do mysql itself with username and password) that sends some info to say register2.php (to be made) on my server that adds the info to my database? ie. 1. user goes to http://www.friendsdomain.com 2. user fills in form to sign up for friendsdomain.com 3. form contains username and email etc. 4. presses submit 5. goes to http://www.friendsdomain.com/processform.php ---- 6. Now i want that info to also be sent to http://www.mydomain.com/register.php so it can deal with it. ---- 7. user sent to http://www.friendsdomain.com/thankyou.php |
#6
|
|||
|
|||
Everything you want done can be done, I just don't know the way to code it.
It will fire off a Lynx browser on your system, that updates each of those other sites Like http://www.blah.com/register.cgi?use...&password=blah etc The sistes would have to all a post from outside their server on the script for it to work. |
#7
|
|||
|
|||
cool... i suppose the hidden frame thing could work like that as well creating a frame with url
http://www.domain.com/register.php?u...assword=blah.. i may see if i can do that although doing it the way you suggest would be a lot better, i will search around and see if i can find anything. |
#8
|
|||
|
|||
What I've done is simple, probably not incredibly efficient, but it works.
$blah = file("http://www.domain.com/script.php?arg=".urlencode($val)."&arg2=1"); Of course, this might not work if the program being used ignores variables sent through GET. You could do a more complex way and just emulate POST, but I'm not going to go into that. |
#9
|
|||
|
|||
Quote:
|
#10
|
|||
|
|||
cool ed, simplicity is best - clever
thanks eugenie $blah = file("http://www.domain.com/index.html") just tells the script to download the file (in the process of course it sends the data to that server.. about to come to that). the ?arg=blah arg is like username= and blah would be the actual username now the .urelencode($val) is just to turn $val (which may be say two words into url transmittalbe information). Make sense. ED: How would you do this in perl? |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|