vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.6 Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=194)
-   -   Major Additions - QuoteIt! - Quote Database (https://vborg.vbsupport.ru/showthread.php?t=135297)

Cap'n Steve 01-01-2007 10:00 PM

QuoteIt! - Quote Database
 
QuoteIt! version 3.1

I'm no longer able to put very much time into this mod, so I've set up a Subversion repository at http://www.vbulletinprogramming.com/projects/quoteit/ to allow others to help out. You can use the login "vbuser" with the password "vbulletin" to edit files. If someone would like to completely take over the mod, please contact me.


QuoteIt! allows you to have a database of quotes integrated with your forum. Users submit quotes that can then be voted on by the other users, using your choice of two rating systems. The average installation will show a random quote on the forum home page, but you can include it on any vBulletin page or on your portal home page.

If you'd like to see a demo, go to forums.monkeycrap.com.

Features:

Random Quote
- a random quote can be shown on any vBulletin powered page
- the administrator can set a default rating threshold that quotes must meet before showing up as the random quote
- a new random quote can be chosen at a specific interval of time, to reduce server load

Quote Database
- quotes can be searched, filtered, and sorted by many different criteria
- quotes have a "context" field that can be turned on or off to include more information about the quote
- quotes can be embedded in posts with bbcode
- each post and private message now has a "Submit to Quotes" link that allows users to quote things said on your forum more easily

Quote Ratings System
- quotes can be rated either plus/minus or on a scale from 1 to 5
- quotes below a certain total score or average score can be filtered out

Quote Management
- quotes can either be automatically approved or moderated
- the quote moderation que is like the que for posts, enabling the moderation of several quotes at once
- usergroup permissions are used for adding, editing, deleting, rating and viewing quotes
- most actions use AJAX to avoid page reloads

Don't forget to click install!

Currently known problems are listed here.

The files needed to edit the included images are attached to this post.

This hack is based on QuoteIt! 1.2, originally by magnus. The "submit post" feature was inspired by an addon by CtrlAltDel.

Older versions (no longer in development): QuoteIt! 3 for vBulletin 3.5.x | QuoteIt! 2.03 for vBulletin 3.0.x

Cap'n Steve 01-02-2007 07:35 AM

These are the currently know issues with this modification:
  • Row colors are sometimes messed up in Internet Explorer 6.
  • Rebuilding languages will reset some QuoteIt! options.
  • In Internet Explorer, the closing quotation mark is missing from the random quote and quote bbcodes.
  • Quotes deleted with AJAX are sometimes visible until the page is refreshed.
  • The table border is wrong in some styles.

Cap'n Steve 01-02-2007 07:37 AM

Here are the Photoshop (PSD) files used to make the graphics included in this modification. The stars used in the 1 to 5 rating system come from the official vBulletin graphics kit on vbulletin.com.

Mr_Snob 01-02-2007 07:45 AM

very exellent work!
thenk yu ;)

Veer 01-02-2007 07:46 AM

Looks Great... Clicks Install
But Hack file not found in Mod option.

Cap'n Steve 01-02-2007 07:50 AM

You were too fast for me. It's there now.

Saskia 01-02-2007 12:42 PM

When I go to quotes.php it redirects me to quotes.php?do=list and keeps on redirecting me there without opening any contents.

PS: Awesome that you finally got around to porting it. I greatly appreciate it!

Oddjob 01-02-2007 02:59 PM

Quote:

Originally Posted by Saskia (Post 1149100)
When I go to quotes.php it redirects me to quotes.php?do=list and keeps on redirecting me there without opening any contents.

PS: Awesome that you finally got around to porting it. I greatly appreciate it!

I have the same issue....

buileminh 01-02-2007 03:18 PM

This so nice! Installed :)

projectego 01-02-2007 03:39 PM

Awesome!

/me clicks install

Saskia 01-02-2007 05:06 PM

I also noticed that it breaks my PM inbox page, so I uninstalled it for the time being until it becomes slightly more stable.

Good job so far though!

Cap'n Steve 01-02-2007 08:37 PM

What version of vbulletin do you have? Are there any quotes in the database? What error do you get when viewing private messages?

Cap'n Steve 01-03-2007 12:33 AM

The PM bug is fixed, but I still can't reproduce the redirect problem. Any information would be helpful.

jluerken 01-03-2007 07:49 AM

