vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB3 General Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=111)
-   -   Quick Edit Problem (https://vborg.vbsupport.ru/showthread.php?t=176661)

MiahBeSmokin420 04-19-2008 10:43 PM

Quick Edit Problem
 
ok so i just noticed today that when i go to use quick edit you know

the box pops up and lets me edit the crap

but for some reason when you click save and/or cancel it acts as if its going to work and all

as a matter of fact it dose what its supposed to do meaning editing the post and all but the only problem is that it will not close the quick edit box for some reason

after the edit of the post the quick edit box just stays open

any ideas? i realy dont want to disable a lot of crap just to find out that its something in the template or some shit you know

so ya any help would be great thanks

Lynne 04-20-2008 02:46 AM

My only suggestion would be to do what you don't want to do - disable the plugins to find the culprit.

MiahBeSmokin420 04-20-2008 08:08 AM

ya i figured that

ooh well ill do that here soo when i get some time

if all fails then ill be back for more support

Marco van Herwaarden 04-20-2008 08:49 AM

To troubleshoot this, please remove any hacks and disable your plugins, then see if you still have this problem.
Note: To temporarily disable the plugin system, edit config.php and add this line right under <?php

define('DISABLE_HOOKS', true);

If so, reupload all the original vB non-image files (except install.php). Make sure you upload these in ASCII format and overwrite the ones on the server.

If your problem still exists, please create a new Style with no Parent set. Now browse the forum using this new style, do you still have the same problems? If you are troubleshooting login or guest issues, you will need to set this style as board default in the vBulletin Options.

MiahBeSmokin420 04-21-2008 07:57 PM

ok after everything was disabled and all that crap no luck

but when on a default skin unmodified the crap works

so do this mean there is something wrong with one of the templates then?

and if so what templates would cause that just showthread right or possiably others?

ssslippy 04-21-2008 08:15 PM

What you can do is go into your vbulletin options and turn on templates in your source. Then once u view the source u can see where all your templates are. This will not only help you now but in the future.

MiahBeSmokin420 04-21-2008 08:22 PM

ya what ever that means idk man im pretty advanced i dont know noob language

but anyways i found the problem

this
HTML Code:


<if condition="THIS_SCRIPT == 'showthread'">
<script type="text/javascript" src="lightbox/js/prototype.js"></script>
<script type="text/javascript" src="lightbox/js/scriptaculous.js?load=effects"></script>
<script type="text/javascript" src="lightbox/js/lightbox.js"></script>
<link rel="stylesheet" href="lightbox/css/lightbox.css" type="text/css" media="screen" />
</if>

that puts lightbox on my attachements

when i take that out everything works great

any idea on how to keep it there with it not interfering with the QuickEdit

cause i like lightbox on mu attachments but i like quick edit to so ya any ideas on that?

Lynne 04-21-2008 08:44 PM

Can you take out one of those scripts at a time and see if Quick Edit will work then?

MiahBeSmokin420 04-21-2008 08:55 PM

no i tried that

all 3 scripts and the css script needs to be there for the lightbox to work properly on the attachments

Lynne 04-21-2008 09:20 PM

Quote:

Originally Posted by MiahBeSmokin420 (Post 1496135)
no i tried that

all 3 scripts and the css script needs to be there for the lightbox to work properly on the attachments

I know they all need to be there for the lightbox to work. I was trying to help you figure out which one is causing the problem with Quick Edit.

MiahBeSmokin420 04-21-2008 09:49 PM

oooh ok i see what you are saying

ill try each one here as soon as i can and let you know what one it is causeing it

MiahBeSmokin420 04-22-2008 02:48 AM

1 Attachment(s)
the file causing the problem looks to be

lightbox/js/prototype.js

i remove that line and everything seems to work fine but the light box dont work

i will attach the file and if you can make it so it will work then thanks
if not then dont worry its fine thanks anyway

Marco van Herwaarden 04-22-2008 08:59 AM

Do you get any JS errrors? I have the feeling that you are loading JS files that contain a function that has the same name as a default vB function.

MiahBeSmokin420 04-22-2008 02:27 PM

no errors at all it just dont close the quick edit box when you press save

Lynne 04-22-2008 03:06 PM

Quote:

Originally Posted by MiahBeSmokin420 (Post 1496599)
no errors at all it just dont close the quick edit box when you press save

Which is probably because of an error. Have you checked your error_logs to see if there is something in there?

MiahBeSmokin420 04-22-2008 10:02 PM

all errors are sent directly to my cell phone and i have 0 errors

even checked the logs in the ftp files and them logs are empty as well

last error i had was about 2 weeks ago and that was cause i reset my server mysql was down for a few mins and ya thats just a standard mysql no connection error

other then that i havent had a error in a long time i pay close attation to that stuff

Lynne 04-22-2008 11:21 PM

You have 0 errors in your apache error_logs file? I can't believe you never get bots looking for non-existent files or never have images or links not found. Wow. (I am not talking about mysql errors that get sent to your email, or cell phone in your case. These are php errors.)

I guess the next thing I would do is go through every function in the js file that is causing the problem and so a search through my vb files to see if the function already exists in vb. Just a quick global find in the directory for each function.

Mosh 04-23-2008 05:37 AM

I could never get my vBLightbox hack to work with QE, which is why I discontined it in the end.

That has always been a problem with Lightbox.

Thickbox you can get to work with QE and QR, check out the code in my vBThickbox hack (also discontinued) for some pointers that may help you out in doing what you want to do, although I will not be able to answer your questions as I do not support the hack anymore.

MiahBeSmokin420 04-23-2008 06:24 AM

Quote:

Originally Posted by Lynne (Post 1496915)
You have 0 errors in your apache error_logs file? I can't believe you never get bots looking for non-existent files or never have images or links not found. Wow. (I am not talking about mysql errors that get sent to your email, or cell phone in your case. These are php errors.)

I guess the next thing I would do is go through every function in the js file that is causing the problem and so a search through my vb files to see if the function already exists in vb. Just a quick global find in the directory for each function.

never though about looing in there for vb errors ill check that out here when i get a chance thanks

Quote:

Originally Posted by Mosh (Post 1497050)
I could never get my vBLightbox hack to work with QE, which is why I discontined it in the end.

That has always been a problem with Lightbox.

Thickbox you can get to work with QE and QR, check out the code in my vBThickbox hack (also discontinued) for some pointers that may help you out in doing what you want to do, although I will not be able to answer your questions as I do not support the hack anymore.

thanks for the info i think im going to try to break this crap down cause i would realy like it to work the way i start to get it to work intill the QE problem
so if i fix it i will you know for sure thanks though


All times are GMT. The time now is 10:17 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.01612 seconds
  • Memory Usage 1,761KB
  • 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_html_printable
  • (4)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (19)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