|
|
|||||||||
|
|||||||||
| |||||||||
|
|
|
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
|
|
Be the architects of evolution and help create the mobile internet future. It’s your move---enter to win here! |
|
#1
|
|||
|
|||
|
Some PHP Work Needed!
I need some help with a script for a site. I have minimal to average php experience and expertise so i need some major help to do this. Before i mention anything, i need to say that i can not pay anyone to help, if you decide to join my site and would like to become a team member, this could be arranged! Ok, what i need done, right now i have my site made with phpbb and mods that i have done myself, and it is directed using a redirection script (index.html) that directs it to the main page (portal.php) but this isn't really important for what i want to do! I need someone who can make me a referal script, which can count the number of people who have SIGNED UP, not clicked the url! My site is http://xogenart.sytes.net and what i want done is, when someone wants to refer someone, they would give their user url (eg http://xogenart.sytes.net/refer.php?userid=username) and then when the guest decides to sign up at my site, the script would add to a text file called referrals.txt on the server. The basic layout of the text file would be something like:
Username Referrals Test 4 hi 1 me 3 and so on. The major thing that has to be done, is the script has to add to that number for that user ONLY when the guest signs up, not when the guest visits the page! *optional* just so no one cheats for this, if it is possible after all that is completed, to have it so the user has to have at least 5 or 10 posts before the referral counts! So if someone just signs up and doesn't post, then the referral isn't added! This isn't required, but it would be extremely appreciated! I thank everyone in advance, and hope someone can help me! |
|
#2
|
||||
|
||||
|
as far as i know there is a hack for this, can't remember what it's called but it exists out there, it's a bit diffrent, as i remember each user has the referal code in his preferences and so on have a look at http://www.phpbbhacks.com i'm sure it's out there or ask people in the forums there i'm sure they'll know... if you can't find it than PM me i'll help you out
|
|
#3
|
|||
|
|||
|
BTW, i did say i could not pay you, but if you join my site and decide to help us with not only this, but things we may need done later (eg. making us programs, scripts, etc.) then payment may be an option sometime in a couple months or so!
|
|
#4
|
|||
|
|||
|
Quote:
I know what one you are talking about, i have seen it at PHPbbHacks already, but theres a few problems. The first is it doesn't give every user their own referral url, what it does is adds a space in the users profile to say who referred them... The problem with this is that i would manually have to go through everyones profile and see who referred them, and they may not even put the users name or w/e. Which is a serious problem, because i have some stuff to give away for some contests and the first contest is going to be a referral contest (whoever can refer the most new members!) |
|
#5
|
|||
|
|||
|
No, you wouldnt have to manually go through them all. If the phpbb didnt encode or encrypt the referrer name, you should be able to call a simple mysql_num_columns ( I forget the EXACT syntax) to see how many times each username occurs.
Tada |
|
#6
|
|||
|
|||
|
Have you got someone to do this job at all?? or you're still looking for people??
|
![]() |
| Viewing: Dev Shed Forums > Other > Project Help Wanted > Some PHP Work Needed! |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|