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)

Dr. Bantham 05-18-2008 12:02 PM

I would like very much to have the capability of installing multiple QuoteIt! databases within the same domain. These would be wholly independent of one another, but still function within the same VB database. I assume this would entail different database prefixes and possible duplication and renaming of key QuoteIt! files to maintain correlation to the intended access. Is this a feasible effort or a manic pipe dream?

Cap'n Steve 05-18-2008 10:23 PM

I'm not quite sure what you mean. You want multiple QuoteIt! installations within the same MySQL database? Would they be accessed through the same quotes.php? What would the actual differences be between these databases from the user's perspective?

gpc10347 05-19-2008 03:04 AM

I hope I'm not duplicating a prior question so, apologies in advance: Is there a means by which one could insert something in the signature field to have these quotes randomly work for a couple of 'chosen' users? Thanks!

Cap'n Steve 05-19-2008 06:43 AM

You should be able to use the [quotes] and [randomquote] bbcodes in signatures, but you can't limit them to specific users.

gpc10347 05-19-2008 02:11 PM

Quote:

Originally Posted by Cap'n Steve (Post 1524449)
You should be able to use the [quotes] and [randomquote] bbcodes in signatures, but you can't limit them to specific users.

Thanks Cap'n but I'm having a tard moment with this:

Allow Quote BB Code No is everywhere in the Signature Permissions visible on the user entry screen (UserCP). I've went through the permissions I can't seem to find/toggle the appropriate entry...

Could someone spell it out clearly enough that Stevie Wonder could see it? [randomquote] in a signature would translate into exactly what I'm looking for

Thanks for your assistance, patience and tolerance!

Cap'n Steve 05-20-2008 02:57 AM

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?

gpc10347 05-20-2008 11:52 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?

