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)

gpc10347 05-26-2008 05:25 PM

Quote:

Originally Posted by Cap'n Steve (Post 1527613)
The entries in the bbcode manager are just for show, the actual bbcodes are controlled with plugins. You're right about the FAQ; for some reason that's the only place the bbcode seems to work, which is very strange. I'll have to investigate more as soon as I get some free time.


Is it my imagination or is it working like a charm on 3.7 at MonkeyCrap.com?
(I'm lurking awaiting the say I can paste something into a signature and have a random quote pulled up..._

Cap'n Steve 05-27-2008 01:44 AM

gpc10347 - Where are you seeing it work on my site? I still can't get it to work, so maybe it is your imagination. ;)



Dr. Bantham -

First of all, have you tried the categories? That might be able to do what you want. If not:

WARNING: None of this has been tested, so don't try it on your live website.

I guess the simplest way to do this would be to to copy and rename quotes.php, admincp/quoteadmin.php, modcp/quotemod.php, and includes/functions_quoteit.php. Edit the new files and replace all mentions of any of those file names with the names you gave to the new copies.

Next, duplicate all the QuoteIt! database tables (quotes, quoteratings, guestquoteratings, and quotecategories) and rename them. Edit the files you created in the previous step and replace all references to the old tables with references to the renamed ones.

Your new quotes database would share settings, templates, and permissions with the "real" installation, and quotes in the new database won't be available for things like the bbcodes, but it should basically work.

gpc10347 05-30-2008 12:01 AM

Quote:

Originally Posted by Cap'n Steve (Post 1532417)
gpc10347 - Where are you seeing it work on my site? I still can't get it to work, so maybe it is your imagination. ;)

Our father, which programmeth in vBulletin, helpeth out our brother Cap'n Steve and provideth him with time. Time to walk on water, time to part the sea, and perhaps even time to make QuoteIt work with 3.7.1. Lead me not into Michigan, for I art in Ohio and the SEC calleth me out in temptation of Big 10 issues... Let not his heart be troubled... perhaps even let the Wolverines score a few times this year despite them laughing at us during bowl games.

Cap'n Steve 05-30-2008 01:50 AM

Lol!

Are you still able to use the quote bbcodes on my site, though? Where at exactly?

Dr. Bantham 05-30-2008 02:08 AM

Quote:

Originally Posted by Cap'n Steve (Post 1525398)
Well, ordinarily the option to enable quote bbcodes is under "QuoteIt! Options", although now that I try it on my site, vBulletin 3.7 seems to have broken something with the bbcodes. :( Can you get [quotes] or [randomquote] working anywhere on your site?

I am running QuoteIt on vBulletin 3.7 with not evident issues. QUOTE and RANDOMQUOTE bbCode references seem to be working well. I have not, however, upgraded QuoteIt to the release of 5/1/08. I am running the version just prior to this.

gpc10347 05-30-2008 03:45 AM

Quote:

Originally Posted by Cap'n Steve (Post 1535834)
Lol!

Are you still able to use the quote bbcodes on my site, though? Where at exactly?

I apparently lied - maybe I was drunk, however, I'm 17 pages into the thread again. Reinstalled again and again and mysteriously, I did get the bbcodes working in the threads (would love to turn on for signatures as well but can't seem to get that far..)

Dr. Bantham: Can you make [quotes] or [randomquote] work in signatures? Also, do you open and close the tag with any characters required between them ( [randomquote]stuff [/randomquote] )


*** No luck whatsoever with vbAdvanced CMPS regardless of what I do in it's admin area. I sure could use a hint or two more on this one....


Thanks for the hints here and there though - As of this morning, I have a forumhome template displaying a random quote, bbcodes work (sort of) inside thread messages. I can add, edit and delete quotes
(all together now) However ; )

I've found that a prior mod (the one used here at The Org) is interfering in the style selection: The White Quote symbol is coming from another hack and refers to .quote for it's style: See attached image please...

Code:

/* ***** open and close quotes images ***** */
.quote {
    margin:15px 10px;
    background: url(blak_ice/misc/q.gif) 0 0 no-repeat;
    padding-left:25px}
