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)

larryd 07-06-2003 07:02 PM

Ok seems Im the only one to run into problems, hopefully you can help me out.

Forums are at http://www.newcelica.org/forums/index.php

I followed all the instructions and when I try and click the radial it gives me a javascript error on the bottom of the page stating

Line 711
Char 1
Error Object Expected
Code 0
URL http://www.newcelica.org/forums/show...postid=1219521

Nothing actually pops up to edit anything. Im not sure what the problem is, figure it might have something to do with the quick quote that Im using. Im running your QuickQuote II.

PhoenixBB 07-06-2003 11:22 PM

I'm having this problem too! I'm running Quick Quote II without problem, and I used the instructions for the QQ users.

I'm using IE6 and VB 2.26 if that's any help.

Thanx

EvilLS1 07-06-2003 11:31 PM

Ok, I think thats whats causing your problem then. Those instructions are for people who installed my first QuickQuote hack (not Quick Quote II).. Sorry about that, I should have been more clear about it. Follow the instructions in the first post and it will work for you.

larryd, did you also use those instructions? If not, what browser are you using? Make sure you added the javascript to the headinclude template..

PhoenixBB 07-06-2003 11:48 PM

Still didn't work - until I put the JS in the headinclude (you'd said to skip that if one had QQ installed). Working fine now. :)

Great hacks!

Thanx

EvilLS1 07-06-2003 11:54 PM

Quote:

until I put the JS in the headinclude (you'd said to skip that if one had QQ installed).
Yeah I meant if you had QQ1 installed (there's 2 quick quote hacks).. Anyway, sorry about that.. Guess I should have explained it more clearly. I updated the instructions so not to confuse anyone else. Glad its working for ya now. :)

larryd 07-07-2003 02:32 AM

Thats what it was, I did not add the script into the headinclude. That would make alot of sense huh :) THANKS and great hack.

PhoenixBB 07-07-2003 08:42 AM

Ooh, I think I found a bug! Well maybe not a bug, but a little problem. Or big one, depending on your board setup......

I have one forum on my board that allows guests to post - basically in case it's a member with problems or someone having probs registering. Anyway, I was having a look thru that forum just now - logged out - and there is one post there by an Unregistered (actually a member who forgot to log in). I was intrigued to see the quick edit button there. So I clicked it and ya, up the box popped! So I guess, the unregistered will be able to edit each others posts. :eek:

Not a major problem from my standpoint as guests rarely post there, and I can switch off the access so they can email me if they have tech probs. I should imagine for people with boards that allow guests to post it would be a bit of a problem though.

Have I mentioned how much I love this hack?? It's saving me a ton of time! :)

PhoenixBB 07-07-2003 08:48 AM

Ah, might not be as bad as it looks. Just edited said post but I got the No Permissions page - which is interesting as Guests do have permission to post there. Maybe because Guests can't edit their posts? Hmmm. I can't see how it would know who the original guest was, so I'm guessing in spite of the edit button and box coming up that Guests posts can't be edited via the quick edit? Cool. Be amusing to watch people try. ;)

EvilLS1 07-07-2003 08:58 AM

Yeah all the same permissions in editpost.php still apply. :) If you want the quick edit button to be invisible to unregistered posters just use this code in admin/functions.php instead of the code you added from the instructions.

Code:

if ($post[username] == $bbuserinfo[username] and $bbuserinfo[userid] !=0) {
    $edittext = htmlspecialchars($post[pagetext]);

eval("\$quickedit = \"".gettemplate('showthread_quickedit')."\";");
} else {
$edittext="";
$quickedit="";
}


DelFDgfd_gT 07-07-2003 08:11 PM

I cant click my post reply button anymore. wtf?


All times are GMT. The time now is 07:14 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.01500 seconds
  • Memory Usage 1,740KB
  • 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)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