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)
-   -   QuoteIt! Quote Management System v1.2 (https://vborg.vbsupport.ru/showthread.php?t=62470)

docvader 01-16-2005 06:00 PM

I tried that (this method worked for the Webpage / Guestbook hack), but I'm getting mysql errors
Quote:

An error occurred while attempting to execute your query. The following information was returned.
error number: 1064
error desc: You have an error in your SQL syntax near '" . TABLE_PREFIX . "phrase (languageid, varname, text, phrasetypeid) VALUES (0, ' at line 1
Did you do something with the "table prefix" comment? Take it out? (I don't have prefixes in my database, as I was an upgrade from vb 2.xx)

docvader 01-16-2005 06:25 PM

OK, maybe someone can figure this out.

My phrases and templates are all in there. However, when I add a quote directly to the quotes.php page, I get this response:
Quote:

Database error in vBulletin 3.0.5:

Invalid SQL:
INSERT INTO quotes (quote, author, userid, approved) VALUES ('this is a test submission to get this working again.', 'xxxxx', 1, )

mysql error: You have an error in your SQL syntax near ')
' at line 2

mysql error number: 1064

Date: Sunday 16th of January 2005 12:15:45 PM
Script: http://x.russbo.com/vb/quotes.php
Referer:
Username: xxxx
IP Address:xxxxxxxxxxx
It's trying to call to $vboptions[moderatequotes], which is in quotes.php.

The quotes are all still in the database; the upgrade did not affect them.



Should we reinsert the sql queries like this:
Quote:

INSERT INTO setting (varname, grouptitle, value, defaultvalue, optioncode, displayorder, advanced, volatile) VALUES ('moderatequotes', 'forumhome', '0', '0', 'yesno', 6, 0, 1)
instead of what's called for in the instructions:
Quote:

INSERT INTO " . TABLE_PREFIX . "setting (varname, grouptitle, value, defaultvalue, optioncode, displayorder, advanced, volatile) VALUES ('moderatequotes', 'forumhome', '0', '0', 'yesno', 6, 0, 1)
Anyone have any idea?

LKJR 01-18-2005 03:27 AM

well ok, I tried this once on a new install of 3.0.5 and it didn't work so I tried running the sql queries again. didn't change anything

so I completely removed my test forum and database

new install and fresh database.

same thing. any ideas? I"d really like this on my site.

LKJR 01-21-2005 02:48 PM

has everyone given up on this?

Deviant++ 01-21-2005 06:32 PM

you mean this mod dosn't work on 3.0.6 ? :(

docvader 01-21-2005 09:54 PM

Quote:

Originally Posted by Deviant++
you mean this mod dosn't work on 3.0.6 ? :(

It stopped working on 3.05, and we can't figure out how to get it to function. It's a shame, because it was one of the more popular hacks that I have on my site. I really wish someone would figure this out.

TurboTwoLiter 01-21-2005 10:50 PM

same here, i had it on my old site, upgraded to 3.0.5 after server failure,

i wish it was compatable :(

LKJR 01-22-2005 04:01 AM

I tried it on a fresh install of 3.0.5 twice with no luck.

CtrlAltDel 01-22-2005 04:51 AM

I figured it out.

For some reason the VB 3.0.5/6 upgrade somewhere along the line kills the 'Forum Home Page Settings' database table...or at least nukes the entry needed for the quotes thing. So basically, nothing is broken, but its just like you check the 'off' button for the quotes.

You need to rerun this query.
Code:

INSERT INTO setting (varname, grouptitle, value, defaultvalue, optioncode, displayorder, advanced, volatile) VALUES ('showquote', 'forumhome', '0', '0', 'yesno', 5, 0, 1);
and this one

Code:

INSERT INTO setting (varname, grouptitle, value, defaultvalue, optioncode, displayorder, advanced, volatile) VALUES ('moderatequotes', 'forumhome', '0', '0', 'yesno', 6, 0, 1)
If your table has a prefix, put that on there.

Then go into your home page options and re-enable the settings.

Everything should be back to normal now.

docvader 01-22-2005 05:45 AM

YOU ARE THE MAN!

Impressive...

(but the "add to quotes" funcition, in each postbit, draws a white page of death).

docvader 01-23-2005 02:42 AM

Quote:

Originally Posted by docvader
YOU ARE THE MAN!

Impressive...

(but the "add to quotes" funcition, in each postbit, draws a white page of death).

OOPS. Forgot this:
https://vborg.vbsupport.ru/showpost....&postcount=212

Now it works.

Deviant++ 01-23-2005 05:02 AM

An error occurred while attempting to execute your query. The following information was returned.
error number: 1062
error desc: Duplicate entry 'showquote' for key 1

Deviant++ 01-23-2005 05:06 AM

SELECT * FROM quotes WHERE approved=1 ORDER BY rand() LIMIT 1

mysql error: Table 'dvdb.quotes' doesn't exist

Deviant++ 01-23-2005 05:20 AM

I removed 'showquote' from vb3_setting ..
now it says this

An error occurred while attempting to execute your query. The following information was returned.
error number: 1146
error desc: Table 'dvdb.setting' doesn't exist

but it's still there... vb3_setting I mean .. lol
cause the forums n everything is working fine..

CtrlAltDel 01-23-2005 01:34 PM

1. edit button is your friend
2. mysql error: Table 'dvdb.quotes' doesn't exist, would tend make me believe there is an issue with your quotes table.

CtrlAltDel 01-23-2005 02:42 PM

My bad guys, you need to rerun both queries, one for displaying and one for entering.
You will then need to go to your admincp, and resave the settings even though they may appear set already.

https://vborg.vbsupport.ru/showpost....&postcount=249

The Realist 01-23-2005 04:09 PM

Whats the command to deinstall this from the database so I can reinstall it.

CtrlAltDel 01-23-2005 04:44 PM

open the install_quoteit.php in a text editor
scroll down to the bottom where all the INSERT statements are, change them to correct delete statements, or manually go through the database and find those with phpmyadmin.

need more help, let me know.

The Realist 01-23-2005 04:55 PM

Lost already M8, dont know bugger all about DB's.

Follow instructions man thats me.

Do you have a command I can run?

The Realist 01-23-2005 05:11 PM

Thanks, manually removed and re-run install file.

Still not working in version 3.0.5

The Realist 01-23-2005 05:13 PM

Ran this but it says duplicate entries.

Quote:

Originally Posted by CtrlAltDel
I figured it out.

For some reason the VB 3.0.5/6 upgrade somewhere along the line kills the 'Forum Home Page Settings' database table...or at least nukes the entry needed for the quotes thing. So basically, nothing is broken, but its just like you check the 'off' button for the quotes.

You need to rerun this query.
Code:

INSERT INTO setting (varname, grouptitle, value, defaultvalue, optioncode, displayorder, advanced, volatile) VALUES ('showquote', 'forumhome', '0', '0', 'yesno', 5, 0, 1);
and this one

Code:

INSERT INTO setting (varname, grouptitle, value, defaultvalue, optioncode, displayorder, advanced, volatile) VALUES ('moderatequotes', 'forumhome', '0', '0', 'yesno', 6, 0, 1)
If your table has a prefix, put that on there.

Then go into your home page options and re-enable the settings.

Everything should be back to normal now.


CtrlAltDel 01-23-2005 05:37 PM

go into you admincp and make sure you check the two settings for the quotes, save them, and then check.

and what part exactly isnt working?

The Realist 01-23-2005 06:11 PM

I have checked the boxes in options. The quotebox is showing on the homepage but its not looking correct.

See picture attached.

Laters

CtrlAltDel 01-24-2005 02:23 AM

approve your quotes
edit a phrase and save, so the phrases work

The Realist 01-24-2005 08:38 AM

Thanks.

Edited a phase and saved it and now its working, strange?

Also have you any ideas how I can get thetop right tab to blend into my template (see pic)

Thanks.

Quote:

Originally Posted by CtrlAltDel
approve your quotes
edit a phrase and save, so the phrases work


docvader 01-24-2005 05:29 PM

So much for progress. When adding a quote, I get this error:
Quote:

Database error in vBulletin 3.0.6:

Invalid SQL:
INSERT INTO quotes (quote, author, userid, approved) VALUES ('When losing a battle, whether it be of the body, the mind or the heart, it is only a set up to win the next battle in which the reward is much greater.', 'Tsu Chin', 1, )

mysql error: You have an error in your SQL syntax near ')
' at line 2

mysql error number: 1064

Date: Monday 24th of January 2005 11:31:37 AM
Script: http://x.russbo.com/vb/quotes.php
Referer:
Username: xxx
IP Address: xxxxx
Otherwise, it all seems to work. Any ideas?

rich
http://x.russbo.com/vb/index.php

CtrlAltDel 01-24-2005 08:23 PM

reread my fix, and run the second query
then updated your admin settings and you will be fine

as for The Realist's problems...thats your template just acting odd, just change the template to look like you other boxes and you will be good to go.

docvader 01-24-2005 08:41 PM

Thanks. Think that did it. Impressive how you took command of this hack, you should really think about improving it, since you seem to be the only one that understands it.

Great feature, my members love it. Thanks for helping me get it back online.
rich

LKJR 01-26-2005 05:42 PM

maybe I"m lost mine looks like realist's does with the marks but empty (image attached a page or two back)

the boxes are checked I"ve tried running the queries again with no luck, it just says they already exsist.

Also I noticed I don't have a line in the moderate box in admincp to approve quotes like is shown on the initial post.
maybe that's the problem with mine?

CtrlAltDel 01-27-2005 04:17 AM

you need to edit a phrase and save, to update the phrases database

LKJR 01-27-2005 02:17 PM

how do I do that if I can't click on anything? sorry if I'm slow on this. my box is just the lines w/o any kind of clickable linkes or moderation abilities.

https://vborg.vbsupport.ru/attachmen...chmentid=23103

agiacosa 01-27-2005 02:56 PM

I'm running 3.0.5 with the patch. I tried running the two queries that do the fix but I get duplicate errors. I have the moderate quotes coming up on admincp but nothing shows up on forumhome.

LKJR 01-27-2005 02:58 PM

have you checked the boxes in forum home settings in your admincp?

agiacosa 01-27-2005 03:07 PM

Yes. Quotes is on and moderation is enabled.

LKJR 01-27-2005 03:09 PM

did you go into the moderation and try to do anything? like save a quote? I think that's what he was saying to do on page 18 of this thing.

agiacosa 01-27-2005 03:10 PM

Looks like you need to go into your admincp, select phrases, click on edit (anyone) and then save.

agiacosa 01-27-2005 03:11 PM

I have no options under Moderate Quotes as it only says no quotes to moderate.

LKJR 01-27-2005 03:15 PM

what did you mean by anyone?

agiacosa 01-27-2005 03:17 PM

the first phrase you see (doesn't matter what it is), just click edit and then saved.

P.S. got mine working. My fault

LKJR 01-27-2005 03:22 PM

sweet it works, but how do I get the moderate quotes stuff into my admincp?


All times are GMT. The time now is 01:08 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.01544 seconds
  • Memory Usage 1,821KB
  • 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
  • (4)bbcode_code_printable
  • (9)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
  • (40)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