Go Back   vb.org Archive > vBulletin Modifications > Archive > vB.org Archives > vBulletin 3.6 > vBulletin 3.6 Add-ons
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools
QuoteIt! - Quote Database Details »»
QuoteIt! - Quote Database
Version: 3.17, by Cap'n Steve Cap'n Steve is offline
Developer Last Online: May 2010 Show Printable Version Email this Page

Category: Major Additions - Version: 3.6.0 Rating:
Released: 01-01-2007 Last Update: 04-30-2008 Installs: 207
DB Changes Uses Plugins Template Edits
Re-useable Code Additional Files Translations  
No support by the author.

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

Show Your Support

  • This modification may not be copied, reproduced or published elsewhere without author's permission.

Comments
  #322  
Old 04-13-2007, 05:10 AM
skorzguy's Avatar
skorzguy skorzguy is offline
 
Join Date: May 2003
Location: Cleveland
Posts: 45
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Cap'n Steve View Post
It looks like a problem with the headinclude template. Try editing and then saving it without changing anything. If it doesn't give you an error when saving, post the template here.
I don't understand, do you mean try editing the plugin and resaving it?

I managed to get it to work somewhat. It's not the right way but I will wait till someone else has this problem and wait for their solution.

I put this in the
Global Random Quote-global start plugin
----------------------------------------------------------------------------

if ($quoteitoptions['showrandomquote']) {
require_once(DIR . '/includes/functions_quoteit.php');
$showrandomquote = get_random_quote();
}

---------------------------------------------------------------------------

and then put full paths or urls in the templates. It works somewhat except for the star ratings.

http://www.allstarchat.com/PhotoPost/index.php

The quotes don't as nice as they do on the quotes.php page.
Reply With Quote
  #323  
Old 04-13-2007, 07:55 AM
Cap'n Steve's Avatar
Cap'n Steve Cap'n Steve is offline
 
Join Date: Feb 2004
Location: Kalamazoo, MI, USA
Posts: 745
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I meant the headinclude template. It's at least part of the problem.
Reply With Quote
  #324  
Old 04-13-2007, 11:21 AM
rburns's Avatar
rburns rburns is offline
 
Join Date: Mar 2002
Location: Tonbridge, Kent
Posts: 23
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Cap'n Steve View Post
I've uploaded a new version that fixes a few small things.

rburns - Something's definitely wrong then, try redoing the edits and testing it in several places, like the post preview, the actual post, and a private message. I'm not exactly sure what hook to use for your listbox idea, the listbox just has to be generated before the new post template is shown. The one to insert bbcode needs to run before bbcode is parsed. Other than that, I'm not sure.
Ok, I'll give that a go.

Random Quote in the forum home is working perfectly though, lol.
Reply With Quote
  #325  
Old 04-13-2007, 12:39 PM
thepub thepub is offline
 
Join Date: Aug 2006
Posts: 226
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Cap'n Steve View Post
I've uploaded a new version that fixes a few small things.

thepub - Try the new files, or enable Javascript to use the AJAX voting.

