vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.0 Full Releases (https://vborg.vbsupport.ru/forumdisplay.php?f=33)
-   -   QuoteIt! Quote Management System v1.2 (https://vborg.vbsupport.ru/showthread.php?t=62470)

seangworld 03-30-2005 05:28 AM

[QUOTE=Dolamite]ok i got it.... for anyone else who might want to do this....

below require_once('./global.php');(in your portal.php, adv_index.php whatever)

add:

[QUOTE] // ### QUOTEIT ################################################## #######
if ($vboptions['showquote'])
{
$result_quote = $DB_site->query("
SELECT * FROM quotes WHERE approved=1 ORDER BY rand() LIMIT 1
");

while ($quote = $DB_site->fetch_Array($result_quote)) {
$randomquote[quoteid] = $quote[quoteid];
$randomquote
Quote:

= $quote

that last bit is what finally did it for me:

eval('$navbar = "' . fetch_template('navbar') . '";');
still waiting for an answer to my last reply above. :/

Lionel 04-08-2005 10:52 AM

I am using this as a jokes system. Would love to see ratings.

seangworld 04-09-2005 05:28 AM

well, my quotes won't frickin rotate for ++++, and i have it set so it doesnt need to be moderated.

whatever, they don't support afterall i guess....

CtrlAltDel 04-10-2005 06:08 PM

seangworld: your quote may not be rotating properly due to the SQL statement that is selecting the quote...check that to see if the SQL statement is correct.

ratings are something that would be nice as well lionel, i'll see what i can do

Cap'n Steve 04-11-2005 05:24 AM

After a long wait, I'm proud to release QuoteIt! 2.0. It's got some major improvements, I suggest everyone with version 1.2 installed go check it out.

YLP1 04-12-2005 12:16 AM

Quote:

Originally Posted by Cap'n Steve
After a long wait, I'm proud to release QuoteIt! 2.0. It's got some major improvements, I suggest everyone with version 1.2 installed go check it out.

Wow...thanks a bunch....but what a stinker.... I just found this excellent mod and installed it today....now it's 2.0 for me.

Thanks a bunch installing now...

Dark Aura 04-19-2005 04:23 PM

Okay I keep getting this error, I tried re-installing the hack but it wouldn't work, would someone tell me how to fix it or be willingly to fix it for me *blush*. Please put it basically not gd with understanding all this VB, PHP etc stuff!

Invalid SQL:
CREATE TABLE vb3_quotes (
`quoteid` int(10) unsigned NOT NULL auto_increment,
`quote` mediumtext NOT NULL,
`author` mediumtext NOT NULL,
`userid` int(10) unsigned NOT NULL default '0',
`approved` smallint(5) unsigned NOT NULL default '0',
PRIMARY KEY (`quoteid`,`quoteid`),
KEY `approved` (`approved`)
) TYPE=MyISAM AUTO_INCREMENT=1

mysql error: Duplicate column name 'quoteid'

CtrlAltDel 04-20-2005 04:36 AM

PRIMARY KEY (`quoteid`,`quoteid`),

remove one of the quoteid's

Bubble #5 05-06-2005 02:15 AM

Which templates are modified by the installer?

Bubble #5 05-07-2005 01:22 AM

Quote:

Originally Posted by ncangler
I went into the addquote template and changed the code to clean this up.

Yes it looks better :) Could you post the code here for us please?

Bubble #5 05-07-2005 03:53 AM

Quote:

Originally Posted by Bubble #5
Which templates are modified by the installer?

Anyone...? Please.

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

This hack is no longer supported, as I said in my post above, you should install this one instead.

To answer your question, the installer doesn't actually modify any existing templates, but to use the random quote you have to modify the FORUMHOME template by hand.

MP3 05-10-2005 06:27 AM

thanks alooooooooot

Megareus Rex 05-12-2005 09:21 PM

Just installed it, and have a small problem.

The Quote Moderation thing only displays one quote. How can I change it?

Bubble #5 05-13-2005 01:34 PM

Quote:

Originally Posted by Cap'n Steve
as I said in my post above, you should install this one instead.

90% of 2.0 is overkill for our needs and would not be used :( Thanks anyway though...

Dark Aura 07-11-2005 09:26 AM

Quote:

Originally Posted by CtrlAltDel
PRIMARY KEY (`quoteid`,`quoteid`),

remove one of the quoteid's

how do I do that?

Cap'n Steve 07-14-2005 05:05 AM

As I mentioned earlier, this hack is old and you should use the new version.

If you're still set on using this one, though, open install_quoteit.php, find:

Code:

PRIMARY KEY (`quoteid`,`quoteid`),
and replace it with:

Code:

PRIMARY KEY (`quoteid`),


All times are GMT. The time now is 11:04 AM.

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.01648 seconds
  • Memory Usage 1,755KB
  • 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_code_printable
  • (6)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
  • (17)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