vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   Member Archives (https://vborg.vbsupport.ru/forumdisplay.php?f=202)
-   -   How to modify this? About the Quote function. (https://vborg.vbsupport.ru/showthread.php?t=3523)

09-28-2000 04:50 AM

The current quote function is to add a [ QUOTE ] above & below the original message. Thus, there would be 2 kinds of REPLY function. The 1st one is Reply w/o Quote, and the other is Reply w/ Qoute. I think it might be enhanced like this:

Put the original message in a hidden field and add a prefix (in the example below, it's a '>' symbol) that the admin pre-config in their vB control panel.

<input type="hidden" name="hide" value="<font color=$quotecolor $username's post in $postdate $posttime mentioned:> Original message
</font>">


Note that there is a $quotecolor for the admin to decide the color for a quoted message.

And here's a button for user to decide to quote or not. If one need to quote from the original message, then he could press the following button:

<INPUT type="button" name="quote" value="Quote from original message" onClick="this.form.body.value=this.form.hide.value +
this.form.body.value;">


I don't know much about PHP. This is just an idea. Is there anyone interested and will do a hack?


All times are GMT. The time now is 04:40 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.01284 seconds
  • Memory Usage 1,702KB
  • 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)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (1)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