[
How many new files are there? When I reinstalled it, I thought I was installing the new files? Also, my quoter does not look near as good as skorzguys attachment. I want to know what the heck I am doing wrong, it's so frustrating.l
Reply With Quote
  #326  
Old 04-13-2007, 03:42 PM
user02934123123 user02934123123 is offline
 
Join Date: Apr 2006
Location: UK
Posts: 91
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Dear all,

I have just upgraded to the latest release, and note that a number of issues are still outstanding. I'll try to go through them as thoroughly as possible. Those marked with an * are what I would consider critical bugs or faults.

(a) AJAX editing of quotes will not save: When double-clicking on a quote to edit it, the AJAX editor appears as it ought; however, the save button does nothing, and there is no way to save the edit apart from clicking the 'Go advanced' button and going to the full editor. The cancel button and advanced buttons do work; it is simply the save function that does not work with AJAX. (I note that other AJAX functions on the vB board do work properly, so this is unique to the mod.)

* (b) Quotes submitted after using preview function do not submit: This has been a problem with the last release also, and remains now. If a user adds a quote and directly clicks submit, without previewing the quote, the quote is successfully sent to the moderation queue as it ought to be. If, however, the user first previews the quote, and then clicks submit from the quote preview screen, the quote is lost, and nothing is sent to the queue. On forums where users are used to previewing before posting, they intuitively preview the quotes before submitting -- and this has resulted in tremendous numbers of quote submissions from my members never getting through (I learned about a few from e-mail complaints; I then issued a general notice and learned how wide-ranging the problem is).

(c) Incorrect layout on quote preview screen: On the quote submission preview screen, the basic layout is a table with two columns: tags on the left and fields for revision on the right. The quote being previewed is displayed above these, and the layout should have the quote spanning both columns. However, it instead is crammed into the left-hand column alone, thereby making the preview screen look quite odd.

* (d) View All Quotes screen displays improperly in IE7: The view all quotes screen works fine in FireFox, but when viewed in IE the table containing all the quotations runs substantially off the right-hand side of the page, causing rather horrifying layout consequences. Oddly, it does not do this with the random quote function, for which the table lines up nicely in IE -- it is an issue solely with the View All Quotes function.

All these can be seen in action on the forum with this mod enabled here.
Reply With Quote
  #327  
Old 04-14-2007, 06:35 AM
Cap'n Steve's Avatar
Cap'n Steve Cap'n Steve is offline
 
Join Date: Feb 2004
Location: Kalamazoo, MI, USA
Posts: 745
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

thepub - I uploaded a new version after your original post. You can check if your version is up to date by going to Manage Products in your admincp and selecting Check Version.

monForum - Thanks for the feedback. You're right about the previewing, I'll investigate that. About the AJAX editing, what browser are you using and does it give you any kind of error? The IE7 problem is specific to your style, but I'll take a look at it when I get a chance.
Reply With Quote
  #328  
Old 04-14-2007, 11:57 PM
thepub thepub is offline
 
Join Date: Aug 2006
Posts: 226
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

alrighty...I installed the latest files and it still hasn't changed. I've taken a couple screen caps to show you what I am looking at. Also, I still cannot vote for a quote, I get a 404 error.

The first pic is what you see on my forum homepage and the second pic is how it looks on my forum index and if I change the hook to global start.
Reply With Quote
  #329  
Old 04-15-2007, 03:07 AM
Cap'n Steve's Avatar
Cap'n Steve Cap'n Steve is offline
 
Join Date: Feb 2004
Location: Kalamazoo, MI, USA
Posts: 745
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

The CSS files aren't loading in those screenshots, what do you mean you changed it to global_start?

Could you go to vBulletin Options, then Site Name / URL / Contact Details and tell me what Forum URL is set to? Also, in includes/functions_quoteit.php find this and tell me what you have on the first non-blank line below it:
PHP Code:
    else {
        
$ref false;
    } 
Reply With Quote
  #330  
Old 04-15-2007, 03:31 PM
thepub thepub is offline
 
Join Date: Aug 2006
Posts: 226
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Cap'n Steve View Post
The CSS files aren't loading in those screenshots, what do you mean you changed it to global_start?

Could you go to vBulletin Options, then Site Name / URL / Contact Details and tell me what Forum URL is set to? Also, in includes/functions_quoteit.php find this and tell me what you have on the first non-blank line below it:
PHP Code:
    else {
        
$ref false;
    } 
Quote:
Quote:
if ($ref AND !$relative AND !preg_match('#^(https?|ftp)://#i', $ref)) {
$ref = $vbulletin->options['bburl'] . '/' . $ref;
forum url is set as http://www.theneighborhoodpub.com

I changed the hook to global start instead of forum home.
I readded the css files again and it still looks the same. If you want you can pm me for a test account ID and pw so you can see for yourself.
Reply With Quote
  #331  
Old 04-15-2007, 08:24 PM
Cap'n Steve's Avatar
Cap'n Steve Cap'n Steve is offline
 
Join Date: Feb 2004
Location: Kalamazoo, MI, USA
Posts: 745
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

You can't just change the hook location, there's a global quote plugin in the extras folder to use if you want it enabled on any page. I don't know why it's still redirecting wrong. I'll keep working on it, but until then you could just use the AJAX voting.
Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 08:30 PM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2024, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.04823 seconds
  • Memory Usage 2,331KB
  • Queries Executed 25 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (2)bbcode_php
  • (6)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (6)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (2)pagenav_pagelinkrel
  • (11)post_thanks_box
  • (11)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (11)post_thanks_postbit_info
  • (10)postbit
  • (11)postbit_onlinestatus
  • (11)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.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/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.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
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete