vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.6 Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=194)
-   -   Private Messages Enhancements - note on forwarded messages (https://vborg.vbsupport.ru/showthread.php?t=144999)

MrNase 04-15-2007 10:00 PM

note on forwarded messages
 
The ability to forward certain messages is nice but sometimes you get confused when someone forwarded a message to you and you just see the quoted original message.

This is why I made this quick and dirty Add-on.

By default, a quoted message looks like:
Attachment 63196


My Add-on turns it into this:
Attachment 63197



You don't have to be a wizard to install the Add-on! Simply upload the attached XML-File to your Product Manager and edit the template 'newpost_quote'.
Replace the content of the template with:
PHP Code:

<if condition="$vbulletin->GPC[forward]"><phrase 1="$originalposter">$vbphrase[forwardnote]</phrase>
</if>[
quote=$originalposter]{$pagetext}[/quote

Save it and you are done. :)


This Add-on installs a new phrase called 'forwardnote' which you can edit/translate to make it fit your needs.
To remove the Add-on, simply remove the product 'Note on PM forward' and revert the template 'newpost_quote' - that's all! :)


Versions and updates:
1.0 (current release) - initial release, no known bugs

Hornstar 04-16-2007 09:46 AM

Nice idea. i can see how this would be useful, i may consider installing this when i get a chance.

MrNase 04-17-2007 02:24 PM

Thanks for your kind words. :)

I will release other small modifications like this one within a short time because such things make a perfect software even better.

Muellmann 04-18-2007 11:21 PM

Useful indeed, but the product was not needed for me, I installed this just as template mod without the phrase ;)


All times are GMT. The time now is 02:17 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.02371 seconds
  • Memory Usage 1,715KB
  • 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_php_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (4)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