Ajax Reply to Visitor Message from your Own Profile
This modification is in the archives.
I will present you a modification I did to my http://forum.ccvteam.com:
You can reply to your visitor messages from your own profile. I didnt create a plugin, so you will need to do 2 simple templates modifications and upload 2 files. Installation 1. Upload the files to a folder "visitorReply" (you must create it) inside your forum folder (there is a success message in the visitorReply.js file, that you should translate to your own language) 2. Edit the template MEMBERINFO: Find: Code:
</head> Code:
<!-- ccv modification --> <script type="text/javascript" src="visitorReply/visitorReply.js"></script> <!-- ccv modification --> 3. Edit the template memberinfo_visitormessage: Find: Code:
<ul class="list_no_decoration controls"> Code:
<!-- ccv modification --> <if condition="$bbuserinfo[userid] == $userinfo[userid] && THIS_SCRIPT == 'member'"> <li class="smallfont"><a name="#link$message[vmid]" id="#link$message[vmid]" href="#link$message[vmid]" title="Reply" onclick="openVisitorReply($message[vmid], $message[postuserid], $userinfo[userid], '$bbuserinfo[securitytoken]', $bbuserinfo[userid])">Reply</a></li> </if> <!-- ccv modification --> Code:
<!-- ccv modification --> <div id="$message[vmid]"></div> <!-- ccv modification --> I will try to support, you can find me at my forum too. I speak english (not very well, but i think its understandable ![]() I have just started to use it on my forums now, so its beta ![]() And, because the template visitormessage has already an external form (inline moderation of the messages), i had to put the reply form into an inframe. And I dont know how to use the vbulletin ajax, so I made it from my own ajax mode ![]() regards Download
This modification is archived, downloads are still allowed. Screenshots |
Similar Mods
Mini Mods GS - Visitor Message Private Message Notification 1.0 | vBulletin 3.7 Add-ons |
Profile Enhancements Reply To Visitor Message (Profile Comments) | vBulletin 3.7 Template Modifications |