blockquote.bq {
    background: url(blak_ice/misc/q1.gif) no-repeat bottom right;
    font: italic 10pt verdana, geneva, lucida, 'lucida grande', arial, helvetica, sans-serif;
    border-left:3px solid #ccc; 
    margin:0px;
    padding:0 5px}

Would there be a chance that the use of the word quote might be causing all the grief? (And what's a good remedy without giving up either?)

Whew... It must be 5 somewhere..

gpc10347 05-30-2008 05:26 PM

I know I know. Now, I'm talking to myself - however, all gowds chillun talk to themselves - them self... whatever.

I have the Bbcodes working. A little wierd with the oddball characters needed but I can deal with it. Still hoping for a means to place it in the signature... Anyone?

I also have random quote capabilities with vBad Vanced but turning it on, moves the calendar and essentially destroys the page layout. (Most like a TD isn't ended properly or a missing table tag...)

Looks fantastic on the forum pages though.. (whew)

What's the best file to begin editing to get the CMPS addition to behave in the center column?

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

The newest QuoteIt! version shouldn't make any difference, especially since the only changes were in quotes.php, which isn't even used for the bbcode.

I don't know how the bbcodes broke before, but if you've got them working in posts now, they should also work in signatures. Even if they don't work fully, there should be at least some output in the form of {R:$bunchofnumbers}. So is there anything happening with bbcode in signatures or do the tags just vanish?

The other mod might make things ugly (like with the two images shown in the screenshot), but they'd still work. To fix it, just rename .quote to something else in either mod and replace all of that mod's references to the quote class (look for class="quote in the templates) with references to the new name you gave it.

vBadvanced quotes just use the quote_randomquote template along with the additional CSS in clientscript/vbulletin_css/quoteit_vbadvanced.css.

Finally, what do you mean by "oddball characters"?

gpc10347 06-01-2008 05:01 AM

Quote:

Originally Posted by Cap'n Steve (Post 1537433)
The newest QuoteIt! version shouldn't make any difference, especially since the only changes were in quotes.php, which isn't even used for the bbcode.

I don't know how the bbcodes broke before, but if you've got them working in posts now, they should also work in signatures. Even if they don't work fully, there should be at least some output in the form of {R:$bunchofnumbers}. So is there anything happening with bbcode in signatures or do the tags just vanish?

The other mod might make things ugly (like with the two images shown in the screenshot), but they'd still work. To fix it, just rename .quote to something else in either mod and replace all of that mod's references to the quote class (look for class="quote in the templates) with references to the new name you gave it.

vBadvanced quotes just use the quote_randomquote template along with the additional CSS in clientscript/vbulletin_css/quoteit_vbadvanced.css.

Finally, what do you mean by "oddball characters"?


Got it.

The oddball characters are specifically the Magic Stuff between the randomquote tags that makes it work.

Previewing my signature might be what prevented me from seeing it. The { } encased numbers are what I see previewed but if I save and view a post - it's there!

Still having issues with it breaking the tables on vbAdvanced but - I'm 95% where I hoped I'd be...

Thanks much!

Cap'n Steve 06-01-2008 08:13 PM

Quote:

Originally Posted by gpc10347 (Post 1537567)
The oddball characters are specifically the Magic Stuff between the randomquote tags that makes it work.

I'm almost afraid to ask, but what exactly did you put between the tags? That shouldn't affect anything.

Quote:

Originally Posted by gpc10347 (Post 1537567)
Previewing my signature might be what prevented me from seeing it. The { } encased numbers are what I see previewed but if I save and view a post - it's there!

There must be a hook for previewing signatures that I missed. If you're feeling adventurous, you could look at the other "Finalize BBCode" plugins and try to copy that code to a plugin at whatever hook is called when previewing.

Quote:

Originally Posted by gpc10347 (Post 1537567)
Still having issues with it breaking the tables on vbAdvanced but - I'm 95% where I hoped I'd be...

I don't think it's a missing end tag, but running it through http://validator.w3.org/ might help you pinpoint the problem.


All times are GMT. The time now is 01:29 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.01464 seconds
  • Memory Usage 1,763KB
  • 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
  • (8)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (3)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