PDA

View Full Version : Profile Enhancements - ragtek Friendship Message


ragtek
04-15-2009, 10:00 PM
If you request on myspace a friendship, you can send a pm

With this add-on you can have this feature also in your vb.


Installation:
Install the xml

If you don't use tms edit the template: modifyuserlist_confirm

search for
phrase 1="$userinfo[username]">$vbphrase[$confirm_phrase]</phrase>
<if condition="$show['friend_checkbox']"><div style="margin-top:1em"><label for="also"><input type="checkbox" name="friend" id="also" value="1"$friend_checked /><phrase 1="$userinfo[username]">$vbphrase[$supplemental_phrase]</phrase></label></div></if>
<if condition="$show['hiddenfriend']"><input type="hidden" name="friend" value="1" /></if>add under:
$messagearea

search for:
<form action="profile.php?do=$action&amp;list=$list&amp;userid=$userid" method="post">
replace with:

<form action="profile.php?do=$action&amp;list=$list&amp;userid=$userid" method="post" enctype="multipart/form-data" <if condition="!is_browser('webtv')"> onsubmit="return vB_Editor['$editorid'].prepare_submit(0, 10)"</if>>

pein87
04-16-2009, 03:28 PM
wow I'm speechless very cool mod installed thanks for the work mate.

Hasann
04-16-2009, 03:40 PM
very nice idea ragtek installed ;)

Jasem
04-16-2009, 07:16 PM
Nice work, thank you!

RvG2
04-17-2009, 01:43 AM
hmmm still a lots of ideas which vbulletin done by default.

ahmed-samara
04-17-2009, 02:58 PM
that working in 3.8.2 ?

rainyleaves
04-20-2009, 03:46 PM
I got an error when I sending blank message.
The error message is very stranges...many many text.
Sorry uninstalled.
*VB3.8.2

ragtek
04-21-2009, 05:40 PM
that working in 3.8.2 ?

yes

ragtek
04-22-2009, 10:35 AM
I got an error when I sending blank message.
The error message is very stranges...many many text.
Sorry uninstalled.
*VB3.8.2

strange
when i try to send a empty message, i'm getting an errormessage which "the message you have entered is too short......."

rainyleaves
04-22-2009, 12:12 PM
strange
when i try to send a empty message, i'm getting an errormessage which "the message you have entered is too short......."

Thanks for your reply.
I'll try again. :)

ragtek
04-22-2009, 12:15 PM
maybe you could send me a pm with your url and an testuser

ragtek
04-22-2009, 12:33 PM
ok
i've updated it now, so the message can now be also sent empty if some users just want to add friends without a message

rainyleaves
04-22-2009, 04:03 PM
thanks, ragtek.

Works good. Installed. :)
This mod very useful be frienship.

chris1979
04-26-2009, 03:58 PM
I think it would be great if the pm automatically told the user how to accept the friendship request.

webgroup
07-16-2009, 08:45 PM
great hack, also will be great to have hack that alerts you with an ajax window or something when you have a new friendship request.

many people doesnt even know thay have received a request.

webgroup
07-16-2009, 08:46 PM
I think it would be great if the pm automatically told the user how to accept the friendship request.


this too is vital

ragtek
07-17-2009, 07:27 PM
great hack, also will be great to have hack that alerts you with an ajax window or something when you have a new friendship request.

many people doesnt even know thay have received a request.

hmm, my users never had a problem with it.
You can see all the requests in the navbar?!

Mark.B
08-09-2009, 05:24 AM
Had to uninstall this for now, as even the updated version still won't allow a blank text box message to be submitted.

ragtek
08-10-2009, 10:00 AM
Had to uninstall this for now, as even the updated version still won't allow a blank text box message to be submitted.

that's not true.

Had you edited the template and have you used the newest code?

Mark.B
08-10-2009, 10:36 AM
that's not true.

Had you edited the template and have you used the newest code?
Indeed, I even re-edited the templates to rule this out.

Having uninstalled completely, I shall attempt a fresh install later (rather than an upgrade) to see if this sorts it.

yotsume
08-29-2009, 08:21 AM
INSTALLED!

However, a blank message says "Your message is too short please lengthen it to at least 10 characters".

No big deal for me because I'd rather force my members to type a friend request message anyway. ;)