vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   Modification Graveyard (https://vborg.vbsupport.ru/forumdisplay.php?f=224)
-   -   Private Messages Enhancements - Deactivate automatic messagequote (https://vborg.vbsupport.ru/showthread.php?t=200608)

ragtek 01-03-2009 10:00 PM

Deactivate automatic messagequote
 
Since vB 3.8 the pms are automaticaly quoted in the quick reply box.

With this add-on it is possible to let your users choose, if they want to use this autoquotefeature or not.

On the "edit options" site ( /profile.php?do=editoptions ) there is now a new checkbox ( Autoquote pm? ) by the Private Messaging settings.

Installation: Import the productfile.
In the dontupload folder, you'll find the english language file!
Here you can see, how to import it.
After importing, change the template.

Search in Template modifyoptions for
Code:

                                                        <td><label for="cb_pmdefaultsavecopy"><input type="checkbox" name="options[pmdefaultsavecopy]" value="1" id="cb_pmdefaultsavecopy" $checked[pmdefaultsavecopy] /><phrase 1="private.php?$session[sessionurl_q]folderid=-1">$vbphrase[save_pm_copy_default]</phrase></label><input type="hidden" name="set_options[pmdefaultsavecopy]" value="1" /></td>
                                                </tr>
                                        </tbody>
                                        </table>

Add before
HTML Code:

                                                <tr>
                                                        <td><label for="cb_pmragteknopmquot"><input type="checkbox" name="pmragteknopmquot" value="1" id="cb_pmragteknopmquot" $checked[pmragteknopmquot] />$vbphrase[quote_pm]</label></td>
                                                </tr>


OK, in version 1.2 the autoquote is deactivated in the quick reply, but if you click on the replybutton, the pm will be quoted.


Changehistory:
1.2.1
===
Bugfix

Gladhatter 01-04-2009 11:18 PM

Thank you ragtek as this was on my todo list to have. I hope yours also allows quotes if you wish it.

ragtek 01-05-2009 10:42 AM

No, not at moment.
I've planed it for the next version.

KURTZ 01-05-2009 12:46 PM

thx, just installed ;)

Gladhatter 01-05-2009 12:51 PM

Thank you and installed and will work on adding quotes for those that wish them.

Nadavy 01-13-2009 01:38 AM

Installed and Nominated :D
Thanks! I was looking forward to one of these mods.
I look forward to seeing when adding quote option will become available :)

Gladhatter 01-13-2009 01:42 AM

Quote:

Originally Posted by Nadavy (Post 1710443)
Installed and Nominated :D
Thanks! I was looking forward to one of these mods.
I look forward to seeing when adding quote option will become available :)

I also look forward to this option and if the author does not add this I am going to ask my coder Solidsnake@GTI if it is ok to have it added by him.

C138 Kaysone 01-26-2009 02:56 AM

which one is which that works correctly?

Gabbi Ace 01-26-2009 11:50 PM

Hey,
I am trying to figure out if this is what I need. what will this do excatlly?

TY

ragtek 01-26-2009 11:55 PM

Version 1.1 is the newest


All times are GMT. The time now is 08:13 AM.

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.01098 seconds
  • Memory Usage 1,738KB
  • 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
  • (1)bbcode_code_printable
  • (1)bbcode_html_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