vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.0 Full Releases (https://vborg.vbsupport.ru/forumdisplay.php?f=33)
-   -   Quick PM Reply Box for Private Messages (https://vborg.vbsupport.ru/showthread.php?t=59999)

lifesourcerec 06-06-2004 02:57 PM

1 more uncached template I can't seem to fix. While looking at the inbox (private.php?), everything is cached. But when I click to read a PM (private.php?do=showpm&pmid), board_inactive_warning template is uncached. Is there a way to fix that? I tried adding it to the showpm, global, etc. (moved it around), and it is still uncached.

Erwin 06-06-2004 08:23 PM

Quote:

Originally Posted by lifesourcerec
1 more uncached template I can't seem to fix. While looking at the inbox (private.php?), everything is cached. But when I click to read a PM (private.php?do=showpm&pmid), board_inactive_warning template is uncached. Is there a way to fix that? I tried adding it to the showpm, global, etc. (moved it around), and it is still uncached.

That's only if you switch off your forums isn't it? Not sure why that's the case.

Boofo 06-06-2004 08:30 PM

That is the design of it in vB3. They didn't do that on purpose since that is really one of the few templates that run to most users when the board is closed down. There was a thread about it on the com a while back.

lifesourcerec 06-06-2004 11:00 PM

Quote:

Originally Posted by Erwin
That's only if you switch off your forums isn't it? Not sure why that's the case.

I'll have to check. I still have one uncached with the board being active. I'll check tonight when traffic is low.

ChuanSE 06-09-2004 03:25 PM

Installed second time :D

hitmanuk2k 06-26-2004 06:51 PM

how do you like not have the reply box attached to the delete table also. all the other tables on the page have a gap... except the new quick reply box and delete message... these are together. what code can i add to change this?

misuse 06-30-2004 03:38 AM

Thanks for making this hack. Everyone on my forums loves it.

SaN-DeeP 06-30-2004 11:25 AM

thnx a lot for the hack erwin :)

is it possible to just add the quickreply, the way it appears for threads ?

i meant, i dunt want to copy the entire contents of the message, and display there, reply to this private message instead of send new private message ;)

Sounds perfect i hope ^_^

Sandy...

Erwin 07-18-2004 04:54 AM

Update

Version 1.4 :

1) Choose to use no toolbars, normal toolbar or WYSIWYG toolbar.

2) Choose to show smilie box or not.

3) Choose to show posticons or not.

To update manually, do this -

1) In private.php, find the SECOND occurrence of this (ie. where this HACK was installed - note, the SECOND occurrence, NOT the first)

PHP Code:

require_once('./includes/functions_editor.php'); 

Above, add:

PHP Code:

   // 0 = no toolbar, 1 = standard toolbar, 2 = wysiwyg toolbar
   
$vboptions['allowvbcodebuttons'] = '2';
   
// 0 = no smilie box, 1 = smilie box shown 
   
$vboptions['wysiwyg_show_smiliebox'] = '1'

Make the appropriate changes as you like according to the comments.

2) Then, find:

PHP Code:

    eval('$quickpmreply = "' fetch_template('pm_newpm') . '";'); 

Above, ADD:

PHP Code:

// Uncomment line below to stop showing posticons
// $posticons = ''; 

Uncomment the second line if you don't want post icons to show up.

That's it for the version 1.4 update - a small update, but this means you can make the Quick PM Reply box as complex or as bare as you like, without touching the templates. ;)

turbidblue 07-21-2004 10:48 PM

awesome hack! thanks!!

[high]* turbidblue clicks install :)[/high]


All times are GMT. The time now is 01:42 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.01260 seconds
  • Memory Usage 1,744KB
  • 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_php_printable
  • (2)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)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