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)

skorzguy 04-13-2007 05:10 AM

Quote:

Originally Posted by Cap'n Steve (Post 1226410)
It looks like a problem with the headinclude template. Try editing and then saving it without changing anything. If it doesn't give you an error when saving, post the template here.

I don't understand, do you mean try editing the plugin and resaving it?

I managed to get it to work somewhat. It's not the right way but I will wait till someone else has this problem and wait for their solution.

I put this in the
Global Random Quote-global start plugin
----------------------------------------------------------------------------

if ($quoteitoptions['showrandomquote']) {
require_once(DIR . '/includes/functions_quoteit.php');
$showrandomquote = get_random_quote();
}

---------------------------------------------------------------------------

and then put full paths or urls in the templates. It works somewhat except for the star ratings.

http://www.allstarchat.com/PhotoPost/index.php

The quotes don't as nice as they do on the quotes.php page.

Cap'n Steve 04-13-2007 07:55 AM

I meant the headinclude template. It's at least part of the problem.

rburns 04-13-2007 11:21 AM

Quote:

Originally Posted by Cap'n Steve (Post 1225604)
I've uploaded a new version that fixes a few small things.

rburns - Something's definitely wrong then, try redoing the edits and testing it in several places, like the post preview, the actual post, and a private message. I'm not exactly sure what hook to use for your listbox idea, the listbox just has to be generated before the new post template is shown. The one to insert bbcode needs to run before bbcode is parsed. Other than that, I'm not sure.

Ok, I'll give that a go.

Random Quote in the forum home is working perfectly though, lol.

thepub 04-13-2007 12:39 PM

Quote:

Originally Posted by Cap'n Steve (Post 1225604)
I've uploaded a new version that fixes a few small things.

thepub - Try the new files, or enable Javascript to use the AJAX voting.

[

How many new files are there? When I reinstalled it, I thought I was installing the new files?:confused: Also, my quoter does not look near as good as skorzguys attachment. I want to know what the heck I am doing wrong, it's so frustrating.l

user02934123123 04-13-2007 03:42 PM

Dear all,

I have just upgraded to the latest release, and note that a number of issues are still outstanding. I'll try to go through them as thoroughly as possible. Those marked with an * are what I would consider critical bugs or faults.

(a) AJAX editing of quotes will not save: When double-clicking on a quote to edit it, the AJAX editor appears as it ought; however, the save button does nothing, and there is no way to save the edit apart from clicking the 'Go advanced' button and going to the full editor. The cancel button and advanced buttons do work; it is simply the save function that does not work with AJAX. (I note that other AJAX functions on the vB board do work properly, so this is unique to the mod.)

* (b) Quotes submitted after using preview function do not submit: This has been a problem with the last release also, and remains now. If a user adds a quote and directly clicks submit, without previewing the quote, the quote is successfully sent to the moderation queue as it ought to be. If, however, the user first previews the quote, and then clicks submit from the quote preview screen, the quote is lost, and nothing is sent to the queue. On forums where users are used to previewing before posting, they intuitively preview the quotes before submitting -- and this has resulted in tremendous numbers of quote submissions from my members never getting through (I learned about a few from e-mail complaints; I then issued a general notice and learned how wide-ranging the problem is).

(c) Incorrect layout on quote preview screen: On the quote submission preview screen, the basic layout is a table with two columns: tags on the left and fields for revision on the right. The quote being previewed is displayed above these, and the layout should have the quote spanning both columns. However, it instead is crammed into the left-hand column alone, thereby making the preview screen look quite odd.

* (d) View All Quotes screen displays improperly in IE7: The view all quotes screen works fine in FireFox, but when viewed in IE the table containing all the quotations runs substantially off the right-hand side of the page, causing rather horrifying layout consequences. Oddly, it does not do this with the random quote function, for which the table lines up nicely in IE -- it is an issue solely with the View All Quotes function.

All these can be seen in action on the forum with this mod enabled here.

Cap'n Steve 04-14-2007 06:35 AM

thepub - I uploaded a new version after your original post. You can check if your version is up to date by going to Manage Products in your admincp and selecting Check Version.

monForum - Thanks for the feedback. You're right about the previewing, I'll investigate that. About the AJAX editing, what browser are you using and does it give you any kind of error? The IE7 problem is specific to your style, but I'll take a look at it when I get a chance.

thepub 04-14-2007 11:57 PM

alrighty...I installed the latest files and it still hasn't changed. I've taken a couple screen caps to show you what I am looking at. Also, I still cannot vote for a quote, I get a 404 error.

The first pic is what you see on my forum homepage and the second pic is how it looks on my forum index and if I change the hook to global start.

Cap'n Steve 04-15-2007 03:07 AM

The CSS files aren't loading in those screenshots, what do you mean you changed it to global_start?

Could you go to vBulletin Options, then Site Name / URL / Contact Details and tell me what Forum URL is set to? Also, in includes/functions_quoteit.php find this and tell me what you have on the first non-blank line below it:
PHP Code:

    else {
        
$ref false;
    } 


thepub 04-15-2007 03:31 PM

Quote:

Originally Posted by Cap'n Steve (Post 1228000)
The CSS files aren't loading in those screenshots, what do you mean you changed it to global_start?

Could you go to vBulletin Options, then Site Name / URL / Contact Details and tell me what Forum URL is set to? Also, in includes/functions_quoteit.php find this and tell me what you have on the first non-blank line below it:
PHP Code:

    else {
        
$ref false;
    } 


Quote:

Quote:

if ($ref AND !$relative AND !preg_match('#^(https?|ftp)://#i', $ref)) {
$ref = $vbulletin->options['bburl'] . '/' . $ref;

forum url is set as http://www.theneighborhoodpub.com

I changed the hook to global start instead of forum home.
I readded the css files again and it still looks the same. If you want you can pm me for a test account ID and pw so you can see for yourself. :(

Cap'n Steve 04-15-2007 08:24 PM

You can't just change the hook location, there's a global quote plugin in the extras folder to use if you want it enabled on any page. I don't know why it's still redirecting wrong. I'll keep working on it, but until then you could just use the AJAX voting.


All times are GMT. The time now is 02:33 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.01631 seconds
  • Memory Usage 1,757KB
  • 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_php_printable
  • (6)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