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)

magnus 04-27-2004 01:40 PM

Quote:

Originally Posted by Chris-FH
Great work... :)

But I have a problem. For testing, I added some quotes, but on forumhome, only one, always the same one, is shown...

Before you ask, I set the Disable Quote Moderation to yes, and all the quotes were shown on quotes.php?do=list... ;-)

Any suggestion to fix the problem?

C.

//Only the last Post I added is shown...

//I checked all the templates, I dropped the quotes table und created it new, now the first quote I added is shown...

What version of MySQL/PHP are you running?

magnus 04-27-2004 01:41 PM

Quote:

Originally Posted by sean289855
Will this work in VB 3.0.1. The reaso I ask is I ma getting nothing to display.

Yes. It should work fine. What's not showing up exactly? Are you seeing the Random Quote box, or are you just not seeing quotes? Etc..

Chris-FH 04-27-2004 04:04 PM

Hey magnus... :)

PHP v4.3.1 and MySQL v3.23.53 is running. Last night, I got some help, and now, it works:

Find:

PHP Code:

         $result_quote $DB_site->query("
            SELECT * FROM quotes WHERE approved=1 ORDER BY rand() LIMIT 1 

and change it to

PHP Code:

        srand((double)microtime()*1000000000); 
        
$rand_v rand(); 
        
$result_quote $DB_site->query("
            SELECT * FROM quotes WHERE approved = 1 ORDER BY rand(
$rand_v

C.

magnus 04-27-2004 04:11 PM

Quote:

Originally Posted by Chris-FH
Hey magnus... :)

PHP v4.3.1 and MySQL v3.23.53 is running. Last night, I got some help, and now, it works:

Find:

PHP Code:

         $result_quote $DB_site->query("
            SELECT * FROM quotes WHERE approved=1 ORDER BY rand() LIMIT 1 

and change it to

PHP Code:

        srand((double)microtime()*1000000000); 
        
$rand_v rand(); 
        
$result_quote $DB_site->query("
            SELECT * FROM quotes WHERE approved = 1 ORDER BY rand(
$rand_v

C.

Yup. The earlier MySQL workaround. Good job! Glad you got it working. ;)

Wifey 05-02-2004 09:35 PM

Hey :) When someone is looking at the quotes page in Who's Online, it shows them as being on a weird page - I'm pretty sure it said quotes.php? Any way to fix that? No hurry, it's not a big deal and I know you're busy :)

ryancooper 05-14-2004 11:20 PM

I ran the script and did all the updates but I get no quote. Made sure it was turned on and everything. Looks like some phrases are missing. See pic..

Thanks for any help . ..

ryancooper 05-15-2004 12:34 PM

Quote:

Originally Posted by ryancooper
I ran the script and did all the updates but I get no quote. Made sure it was turned on and everything. Looks like some templaes are missing. See pic..


Thanks for any help . ..

Just checked all phrases and templatyes and they are all there. Any ideas? I would really love to get this up an running<

thanks

djohn 05-15-2004 05:59 PM

Magnus, maybe i could help you finish off the hack faster, if you shared what you have done so far. Or beta test it.

nineball 05-18-2004 02:23 AM

Here is a module you can upload to your modules directory to add a quote block to the latest version of vbadvanced

eob 05-22-2004 12:34 PM

You could adapt this hack very easily to make a comments hack, where users could add comments to the end of news articles and non-VB pages...! Any chance of making it happen or would you be offended if I altered it myself?


All times are GMT. The time now is 11:54 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.01352 seconds
  • Memory Usage 1,749KB
  • 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
  • (4)bbcode_php_printable
  • (4)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (2)pagenav_pagelinkrel
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)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