[ABD] Friend Request Approval MOD

Any abandoned MODs will be moved to this forum.

WARNING: MODs in this forum are not currently being supported or maintained by the original MOD author. Proceed at your own risk.
Forum rules
IMPORTANT: MOD Development Forum rules

WARNING: MODs in this forum are not currently being supported nor updated by the original MOD author. Proceed at your own risk.
Locked
User avatar
stathisch
Registered User
Posts: 145
Joined: Fri Jul 24, 2009 11:33 am
Location: Greece
Contact:

Re: [DEV] Friend Request Approval MOD

Post by stathisch » Fri Aug 14, 2009 1:21 pm

issjut wrote:Here is one more request ;-)

It would be nice to see the already sent friend requests in a separate module as long as these are still unconfirmed.

for example:

I send a friend request to a user. As long as the user has not approved or rejected the request i can see this request on a new module (eg. Sent friend requests or unconfirmed friend requests).

Perhaps with the option to cancel already sent friend requests.
-----------------------

Also it would be great to get an e-mail notification and / or a PM when I get a new friend request.
It's like you're reading my mind :P
I was going to ask for these too

superj707
Registered User
Posts: 1136
Joined: Thu Feb 26, 2009 12:20 am

Re: [DEV] Friend Request Approval MOD

Post by superj707 » Fri Aug 14, 2009 6:06 pm

kmklr, I still think this is one of the greatest mods ever. I hope when you are the master of the universe because of your IM mod that you do come back to this one anyway

kmklr72
Registered User
Posts: 477
Joined: Sat Dec 29, 2007 9:37 pm
Location: St. Louis, USA
Name: Kevin

Re: [DEV] Friend Request Approval MOD

Post by kmklr72 » Fri Aug 14, 2009 6:28 pm

I've been working on this a bit. Not much but since I got the second version of the AJAX IM out I will be able to work on this more.
stathisch wrote:
issjut wrote:Here is one more request ;-)

It would be nice to see the already sent friend requests in a separate module as long as these are still unconfirmed.

for example:

I send a friend request to a user. As long as the user has not approved or rejected the request i can see this request on a new module (eg. Sent friend requests or unconfirmed friend requests).

Perhaps with the option to cancel already sent friend requests.
-----------------------

Also it would be great to get an e-mail notification and / or a PM when I get a new friend request.
It's like you're reading my mind :P
I was going to ask for these too
I really like these suggestions and I think I will put them in the mod. If not this version, then the next version.

User avatar
eunaumtenhoid
Registered User
Posts: 899
Joined: Wed Jun 03, 2009 12:46 am
Location: ????

Re: [DEV] Friend Request Approval MOD

Post by eunaumtenhoid » Fri Aug 21, 2009 9:36 am

waiting for subsilver2....

thx for mod^^
My translations of the extensions for Brazilian Portuguese
https://github.com/phpBBTraducoes

Spaniel
Registered User
Posts: 159
Joined: Sun Dec 30, 2007 3:51 am

Re: [DEV] Friend Request Approval MOD

Post by Spaniel » Sun Aug 23, 2009 1:01 am

Where are the "Accept Request" and "Reject Request" buttons? I don't have any on the version I installed. I can send out requests, and view the request, but all I get is the username as a profile link and a line saying, e.g.

"[Username] would like to be your friend."

Also could this be made compatible with Mtrs's Block PMs By User mod so that adding a Foe blocks PMs (already possible with Mtrs's mod) and blocks their requests?

If we have 15 different block features, it might not be intuitive and user-friendly anymore - I'm already confused and this is only 0.0.1 ;)

kmklr72
Registered User
Posts: 477
Joined: Sat Dec 29, 2007 9:37 pm
Location: St. Louis, USA
Name: Kevin

Re: [DEV] Friend Request Approval MOD

Post by kmklr72 » Sun Aug 23, 2009 1:28 am

Spaniel wrote:Where are the "Accept Request" and "Reject Request" buttons? I don't have any on the version I installed. I can send out requests, and view the request, but all I get is the username as a profile link and a line saying, e.g.

"[Username] would like to be your friend."
Make sure to refresh the template, theme, and imagesets for all of your styles. That is probably the cause of this problem.
Spaniel wrote:Also could this be made compatible with Mtrs's Block PMs By User mod so that adding a Foe blocks PMs (already possible with Mtrs's mod) and blocks their requests?

If we have 15 different block features, it might not be intuitive and user-friendly anymore - I'm already confused and this is only 0.0.1 ;)
It should already check for mtrs's Block PMs By User mod, although I don't know if he updated that mod recently or not. It should be working with 0.0.9.

Spaniel
Registered User
Posts: 159
Joined: Sun Dec 30, 2007 3:51 am

Re: [DEV] Friend Request Approval MOD

Post by Spaniel » Sun Aug 23, 2009 2:07 am

Oh excellent. Wow - it's both fun and impressive :)


However, I feel 3 different block features developing: Foes, PM Foes, and Request Foes. As the average internet user can't navigate a blank page, won't this cost us in user-friendliness? Would a simple solution be that no matter which block feature a user clicks on, it takes them to a page where they can tick boxes to select how exactly they wish to block the other user, so that page would simply ask us to:

Tick the corresponding boxes to block this user's

[*] forum posts
[*] private messages
[*] friends requests[/b]

kmklr72
Registered User
Posts: 477
Joined: Sat Dec 29, 2007 9:37 pm
Location: St. Louis, USA
Name: Kevin

Re: [DEV] Friend Request Approval MOD

