Go Back   vb.org Archive > vBulletin Modifications > Archive > vB.org Archives > vBulletin 3.6 > vBulletin 3.6 Add-ons
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
  #242  
Old 02-27-2007, 04:04 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'm getting no permission errors on your quotes page, do you have guests or registered users allowed to view quotes? If you have phpMyAdmin on your server, could you post the contents of your quotes table?
Reply With Quote
  #243  
Old 03-02-2007, 04:15 AM
BrettMo BrettMo is offline
 
Join Date: Feb 2007
Posts: 33
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Cap'n Steve View Post
I'm getting no permission errors on your quotes page, do you have guests or registered users allowed to view quotes? If you have phpMyAdmin on your server, could you post the contents of your quotes table?
Steve, I got it working. It seems that it was that the quotes table was corrupted but when reading the instructions I did not think to rebuild the table because the function was not giving me an permission error. I ran the table fix program and after that I found several messed up records, so dropped all the records and reloaded them. Now it looks great.

Thanks for the great function and the support.
Reply With Quote
  #244  
Old 03-02-2007, 05:48 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

That's strange. Do you have any idea what went wrong? MySQL has been having a lot of strange errors lately.
Reply With Quote
  #245  
Old 03-02-2007, 07:53 PM
Chadi's Avatar
Chadi Chadi is offline
 
Join Date: May 2004
Location: USA
Posts: 2,043
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Can you please explain how to remove the author (who submitted the quote) name and date from the quote template? What code and which template?

Also, how do I remove the delete quote link and edit button?

Basically, I want only the quote/author to show up only.
Reply With Quote
  #246  
Old 03-02-2007, 08:00 PM
Chadi's Avatar
Chadi Chadi is offline
 
Join Date: May 2004
Location: USA
Posts: 2,043
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I edited the listbit template and got everything going except there is still a big blank gap on the bottom part which I cannot find the proper code to remove to correct that

Code:
<tr><td class="quoterow {$quoteclass}" align="left" id="quote{$quote['quoteid']}-{$globalcounter}">

<p class="quote"<if condition="($quote['userid'] == $vbulletin->userinfo['userid'] AND $quoteitpermissions['caneditownquotes']) OR ($quote['userid'] != $vbulletin->userinfo['userid'] AND $quoteitpermissions['caneditotherquotes'])"> ondblclick="editQuote(event, {$quote['quoteid']}, {$globalcounter});return false;"</if>>
<span class="quotetext" id="quotetext{$quote['quoteid']}-{$globalcounter}">{$quote['quote']}</span>
<if condition="!$sidebar">
</if>
</p>

<div class="authorcontainer">
    <if condition="!empty($quote['author'])">
        <div class="author" id="author{$quote['quoteid']}-{$globalcounter}">- {$quote['author']}</div>
    </if>
    <if condition="$quoteitoptions['enablecontext'] AND !empty($quote['context'])">
        <span class="context" id="context{$quote['quoteid']}-{$globalcounter}">({$quote['context']})</span>
    </if>
</div>

<if condition="$_REQUEST['do'] != 'preview' AND !$sidebar">
<div class="quotebottom">
    <if condition="$quoteitoptions['ratings']">
        <span class="stats" id="stats{$quote['quoteid']}-{$globalcounter}">{$vbphrase['total_rating']}: {$quote['rating']} - {$vbphrase['votes']}: {$quote['votes']} - {$vbphrase['average']}: {$quote['average']}</span>
        <span class="ratethis" id="rating{$quote['quoteid']}-{$globalcounter}">{$ratethis}</span>
    </if>

    <span class="inlineimg unapproved" id="unapproved{$quote['quoteid']}-{$globalcounter}">
    <img src="{$stylevar['imgdir_misc']}/moderated.gif" alt="{$vbphrase['unapproved_quote']}" <if condition="$quote['approved']">class="approved" </if>/>
    </span>

</div>
</if>

</td></tr>
Reply With Quote
  #247  
Old 03-02-2007, 08:27 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'll have to edit clientscript/vbulletin_css/quoteit_main.css.
Reply With Quote
  #248  
Old 03-02-2007, 08:47 PM
Chadi's Avatar
Chadi Chadi is offline
 
Join Date: May 2004
Location: USA
Posts: 2,043
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Thanks.

Where can I edit quotes? I need to fix some categories.

Great hack

Feedback
- multiple quote addition ability
- more admin functions in backend (edit quotes)
- sort categories alphabetically, automatically
- choose by topic or by author (now, category shows category list only)
- modify category listing option / frame size
Reply With Quote
  #249  
Old 03-02-2007, 09:08 PM
Chadi's Avatar
Chadi Chadi is offline
 
Join Date: May 2004
Location: USA
Posts: 2,043
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Cap'n Steve View Post
You'll have to edit clientscript/vbulletin_css/quoteit_main.css.
Which line/code portion is it? Sorry, not a programmer or coder
Reply With Quote
  #250  
Old 03-03-2007, 12:59 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

There's an "edit quote" link in the top right of each quote as long as you have given yourself permission to edit quotes. As far as the CSS file goes, I don't know what the specific problem is, but take a look at the .quote, .quotebottom, and .authorcontainer classes.

Quote:
Originally Posted by chadi View Post
- multiple quote addition ability
You can already import a text file containing quotes. Do you have another way that would work?

Quote:
Originally Posted by chadi View Post
- more admin functions in backend (edit quotes)
- sort categories alphabetically, automatically
Good idea, but how would editing quotes in the admincp work? I guess I could have a place to enter the quote ID to edit it.

Quote:
Originally Posted by chadi View Post
- choose by topic or by author (now, category shows category list only)
- modify category listing option / frame size
I'm not sure what you mean by these.
Reply With Quote
  #251  
Old 03-03-2007, 01:10 AM
Chadi's Avatar
Chadi Chadi is offline
 
Join Date: May 2004
Location: USA
Posts: 2,043
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Thanks for your reply. The ability to select from the category list would be two options, either by the quote topics (which I've done on my end at least) or a 2nd category option (frame), would be the author's name (hence this coincides with the author field that one inputs when adding a new quote)

In regards to editing a quote, that is only seen in the actual location (forum) where the quote is shown. Its not in the quotes.php (quotes manager area) anyway
Reply With Quote
Reply

Thread Tools

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:31 AM.


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.05351 seconds
  • Memory Usage 2,320KB
  • 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
  • (1)bbcode_code
  • (5)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
  • (3)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