PDA

View Full Version : Profile Enhancements - Reply To Visitor Message (Profile Comments)


.Tim
12-26-2007, 10:00 PM
Quick and crude but it works.

Find in template memberinfo_visitormessage:

<div class="visitor_message_body">$message[message]</div>

Add after:

<div class="smallfont"><a href="member.php?$session[sessionurl]u=$message[postuserid]#visitor_messaging">Reply To Comment</a></div>

Enjoy. :D

gldtn
12-27-2007, 02:54 PM
Great idea.. ever thought of making it work with AJAX?

Triky
12-27-2007, 03:02 PM
If you're a guest, when you click on that link you're redirected to the poster profile..

.Tim
12-27-2007, 08:54 PM
Great idea.. ever thought of making it work with AJAX?
AJAX is not a strong point of mine but if I can figure something out I'd have no problem making it happen.

If you're a guest, when you click on that link you're redirected to the poster profile..

Yeah, I'm planning to add some conditions to this modification when I have the chance.

Forum Lover
12-28-2007, 12:31 PM
so far my members are liking it. thanks .Tim.

glorify
12-28-2007, 01:45 PM
Does this quote the original message?

C.Birch
12-28-2007, 01:51 PM
no it basicy just sends you to that users profile and moves the page to there comments box.

.Tim
12-28-2007, 08:55 PM
Does this quote the original message?

No, what the person above me said.

rainyleaves
01-14-2008, 08:00 AM
Thanks Tim. :)

7lanet
03-01-2008, 08:19 PM
thanks

Boofo
03-01-2008, 08:33 PM
Won't the View Conversation added to beta 5 do the same thing?

.Tim
03-04-2008, 01:31 AM
I don't know, I haven't checked it out.

NeuroLancer
03-04-2008, 09:02 AM
Won't the View Conversation added to beta 5 do the same thing?

No it doesnt. This mod takes a user to the profile page of the user who left the comment(so that a reply can be made). Whereas view conversation shows the replies between 2 users, a bit different.

.Tim
03-04-2008, 11:40 PM
Thanks.

Boofo
03-04-2008, 11:42 PM
OK, I'm still confused. Why would you want to go to a page that doesn't have both sides of the conversation on it?

NeuroLancer
03-05-2008, 09:33 AM
OK, I'm still confused. Why would you want to go to a page that doesn't have both sides of the conversation on it?

I know its confusing its hard to explain lol....

When click 'reply to comment', it takes you to the profile page of the user who has commented in your profile page, so you may reply to them on their page.... view conversation doesn't do this.

Boofo
03-05-2008, 09:48 AM
Once again, why would you want to do that? Since it doesn't allow you to quote, you won't be able to reference the message you are replying to. To each his own, I guess. It doesn't make any sense to me.

NeuroLancer
03-05-2008, 10:19 AM
Well we find it encourages people to use the visitor messaging system, and spread the messages around, rather than have one big list in a particular users profile. Anyway one of my developers loves it so it works well for us.

Boofo
03-05-2008, 10:50 AM
If I understood the View Conversation right, when you click the View Conversation link it takes you to the same page this one does but in conversation mode.

.Tim
03-05-2008, 10:36 PM
Do you use myspace? When someone posts a comment on your myspace page there is a reply to comment link that allows you to leave a comment on that persons page without going to it. Same concept.

Syria BoY
03-06-2008, 05:24 AM
Add beautiful
Thanks Tim

dancue
03-27-2008, 05:51 PM
I installed, but what I thought it did was different than what it actually was.

I thought it was a way to respond to a particular message and it show up directly beneath it, but shifted to the right. Sort of like YouTube.

Anyone know if that's available or possible?

TCB
05-06-2008, 03:29 PM
I installed, but what I thought it did was different than what it actually was.

I thought it was a way to respond to a particular message and it show up directly beneath it, but shifted to the right. Sort of like YouTube.

Anyone know if that's available or possible?
Yeah, that would be great. 'Cause then you would actually have a sort of real coversation/dialogue going on.

Captain Tycoon
06-15-2008, 10:37 AM
Perfect! Installed and Marked. Thanks

Baldilocks
06-15-2008, 11:33 AM
What I have a problem with is when I leave someone a comment on their page and they reply to me on their OWN page.
vBulletin should have made it automatically "quote" and send to my profile instead.

NAZIA
06-19-2008, 07:07 AM
But AJAX is the best.
Any update....

M1th
06-23-2008, 09:59 PM
I think this is a better approach... this would take you to the converse.php page instead:

<if condition="$userinfo['userid'] == $bbuserinfo['userid'] AND $show['converse']"><div class="smallfont"><a href="converse.php?$session[sessionurl]u=$message[postuserid]&u2=$userinfo[userid]">Reply To Comment</a></div></if>

MissKalunji
06-26-2008, 08:03 PM
I agree instead i just edited the phrase to say reply & View conversation

ArnyVee
06-30-2008, 07:23 PM
I think this is a better approach... this would take you to the converse.php page instead:

<if condition="$userinfo['userid'] == $bbuserinfo['userid'] AND $show['converse']"><div class="smallfont"><a href="converse.php?$session[sessionurl]u=$message[postuserid]&u2=$userinfo[userid]">Reply To Comment</a></div></if>

Great idea from the start, but this seems to be a better approach until someone comes out with the 'next big thing' in the visitor messages :D

Thanks guys.

dvbusuario
07-01-2008, 04:21 AM
Very good, easy but great

Install!!!

Brandon Sheley
07-01-2008, 05:31 AM
great edit,, this should be default IMO ;)

thanks

* Brandon Sheley installed

Jase2
07-02-2008, 11:29 AM
I just changed to:

