Go Back   vb.org Archive > vBulletin Modifications > Archive > vB.org Archives > vBulletin 3.0 > vBulletin 3.0 Full Releases
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools
QuoteIt! Quote Management System v1.2 Details »»
QuoteIt! Quote Management System v1.2
Version: 1.00, by magnus magnus is offline
Developer Last Online: Feb 2012 Show Printable Version Email this Page

Version: 3.0.0 Rating:
Released: 03-13-2004 Last Update: Never Installs: 151
 
No support by the author.

[hr]-[/hr]

QuoteIt! Development has been continued in this thread. Please use this link for the latest version!

[hr]-[/hr]

QuoteIt! 1.2

Description
This hack will allow you to maintain a database of quotes which can be added by users and displayed on FORUMHOME. Admin function includes the ability to delete quotes from the database.

Yes, you can use multi-line quotes.

Information
Requested by djohn (re: https://vborg.vbsupport.ru/showthread.php?t=62420)

Thanks to Giveit2u43 for the username code!

Tested on RC4, should work on RC1+

Version History
v1.0 - Initial Release
v1.1 - Added ability to list all quotes as well as direct quote linking
v1.2 - Added quote moderation abilities

Planned Features
v2.0
- Quote rating system
- Top {X} Quotes

If you use this, please click

[hr]-[/hr]
UPGRADES

v1.1 -> v1.2 UPGRADE INSTRUCTIONS

v1.0 -> v1.1 UPGRADE INSTRUCTIONS

[hr]-[/hr]
3RD PARTY MODIFICATIONS/ADD-ONS

[high]1. Add QuoteIt! to your vbIndex homepage! by [name]Giveit2u43[/name][/high]
[high]2. Add Who's Online Locations for QuoteIt! by [name]Acido[/name][/high]

Show Your Support

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

Comments
  #182  
Old 09-28-2004, 01:50 AM
58sniper 58sniper is offline
 
Join Date: Sep 2002
Posts: 127
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by KW802
I should've specified "copy, paste, & replace all of the lines otherwise the logic will be backwards, anybody who has moderation privileges would be controlled through the ACP and everybody else would've been un-moderated."
Ah - what I mean was that was the only line that *I* changed that made it work. I did replace the code per your instructions. When THAT didn't work, I changed the one line I mentioned. Sorry I wasn't clear.
Reply With Quote
  #183  
Old 09-29-2004, 02:38 AM
58sniper 58sniper is offline
 
Join Date: Sep 2002
Posts: 127
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Okay, I seem to have hit a snag. Seems that the quotes aren't very random for me. I get the same quote each time. If I delete that quote, I'll get a new quote, but then that same new quote each time.

Anyone seen this?
Reply With Quote
  #184  
Old 09-29-2004, 05:36 PM
KW802's Avatar
KW802 KW802 is offline
 
Join Date: Jul 2003
Location: A galaxy far, far away...
Posts: 1,450
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by 58sniper
Okay, I seem to have hit a snag. Seems that the quotes aren't very random for me. I get the same quote each time. If I delete that quote, I'll get a new quote, but then that same new quote each time.

Anyone seen this?
How many quotes have you entered so far? Might be just a low base number scenario.
Reply With Quote
  #185  
Old 09-29-2004, 10:51 PM
58sniper 58sniper is offline
 
Join Date: Sep 2002
Posts: 127
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I have about 35 entered so far.
Reply With Quote
  #186  
Old 09-29-2004, 11:06 PM
KW802's Avatar
KW802 KW802 is offline
 
Join Date: Jul 2003
Location: A galaxy far, far away...
Posts: 1,450
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by 58sniper
I have about 35 entered so far.
OK, so much for my theory. Is there a URL to check it out?
Reply With Quote
  #187  
Old 09-30-2004, 11:42 PM
Borgs8472 Borgs8472 is offline
 
Join Date: Apr 2004
Posts: 924
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I've got about 300 now.

I would like this system a little better if there wasn't a "Random Quote" bar, and the whole business took up less space. It's nice, but it's pushing my forum lists downwards.
Reply With Quote
  #188  
Old 10-01-2004, 12:57 AM
58sniper 58sniper is offline
 
Join Date: Sep 2002
Posts: 127
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by wordforge.net
I've got about 300 now.

I would like this system a little better if there wasn't a "Random Quote" bar, and the whole business took up less space. It's nice, but it's pushing my forum lists downwards.
You can always edit the template to display it however you want it. The first thing I did was rip out the table in the middle of the template and move things around a little. But the fact that it's in a template make modifying its appearance easy.
Reply With Quote
  #189  
Old 10-06-2004, 10:48 PM
kizzmet kizzmet is offline
 
Join Date: Sep 2004
Posts: 31
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by KW802
To allow your administrator group to bypass being moderated (assuming that you have quotes moderation turned on in your ACP) make the following changes to quotes.php......

Find....
Code:
if (empty($author) OR empty($quote))
{
eval (print_standard_error('error_requiredfields'));
}
And below it add:
Code:
 if (!$bbuserinfo['permissions']['adminpermissions'])
{ // Use the moderation option set in the ACP
	$moderate_quote = $vboptions[moderatequotes];
}
else
{ // Do not moderate administrator quotes
	$moderate_quote = 1;
}
Right below that you should see....
Code:
$DB_site->query("
INSERT INTO " . TABLE_PREFIX . "quotes (quote, author, userid, approved) VALUES ('" . addslashes($quote) . "', '" . addslashes($author) . "', $bbuserinfo[userid], $vboptions[moderatequotes])
");
Change the word "$vboptions[moderatequotes]" to "$moderate_quote" and try it out.

This worked for me, thank you!
Reply With Quote
  #190  
Old 10-06-2004, 10:54 PM
kizzmet kizzmet is offline
 
Join Date: Sep 2004
Posts: 31
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by KW802
For anybody else in the same position as above, the steps I took/had to take on a VB 3.0.3 & vBadvanced CMPS 1.0.0 configuration were....
  • Do Step #1 from the installation instructions
  • Do Step #2 from the installation instructions
  • Do Step #3 from the installation instructions
  • Do Step #4b from the installation instructions
  • Do Step #6 from the installation instructions
  • Upload the PHP file from Nineball
  • Do the phrase manager trick by Platinumgamer
  • Modified the randomquote template to the look & feel of the rest of my generic vBa CMPS modules (essentially give it the outside border but not on the inside cells; accomplished by doing an inner table)....
    Code:
    <table align="center" border="0" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" class="tborder" width="100%">
    <thead>
    	<tr>
    	 <td class="tcat" colspan="2">
    		<a style="float:$stylevar[right]" href="#top" onclick="return toggle_collapse('forumhome_randomquote')">
    		 <img id="collapseimg_forumhome_randomquote" src="$stylevar[imgdir_button]/collapse_tcat$vbcollapse[collapseimg_forumhome_randomquote].gif" alt="" border="0" />
    		</a>
    		$vbphrase[random_quote]
    	 </td>
    	</tr>
    </thead>
    <tbody id="collapseobj_forumhome_randomquote" style="$vbcollapse[collapseobj_forumhome_randomquote]">
    	<tr>
    	 <td class="alt1">
    		<table align="center" border="0" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" width="100%">
    		 <tr>
    			<td class="alt1" align="left" colspan="2">
    			 <i>"$randomquote
    Quote:
    "</i> </td> </tr> <tr> <td class="alt1 smallfont" align="left"> <if condition="$bbuserinfo['userid']">(<a href=$vboptions[bburl]/quotes.php?do=addquote>$vbphrase[add_a_quote]</a><if condition="$bbuserinfo['permissions']['adminpermissions']"> | <a href="$vboptions[bburl]/quotes.php?do=delquote&quoteid=$randomquote[quoteid]">$vbphrase[delete_this_quote]</a></if> | <a href="$vboptions[bburl]/quotes.php?do=list">$vbphrase[view_all_quotes]</a>)</if> </td> <td class="alt1" align="right"> - <b>$randomquote[author]</b> </td> </tr> </table> </td> </tr> </tbody> </table> <br />
Quote:
I need to tweak the rest of the templates yet but that's minor. The above should only take about 10-15 minutes to get you up & running with vBa CMPS.

I am running CMPS and I followed this yet it still does not appear on the VB Homepage. I also added the module and designated ramdonquote for the template. Any help please?
Reply With Quote
  #191  
Old 10-11-2004, 02:46 AM
xug xug is offline
 
Join Date: Oct 2001
Location: The Grand Strand, SC
Posts: 339
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I'm not sure if it's already mentioned, but when you set '$perpage = 10' or whatever number you want it should show that number per page, but it doesn't, it even skips some quotes to be projected while they are there in the database!!!

any solution for this?
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 03:56 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.04844 seconds
  • Memory Usage 2,324KB
  • 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
  • (4)bbcode_code
  • (8)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