Back to vBulletin 3.7 Add-ons

Ajax Reply to Visitor Message from your Own Profile
Mod Version: 1.1, by CCV_Pinto

This modification is in the archives.
vB Version: 3.7.4 Rating: (4 votes - 5.00 average) Installs: 41
Released: 30 Nov 2008 Last Update: 01 Dec 2008 Downloads: 184
Not Supported Template Edits Additional Files Re-usable Code Translations Is in Beta Stage  

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>
and add before it:

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">
and add after it:

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 -->
and add this code to the end of the template:

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 ), french and portuguese.

I have just started to use it on my forums now, so its beta (beta is the fashion word of the moment)

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.

File Type: %1$s visitorReply.zip (2.2 KB, 201 downloads)

Screenshots

Click image for larger version
Name:	screen.jpg
Views:	842
Size:	43.5 KB
ID:	90026  

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

vblts.ru supports vBulletin®, 2022-2024