Nope (although I admit I've not tried it extensively) - I did notice that attempting to edit the keys and values from BB Code Manager was interesting.

{R1211286651:0}
{R1211286652:0}

[quotes]42[/quotes]
{Q1211286651:42}
{Q1211286652:42}

Neither seems to allow an Edit (as opposed to the creation of New) - The system states that "quotes" for instance, already exists. So, deleting them was a thought. At first glance, they appear to delete however, a subsequent shot at re-entry states that they're still there and in fact, they mysteriously pop back in ...

(This is under Custom BB Codes)


Yours work in the FAQ display? (Mine does but I'm too new to find how it's called)



**** UPDATE: I uninstalled and found that my editing capability with BB Code is back. Could there be a header issue? I'd love to get this one working on 3.7

Cap'n Steve 05-22-2008 06:38 AM

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.

gpc10347 05-22-2008 07:10 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.


Good luck with the free time! Let me know if you get excess as I need some too..
Thanks

Dr. Bantham 05-25-2008 11:56 AM

Quote:

Originally Posted by Cap'n Steve (Post 1524151)
I'm not quite sure what you mean. You want multiple QuoteIt! installations within the same MySQL database?

Yes.
Quote:

Originally Posted by Cap'n Steve (Post 1524151)
Would they be accessed through the same quotes.php?

Not necessarily. If the table references necessitated a duplication and renaming of functional files, then that would be acceptable.
Quote:

Originally Posted by Cap'n Steve (Post 1524151)
What would the actual differences be between these databases from the user's perspective?

My site is dedicated to an author. I have even customized the standard QuoteIt! entries to accommodate MP3 readings and forum thread references. The random quotation block is limited to these quotes. I would like the ability to have a separate quote database of alternate source material, with the access controlled by my own menu and labeling efforts. I have ruled out separating the material within a single database by the author field alone. I want the initial database purely dedicated to a single author. Possible?

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.

gpc10347 06-02-2008 04:27 PM

Quote:

Originally Posted by Cap'n Steve (Post 1538122)
I'm almost afraid to ask.

As well you should be. Actually, anything I place between the open and close randomquote - even just a space -allows it to function. So I'm good here...


Quote:

Originally Posted by Cap'n Steve (Post 1538122)
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.

That's next.

Quote:

Originally Posted by Cap'n Steve (Post 1538122)
I don't think it's a missing end tag, but running it through http://validator.w3.org/ might help you pinpoint the problem.

Oh thanks for that. I need constant reminders of how poor the rest of my pages are!

Here's an off the wall issue that might be related. Viewing source from an interior page that works shows this:
<script type="text/javascript">

and it may be a co-incidence but the bad page (from CMPS) shows this view source:
<script type=\"text/javascript\">

Escaped quotes mean anything to you?

UPDATE: Commented out line 809 in functions_quoteit.php and it's officially working on my front page in vBavanced.

$tempinclude = str_replace('"', '\"', $tempinclude);

I'll shut up for a little while!

Cap'n Steve 06-03-2008 05:39 AM

Well, that information is a little disturbing, but will probably be very helpful when I get around to writing the next version. I don't know what was changed in the bbcode or in vBadvanced, but thanks for giving me some clues.

cillianok 06-07-2008 09:37 PM

Is there any *easy* way to make it smaller, height-wise?

Cap'n Steve 06-08-2008 03:40 AM

I don't know what you consider easy, but you can edit the padding in clientscript/vbulletin_css/quoteit_main.css or remove the information you don't need displayed in the quote_listbit template.

Dr. Bantham 06-08-2008 02:15 PM

Quote:

Originally Posted by Cap'n Steve (Post 1504275)
A new version has been uploaded to make the AJAX compatible with vBulletin 3.7.

Can you tell us what files/templates have changed in this most recent release? I have made a number of custom modifications and I would rather integrate new revisions as opposed to trying to replicate all my past work again. This would be a great help!

gpc10347 06-08-2008 02:33 PM

Quote:

Originally Posted by Dr. Bantham (Post 1544114)
Can you tell us what files/templates have changed in this most recent release? I have made a number of custom modifications and I would rather integrate new revisions as opposed to trying to replicate all my past work again. This would be a great help!

(Warning: Off Topic)

Dr. Bantham.. Apologies for the interruption however, your site has got o be one of the best examples of vBulletin going. Seriously. Intriguing to the point of engaging - it's an extraordinary showpiece that I've recommended to others...

(Please continue)

Dr. Bantham 06-08-2008 03:27 PM

Quote:

Originally Posted by gpc10347 (Post 1544125)
(Warning: Off Topic)

Dr. Bantham.. Apologies for the interruption however, your site has got o be one of the best examples of vBulletin going. Seriously. Intriguing to the point of engaging - it's an extraordinary showpiece that I've recommended to others...

(Please continue)

Wow! I am truly grateful for the generous praise. I have put a lot of work into the content and general aesthetics of my site, but I must give much credit to the wealth of resources within this site. I am especially proud of many of the custom styles I have developed, many of which graphically mimic certain book layouts or story concepts published by the author the site is dedicated to. As with many vBulletin efforts, the focal group of mine is admittedly small. It has been a great boon to gathering fans, introducing new readers and discussing similar interests. Again, many thanks for the kind words!

Cap'n Steve 06-11-2008 02:58 AM

The latest version is just a two line workaround in quotes.php, as shown in this post.

dimples 06-12-2008 12:12 AM

I love the mod and everything seems to be working great so far. I have one question though and I apologize if this has been asked earlier. Is there a way we can take out the two quote gifs that default around the quote in the random quote box. They never seem to line up right and I would rather just eliminate them if I could.

Thank you much!

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

Just remove these sections from the quote_listbit template:

HTML Code:

<img src="{$stylevar['imgdir_misc']}/quotation-open.png" alt="“" width="60px" height="51px" class="quoteimage openquote" />
<span width="60px" height="51px" class="openquote ieimage">&nbsp;</span>

HTML Code:

<span width="60px" height="51px" class="closequote ieimage">&nbsp;</span>
<if condition="!$sidebar">
<img src="{$stylevar['imgdir_misc']}/quotation-close.png" alt="”" width="60px" height="51px" class="quoteimage closequote" />
</if>


eyeoftiger 06-12-2008 05:43 AM

I downloaded and installed from this link -
https://vborg.vbsupport.ru/showthrea...rivate+message

http://sportsunit.com/forum <- Please check here, it's my forum.

it's giving me error messages all of a sudden.

I can't even go into admin panel .

Also I can not go into threads or posts.

I have over 1000 members logging to my forum, i need this fixed asap.

Please help me .

Cap'n Steve 06-13-2008 12:35 AM

Disable the plugin system as shown in this post. Then uninstall the product, re-enable the plugin system, reupload the QuoteIt! files and reinstall it.

forumrunt 06-13-2008 02:21 PM

will this work with 3.7

Cap'n Steve 06-16-2008 02:17 AM

Yes, it works on vBulletin 3.7.x.

DBs 06-23-2008 06:17 PM

Hi Cap'n Steve,

Got a little problem with my QuoteIt installation. Ever since a version back (not sure exactly) I now find that I cannot save certain options in the control panel like moderate quotes. If I select yes then hit save it goes thru the motion but upon the refresh shows it still as off.

Can you advise on where these options are stored in the database so I can go hunt for them or failing that tell me how to get the datastore setting rebuilt.

I have uninstalled the product, reinstalled and tried again with a fresh install. Same problem.

Any help much appreciated.

Cap'n Steve 06-25-2008 03:26 AM

Try running this query (replace $TP with your table prefix):
[sql]DELETE FROM $TPdatastore
WHERE title = "quote_settings"[/sql]

Then go to your language manager and run "Rebuild All Languages". Finally, reupload all of the QuoteIt! files and then try to save settings again.

DBs 06-25-2008 05:43 PM

Quote:

Originally Posted by Cap'n Steve (Post 1558246)
Try running this query (replace $TP with your table prefix):
[sql]DELETE FROM $TPdatastore
WHERE title = "quote_settings"[/sql]

Then go to your language manager and run "Rebuild All Languages". Finally, reupload all of the QuoteIt! files and then try to save settings again.

Hi,

Tried all that and didn' work (even reimported the product with overwrite). I downloaded the zip in this thread and the quoteadmin.php is dated back in 2007, is this correct?

Now, the settings look correct when I look at the datastore thru a mysql tool but only some of the settings are being reflected in the control panel. Very strange.

Any other ideas?

thepub 06-26-2008 04:47 PM

*sigh* I tried to install this yet again and this time there is nothing showing at all. I checked my settings and followed the instructions so why would nothing at all show?

Cap'n Steve 06-26-2008 07:26 PM

thepub - Do you have any quotes in the database? If not, try going to quotes.php?do=addquote and adding one. The only thing that I can think of is somehow you got a partial install, so try reinstalling.

DBs - Yes, quoteadmin.php hasn't been changed in a while.

Do you have any sort of caching enabled (APC or something similar)? Any other mods installed?

I really have no idea what would cause this, but try posting a screenshot of the options page along with what's actually in the datastore under quote_settings and I'll take a look at it.

DBs 06-26-2008 08:21 PM

Cap'n Steve,

Yes I use XCache. As a test I disabled XCache and the options are working correctly so I guess that there is an issue between XCache and QuoteIT ?

Let me know if you need me to test anything in an effort to solve this. Appreciate any help.


All times are GMT. The time now is 06:15 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.02017 seconds
  • Memory Usage 1,871KB
  • 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
  • (2)bbcode_html_printable
  • (21)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (1)pagenav_pagelinkrel
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (40)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