Log in

View Full Version : Profile Enhancements - Add "Reply" to Visitor Message CLEAN!


RTMdotORG
08-24-2009, 10:00 PM
This modification will add a "Reply" link next to "Edit" and "Report" link on every Visitor message.

In memberinfo_visitormessage template
FIND:
<ul class="list_no_decoration controls">

ADD AFTER:<li class="smallfont"><a href="member.php?$session[sessionurl]u=$message[postuserid]#visitor_messaging">$vbphrase[memberinfo_visitormessage_reply]</a></li>

NAZIA
08-25-2009, 02:35 PM
good.. but it must be ajax.. like this >> https://vborg.vbsupport.ru/showthread.php?t=197644

Kolbi
08-25-2009, 02:59 PM
Here the screenshot: 103684

RTMdotORG
08-25-2009, 05:07 PM
good.. but it must be ajax.. like this >> https://vborg.vbsupport.ru/showthread.php?t=197644

Yeah wasent trying to make this like that, this is just a minimod i added to my site and posted here... its to make it look better and easier for members to know how to respond...most people respond back to their own profile...lol

RTMdotORG
08-25-2009, 05:15 PM
Here the screenshot: 103684

Thanks

multiplex
08-25-2009, 09:06 PM
odd, i did exactly as told for the default vb skin and it doesnt show on that skin. seems like such a simple mod. any suggestions?

only thing showing is "view conversation" and "report" and "edit" if its your own message. since i am a staff it also shows "IP"

Baldilocks
08-26-2009, 05:46 AM
I just changed "View Conversation" to "Reply" using the Phrase manager.

RTMdotORG
08-26-2009, 07:49 AM
odd, i did exactly as told for the default vb skin and it doesnt show on that skin. seems like such a simple mod. any suggestions?

only thing showing is "view conversation" and "report" and "edit" if its your own message. since i am a staff it also shows "IP"

will you please post your memberinfo_visitormessage template plz...

RTMdotORG
08-26-2009, 07:50 AM
I just changed "View Conversation" to "Reply" using the Phrase manager.

You shouldnt have to do that, post your memberinfo_visitor message template...

Baldilocks
08-26-2009, 10:32 AM
You shouldnt have to do that, post your memberinfo_visitor message template...

Why? It only took a minute to change the phrase and people don't reply to themselves any longer....

https://vborg.vbsupport.ru/

RTMdotORG
08-26-2009, 01:04 PM
Why? It only took a minute to change the phrase and people don't reply to themselves any longer....

https://vborg.vbsupport.ru/

Oh well... again this is just a mini mod i posted here...
Take it or leave it....

multiplex
08-26-2009, 02:52 PM
Why? It only took a minute to change the phrase and people don't reply to themselves any longer....

http://i79.photobucket.com/albums/j149/Baldilocks73/reply.jpg

ok this makes sense to me. what phrase do i modify to do this?

i see 3 of them

view_conversation

view_conversation_between_x_and_y

vb3_public_profile

or is it all 3

Baldilocks
08-26-2009, 09:43 PM
I believe it is view_conversation.

NAZIA
08-30-2009, 09:04 AM
Yeah wasent trying to make this like that, this is just a minimod i added to my site and posted here... its to make it look better and easier for members to know how to respond...most people respond back to their own profile...lol
right..

RTMdotORG
09-01-2009, 09:23 PM
right..

Stop Clogging Up My Thread...

Tom Kagan
10-09-2009, 02:33 PM
"$vbphrase[memberinfo_visitormessage_reply]" does not appear to be in the phrases by default.

BucWiLd
10-12-2009, 01:58 AM
cant get this to show.. did exactly what you said.. but i dont see it.. what am i doing wrong i would love this what seems like simple mod..

what i did

<ul class="list_no_decoration controls">
<li class="smallfont"><a href="member.php?$session[sessionurl]u=$message[postuserid]#visitor_messaging">$vbphrase[memberinfo_visitormessage_reply]</a></li>
<if condition="$show['converse']">
<li class="smallfont"><a href="converse.php?$session[sessionurl]u=$message[hostuserid]&amp;u2=$message[guestuserid]" title="$message[converse_description_phrase]">$vbphrase[view_conversation]</a></li>
</if>

Tom Kagan
10-13-2009, 01:17 PM
cant get this to show.. did exactly what you said.. but i dont see it.. what am i doing wrong i would love this what seems like simple mod..

As stated above, $vbphrase[memberinfo_visitormessage_reply] does not seem to exist in the phrases. You created an anchor without a string. Replace $vbphrase[memberinfo_visitormessage_reply] with text and you should see the link.

majidzamani
10-23-2009, 11:16 AM
Thanks. But was found

majidzamani
10-24-2009, 03:47 PM
Hello. Please see the Czech code .

Bill from Cleve
11-15-2009, 03:35 PM
Nice little minimod. Thanks for the other suggestions, worked great "Installed"

Thelonius Beck
12-30-2009, 12:13 PM
Nice, lightweight, useful.

There is a missing bit of instruction in the OP however.

In your code you call to "$vbphrase[memberinfo_visitormessage_reply]" which does not exist in the phrases.

Instead of replacing it with the text "Reply" as previously suggested, I simply created a new, global phrase with the Variable name:

memberinfo_visitormessage_reply

and the text:

Reply.

Voila.


*NOTE* Another good thing about this MiniMod. It's not AJAX, so there should be no mobile skin issues. ;)

infnity8x3
06-20-2010, 06:56 AM
I "cleaned" up the code a little bit.

Basically I got rid of the phrase. And added a show only to members condition.

<if condition="$show['member']">
<li class="smallfont"><a href="member.php?$session[sessionurl]u=$message[postuserid]#visitor_messaging">Reply To Sender</a></li>
</if>

Thanks dev.

RTMdotORG
06-21-2010, 04:34 PM
I "cleaned" up the code a little bit.

Basically I got rid of the phrase. And added a show only to members condition.

<if condition="$show['member']">
<li class="smallfont"><a href="member.php?$session[sessionurl]u=$message[postuserid]#visitor_messaging">Reply To Sender</a></li>
</if>

Thanks dev.

Nice, thanks.