vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.5 Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=113)
-   -   QuoteIt! - Quote Database (https://vborg.vbsupport.ru/showthread.php?t=97585)

Cap'n Steve 10-04-2005 10:00 PM

QuoteIt! - Quote Database
 
QuoteIt! version 3.0

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.

Other versions (development will continue for the 3.6 version only): QuoteIt! 3 for vBulletin 3.6.x | QuoteIt! 2.03 for vBulletin 3.0.x

Lea Verou 10-05-2005 03:34 AM

Installed and works nicely and nothing is lost! :)

When will the vbadvanced module come out? :)

Neutral Singh 10-05-2005 04:06 AM

Oh Yes! Oh Yes!! Oh Yes!!!

Finally !!! Thank You !!!

Cap'n Steve 10-05-2005 04:47 AM

Attached are instructions for adding a random quote block to vBadvanced CMPS. vBportal seems to have become a commercial product, if anyone knows how to create addons for that, please let me know.

UPDATE: Added instructions for adding quotes to the quick moderation block.

Neutral Singh 10-05-2005 04:53 AM

Why its no showing up in my ForumHome? :confused: Everything seems to installed without any errors?

Cap'n Steve 10-05-2005 05:03 AM

Did you set "Show Random Quote" to yes under vBulletin Options -> Forums Home Page Options? You can also set it through the QuoteIt! Options link.

Also, you have to edit the FORUMHOME template as shown in the instructions.

Neutral Singh 10-05-2005 05:13 AM

Forums Home Page Options? is not showing up in my AdminCP. I even tried editing the phrase and saving it. But the option is not showing up.

Show Random Quote : Yes
ForumHome template Edited : Yes

Vizionz 10-05-2005 05:26 AM

yes it is fool its in your vbulletin options :P

Vizionz 10-05-2005 05:33 AM

mine aint in forum home page >

its just under vbulletin options

Boofo 10-05-2005 05:34 AM

Any way to make this so that only the Admin can enter quotes?

Lea Verou 10-05-2005 05:37 AM

Quote:

Originally Posted by Boofo
Any way to make this so that only the Admin can enter quotes?

By denying all other quotes maybe?
By removing the add new quote link from the template so only you know the link?

Maybe there are permissions but I'm too bored to have a look right now :p

Vizionz 10-05-2005 05:39 AM

