Click to See Complete Forum and Search --> : members redirection - how to ? help appreciated
jarekb
07-25-2008, 12:57 PM
Dear Developers.
Presently I'm testing a dreamweaver and found so complex.
Your suggestions and support will be very appreciated.
I would like to create 2 -3 pages ( preferably php) This is a scenario
visitor is accessing first page by entering our affiliate (member name )
www.mainsite.com/username1 or http://username1.mainsite.com
The main think is to get value of username1 to cookie or session
visitors sees presentation video and if he likes he /she can click to link register ( where value username1 ) will be added to redirection link.
looking something like http://username1.anotherdomain.com
This value may be passed to second page or 3 of www.mainpage.com and then finally redirected to the destination page. http://username1.anotherdomain.com
the think here is that there will be a lot of members username1 2 . .......n passing by http://mainsite.com and ending visiting http://username1 2 .......n.anotherdomain,com
What do you think about that? how simple or difficult this can be ?
Thank you for reading and answering :confused:
JeremyA
07-25-2008, 11:16 PM
Im might be a little confused:
the affiliates would normally use a link containing a php var to identify who referred that user, such as: http://yoursite.com?affID=234661
which from there you can store it to a cookie or session (like you want).
to add the username/affiliate ID to the url, again, i would use the same method as before.
it really isnt that hard to set up if im understanding you correctly
jarekb
07-25-2008, 11:33 PM
you understood correctly
I have already created first page
www.earnalivinggivingtoday.com and
http://www.earnalivinggivingtoday.com?affID=234661
would be perfect redirection to
http://234661.hubhub.org website.
Just I do not want to manually create affiliate ( members ) this site is to help everyone involved in humanitarian cause
Would you mind guiding me how to do so ?
JeremyA
07-26-2008, 11:42 PM
http://234661.hubhub.org website.
why do you need to create a subdomain (redirect page)?
jarekb
07-27-2008, 12:31 AM
why do you need to create a subdomain (redirect page)?
This side is not controlled by me.
I want to spread the word about this new movement.
so anyone who is involved and have already username on hubhub.com website can easily show anyone interested videos from seminars etc.
so my site will be passing through website
I hope this is clear ? Thank you very much for your answers
JeremyA
07-27-2008, 12:35 AM
hmm so you're trying to create a system that automates a system that isnt yours?
in other words you want the users to register on yoursite but the registration goes to a different site...
if so you will need the source code of the registration page on the other site so you can see what form variables they use and how the form is submitted as well as where.
without their cooperation or some hacking this is about all you can do.
jarekb
07-28-2008, 03:22 PM
Jeremy
Thank you for answer .
earnalivinggivingtoday.com is our website and hubhub.org is not ours.
I can ask for code there will be no problem from hubhub.org website.
The goal on our website is to get any dynamic code like you mentioned and redirect as subdomain to hubhub.org
is there a way to do simple way ?
Thank you
JeremyA
07-28-2008, 03:53 PM
i cant get into hubhub.com's member page to see how it works so i have a couple questions....
when they sign up and order their starter kit does hubhub.com automatically create a subdomain for that person?
also are you wanting to facilitate the transaction for the starter kit or will it be directed over to hubhub.com by the time they need to order?
if the subdomain creation is done by hubhub.com and you dont want the transaction on your site, then what you want to do is easy and this is how you do it:
recreate the sign-up form with what ever look and feel you want it to have.
for form submission send it to the same page that hubhub.com uses to submit their form (or you could ask for a copy of that page and ask them to set their database to accept cross website interaction).
and then its done.
its a bit more advanced and would require quite a bit more cooperation on hubhub.com's part if you want to facilitate the transaction and if they dont create the subdomain.
jarekb
07-29-2008, 02:46 PM
Woow Jeremy
I will be very honest with You. you have very good idea to implement such solution. My expectations are very little.
stay with me please. we found that hubhub.org website has too much information and people may get confused.We contacted them and asked if we can simplify for new visitors and get a one video page with the essence of the program.
Already members of hubhub.org with their username as subdomain will ask anyone who is not involved to visit simplified video site. If they like the idea and want to participate they will be redirected to referring member subdomain of hubhub.org website.
Honestly seeing our expectation is only to grab (get) active members name any way possible and then redirect with that username to username.hubhub.org and then let the hubhub guys control rest of registration.
We are just giving for free the video website knowing that if you give you will receive.
:-) I hope you got the point
Here are the answers
when they sign up and order their starter kit does hubhub.com automatically create a subdomain for that person?
no new user has a chance to create manually 3 subdomains
also are you wanting to facilitate the transaction for the starter kit or will it be directed over to hubhub.com by the time they need to order?
No I do not want to facilitate any transactions just allow people see what this think is about and help already members
if the subdomain creation is done by hubhub.com and you dont want the transaction on your site, then what you want to do is easy and this is how you do it:
I explained above. |Get username of the member any way possible ( the simplest ) and post as subdomain to hubhub.org Referring member can receive credit if new person will register and participate in this movement
recreate the sign-up form with what ever look and feel you want it to have.
for form submission send it to the same page that hubhub.com uses to submit their form (or you could ask for a copy of that page and ask them to set their database to accept cross website interaction).
Definitely I can do so.
Jeremy I really appreciate your time and help
JeremyA
07-29-2008, 09:23 PM
No problem at all, im here to help :)
OHHHH. now i understand what you're trying to do...
you want to take EXISTING members and have your act as an affiliate bridge.
do you have an example of the hubhub site with a subdomain so i can see exactly what it is?
there are a couple ways you can do your site to get the hubhub user information....
1. you can have hubhub.com put a link somewhere in the members area which will link to your site but at the same time submit a form containing the user info.
2. if you can get access to the hubhub database to cross reference a login then you can have the hubhub user log straight in on YOUR site.
for making the subdomains...
this is a bit more complication (note: i dont know exactly HOW to creat the subdomains but hubhub has the system in place so im sure they can provide you with the coding)
there are a couple complications...hubhub provides only THREE slots for subdomain creation...what happens if all slots are filled? can the user delete to allow room for your site to create the subdomain? what happens if username.hubhub.com is already taken by another user?
you will have to make sure that all bases are covered and all failsafes are in place incase any of the above happens.
now to the automatic creation for the subdomain....depending on the system that hubhub uses to create the subdomains you may have to execute this code on a page hosted by hubhub...basically you will have a form submitted to this page to transfer all the variables and then this page will plug them all in and automatically create the subdomain then automatically submit a form back to your site with the subdomainname.hubhub.com (just incase you have to generate something other than the the expected username.hubhub.com) and a success message and provide some sort of affiliate link for other people to use so your system knows who referred who.
as for the affiliates....depending on how you want to do this (if you want the results to be sent to your site or hubhub directly)
the affiliate link for hubhub.com would be: hubhub.com?affID=32405897
then the index page would do something like this:
if($affID){include(includes/affiliate.inc.php);}
that include would be a page containing code to allow the index page to parse the affiliate ID and store it in a session variable just in case they register...if they do register then this will be echo'd into a hidden var in the form.
as for on your site...this will all be the same EXCEPT when they are reffered to the sign up form this affID will have to be resent via the URL or via a form submission since you cant use php to take variables across sites through cookies or session vars. then the form on hubhub will register the affiliate ID to the correct user.
you will have to make sure that the ID assigned is unique and known by hubhub and also known by hubhub who the ID belongs to.
jarekb
08-01-2008, 05:02 PM
Jeremy
is not exactly a bridge. Is even simpler :-)
Your idea about bridge is very good.
the hubhub guys want to see first how powerful videos are. so at this stage they are monitoring referrals
If this will work so they will cross reference links and we will do also live broadcasting presentations
It this stage honestly We want very very simple solution
already registered members tells them go to
www.earnalivinggivingtoday.com/member site watch a video and if you like go register to member.hubhub.org website and this is entire purpose of this website.
my subdomain is myangel.hubhub.org
I hope this is even more clear
Your suggestion has been submited to hubhub guys for review
JeremyA
08-01-2008, 05:12 PM
simpler?
okay well i think i may still be confused at what you're needing the php for...
you want your site to play a video and if they like the video they click a link which contains member information (what member info? if they are already a member why are they watching a promo video for something they have already signed up for? are they a member of something else).
so then the username is passed to hubhub? this is where is gets cloudy for me. mind elaborating a bit more on what you're trying to accomplish and where you need the dynamic features of php?