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)

rburns 03-30-2007 10:21 AM

Another Question,

I have edited the bb code so that instead of using [quotes] it uses [law].

but when I do it in a post, i.e. [law]1[/law] it only displays the HTML replacement? which looks something like this:

{Q1175252554:0}

Why is it doing this and not displaying the law (quote) that I chose.

Also, is there a way of adding a drop down box in reply toolbars that will allow you to select a category, as I only have one law (quote) in each.

Lastly,

Is there a way to edit the categoryid? if so am I able to use decimal points in the id so that it matches my law refs? i.e. law 1.4 would be categoryid 14, law 10.12 could be categoryid 1012

Thanks in advance for the help.

ChiliVB 03-31-2007 01:13 PM

Cap'n Steve - I'd like to reduce the font size for the quote and author information to 11px and the "submitter" row information to the smallfont class if at all possible. The new version makes the quoteit section too large in appearance on our forum.

I found the css files quoteit_ie_lt_7.css and quoteit_ie_all.css and tried revising the font size parameters but it didn't change anything, they still appeared the same.

Could you point me in the right direction please.

digital3 03-31-2007 08:13 PM

Quote:

Originally Posted by Cap'n Steve (Post 1215926)
Link?

I'll have to reinstall it. then I'll send a link. With it not working it was defacing the site.

Cap'n Steve 04-01-2007 12:52 AM

digital3 - Well, judging by the symptoms, either something went wrong during the upload or your server is misconfigured somehow.

ChiliVB - quoteit_ie_lt_7.css is used by Internet Explorer versions 6 and lower, quoteit_ie_all.css is used by all versions of Internet Explorer, and quoteit_main.css is used by all browsers. If you want to add a class to the submitter section, you'll have to edit the quote_listbit template.

rburns - The BBCode is kind of complicated to prevent too many queries on a page. You'll have to edit includes/functions_quoteit.php. In that file, find
PHP Code:

        $tag_list['no_option']['quotes'] = array( 

and replace that with
PHP Code:

        $tag_list['no_option']['law'] = array( 

In the same file, find
PHP Code:

        return '[quotes]' $quoteid '[/quotes]'

and replace that with
PHP Code:

        return '[law]' $quoteid '[/law]'

To change the categoryid, you currently need to do it directly in the database through phpMyAdmin or something similar. If you want it to be a decimal, you'll have to add some code to convert it like you demonstrated. That might end up being a little difficult, so I'd suggest just including the number in the title. Users aren't really supposed to be paying attention to the id anyway.

I'm not sure what you mean about the reply dropdown. Are you talking about choosing a category when replying to a post?

ChiliVB 04-01-2007 03:14 PM

Quote:

Originally Posted by Cap'n Steve (Post 1217159)
ChiliVB - quoteit_ie_lt_7.css is used by Internet Explorer versions 6 and lower, quoteit_ie_all.css is used by all versions of Internet Explorer, and quoteit_main.css is used by all browsers. If you want to add a class to the submitter section, you'll have to edit the quote_listbit template.

I've tried reducing the font size in the quoteit_main.css in the section below and didn't see a change. Is this the correct place?
Code:

.openquote
        vertical-align: super;
        position: absolute;
        margin-left: -50px;
        position: relative;
        right: 0;
        margin-bottom: -40px;
        z-index: 5;
        font-size: 7em;
        color: #E3E9F2;
        font-family: "Bernard MT Condensed", "ITC Garamond", "Trebuchet MS", Garamond;


Cap'n Steve 04-01-2007 11:41 PM

The openquote and closequote classes are there for the quotation mark images. You probably want the quotetext and author classes.

user02934123123 04-02-2007 03:52 PM

This is a truly excellent hack, and one which I am already re-coding much of my forum to integrate more fully, as it brings together external features we had previously been achieving by other means.

Three outstanding issues with the current release:

1: On using the quote importer-from-file in the AdminCP, there is no option to assign imported quotes to a specific category, if categories are enabled and defined. All imported quotes seem only to be importable into 'unfiled'. (The route I eventually ended up taking to assign 500+ imported quotes to a common category was to 'delete' them all [i.e. unapprove] them all in the user interface, which threw them back into the moderation queue; and from the moderation queue I could click 'Approve all', since in the queue their default was set to the first category.)

*2: (more urgent): When 'context' is enabled, and the postbit template is modified to include a 'submit quote' button on each post, the automatic convert-thread-to-context feature does not work properly. The hack properly inserts its text ("Posted in thread x..."), with appropriate link, into the 'context' field on the submission form, and it is likewise visible in the preview screen; but once the 'submit' button is pressed, the context field is truncated, so that when one views the pending quote in the moderation queue, the context field reads simply 'Posted in', with no further information (i.e. the link to the thread has been entirely lost). This is a series bug, as the end-result is bizarrely truncated quote submissions -- for the time being I've had to disable the 'context' feature altogether to prevent this. An urgent fix would be most appreciated.

3: This one is minor: in the AdminCP options for the hack, 'Moderation que' should be properly spelled 'Moderation queue'. :)

Cheers!

user02934123123 04-02-2007 04:21 PM

A few further issues have arisen:

4: When dealing with pending quotes in the moderation queue, selecting 'ignore' effectively ignores the quote for moderation purposes (i.e. leaves it in the queue, whilst other messages are either approved or deleted as per admin selections); but it is not ignored as far as PM notification goes -- i.e., Private Messages are sent out to the submitters of the 'ignored' quote reading, e.g. "Your quote (#407) has been updated". If one is holding a post in the queue while trying to decide what to do with it, whilst dealing with other quotes, this is very problematic: the member(s) with posts being ignored receive a new PM every time the queue is moderated -- which can amount to a great many. It would be a very helpful fix to ensure that the hack does NOT send out PMs to members when a quote in the queue is 'ignored' for later assessment.

5: Is there a way to disable all PM notification of moderation of quotes? I added the style template modification that adds the option setting to the user control panel; but users seem automatically to be receiving PMs on moderation changes, even without visiting their control panel.

Cap'n Steve 04-02-2007 09:47 PM

monForum

1. You can add categoryid to the fields, but you need to know the numeric id of the category you want.

2. That's strange. Do you have bbcode enabled for quotes?

3. Oops.

4. Good point, I'll fix that soon.

5. They should be disabled by default, you can run this query to make sure (replace $TP with your table prefix): [sql]UPDATE $TPuser SET quoteitoptions = 0[/sql]

user02934123123 04-03-2007 07:36 AM

It seems there is still a bug with the language selector after installing the newest version of this hack: After installation, the language-chooser drop down list in the vB footer lists my normal language (only one), but now follows it with an option "--a" (as has been reported earlier in this thread).

Any fix on this? It's already been confusing readers!

Many thanks.


All times are GMT. The time now is 07:23 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.01364 seconds
  • Memory Usage 1,758KB
  • 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
  • (4)bbcode_php_printable
  • (2)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