The Arcive of vBulletin Modifications Site. |
|
Ajax Reply to Visitor Message from your Own Profile Details »»
|
|||||||||||||||||||||||||||
|
Ajax Reply to Visitor Message from your Own Profile
Developer Last Online: Aug 2013
I will present you a modification I did to my own forum:
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 ), 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 Show Your Support
|
|||||||||||||||||||||||||||
| Благодарность от: | ||
| caoducanh9x | ||
| Comments |
|
#2
|
|||
|
|||
|
Nice Hack I hope you will modified it :/
|
|
#3
|
|||
|
|||
|
I updated the files... now its purely ajax!
my next step is make it a product regards |
|
#4
|
|||
|
|||
|
Nice hack, can't wait until it's a product.
|
|
#5
|
|||
|
|||
|
it is a very fine hack indeed.
i am not a software guy, so editing of templates is not something i am comfortable with ![]() so i shall wait for this hack to become a product. cant wait man, hurry up
|
|
#6
|
|||
|
|||
|
Where I can see the Reply ? After I had reply to a message I cant see the reply anywhere
|
|
#7
|
|||
|
|||
|
Good idea and useful. I often get visitor messages reported when users try to answer them. Should be a core feature.
|
|
#8
|
|||
|
|||
|
Quote:
I will try to make a product this week, I started playing with it this weekend but I didnt have sucess ![]() no prob, I will get there
|
|
#9
|
||||
|
||||
|
Obrigado CCV e força Verdão !!
Thanks CCV, good idea. |
|
#10
|
|||
|
|||
|
sorry but I cant find the reply in the other profile
|
![]() |
|
|