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 Reply Multiquote (https://vborg.vbsupport.ru/showthread.php?t=73694)

zetetic 05-24-2005 05:19 AM

Quote:

Originally Posted by deathemperor
care to share it ?

I figured out that he means he fixed that problem in his own hack, not this one. I looked at his but couldn't figure out how what he did could be applied to this one, though. :(

zetetic 05-28-2005 09:04 PM

Okay I'm not a skilled coder but here's the workaround I came up with for users who have apostrophes in their names:

Edit functions_showthread.php:

Find:

HTML Code:

// do posts from ignored users
Add Above:

PHP Code:

$post['qrusername'] = addslashes($post['username']); 

Then edit the postbit template:

Find:

HTML Code:

onclick="return doMultiQuote('$post[username]',
Replace with:

HTML Code:

onclick="return doMultiQuote('$post[qrusername]',
This works for me, but use at your own risk. :)

Edited to add: Don't forget to change legacy_postbit too, if you give your users the option to use it. I always forget that. :D

Boofo 05-29-2005 06:01 AM

Quote:

Originally Posted by tmhall
Okay I'm not a skilled coder but here's the workaround I came up with for users who have apostrophes in their names:

Edit functions_showthread.php:

Find:

HTML Code:

// do posts from ignored users
Add Above:

PHP Code:

$post['qrusername'] = addslashes($post['username']); 

Then edit the postbit template:

Find:

HTML Code:

onclick="return doMultiQuote('$post[username]',
Replace with:

HTML Code:

onclick="return doMultiQuote('$post[qrusername]',
This works for me, but use at your own risk. :)

Good one, sir. Thanks! ;)

zetetic 05-29-2005 01:29 PM

Quote:

Originally Posted by Boofo
Good one, sir. Thanks! ;)

Thanks and you're welcome. :)

Lurk 06-02-2005 11:07 PM

Quote:

Originally Posted by tmhall
Edited to add: Don't forget to change legacy_postbit too, if you give your users the option to use it. I always forget that.

Damn, wow... That's amazing.

zetetic 06-02-2005 11:18 PM

Quote:

Originally Posted by Lurk
Damn, wow... That's amazing.

Um... huh? Why's it amazing that I forget to edit the legacy postbit?

sv1cec 06-03-2005 05:27 AM

Quote:

Originally Posted by tmhall
Um... huh? Why's it amazing that I forget to edit the legacy postbit?

I do not know if it is amazing, but it happens to me too, all the time!

On a sidenote, I just install this on 3.0.7 and it works fine. Just one question, I got from reading the previous pages. I saw too many requests for porting this to the WYSIWYG editor. Do you guys get WYSIWIG in the Quck Reply? And if you do, how did you do it? I am using WYSIWYG in the normal reply etc, but I didn't know you can have it in the QR as well.

Rgds

deathemperor 07-01-2005 09:41 AM

Quote:

Originally Posted by sv1cec
On a sidenote, I just install this on 3.0.7 and it works fine. Just one question, I got from reading the previous pages. I saw too many requests for porting this to the WYSIWYG editor. Do you guys get WYSIWIG in the Quck Reply? And if you do, how did you do it? I am using WYSIWYG in the normal reply etc, but I didn't know you can have it in the QR as well.

ACP -> Vboptions -> Message Posting and Editing Options -> Quick Reply Enabled -> Yes - Show Enhanced (WYSIWYG) Editor Toolbar

sv1cec 07-01-2005 09:46 AM

Thank You Sir!

csidlernet 07-20-2005 09:15 AM

goodwork Xenon!


All times are GMT. The time now is 03:11 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.01181 seconds
  • Memory Usage 1,749KB
  • 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
  • (6)bbcode_html_printable
  • (2)bbcode_php_printable
  • (7)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