Hi,

when I try to import the product I get the following error message

Code:

Fatal error: Cannot redeclare class vs_hhr_engine in Unknown on line 0

Firen 01-03-2007 10:33 AM

It's late here so I may have missed something. But is there a way to delete quotes? I put one in there to test it out, but want to delete it. Can anyone help please?
Very nice hack by the way! :)

Saskia 01-03-2007 11:52 AM

Quote:

Originally Posted by Cap'n Steve (Post 1149388)
What version of vbulletin do you have? Are there any quotes in the database? What error do you get when viewing private messages?

I'm running vB 3.6.4. There weren't any quotes in the database yet, but I can't get to the page that will allow me to add them. Call me blonde but I didn't find the appropriate option in the AdminCP to add links through there. Is there an option for that? (If not, that would be a nice addition.)

jluerken 01-03-2007 01:38 PM

I managed to install the hack now and its great but its messing up the "Quick Language Chooser". After installing it its adding nonsense to the language chooser.

After uninstalling its fine again so I think it has something to do with this hack.

BEFORE INSTALLATION:
https://vborg.vbsupport.ru/

AFTER INSTALLATION:
https://vborg.vbsupport.ru/

If I open the Language Manager in the AdminCP there is no third language.
When I edit one of the languages that are installed and simply press on save
the field is correct again.

I can life with that but I still think that there is a problem with this hack :-)

Rick 01-03-2007 02:50 PM

Would you be interested in making another hack based on this same prinicple, but with photos instead of quotes??

It would be great to let users submit photos to be voted on:D

Calash 01-03-2007 03:09 PM

Quote:

Originally Posted by Cap'n Steve (Post 1149545)
The PM bug is fixed, but I still can't reproduce the redirect problem. Any information would be helpful.

This happens when there are no quotes in the database and you try to go to the page, it just loops you trying to go to quotes.php?do=list over and over.


The only fix I could find was to manually type into the url /quotes.php?do=addquote

Then I added one in there, now it worked.


I am getting javascript issues when I click the edit button, and I can not get a random quote to show up on forum home.


Edit - I am also getting the language dropdown bug as listed above, but I only have 1 language installed to begin with. Selecting the "--a" option takes me to the "Who is Online" list.

Brew 01-03-2007 09:04 PM

I get this error when trying to install:

Fatal error: Cannot redeclare cache_templates_with_file_cache() (previously declared in /path/public_html/forums/template_cache.php:2) in /path/public_html/forums/template_cache.php on line 2

version vB3.64

Any ideas what I should do?

Thanks!

Brew 01-03-2007 09:20 PM

Quote:

Originally Posted by Brew (Post 1150158)
I get this error when trying to install:

Fatal error: Cannot redeclare cache_templates_with_file_cache() (previously declared in /path/public_html/forums/template_cache.php:2) in /path/public_html/forums/template_cache.php on line 2

version vB3.64

Any ideas what I should do?

Thanks!

Nevermind....It was the Plugin Based Template Cache mod :)

BuRuNDi 01-03-2007 11:02 PM

Hello,

I got two problems

1- Can't enable the categories option
2- The random quote doesn't show up in the forum home

Cap'n Steve 01-04-2007 01:38 AM

Firen - There's a delete link on each quote. Make sure you give yourself permission to do that through the Usergroup Manager.

jluerken - That class must be part of another product, I don't know what would cause that error though.

Rick - You could use the [img] bbcode in quotes to do that if you wanted. It's not a great solution, but it should work.

BuRuNDi - What exactly is the problem with categories? Have you added a category?

To everyone who has a problem with the random quote, make sure you did the template edit right and make sure you have the random quote enabled in the options.

The redirect problem should be solved. I don't have the slightest clue what's causing it to add to the Quick Language Chooser, but I'll keep looking.

Cap'n Steve 01-04-2007 06:50 AM

Reporting quotes and notifying users of quote approval via PM are working now.

Quote:

Originally Posted by Calash (Post 1149937)
I am getting javascript issues when I click the edit button

What specifically are you doing, what's the error, and what browser are you using?

Calash 01-04-2007 12:23 PM

I am getting a new error with the most recent download

http://www.necrotania.com/vb/quotes.php

Getting a 500 Service error.


Edit: The 500 error went away when I forced a quote into the database.