Post by kmklr72 » Sun Aug 23, 2009 2:27 am

That's actually a pretty cool idea. I'll see what I can do for the next version, but I'm not going to guarantee anything just yet.

User avatar
eunaumtenhoid
Registered User
Posts: 899
Joined: Wed Jun 03, 2009 12:46 am
Location: ????

Re: [DEV] Friend Request Approval MOD

Post by eunaumtenhoid » Sun Aug 23, 2009 2:29 am

subsilver2 edits , where?
My translations of the extensions for Brazilian Portuguese
https://github.com/phpBBTraducoes

Spaniel
Registered User
Posts: 159
Joined: Sun Dec 30, 2007 3:51 am

Re: [DEV] Friend Request Approval MOD

Post by Spaniel » Sun Aug 23, 2009 2:41 am

kmklr72 wrote:That's actually a pretty cool idea. I'll see what I can do for the next version, but I'm not going to guarantee anything just yet.
Cool :cool: Mtrs's PM Blocking mod update now brings forum Foes together with PM Foes so if you could go one step further and tie your block feature in with all that, that would be wonderful. I believe this is Mtrs's magic code that does the kick-ass blocking:

http://www.phpbb.com/community/viewtopi ... #p10560715

Spaniel
Registered User
Posts: 159
Joined: Sun Dec 30, 2007 3:51 am

Re: [DEV] Friend Request Approval MOD

Post by Spaniel » Sun Aug 23, 2009 3:14 am

One more user-friendly suggestion and then I promise to call it a night ;)

Have one universal Block List with a data table where all the blockees are listed with tick boxes showing how they're blocked, and by changing the ticks and clicking 'submit', it updates that user's block settings, e.g.

Tick or Untick the boxes to change the block settings for each user:

user1
[*] forum posts blocked [*] PMs blocked [*] Friends requests blocked

user15 [ ] forum posts blocked [ ] PMs blocked [*] Friends requests blocked

user25 [*] forum posts blocked [ ] PMs blocked [*] Friends requests blocked


[Submit] [Cancel]
[/b]

Obviously each column would have headings but I don't know how to draw tables on here :)

User avatar
Greyhound76
Registered User
Posts: 69
Joined: Sun Nov 30, 2008 6:56 pm
Location: Germany
Contact:

Re: [DEV] Friend Request Approval MOD

Post by Greyhound76 » Sun Aug 30, 2009 11:49 am

Hello,

There is also a guide for subSilver?

User avatar
Greight
Registered User
Posts: 163
Joined: Sun Jan 18, 2009 12:10 pm

Re: [DEV] Friend Request Approval MOD

Post by Greight » Sun Aug 30, 2009 5:04 pm

When I click to add someone as a friend this errors comes:
Parse error: syntax error, unexpected T_IF in /home/hlyxmrmp/public_html/includes/ucp/ucp_zebra.php on line 1

I re-checked the edits. Everything is fine. Ive also purged the cache.
What can I do ?

EDIT:
Solved! I changes the file format in notepad++ to UNIX and one time uploaded the original file then the edited file! ;)

User avatar
Tomelie
Registered User
Posts: 50
Joined: Fri Nov 07, 2008 9:33 pm

Re: [DEV] Friend Request Approval MOD

Post by Tomelie » Sun Sep 06, 2009 11:27 pm

Hi hi!
This mod is very nice! Thanks for it!

I installed this, but i have a problem x__x!... When someone accepts a friendship request, an error message appears:

Code: Select all

General Error
SQL ERROR [ mysql4 ]

Incorrect string value: '\xEF\xBF\xBDve ...' for column 'message_subject' at row 1 [1366]

SQL

INSERT INTO phpbb_privmsgs (root_level, author_id, icon_id, author_ip, message_time, enable_bbcode, enable_smilies, enable_magic_url, enable_sig, message_subject, message_text, message_attachment, bbcode_bitfield, bbcode_uid, to_address, bcc_address) VALUES (0, '102', 0, '201.214.249.107', 1252279178, 1, 1, 0, 0, 'You�ve been approved', 'Saku-chan has approved your friendship request and you are now friends. Saku-chan now appears on your friend list.', 0, '', '20tlaquy', 'u_54', '')

BACKTRACE

FILE: includes/db/mysql.php
LINE: 174
CALL: dbal->sql_error()

FILE: includes/functions_privmsgs.php
LINE: 1435
CALL: dbal_mysql->sql_query()

FILE: includes/ucp/ucp_fram.php
LINE: 350
CALL: submit_pm()

FILE: includes/ucp/ucp_fram.php
LINE: 147
CALL: ucp_fram->send_pm()

FILE: includes/functions_module.php
LINE: 507
CALL: ucp_fram->main()

FILE: ucp.php
LINE: 344
CALL: p_master->load_active()
Still, the request is accepted...

Help me please ;_;...

kmklr72
Registered User
Posts: 477
Joined: Sat Dec 29, 2007 9:37 pm
Location: St. Louis, USA
Name: Kevin

Re: [DEV] Friend Request Approval MOD

Post by kmklr72 » Mon Sep 07, 2009 12:31 am

That's a problem with the subject not getting encoded in utf8 (the is set up for it to be utf8, but it refuses to convert). This edit should fix that:

Open language/en/mods/fram_mod.php

Find:

Code: Select all

'FRAM_APPROVED_SUBJECT'                => 'You’ve been approved', 
Replace with:

Code: Select all

'FRAM_APPROVED_SUBJECT'                => 'You\'ve been approved', 

Locked

Return to “[3.0.x] Abandoned MODs”