i thought u did something wrong but it aint you its this hack it dont work :( sorry neutral i misread what u said


maybe the only one who has a name with neutral in it :P

Lea Verou 10-05-2005 05:41 AM

Quote:

Originally Posted by Vizionz
i thought u did something wrong but it aint you its this hack it dont work :( sorry neutral i misread what u said

Maybe you'd add a quote to your post so that we know who you are talking to? :rolleyes:

Cap'n Steve 10-05-2005 05:43 AM

The easy way to only allow administrators would be to edit quotes.php

Find
PHP Code:

require_once('./global.php'); 

and after that add
PHP Code:

if ($_REQUEST['do'] != 'view' AND $_REQUEST['do'] != 'list' AND $_REQUEST['do'] != 'rate' AND !empty($_REQUEST['do'])) {
    if (!
$vbulletin->userinfo['permissions']['adminpermissions']) {
        
print_no_permission();
        exit;
    }


Restricting the quotes to various usergroups is something I'll work on for the next version.

EDIT: For those of you having problems, what exactly is going wrong? What shows up on your forum home page? What happens if you go to quotes.php?

Vizionz 10-05-2005 05:47 AM

this dont work for me

i added the product

i uploaded the files

i even tried to submit a quote normal and moderated
when it was moderated i accepted the quote it said added to the phrazes but it isnt showing on the forum home

http://www.thaasylum.com/index.php see for yourself

even add a quote

http://www.thaasylum.com/quotes.php

there showing up in there but nothing on home page

Lea Verou 10-05-2005 05:49 AM

Quote:

Originally Posted by Vizionz
this dont work for me

i added the product

i uploaded the files

i even tried to submit a quote normal and moderated
when it was moderated i accepted the quote it said added to the phrazes but it isnt showing on the forum home

have you made the necessary template edits to FORUMHOME?
(yes you have to make them manually)

Vizionz 10-05-2005 05:53 AM

Quote:

Originally Posted by Loukrhtia
have you made the necessary template edits to FORUMHOME?
(yes you have to make them manually)

dont talk to me like i am stupid

Neutral Singh 10-05-2005 05:53 AM

Quote:

In Forums Home Page Options this option is not showing up in my AdminCP. I even tried editing the phrase and saving it. But the option is not showing up.
This seems to be the main problem. Its must have been, by default, disabled under that option and as its not visible, we can not enable it. Anyways of showing it in Forums Home Page Options?

Lea Verou 10-05-2005 05:57 AM

Quote:

Originally Posted by Vizionz
dont talk to me like i am stupid

I was just trying to help, but if you think I am talking to you like you are stupid maybe we have a little problem here!

ontopic: Have you made the appropriate settings so that it's displayed in forumhome? Sometimes we make silly mistakes without noticing, this doesn't mean we're stupid ;)

Vizionz 10-05-2005 05:59 AM

(yes you have to make them manually) i found that offensive
but okay

yes i followed every direction

under vbulletin options there is quote it.
it lets you dispaly random quote i got it clicked

but undr vbulletin options > forum home page theres nothing there with quote it

Lea Verou 10-05-2005 06:01 AM

Quote:

Originally Posted by Vizionz
(yes you have to make them manually) i found that offensive
but okay


yes i followed every direction

under vbulletin options there is quote it.
it lets you dispaly random quote i got it clicked

but undr vbulletin options > forum home page theres nothing there with quote it

have you refreshed the frame that has the admincp options? I made this mistake several times with the plugins as it's not automatically refreshed...

Alien 10-05-2005 06:02 AM

Confirmed working great on WTF.com!

Thanks so much for updating this!!

Vizionz 10-05-2005 06:02 AM

yep just double checked that as well.

give it a go yourself its a 10 second hack to install

Vizionz 10-05-2005 06:06 AM

i dont understand it. i can see the quotes in the quotes.php but its not showing on my forum homepage unless its my cookies not showing you look http://www.thaasylum.com
and thaasylum.com/quotes.php

i see the quotes there but not on forum home

Neutral Singh 10-05-2005 06:08 AM

Quite interestingly Submit to Quotes is working fine. Even this link is working fine --> http://www.sikhphilosophy.net/sikhphilosophy/quotes.php but its now showing up in forumhome. :(

Lea Verou 10-05-2005 06:09 AM

Quote:

Originally Posted by Vizionz
yep just double checked that as well.

give it a go yourself its a 10 second hack to install

Then I have no idea what the problem can be... :/

PS: Actually, I have installed the hack, first of all in fact if you see my post :p :p

Good luck with the problem!

Cap'n Steve 10-05-2005 06:16 AM

I think I've fixed it, download the zip again and reimport the product-quoteit.xml file (be sure "Allow Overwrite" is set to yes).

For some reason it didn't export the settings before. :ermm:

Vizionz 10-05-2005 06:20 AM

that was it :) thanks captain :P

Boofo 10-05-2005 06:23 AM

Quote:

Originally Posted by Loukrhtia
By denying all other quotes maybe?
By removing the add new quote link from the template so only you know the link?

Maybe there are permissions but I'm too bored to have a look right now :p

Sorry, didn't mean to bore you. ;)

Lea Verou 10-05-2005 06:25 AM

Quote:

Originally Posted by Boofo
Sorry, didn't mean to bore you. ;)

Sorry... :(

Neutral Singh 10-05-2005 06:27 AM

Yipeeeeeeeee!!! Now It works !! Thanks

Alien 10-05-2005 06:34 AM

I'm not sure what I did to make it work the first time? :)

What exactly was wrong the first time? I have all settings, and everything displayed properly.. I guess I must have had a setting from a previous version of the quote hack where others didn't? What changed in the new file, or if i had the proper tables in the database already was there any need for me to redo the plugin?

Vizionz 10-05-2005 06:37 AM

almost perfect

okay now i changed the rating from 1to 5 instead of + and minus and it says i dont have permission yet i am a admin ?

Cap'n Steve 10-05-2005 06:46 AM

Vizionz - What part gives you the error? Is it when you change the rating style or when you try and rate some quotes?

Alien - Your guess is as good as mine. It should be impossible to still have the settings from the 3.0 version, but apparently you did. The way I actually got the settings to export to the XML file makes no sense, either.

Vizionz 10-05-2005 06:50 AM

when i try and rate the quotes. i dont know if its because i submitted the quote or what

Cap'n Steve 10-05-2005 06:53 AM

I just tried it and I think it's because you already rated the quote. The rating list shouldn't be showing up though, I'll take a look at it.

Lea Verou 10-05-2005 06:59 AM

I can confirm that the vbadvanced module works perfectly too.

Can't wait for 2.5!

Alien 10-05-2005 07:02 AM

When you edit a quote, there is an uncached template: quote_addquote

When you view, delete, or add all is well. Just editing has 1.

Just an FYI. :)

Alien 10-05-2005 07:05 AM

In moderation, when I attempt to moderate one (happens in delete, or approve) I get this:

Could not find phrase 'quote_x_has_been_approved'.

Aside from the missing phrase, it approves or deletes properly.

Cap'n Steve 10-05-2005 07:08 AM

I reuploaded the zip again because the templates were slightly messed up.

I know about the missing phrase, I decided to release it anyway since it won't hurt anything and I can't figure out how to get it to show up yet. Don't worry, that phrase is only in the admincp anyway.

Not a good start for my 3.5 modding career, but that should be the last problem.


All times are GMT. The time now is 04:45 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.01605 seconds
  • Memory Usage 1,828KB
  • 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
  • (2)bbcode_php_printable
  • (10)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (2)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