I still get the Javascript error, and the addition to the language bar. Also it just does not look right with the current skin.

Here is the javascript error

Code:

Line: 283
Char: 5
Error: 'agent.handler.responceXML.documentElement' is null or not an object
Code: 0
URL: http://www.necrotania.com/vb/quotes.php

When I am on quotes.php and see the sample quote there is a "Delete this Quote" link followed by an Edit button. When I press the edit button the error shows up.

Browser is IE6. I have not tested from home yet where I have IE7

jluerken 01-04-2007 01:34 PM

Quote:

Originally Posted by jluerken (Post 1149869)
I managed to install the hack now and its great but its messing up the "Quick Language Chooser". After installing it its adding nonsense to the language chooser.

After uninstalling its fine again so I think it has something to do with this hack.

BEFORE INSTALLATION:
http://www.clanforums.com/gallery/fi...ninstalled.jpg

AFTER INSTALLATION:
http://www.clanforums.com/gallery/fi..._installed.jpg

If I open the Language Manager in the AdminCP there is no third language.
When I edit one of the languages that are installed and simply press on save
the field is correct again.

I can life with that but I still think that there is a problem with this hack :-)

I found out that when I open the Language Manger and correct the problem it turns off the Hack. There is definetly a problem with v.3.0 :(

Amiga Harrison 01-04-2007 03:23 PM

I'm getting some strange behaviour with QuoteIt! on my forum.

I'm running the newest version of this on vB 3.6.4

The first is the Quote Filtering Options. In Firefox if I move the mouse over any of the Categories listed in the selection box I get a popup alert box appear showing that categories description. I cannot select any of the categories in the list as each time I move the mouse over any of them this popup box appears. However in Opera this doesn't happen and I can select categories from this list without a problem.

The second problem is editing a quote entry. Again this is in Firefox and I haven't yet tested this in another bowser. When I click on the edit quote button nothing happens. If however I select to open the link in a new tab or window then it will load the editing window.

Then once I have finished editing a quote and save it I get the following error:

Quote:

Found
The document has moved here.

Additionally, a 500 Internal Server Error error was encountered while trying to use an ErrorDocument to handle the request.

nelstaresthero 01-04-2007 08:16 PM

none of my pictures work, i tried re-installing and manually dropped them in their respective locations on the server with no luck...

suggestions?

Amiga Harrison 01-05-2007 12:18 AM

Quote:

Originally Posted by nelstaresthero (Post 1150856)
none of my pictures work, i tried re-installing and manually dropped them in their respective locations on the server with no luck...

suggestions?

Do you mean the pictures that come with QuoteIt! ? The quotation marks, submit button etc? Are you using a custom template with it's own set of images on your forum? If so you will need to copy the QuoteIt! images into the relavant places within your custom templates image directory.

Cap'n Steve 01-05-2007 03:46 AM

nelstaresthero - Amiga's right. Each style has its own images directory. You could right-click the broken image and select properties to find out where it is.

jluerken - What did you do to correct the problem that uninstalled the hack? When I select "Rebuild All Languages", just the problem goes away.

Calash - Your problem is that responseXML is spelled wrong. I don't know how that happened though, since it's not like that in any of my files. Just reupload all the files.

everyone getting the 500 server error - I've made a change to the redirects. If it still doesn't work, you need to talk to your host because your server is sending an extra status code.

Anyway, the popup on the categories list is fixed and the Quick Language Chooser should be, too.

jluerken 01-05-2007 06:34 AM

Quote:

Originally Posted by Cap'n Steve (Post 1151118)
jluerken - What did you do to correct the problem that uninstalled the hack? When I select "Rebuild All Languages", just the problem goes away.

No the problem is not gone then. Enabling, Disabling the hack brings the problem with the language choose also up again.
Please check this again, there is something wrong with the hack..

Cap'n Steve 01-05-2007 07:13 AM

You need to install the latest version.

efil 01-05-2007 08:24 AM

Hi,
I have some problems with this mod,

1.My forum is in hebrew (rtl) and i don't get the Quote in the frame (see pic 1). also the I need the table above the Quote to locate to the right side. (see pic 2).
2. Some options In admincp can not be save.

Calash 01-05-2007 09:29 AM

I am still getting the Javascript error. I may have misspelled it when I copied the error code to the forum.

I am also getting the language bar error listed above. Rebuilding the languages did fix it for me for the moment.

The 500 error is gone, it takes me to a screen to enter a new quote.

jluerken 01-05-2007 12:51 PM

Quote:

Originally Posted by Calash (Post 1151231)
I am also getting the language bar error listed above. Rebuilding the languages did fix it for me for the moment.

I have the same error like efil is posting above. The template is not correct.

Calash can you please turn on the random quote and turn off the random quote in the hack a few times? Afterwards please take a look at the language chooser. The error must be there again :(

MaestroX 01-05-2007 01:56 PM

I'm having a problem, anytime I go to quotes.php the page is blank. Any ideas?

soulplayer 01-05-2007 02:34 PM

Hy,

I'm having this problem:

Quote:

Database error in vBulletin 3.6.4:

Invalid SQL:

SELECT * FROM vb3quoteratings
WHERE quoteid IN () AND userid = 5;

MySQL Error : You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ') AND userid = 5' at line 2 Error Number : 1064
Date : Friday, January 5th 2007 @ 05:26:54 PM
Script : http://www.xeonix.be/forum/quotes.php
Referrer : http://www.xeonix.be/forum/quotes.php?do=list
IP Address :XXXXXXXX
Username : bulbaz0r
Classname : vb_database
The plugin works, but I'm still getting this error in my mail...

TwinsForMe 01-05-2007 06:16 PM

I'm getting the following error when Importing product-quoteit.xml via the Add/Import Product". And yes, I have allowed overwrite.

Quote:

Database error in vBulletin 3.6.4:

Invalid SQL:

INSERT INTO vb3_datastore
(title, data) VALUES
("quote_settings", "a:14:{s:13:\"enablecontext\";s:1:\"1\";s:14:\"mod eratequotes\";s:1:\"1\";s:16:\"numbertomoderate\"; s:2:\"25\";s:9:\"allowhtml\";i:0;s:11:\"allowbbcod e\";i:1;s:12:\"allowsmilies\";i:1;s:11:\"allowimag es\";i:0;s:15:\"allowlinebreaks\";i:1;s:13:\"conti nuousids\";i:1;s:12:\"saveascookie\";i:0;s:11:\"up gradedate\";i:1168027704;s:16:\"enablecategories\" ;i:1;s:14:\"showunapproved\";i:1;s:12:\"reportemai ls\";s:0:\"\";}");

MySQL Error : Duplicate entry 'quote_settings' for key 1
Error Number : 1062
Date : Friday, January 5th 2007 @ 01:08:28 PM
Script : http://www.newtestboard.twinshock.ne...=productimport
Referrer : http://www.newtestboard.twinshock.ne...?do=productadd
IP Address : XXXXXXXXX
Username : XXXXXXXXXXXXXX
Classname : vb_database

TwinsForMe 01-05-2007 08:23 PM

So I manually inserted the new fields into the tables and it seems to work fine.

How do I reduce the size of the quote area? It is takes up most of my screen.

Amiga Harrison 01-06-2007 12:15 AM

When uploading the files for QuoteIt! I noticed a file called quotemod.php was included that went into the modcp directory.

But on going into the modcp control panel there is no entry listed for quote moderation. How come?

If I directly link to the quotemod.php file it does load the moderators quote moderation screen. Should this therefore be linked from the modcp?

Also I have two other errors.

1, In firefox I can still not click the edit quote buttons directly. I need to middle click them to load the edit screen in a new tab. (I mentioned this problem before).

2, The other problem is a database error. If I select a quote category that currently doesn't have any quotes in it, I receive the following database error message:

Code:

Database error in vBulletin 3.6.4:

Invalid SQL:

                                        SELECT * FROM quoteratings
                                                WHERE quoteid IN () AND userid = 1;

MySQL Error  : You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ') AND userid = 1' at line 2
Error Number : 1064
Date        : Friday, January 5th 2007 @ 07:21:00 PM
Script      : forumurl/quotes.php?s=&all=&perpage=25&category%5B%5D=1&totaloperator=&total=&averageoperator=&average=&votesoperator=&votes=&do=list
Referrer    : forumurl/quotes.php



All times are GMT. The time now is 10:00 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.01878 seconds
  • Memory Usage 1,853KB
  • 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
  • (3)bbcode_code_printable
  • (12)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (2)pagenav_pagelink
  • (1)pagenav_pagelinkrel
  • (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