![]() |
To everyone getting an error like this:
Database error in vBulletin 3.5.0: Invalid SQL: SELECT count(id) total FROM [database].photos WHERE userid=[uid]; MySQL Error : Table '[database].photos' doesn't exist Error Number : 1146 Date : Friday, November 4th 2005 @ 12:56:25 PM Script : http://www.yoursite.com/forums/g...d=vB_Editor_001 Referrer : Classname : vb_database Do this... FIND PHP Code:
PHP Code:
EDIT... Okay, found it. FIND: PHP Code:
PHP Code:
|
That only leaves the issue with the image being inserted in the header when the editor looses focus.
|
You rock man! Ive just been working on this (tough to do when I dont have PP anymore!) This has saved me loads of time for the PP users.
Thanks again! Ill test and update the package. |
Quote:
|
Hi All,
Everything works good untill I start a new thread and try to insert images they all appear on top of site instead of message box. When just reply to a thread everything works fine!! Anybody know what could cause this problem? Geek you already got access to my site so maybe you could also take a look at that one while your at it ;-) |
I can explain the problem. When you start a new thread or even a blank reply, you need to activate the cursor in the editor to give the editor focus, then click on the link for your pictures.
If you just hit the new thread or reply button and then the pic link after the page loads, the editor never has focus so the insert is being done in the document root, which is the page itself. Note to TheGeek... I'm sure the answer is in the smilie code. If you take and make a reply, click in the title box and then click on a smilie, focus is returned to the editor and the smilie is inserted in the first character position. That should for your hack too. |
FASherman that's what happens indeed, so that's why I thought a reply on thread worked because I already focused cursor.
|
Package update (thanks Fasherman).
The only outstanding issue I know of now is when the image gets dumped into the page instead of the editor. |
Oh this is really nice.... Thanks so much!
|
I get this error:
Quote:
anyone else get this? or does it work for everyone else? |
All times are GMT. The time now is 09:13 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 | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|