- Pages:
- 1
- 2
| Question?; Friends | |
|---|---|
| Tweet Topic Started: Jul 24 2008, 03:01 PM (423 Views) | |
| scottjcampbell | Jul 24 2008, 03:01 PM Post #1 |
![]()
|
Hi, i have been trying to sort this out since i first implimented the script on my site about 3 days ago (i think). Is it possible to make it so a user can only be friends with another user once, sorry if this isn't explained very well, i am not good at explaining things. This might help explain: DUMMYUSER1 becomes friends with DUMMYUSER2, DUMMYUSER1 can still add DUMMYUSER2 as a friend, so when you click on the friends list there can be multiple DUMMYUSER2's, is it possible to stop this? Thanks, SCOTT CAMPBELL |
![]() |
|
| feartec | Jul 24 2008, 03:17 PM Post #2 |
|
maybe i can help, wait for a few minutes i will look at the friends script ;). |
![]() |
|
| JakkyD | Jul 24 2008, 03:21 PM Post #3 |
|
Hmm I was thinking somthing like this so that they cant send a message to themselves:
So maybe, could tweak this so:
This obviously wont work as $getfriends wouldnt work but its just an idea. Edited by JakkyD, Jul 24 2008, 03:38 PM.
|
![]() |
|
| feartec | Jul 24 2008, 03:40 PM Post #4 |
|
Change your friendrequest.php to this: Don't forget to make a backup first.
Edited by feartec, Jul 24 2008, 04:04 PM.
|
![]() |
|
| JakkyD | Jul 24 2008, 04:54 PM Post #5 |
|
Nice. I didnt actually relise I was kinda right. Thats if feartecs' works
|
![]() |
|
| scottjcampbell | Jul 24 2008, 05:46 PM Post #6 |
![]()
|
Thanks for the scripts but this still isn't working for me. I have modified the scripts to try to make them work but they still wont. I moved the include for session.php to the top because i was gettin a php error that the headers were already sent. I also removed the ?> from:
as i was getting that written into my page instead of PHP performing this action. Still, i annot make it work, i have tested it and i can still add a user multiple times, even after they have accepted the request. Thanks, SCOTT CAMPBELL Edited by scottjcampbell, Jul 24 2008, 05:47 PM.
|
![]() |
|
| feartec | Jul 24 2008, 06:12 PM Post #7 |
|
that wrong script!! this is the good one:
Edited by feartec, Jul 24 2008, 06:16 PM.
|
![]() |
|
| feartec | Jul 24 2008, 06:17 PM Post #8 |
|
maybe can you give me the error you get. |
![]() |
|
| scottjcampbell | Jul 24 2008, 06:25 PM Post #9 |
![]()
|
Which one? Before i move the session? or another one? |
![]() |
|
| feartec | Jul 24 2008, 06:37 PM Post #10 |
|
Which error do you get by mine friendsrequest.php that i post few hours ago.
|
![]() |
|
| 1 user reading this topic (1 Guest and 0 Anonymous) | |
| Go to Next Page | |
| « Previous Topic · Friends System · Next Topic » |
- Pages:
- 1
- 2






12:51 AM Jul 11