vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.6 Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=194)
-   -   Major Additions - QuoteIt! - Quote Database (https://vborg.vbsupport.ru/showthread.php?t=135297)

Cap'n Steve 11-19-2009 11:50 PM

I'm not really sure how to help you since my license is expired and I haven't kept up with the latest vBadvanced versions. Could you post a screenshot of the module settings page that you're using? You might try asking at the vBadvanced forums, too.

AfterWorldForum 11-20-2009 09:41 AM

Quote:

Originally Posted by Cap'n Steve (Post 1917472)
I'm not really sure how to help you since my license is expired and I haven't kept up with the latest vBadvanced versions. Could you post a screenshot of the module settings page that you're using? You might try asking at the vBadvanced forums, too.

Hey, and thanks for answering. I did ask at vbAdvanced, but haven't seen any activity in my thread there.

I'm guessing the problem is the global variable that is used (also because I can preview it from the Preview, but on the frontpage, it just shows up blank).

I tried various values for the global variable, but somehow cannot get it to work. I also tried using different module ways, like the PHP files you added to the zip file, and stripping functionality out of the standard templates to see if anything in there was maybe causing issues.

If you're willing to look into things, I can set you up with an account you could use to have a look at the settings. PM me if you'd be open for something like that, please.

Thanks again for taking the time to help me out, though. I see a lot of potential in the mod, and would love to be able to add it to my site(s).

Best,

Peter

Cap'n Steve 11-24-2009 12:34 AM

Did you install the plugin-globalquote.xml from the extras folder (note that it's a plugin, not a product)? The $showrandomquote variable is unset by default. Either try that or upload the included modules so I can try it as a file-based module.

AfterWorldForum 11-26-2009 06:36 PM

Quote:

Originally Posted by Cap'n Steve (Post 1919864)
Did you install the plugin-globalquote.xml from the extras folder (note that it's a plugin, not a product)? The $showrandomquote variable is unset by default. Either try that or upload the included modules so I can try it as a file-based module.

Aye, Cap'n I did. The extra modules have been uploaded.

Sorry about the late reply, I checked for PMs, but forgot to check the thread. Worst case scenario, I'll build a quick PHP page to pull the data from the database, and slap that inside a module.

Thanks foryour help so far :)

kalisekj 11-27-2009 07:52 PM

Be Warned This Totally crashed My 3.8 VB Site. Had to do a file restore to get it back to operational.

Cap'n Steve 11-29-2009 05:21 AM

Quote:

Originally Posted by AfterWorldForum (Post 1921334)
Sorry about the late reply, I checked for PMs, but forgot to check the thread.

Yeah, I like to make any support public, just in case it might help someone else. Try editing the "Global Random Quote" plugin and changing the execution order to 1.

Quote:

Originally Posted by kalisekj (Post 1921753)
Be Warned This Totally crashed My 3.8 VB Site. Had to do a file restore to get it back to operational.

What error did it give you? What other products do you have installed? For future reference, you can disable the plugin system with a line in includes/config.php in case of emergency.

AfterWorldForum 11-29-2009 12:12 PM

Quote:

Originally Posted by Cap'n Steve (Post 1922350)
Yeah, I like to make any support public, just in case it might help someone else. Try editing the "Global Random Quote" plugin and changing the execution order to 1.

That did not seem to do anything for me.

Thanks for the suggestion, though :)

Cap'n Steve 11-30-2009 01:06 AM

Turn on debug mode and see what queries are being run the vBadvanced main page. Do any of them reference the quotes table? It should look something like this:
[sql]SELECT * FROM vb_quotes[/sql]

AfterWorldForum 12-09-2009 04:52 PM

Quote:

Originally Posted by Cap'n Steve (Post 1922838)
Turn on debug mode and see what queries are being run the vBadvanced main page. Do any of them reference the quotes table? It should look something like this:
[sql]SELECT * FROM vb_quotes[/sql]

Sorry for the late reply. I've been awfully busy lately.

Here's the result:

Code:

Time Before: 0.43164
Time After: 0.43169
Time Taken: 0.00005

Memory Before: 10,869.234 KB
Memory After: 10,869.313 KB
Memory Used: 0.078 KB

Tip of the day module generated in 0.00005 seconds with 0 queries.
0 seconds doing MySQL queries and 0.00005 doing PHP things.

Looks like the global variable did actually not kick in :(

Cap'n Steve 12-11-2009 01:03 AM

Ok, try uploading the attached plugin. It's not the best method, but it should work with the template you were using.


All times are GMT. The time now is 07:13 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.01715 seconds
  • Memory Usage 1,745KB
  • 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
  • (1)bbcode_code_printable
  • (6)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