vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.5 Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=113)
-   -   QuoteIt! - Quote Database (https://vborg.vbsupport.ru/showthread.php?t=97585)

Vizionz 10-05-2005 07:12 AM

yep that worked thanks. been wanting this hack for awhile

if i run into any probalems i will let you know

Neutral Singh 10-05-2005 07:14 AM

When i try to add a quote it says -->

Please complete all the fields. Press the back button, correct the problem then try again.

I enter data in all three fields here --> http://www.sikhphilosophy.net/sikhphilosophy/quotes.php

:confused:

Vizionz 10-05-2005 07:17 AM

yeah we got another problem with the updated zip

now

http://thaasylum.com/Array[bburl]/quotes.php?do=addquote

Neutral Singh 10-05-2005 07:17 AM

I tried again and now it works... ;)

Alien 10-05-2005 07:18 AM

Looking good..

Only other suggestion I could make is correcting all the xhtml invalid code using the w3c validator. :) There's a large amount of invalid code that appears pretty easy to fix..

GREAT JOB!

Neutral Singh 10-05-2005 07:22 AM

Quote:

Originally Posted by Vizionz
yeah we got another problem with the updated zip

now

http://thaasylum.com/Array[bburl]/quotes.php?do=addquote

Yeah!! In the postbit and postbit_legacy:

Replace the code as:

Code:

<!-- BEGIN QuoteIt! -->
<a href="$vboptions[bburl]/quotes.php?do=submitpost&postid=$post[postid]">$vbphrase[submit_to_quotes]</a>
<!-- END QuoteIt! -->

Now, it should work.

For those who want "Submit to Quotes" option to show up only while viewing the threads, you can use the following conditionals in postbit and postbit_legacy.

Code:

                                        <if condition="THIS_SCRIPT=='showthread'">
<!-- BEGIN QuoteIt! -->
<a href="$vboptions[bburl]/quotes.php?do=submitpost&postid=$post[postid]">$vbphrase[submit_to_quotes]</a>
<!-- END QuoteIt! -->
                                        </if>

Enjoy !!

Vizionz 10-05-2005 07:27 AM

but it isnt a postbit edit Its on the actual; forumhome template for me

Vizionz 10-05-2005 07:32 AM

i fixed it myself in the xml.

Cap'n Steve 10-05-2005 07:43 AM

The reason I changed it was because that's what was causing the rating problems. But it looks like that only works in the conditional tags, so I changed everything else back. Boy I wish there was some documentation for this.

NuclioN 10-05-2005 08:17 AM

Serious conflicts with stuff from an earlier quote we had. The link in postbit shoots us nowhere, the page will not appear with that code. Then we see old quotes from the previous version and after submit there's a database error. Missing context sql etc.

Is there an uninstall to make room for this new quoteit ?

Alien 10-05-2005 08:36 AM

Is there a way for us to run it purely as it's own script?

I disabled the hack, and can still go to the quotes.php file, vote, browse, submit one, etc. perfectly. However, when disabling this hack it also removes the admincp option fields and the moderation section (but these can be loaded if you know the url). Can we have an option to just use this as an add-on as well to save the homepage 2-3 queries?

NuclioN 10-05-2005 09:13 AM

What would be nice is when you add quotes from the postbit the line of (quoted) text is already present in the quote textfield. :)

Cap'n Steve 10-05-2005 06:02 PM

Alien - I'm not sure what you mean. If you just set Show Random Quote to no, it won't show up on the homepage but you can still do everything else.

Nuclion - Did you have an earlier version of this hack or was it some other quotes system? If you're using the Submit to Quotes link in a post, the quote and author fields should be automatically filled out, is this not what's happening?

NuclioN 10-05-2005 07:00 PM

No Cap, that's not what's happening. I've re-installed the updated version and the quotes are visible om forumhome, however when the link in postbit is used no info is put into the textfield. No author and no quote... it's totally empty.

Reeve of shinra 10-05-2005 07:08 PM

Glad to see this!

Cap'n Steve 10-06-2005 03:07 AM

It's working fine on my test forum, can I get a link to your forum?

Alien 10-06-2005 04:59 AM

Quote:

Originally Posted by Cap'n Steve
Alien - I'm not sure what you mean. If you just set Show Random Quote to no, it won't show up on the homepage but you can still do everything else.

Yeah my bad, it's all working perfectly now! I put the link to it in my header!

Thanks so much! :)

NuclioN 10-06-2005 06:37 AM

Quote:

Originally Posted by Cap'n Steve
It's working fine on my test forum, can I get a link to your forum?

Don't ask me how this is possible but after changing the style it worked ok in the postbit (??)

lexx27 10-06-2005 09:49 AM

Before i started using the quote it hack i had a quotation database with images. When i tried to link the images in this hack it was like this:

"<img> quote"

I didnt like it. But as you can see there is a big gap on the left of the quote where there is enough space for a picture. How can i do this? It will be great if there is a way.
Thank you by the way for this great hack!

*i also posted this at 2.0 because i am interested in both versions

Cyricx 10-06-2005 04:43 PM

Hmm the quote post link isn't transfering variables right.

It comes up with the author text box empty

and the message text box just says "Array"

The edit quote link does the same.

VaaKo 10-06-2005 09:38 PM

I installed this mod, but there is somethign wrong with the template, take a look:

https://vborg.vbsupport.ru/

