vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 2.x Full Releases (https://vborg.vbsupport.ru/forumdisplay.php?f=4)
-   -   Quick Edit! -Edit posts directly from within the thread itself (https://vborg.vbsupport.ru/showthread.php?t=54851)

EvilLS1 07-12-2003 12:23 AM

Hehe.. I just meant temporarily uninstall it to see if the settings problem goes away. Glad you like it though. :)

GenSec 07-15-2003 11:26 AM

Very nice. I like it.

Exo 07-15-2003 01:06 PM

thanks very nice hack :bunny:

how can i set it so that the thread starter can not see the quick edit button?

EvilLS1 07-16-2003 05:24 AM

Thanks.

Quote:

how can i set it so that the thread starter can not see the quick edit button?
Not sure if thats possible without adding a query.

Sn00peh 07-18-2003 01:12 PM

did anyone try this with 2.3?

Parker Clack 07-18-2003 01:46 PM

Great hack! My members already love it.

I changed the input code in the showthread_quickedit template

from:

<input name="r2" type="radio" value="" onClick="toggleT('e$post[postid]','s')"><smallfont>QuickEdit</smallfont>

to:

<input name="r2" type="button" style="font-face:verdana;font-size:12px" value="Quick Edit" onClick="toggleT('e$post[postid]','s')">

and

from:

<input name="r2" type="radio" checked value="" onClick="toggleT('e$post[postid]','h')"><smallfont>Hide</smallfont>

to:

<input name="r2" type="button" checked value=" Close Box " onClick="toggleT('e$post[postid]','h')">

I like buttons better for some reason. :)

Thanks for the great hack.

Parker

EvilLS1 07-18-2003 10:16 PM

Sn00peh, I'm pretty sure this will work fine with 2.3.0 .

Parker, y/w. glad you like it. :)

Robink 07-19-2003 05:32 AM

Im on 2.3.0 and it works beautifully.

Parker Clack 07-19-2003 02:31 PM

I have a Spellcheck script that I use that can be put into any form on a web site. I use it with the regular edit function, the new reply and new thread on the forum.

<form name="spell">
<script>
function sendtext() {
var semi = new RegExp("\;","g");
document.send.checkme.value = (document.vbulletinform.edittext.value.replace(sem i,"\;"));
document.send.form.value = "vbulletinform";
document.send.field.value = "edittext";
window.open('','SpellChecker','width=640,height=48 0,scrollbars=1,location=true') ;
document.send.submit();
}
</script>
<input type="button" name="SpellCheck" value="Spell Check" onclick="sendtext()" class="bginput" tabindex="5" accesskey="c">
</form>
<form name="send" action="/cgi-bin/spell.pl" method="POST" target="SpellChecker">
<input type="hidden" name="checkme">
<input type="hidden" name="form">
<input type="hidden" name="field">
<input type="hidden" name="spell" value="check">
</form>

Is there anyway to incorporate this into this hack? I have tried but when I use it it doesn't work and just generates an error.

Thanks,
Parker

EvilLS1 07-19-2003 10:48 PM

Try this..

In your spell checker form find:
Code:

document.send.checkme.value = (document.vbulletinform.edittext.value.replace(semi,"\;"));
Raplace it with:
Code:

document.send.checkme.value = (document.vbulletinform.message.value.replace(semi,"\;"));
Find:
Code:

document.send.field.value = "edittext";
Replace it with:
Code:

document.send.field.value = "message";
Or if that doesn't work use this instead:
Code:

document.send.field.value = (document.vbulletinform.message.value);

If that doesn't work just post the javascript error message and we'll try to figure it out.


All times are GMT. The time now is 11:01 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.01212 seconds
  • Memory Usage 1,738KB
  • 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
  • (5)bbcode_code_printable
  • (1)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