PDA

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


.Tim
27 Dec 2007, 00:07
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
27 Dec 2007, 16:54
Great idea.. ever thought of making it work with AJAX?

Triky
27 Dec 2007, 17:02
If you're a guest, when you click on that link you're redirected to the poster profile..

.Tim
27 Dec 2007, 22:54
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
28 Dec 2007, 14:31
so far my members are liking it. thanks .Tim.

glorify
28 Dec 2007, 15:45
Does this quote the original message?

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

.Tim
28 Dec 2007, 22:55
Does this quote the original message?

No, what the person above me said.

rainyleaves
14 Jan 2008, 10:00
Thanks Tim. :)

7lanet
01 Mar 2008, 22:19
thanks

Boofo
01 Mar 2008, 22:33
Won't the View Conversation added to beta 5 do the same thing?

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

NeuroLancer
04 Mar 2008, 11:02
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
05 Mar 2008, 01:40
Thanks.

Boofo
05 Mar 2008, 01:42
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
05 Mar 2008, 11:33
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
05 Mar 2008, 11:48
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
05 Mar 2008, 12:19
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
05 Mar 2008, 12:50
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
06 Mar 2008, 00:36
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
06 Mar 2008, 07:24
Add beautiful
Thanks Tim

dancue
27 Mar 2008, 19:51
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
06 May 2008, 17:29
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
15 Jun 2008, 12:37
Perfect! Installed and Marked. Thanks

Baldilocks
15 Jun 2008, 13:33
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
19 Jun 2008, 09:07
But AJAX is the best.
Any update....

M1th
23 Jun 2008, 23:59
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
26 Jun 2008, 22:03
I agree instead i just edited the phrase to say reply & View conversation

ArnyVee
30 Jun 2008, 21:23
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
01 Jul 2008, 06:21
Very good, easy but great

Install!!!

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

thanks

/me installed

Jase2
02 Jul 2008, 13:29
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
17 Aug 2008, 08:22
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®
17 Aug 2008, 09:21
not working ...

studentsforum
21 Aug 2008, 21:25
why not?
seems okay with me :S

ahayat
27 Aug 2008, 14:28
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
20 Nov 2008, 16:15
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
23 Nov 2008, 14:05
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
23 Nov 2008, 14:16
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
23 Nov 2008, 14:25
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
23 Nov 2008, 17:30
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
23 Nov 2008, 19:38
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
02 Dec 2008, 23:10
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
04 Dec 2008, 10:12
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
05 Dec 2008, 20:42
<if condition="$bbuserinfo[userid] == $userinfo[userid] && THIS_SCRIPT == 'member'">


for whom was looking for ajax style reply, I made this: my mod (http://www.vbulletin.org/forum/showthread.php?t=197644)

regards

jerx
05 Dec 2008, 21:26
<if condition="$bbuserinfo[userid] == $userinfo[userid] && THIS_SCRIPT == 'member'">


for whom was looking for ajax style reply, I made this: my mod (http://www.vbulletin.org/forum/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
21 Sep 2009, 12:28
This should be default in vB. Thanks for sharing! :up:

Used approach as in Post #37 (http://www.vbulletin.org/forum/showpost.php?p=1669389&postcount=37) with the <if> conditional from the first, but the <div> from the 2nd one. :)

BucWiLd
17 Oct 2009, 04:43
installed ty

linuxututs
18 Oct 2009, 06:23
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
13 Nov 2009, 14:27
install

UltraFanatics
21 Nov 2009, 18:36
Love this mod!!!

skariko
28 Dec 2009, 15:29
Any idea to do this on VB4? :)

Skydiver10
22 Jan 2010, 19:32
Nice work, thanks for this edit, I have been looking for this!:up:

Pakblogger
03 Aug 2010, 19:08
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
06 Jul 2011, 14:23
Anyone use something like this on vB4?