see this empty space?
how do I remove it?

I found this extra code in the html: <td class="alt1" width="30%"></td>
in the template: quote_randomequote
if I remove it will it work?

and also, when I try to moderate the quotes, it says that some phrases are missing..

DefenceTalk 10-06-2005 09:57 PM

NO border?

http://www.defencetalk.com/forums

Why isn't there any border for random quote table?

VaaKo 10-06-2005 09:57 PM

nevermind, I took care of it

but I noticed that guests can see and click on the link "add a quote"
shouldn't this be visible to registered users only?
how can I make it work like that?

NuclioN 10-06-2005 09:59 PM

How did you remove that space on the left side in the quote box? :)

Bubble #5 10-06-2005 09:59 PM

Looks great Cap'n Steve! Was a sinch to install :)

However, could you please give us more detailed information on how Average Threshold, Total Threshold, and Enable Context should be used?

Thanks!

fringehead 10-07-2005 02:18 AM

Nice job Captain! I clicked install!

Cap'n Steve 10-07-2005 04:02 AM

If you don't want any space to the left of the quotes, in the quote_listbit template, find
HTML Code:

        <td width="30%" class="alt1"></td>
                <td class="alt1">

and replace that with
HTML Code:

        <td colspan="2" class="alt1">
then, in quote_randomquote find
HTML Code:

        <tr><td class="alt1" width="30%"></td>
                <td class="alt1">

and replace that with
HTML Code:

        <tr><td colspan="2" class="alt1">

If you want to add an image to the left of the quote, edit quote_listbit and quote_randomquote and put the image between <td class="alt1" width="30%"> and </td>.

Cyricx, edit quote is also working fine on my test server. Save a copy of the page with the error on it and attach it to a post so I can take a look.

Defencetalk, in quote_randomquote find border="0" and delete that.

VaaKo 10-07-2005 09:30 AM

how can I allow my moderators to moderate quotes as well?

and how will I be able to add a border for the random quote table?
cause there was 2 border="0" and I removed them both and still not getting a border for the table
I think I should be adding 1 instead of 0

VaaKo 10-07-2005 09:45 AM

nevermind I solved it

DefenceTalk 10-07-2005 09:48 AM

Quote:

Originally Posted by Lebanese Forces
border="0"

Yup, removing border=0 doesn't do anything. If you change it to 1, it doesn't come out right like the rest of the borders.

lexx27 10-07-2005 10:44 AM

Quote:

Originally Posted by Cap'n Steve
If you want to add an image to the left of the quote, edit quote_listbit and quote_randomquote and put the image between <td class="alt1" width="30%"> and </td>.

But this will add the same image for every quote.

I would like if it is possible to be able to add a different image with every quote.

An idea is to put manually the "". But how can i remove them?

Cyricx 10-07-2005 02:08 PM

Screenie attached.


This happens when clicking the link to add a post to the database either in threads or PMs.

Cap'n Steve 10-07-2005 08:40 PM

Cyricx - I really need an html file to try and figure it out. Just use File->Save in your browser.

lexx27 - That's not really possible with this version, maybe in the next one.

Defencetalk - Try changing cellspacing="0" to cellspacing="1" in quote_randomquote

I haven't yet figured out how to do moderator permissions, but I'm working on it.

NuclioN 10-07-2005 08:52 PM

Maybe a small sized avatar from the member who has quoted the post next to the quote :)

Cap'n Steve 10-07-2005 09:28 PM

Bubble #5 - Sorry, it explains it under the Forum Home Options, but not under the QuoteIt! Options, here's an explanation:

Total Threshold - Quotes won't show up as the Random Quote unless their total rating is at least this number.

Average Threshold - Quotes won't show up as the Random Quote unless their average rating is at least this number.

Context - This is just an extra text box where users can include extra information, like where the quote came from.

eure-mudder 10-11-2005 12:43 PM

First of all I have to say, great hack, it runs like a charm.

But like Alien said some Posts above me your code dose not pass the W3C Validator.

He shows me 2 Errors on This code

Code:

/quotes.php?do=view&quoteid=5">#5</a>
Which hast to be this Part in the quote_randomquote template

Code:

<a style="float:$stylevar[right];" href="$vboptions[bburl]/quotes.php?do=view&quoteid=$randomquote[quoteid]">#$randomquote[quoteid]</a>
dose anybody know how to solve this prob.?

And your CSS code sould not apper in body of the page. It should be in the Head.I copied it into the additional CSS definitions.So they are in the Head.

Cap'n Steve 10-12-2005 02:39 AM

I think it's complaining about the & in the link. Try replacing it with &amp;

I'd love to start fresh on the templates and do it with a lot less tables, but I'll have to brush up on my CSS first. I'll work on that for the next version.

eure-mudder 10-12-2005 05:39 AM

Yes the & was the Reason.
Thank you!

Snort_2005 10-12-2005 12:36 PM

If we install this and we had the version for 3.0.x installed, would we retain things such as settings and quotes? O_o

Lea Verou 10-12-2005 02:42 PM

Any EDA for the next version, even a loose one???

@Snort: Yes you will :)


All times are GMT. The time now is 04:17 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.01841 seconds
  • Memory Usage 1,821KB
  • 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
  • (4)bbcode_code_printable
  • (4)bbcode_html_printable
  • (5)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (3)pagenav_pagelink
  • (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