vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.8 Template Modifications (https://vborg.vbsupport.ru/forumdisplay.php?f=236)
-   -   Profile Enhancements - Add "Reply" to Visitor Message CLEAN! (https://vborg.vbsupport.ru/showthread.php?t=221697)

RTMdotORG 08-24-2009 10:00 PM

Add "Reply" to Visitor Message CLEAN!
 
1 Attachment(s)
This modification will add a "Reply" link next to "Edit" and "Report" link on every Visitor message.

In memberinfo_visitormessage template
FIND:
Code:

<ul class="list_no_decoration controls">
ADD AFTER:
Code:

<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

1 Attachment(s)
Here the screenshot: Attachment 103684

RTMdotORG 08-25-2009 05:07 PM

Quote:

Originally Posted by NAZIA (Post 1874100)
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

Quote:

Originally Posted by Kolbi (Post 1874114)
Here the screenshot: Attachment 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

Quote:

Originally Posted by multiplex (Post 1874361)
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

Quote:

Originally Posted by Baldilocks (Post 1874575)
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

Quote:

Originally Posted by RTMdotORG (Post 1874606)
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

Quote:

Originally Posted by Baldilocks (Post 1874668)
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

Quote:

Originally Posted by Baldilocks (Post 1874668)
Why? It only took a minute to change the phrase and people don't reply to themselves any longer....

http://i79.photobucket.com/albums/j1...ks73/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

Quote:

Originally Posted by RTMdotORG (Post 1874202)
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

Quote:

Originally Posted by NAZIA (Post 1876733)
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

Quote:

Originally Posted by BucWiLd (Post 1898380)
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.

PHP Code:

<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

Quote:

Originally Posted by infnity8x3 (Post 2056211)
I "cleaned" up the code a little bit.

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

PHP Code:

<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.


All times are GMT. The time now is 04:54 PM.

Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.

X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.02510 seconds
  • Memory Usage 1,779KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (2)bbcode_code_printable
  • (2)bbcode_php_printable
  • (11)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (24)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • printthread_start
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete