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 - ZH - Default PM Title (https://vborg.vbsupport.ru/showthread.php?t=141415)

Ziki 03-06-2007 10:00 PM

ZH - Default PM Title
 
This modification was brought to you by
KXDesign
http://www.kxdesign.com/


~Hack name
Default PM Title

~Hack description
As requested by somebody this hack writes in a default title and text for a private message.Works only with blank private messages so replies won't get messed up.

~Hack options
  • On/Off
  • Default Title
  • Default Message

~Hack info
File uploads: 0
File edits: 0
Templates: 0
Template edits: 0
Plugins: 1
SQL Queries: 0
Phrases: 5
Settings: 2
Hooks: 0

Install time: 3 sec
Install level: Easy

~Hack installation

Step 1: Import Product


~Hack screenshots
None


~Hack changelog
  • 1.0.0 - First Release
  • 1.0.1 - Added [username] parse and message stencil


~Hack copyright
This may not be distributed,released or claimed as your work without author's permission.

Ziki 03-07-2007 06:15 PM

~Reserved~

FleaBag 03-07-2007 09:56 PM

Can I use $username, as in 'New message from $username' in the title? :)

Ziki 03-08-2007 10:55 AM

try using $userinfo['username']

D.Ilyin 03-09-2007 01:21 PM

Quote:

Originally Posted by Ziki (Post 1198675)
try using $userinfo['username']

doesn't work for me :(

Snake 03-09-2007 04:18 PM

Try using "$bbinfo['username']" instead. That should work.

D.Ilyin 03-10-2007 06:13 AM

Quote:

Originally Posted by Snake (Post 1199609)
Try using "$bbinfo['username']" instead. That should work.

Thanks for reply, but the same situation s above :(

Ziki 03-10-2007 05:03 PM

Ok I will add a feature for it.

Andre31 03-10-2007 06:19 PM

Nice Hack! THX for it.
Can you make it, that a default PM Message in the Messagebox?
That?s what im looking for!

Sorry for my bad english!;)

Ziki 03-11-2007 12:46 PM

Oh sure.I will make it an option too.


All times are GMT. The time now is 01:53 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.00969 seconds
  • Memory Usage 1,728KB
  • 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_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (1)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