vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   Modification Requests/Questions (Unpaid) (https://vborg.vbsupport.ru/forumdisplay.php?f=112)
-   -   PM (no subject) (https://vborg.vbsupport.ru/showthread.php?t=52612)

Keyser S?ze 05-05-2003 04:01 PM

PM (no subject)
 
i think i requested this a long while back, try it again but i dont see it in the search so ill try it again :)


this would be nice, its like email if u dont put a title into a PM it just says (no subject) in the title, instead of giving a error msg saying "u must have a title"



anyone?

assassingod 05-05-2003 04:44 PM

You could do this by template modifications. Open up the priv_sendprivmsg template, find:

Code:

Please complete the recipient, subject and message fields.
replace with

Code:

Please complete the recipient and message fields.
then find:

Code:

        <td bgcolor="#DFDFDF"><normalfont><input type="text" class="bginput" name="title" value="$subject" size="40" maxlength="85" tabindex="2"></normalfont></td>
replace with

Code:

        <td bgcolor="#DFDFDF"><normalfont><input type="text" class="bginput" name="title" value="(no subject)$subject" size="40" maxlength="85" tabindex="2"></normalfont></td>
Untested, but should work

Keyser S?ze 05-05-2003 04:50 PM

that should work but it will make the title blank, id rather have the title accually say (no subject)

if there isnt one

assassingod 05-05-2003 04:54 PM

Well what it does is when sending a PM, it will add (no subject) to the title. It saves time from hacking vB files.

Keyser S?ze 05-06-2003 12:17 AM

didnt work :(

it works but it always puts a (no subject) there

what i am really looking for, is IF a person doesnt put in a subject, after or when they hit the send button, a (no subject) is placed there, so you would have to edit the php files


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.01050 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
  • (4)bbcode_code_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (5)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