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)

gettingbetter 01-26-2008 02:53 PM

I've enabled the moderation option in my QuoteIt settings, yet users have somehow been able to bypass it and their quotes show up right away on the page. What could be the problem here?

Moderate Quotes is set to YES.

Cap'n Steve 01-28-2008 08:46 AM

That is strange. Try saving the options again and try creating a new user and adding a quote with that account. Does it still get automatically approved? A link to your site might help, too.

Dr. Bantham 02-01-2008 01:28 AM

Is it feasible to be able to add additional fields to quote entries? I wish to add a URL reference field and a media file path field.

Cap'n Steve 02-02-2008 06:43 AM

I don't have time to do it right now, but it shouldn't be that hard. Just add the appropriate database columns, then add the fields in the quote_listbit and quote_manager templates and a little bit of code in quotes.php to insert the fields in the right columns.

Dr. Bantham 02-02-2008 12:54 PM

The quotes and randomquote BBCodes are not functional on my board, though they have been in the past. No content of any nature appears. I double checked the settings, and they are turned on. I saved all QuoteIt options, rebuilt bitfields, re-uploaded all files and re-imported the product. No dice. The BBCodes are there, but the Replacement fields are blank. Furthermore, the randomquote BBCode entries are stripped entirely from the post content after saving.

UPDATE #1
I deleted the BBCodes and repeated all procedures above. Now the quotes BBCode is functional, but the randomquote is still defunct.

UPDATE #2
Perhaps I spoke too soon. The quotes BBCode appears to be functional after first saving and displaying post content, however it reverts back to displaying plain text tags thereafter. When viewing the BBCodes within the BBCode manager of ACP, it displays {Q1201967627:42} in the HTML and Replacement columns for quotes and {R1201967627:0} for these respective fields for randomquote. When you edit both quotes and randomquote BBCodes, the Replacement box is empty.

UPDATE #3
I have discovered that the quotes BBCode is working only on quick replies and quick edits, and only when first displaying the post immediately thereafter. Refreshing the page or going back later to view the post reverts to plain text tags (ie "[quotes]246[/quotes]". Again, randomquote disappears regardless.

Cap'n Steve 02-03-2008 06:01 AM

Ooh, that random quote does look pretty broken, although I don't see what you mean about the [quotes] BBCode. I'm not sure what update caused that problem, but I'll take a look at it tomorrow. Ignore the BBCodes in the admincp, though. That was originally just an example and probably should have been taken out. :o

Dr. Bantham 02-03-2008 03:17 PM

Quote:

Originally Posted by Cap'n Steve (Post 1435125)
Ooh, that random quote does look pretty broken, although I don't see what you mean about the [quotes] BBCode. I'm not sure what update caused that problem, but I'll take a look at it tomorrow. Ignore the BBCodes in the admincp, though. That was originally just an example and probably should have been taken out. :o

Thanks for taking a look, Steve. As for the [quotes] BBCode, it appears to work upon preview and the first display of a quick reply or quick edit. However, if you refresh the post or go back later, it reverts to text as if the BBCode is unrecognized.

Cap'n Steve 02-05-2008 07:24 AM

Ok, it appears that something changed with the removal of empty BBCodes. For the time being, just put anything between the randomquote tags, like this:
Code:

[randomquote]oug[/randomquote]
I still can't duplicate the [quotes] problem, though. I'd like to try it on your site, do you want to make a hidden forum or something so I can test it out?

Dr. Bantham 02-05-2008 09:41 AM

Quote:

Originally Posted by Cap'n Steve (Post 1436606)
Ok, it appears that something changed with the removal of empty BBCodes. For the time being, just put anything between the randomquote tags, like this:
Code:

[randomquote]oug[/randomquote]

This resulted in a blank post, though it does now retain the BBCode instead of having it stripped.
Quote:

Originally Posted by Cap'n Steve (Post 1436606)
I still can't duplicate the [quotes] problem, though. I'd like to try it on your site, do you want to make a hidden forum or something so I can test it out?

I'm OK with a public test. You can delete your post when finished, or I can clean it up later.
As for the forum, how about this one:
http://www.ligotti.net/forumdisplay.php?f=86

Thanks again!

Cap'n Steve 02-08-2008 07:20 AM

Try reuploading the latest files and reinstalling (without uninstalling) the product. If that doesn't work, edit the "Finalize BBCode" plugin that uses the "newpost_preview" hook and replace this:

PHP Code:



with this:

PHP Code:

header('Content-type: text/plain');
die(
'quotes = ' print_r($quotebbcodeidstrue) . "\n random = " print_r($randomquotestrue));


Then try previewing a post with a few [quotes] and [randomquote] bbcodes in it and tell me what the output is. This will break the post preview, so undo the edit after you're done.


All times are GMT. The time now is 10:28 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.01888 seconds
  • Memory Usage 1,751KB
  • 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
  • (2)bbcode_php_printable
  • (3)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