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)
-   -   Show Thread Enhancements - Ajax Thread (1stPost) Preview 1.5 Gold (https://vborg.vbsupport.ru/showthread.php?t=138461)

SkyCatcher 02-07-2007 12:35 AM

Quote:

Originally Posted by DasCool (Post 1176458)
ok this is not working :( i think i am doing something wrong

Details! lol. What exactly isn't working? i.e. What's the problem?

-uploaded all the new files to the proper directory?
-did all the template edits?
-imported the product and made sure to select Overwrite: Yes?
-hovered over the little arrow on the very left instead of the text? tried hovering over the paperclip also?

DasCool 02-07-2007 12:38 AM

Quote:

Originally Posted by SkyCatcher (Post 1176469)
Details! lol. What exactly isn't working? i.e. What's the problem?

-uploaded all the new files to the proper directory?
-did all the template edits?
-imported the product and made sure to select Overwrite: Yes?
-hovered over the little arrow on the very left instead of the text? tried hovering over the paperclip also?

lol no wonder why i dont do good in school. I didnt know there were arrows now. I liked the hovering over thread better. However, this one works perfectly

Stoebi 02-07-2007 06:04 AM

.... Sorry. Wrong window :(

Mupetz 02-07-2007 09:39 AM

Quote:

Originally Posted by SkyCatcher (Post 1176054)
It only works if you're using the regular VB urls like:

http://www.site.com/showthread.php?t=xxx

and not with

http://www.site.com/somethread-dhajdk/


What exactly is it that makes the urls show up as text/named vs showthread.php? I've seen it on a few boards but it's not standard VB is it?

Oh, i didn't see that.

text/named vs showthread.php is made by vBSEO

kosen 02-07-2007 12:09 PM

With this mod renaming a theme does not work!
Double cliques near a theme opens other field.
How it to correct?

SkyCatcher 02-07-2007 12:21 PM

Whoops!

Find
Code:

<if condition="!is_member_of($vbulletin->userinfo, $postpreviewusergroups) && $vbulletin->options[ajaxpostpreview_enable] == 1 && (!(in_array($forumid, array($vbulletin->options['ajaxpostpreview_forums']))))">
                <td class="alt2"><a href="showthread.php?$session[sessionurl]t=$thread[threadid]$thread[highlight]" id="thread_title_$thread[realthreadid]" onmouseover="showIbox('showthread_ajax.php?$session[sessionurl]t=$thread[threadid]',this, true);return false"><img src="$stylevar[imgdir_misc]/menu_open.gif" border="0"></td>
</if>

REPLACE WITH
Code:

<if condition="!is_member_of($vbulletin->userinfo, $postpreviewusergroups) && $vbulletin->options[ajaxpostpreview_enable] == 1 && (!(in_array($forumid, array($vbulletin->options['ajaxpostpreview_forums']))))">
                <td class="alt2"><a href="showthread.php?$session[sessionurl]t=$thread[threadid]$thread[highlight]" onmouseover="showIbox('showthread_ajax.php?$session[sessionurl]t=$thread[threadid]',this, true);return false"><img src="$stylevar[imgdir_misc]/menu_open.gif" border="0"></td>
</if>


kosen 02-07-2007 12:47 PM

I thank you!
Now works correctly!

RMS-Chef 02-10-2007 04:12 PM

I see the "Click Here to Close" code in the js file.
It there any way to have this shown at the top of the window instead of the bottom?

SkyCatcher 02-10-2007 05:19 PM

Quote:

Originally Posted by RMS-Chef (Post 1179217)
I see the "Click Here to Close" code in the js file.
It there any way to have this shown at the top of the window instead of the bottom?


Replace in ajax_postpreview.js
Code:

var strHTML = "<div id=\"ibox_w\" style=\"display:none;\"></div>";
        strHTML +=        "<div id=\"ibox_progress\" style=\"display:none;\">";
        strHTML +=  indicator_img_html;
        strHTML +=  "</div>";
        strHTML +=        "<div id=\"ibox_wrapper\" style=\"display:none;\">";
        strHTML +=        "<div id=\"ibox_content\"></div>";
        strHTML +=        "<div id=\"ibox_footer_wrapper\"><div id=\"ibox_close\" style=\"float:right;\">";
        strHTML +=        "<a id=\"ibox_close_a\" href=\"javascript:void(null);\" >Click here to close</a></div>";
        strHTML +=  "<div id=\"ibox_footer\">&nbsp;</div></div></div></div>";


With:
Code:

var strHTML = "<div id=\"ibox_w\" style=\"display:none;\"></div>";
        strHTML +=        "<div id=\"ibox_progress\" style=\"display:none;\">";
        strHTML +=  indicator_img_html;
        strHTML +=  "</div>";
        strHTML +=        "<div id=\"ibox_wrapper\" style=\"display:none;\">";
        strHTML +=        "<a id=\"ibox_close_a\" href=\"javascript:void(null);\" >Click here to close</a>";
        strHTML +=        "<div id=\"ibox_content\"></div></div>";
        strHTML +=    "</div></div>";


RMS-Chef 02-10-2007 06:37 PM

Thanks.

Another odd thing, I am not sure if this is related to prior template alterations but when I double click in the thread title to involk the AJAX title editting, instead of the title of the thread becoming editable the small mousover image is replaced with an edit window which has the html code for that image
HTML Code:

<IMG src="http://domain.com/images/misc/menu_open.gif" border=0>
EDIT: Just saw posts 75 & 76 here, that fixed the above issue.



Also when there is a soft deleted thread the display is messed up as well for that row due to colspan somewhere not lining up.


All times are GMT. The time now is 09:33 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.01190 seconds
  • Memory Usage 1,751KB
  • 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
  • (1)bbcode_html_printable
  • (4)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
  • (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