<br />
<div class="smallfont"><a href="member.php?$session[sessionurl]u=$message[postuserid]#visitor_messaging"><strong>Reply To Comment</strong></a></div>

Makes it a little more noticeable. ;)

studentsforum
08-17-2008, 06:22 AM
I just changed to:

<br />
<div class="smallfont"><a href="member.php?$session[sessionurl]u=$message[postuserid]#visitor_messaging"><strong>Reply To Comment</strong></a></div>

Makes it a little more noticeable. ;)
yes
well done

Symmetrical?
08-17-2008, 07:21 AM
not working ...

studentsforum
08-21-2008, 07:25 PM
why not?
seems okay with me :S

ahayat
08-27-2008, 12:28 PM
nice , thanks,

try making it that "Reply to Message" appears once when somebody receives new visitor message

Like Orkut and ajax so that members dont hav to visit others and they can type in their own message book.

GlamRockTalk
11-20-2008, 02:15 PM
I think this is a better approach... this would take you to the converse.php page instead:

<if condition="$userinfo['userid'] == $bbuserinfo['userid'] AND $show['converse']"><div class="smallfont"><a href="converse.php?$session[sessionurl]u=$message[postuserid]&u2=$userinfo[userid]">Reply To Comment</a></div></if>

I just changed to:

<br />
<div class="smallfont"><a href="member.php?$session[sessionurl]u=$message[postuserid]#visitor_messaging"><strong>Reply To Comment</strong></a></div>

Makes it a little more noticeable. ;)

Did these and it ROCKS! :D

Thanks folks!

IIAnDoII
11-23-2008, 12:05 PM
this is a great idea can some one please help me change the text "Reply To Comment" to an image i have a reply image ready to go. im just need help with the code

Thanks for any info

GlamRockTalk
11-23-2008, 12:16 PM
IIAnDoII,

I'm no coder whatsoever, but did you try replacing the "Reply To Comment" with....

<img src="http://www.yourdomain.com/images/imagename.gif" />


...see if that works. Just a suggestion. Maybe that'll work.

IIAnDoII
11-23-2008, 12:25 PM
it worked but for some reason it but i box around the button

http://e.imagehost.org/0952/Untitled-2.jpg

Thanks for the fast help mate

any ideas how to get rid of that box thanks xx

GlamRockTalk
11-23-2008, 03:30 PM
You don't have a 'border=2' or something like that in the code, do you?

If so, try removing that and see if it works. Remember, I'm not a coder, I just play around with the codes until they work ;)

IIAnDoII
11-23-2008, 05:38 PM
This is the code i used

<div class="smallfont"><a href="member.php?$session[sessionurl]u=$message[postuserid]#visitor_messaging"><img src="http://www.yourdomain.com/images/imagename.gif" /></a></div>

but with my forum name and image locatiion

i dont think it has a boarder code in it i will just keep playing around with it

LordNinja
12-02-2008, 09:10 PM
This is the code i used

<div class="smallfont"><a href="member.php?$session[sessionurl]u=$message[postuserid]#visitor_messaging"><img src="http://www.yourdomain.com/images/imagename.gif" /></a></div>

but with my forum name and image locatiion

i dont think it has a boarder code in it i will just keep playing around with it
just add border="0" after src="imagename.gif"

jerx
12-04-2008, 08:12 AM
Does anyone know how to show the link only if it is your own profile? I tried using <if condition="$prepared['myprofile']"> as in MEMBERINFO template, but it is not recognized.

CCV_Pinto
12-05-2008, 06:42 PM
<if condition="$bbuserinfo[userid] == $userinfo[userid] && THIS_SCRIPT == 'member'">


for whom was looking for ajax style reply, I made this: my mod (https://vborg.vbsupport.ru/showthread.php?t=197644)

regards

jerx
12-05-2008, 07:26 PM
<if condition="$bbuserinfo[userid] == $userinfo[userid] && THIS_SCRIPT == 'member'">


for whom was looking for ajax style reply, I made this: my mod (https://vborg.vbsupport.ru/showthread.php?t=197644)

regards

Thank you very much! That code works great.

Your ajax style reply mod looks very promising. It definately makes replying easier for users. The only reason I do not install it is, that I want users to visit the other user' s profile, so that they are tracked on the recent visitors block.

That' s the same reason I added the link suggested by the original poster as well and not only added an additional phrase to the conversation link.

MagicThemeParks
09-21-2009, 10:28 AM
This should be default in vB. Thanks for sharing! :up:

Used approach as in Post #37 (https://vborg.vbsupport.ru/showpost.php?p=1669389&postcount=37) with the <if> conditional from the first, but the <div> from the 2nd one. :)

BucWiLd
10-17-2009, 02:43 AM
installed ty

linuxututs
10-18-2009, 04:23 AM
GREAT Hack / Mod !

But on my new vB 3.8.4 the edits to look for are
<div class="visitor_message_body" id="vmessage_text_$message[vmid]">$message[message]</div>

Thanks,

farazfaraz
11-13-2009, 12:27 PM
install

UltraFanatics
11-21-2009, 04:36 PM
Love this mod!!!

skariko
12-28-2009, 01:29 PM
Any idea to do this on VB4? :)

Skydiver10
01-22-2010, 05:32 PM
Nice work, thanks for this edit, I have been looking for this!:up:

Pakblogger
08-03-2010, 05:08 PM
here is what i am using

<if condition="$userinfo['userid'] == $bbuserinfo['userid'] AND $show['converse']"><br />
<div class="smallfont"><a href="member.php?$session[sessionurl]u=$message[postuserid]#visitor_messaging"><strong>Reply To Comment</strong></a></div></if>

MagicThemeParks
07-06-2011, 12:23 PM
Anyone use something like this on vB4?