vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.7 Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=228)
-   -   Profile Enhancements - Ajax Reply to Visitor Message from your Own Profile (https://vborg.vbsupport.ru/showthread.php?t=197644)

CCV_Pinto 12-01-2008 12:01 PM

Quote:

Originally Posted by codershark (Post 1676338)
sorry but I cant find the reply in the other profile :(

can you send a link to your board, so I can test?

ps: boa Leo, sabia q a torcida palmeirense ia gostar ;)

rainyleaves 12-01-2008 01:24 PM

Awesome!!!! Thanks, CCV.
MOTM!

CCV_Rugopix 12-01-2008 02:14 PM

good job pinto ^^

NAZIA 12-02-2008 11:27 AM

let me test...
Thanks for this idea..
I wish.It should be built in with VB..

NAZIA 01-19-2009 05:32 PM

Working perfect for me...

yotsume 08-29-2009 06:57 AM

So when can you have a product done? :) PLEASE!!! :)

yotsume 08-29-2009 07:15 AM

QUESTION:
How can we get the basic editor to display when making the replies? We need at least the basic editor buttons. It would be nice to also have a go advanced button as well.

SUGGESTION:
You need to make a cancel button that closes the ajax! If you decide not to type a reply and you want to make another reply you will get multiple opened message windows.

You need to have the message background be a little gray. How can I change the background of the message text area?

Great idea please keep developing this!

CCV_Pinto 09-06-2009 05:27 AM

1 - the basic editor buttons would be a nice feature, I would have to investigate it a litle. The button to advanced mode i think is easy to implement (I would need just to copy the code from the template to my visitorReply.php)

2 - to create a cancel button, you can add this to the step 3 (inside the if, after the first li tag , I didnt test it, but its simple, it should work):

Code:

    <li class="smallfont"><a  href="#link$message[vmid]" title="Close" onclick="document.getElementById($message[vmid]).style.display = 'none'">Close</a></li>
you will also need to change the openVisitorReply to inside the javascript file to:

Code:

    function openVisitorReply(id, user, user2, securitytoken, userid) {
       
    if(document.getElementById(id) != null){
        document.getElementById(id).innerHTML = "<iframe name=\"iframe"+id+"\" scrolling=\"no\" align='center' style=\"border: 0;\" id=\"iframe"+id+"\" src=\"./visitorReply/visitorReply.php?u="+user+"&u2="+user2+"&securitytoken="+securitytoken+"&userid="+userid+"&id="+id+"\" width=\"100%\" height=\"100\"></iframe>";

document.getElementById($message[vmid]).style.display = 'block';
}

}

3 - the text area little gray you need to set the background color of the textarea inside the visitorReply.php file

style="background:#COLORHERE"

If I have same time I will update this... but I think I wont make it a product, because it already took me a few hours trying it...

yotsume 09-06-2009 08:29 AM

I am looking forward to the update!

I will try your suggested edits and report back.

THANKS!

yotsume 09-06-2009 09:03 AM

I tried your suggested edits to get the Close button. A few things:
  • Your edits are for a close link and it is in the wrong place. It should be a button and located to the right of the Reply button once the window pops open.
  • So the Close link should be a button that would be better labeled as "Cancel" and located just to the right of the Rely button not the link at the bottom of the popup.
  • The Close link should not show when there is nothing opened yet. ;)
A Small Issue:
  • Once you click "Close" if you decide to reply to that same message you can't. The window will not pop open a second time.
  • After you click "Close" the only way to reopen the same message if you wanted to reply and changed your mind is to refresh the whole page. YUCK
  • How can this be fixed?
Thanks for the edits. A broken close is better then no close. :)


All times are GMT. The time now is 04:51 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.01061 seconds
  • Memory Usage 1,739KB
  • 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
  • (1)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (2)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)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
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete