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)
-   -   Forum Display Enhancements - Collapsable First Post using AJAX (or Last Post!) (https://vborg.vbsupport.ru/showthread.php?t=145187)

Terrasoft 06-29-2007 11:44 AM

Hmm let me check that then. Ill also try turning manual edits off and let it work from there.

So yeah, I am still having this error even though it calls the javascript and all the correct automatic templates are being run. Any clue?

Terrasoft 06-29-2007 01:00 PM

I wonder, Im using the thread prefix hack which also requires you to edit the threadbit template, would this affect it in any way?

gim 06-29-2007 11:17 PM

Very very very goooood! :D

Magnumutz 06-30-2007 06:07 AM

Very nice... I just installed and i , and my users, love it.
*Clicks Install*

Terrasoft 07-01-2007 08:40 PM

Magnus, with the PM I sent you...I gave you a name of a hook that was being run under search_results_query_thread under the Thread Prefixes hack. Well I just tried disabling that hook and now it works perfectly, however if possible...itd be awesome to be able to use both of those hooks as the prefix in the search area is an extremely useful resource as well.

keyness 07-01-2007 09:30 PM

That's a great mod! Thank you!

MDK-Indy 07-02-2007 01:37 AM

Nice Hack :up:

But i have a error.

If i klick at the "+" then open the Ajax window and approx. after 1 sec change the view to the completely Thread.

Whats wrong?

Greeting Indy

nymyth 07-02-2007 03:59 PM

2 quick fixes ( you dont have to follow them to have it working) - I made these changes to get a valid XHTML 1.0 Transitional.

1. In the plugin "Make changes to 'threadbit' template"

Look for this:
Quote:

$vbulletin->templatecache['threadbit'] = preg_replace($find, $match[0] . $match[1] . ' ".(($thread[\'open\'] != 10) ? ("<img id=\"vbpostimg_$thread[' . $postidtype . ']\" src=\"$stylevar[imgdir_button]/expand.gif\" onclick=\"return vbpost_get($thread[' . $postidtype . '])\" onMouseOver=\"this.style.cursor=\'pointer\';\" title=\"' . construct_phrase($vbphrase['click_here_to_read_the_x'], $titlephrase) . '\" />") : (""))."', $vbulletin->templatecache['threadbit']);
replace with:
Quote:

$vbulletin->templatecache['threadbit'] = preg_replace($find, $match[0] . $match[1] . ' ".(($thread[\'open\'] != 10) ? ("<img id=\"vbpostimg_$thread[' . $postidtype . ']\" src=\"$stylevar[imgdir_button]/expand.gif\" onclick=\"return vbpost_get($thread[' . $postidtype . '])\" alt=\"' . construct_phrase($vbphrase['click_here_to_read_the_x'], $titlephrase) . '\" />") : (""))."', $vbulletin->templatecache['threadbit']);
I took out the onMouseOver and changed TITLE to ALT.

magnus 07-02-2007 05:16 PM

Quote:

Originally Posted by MDK-Indy (Post 1280953)
Nice Hack :up:

But i have a error.

If i klick at the "+" then open the Ajax window and approx. after 1 sec change the view to the completely Thread.

Whats wrong?

Greeting Indy

I'll need to see an example of what's happening to better understand what needs to be looked at.

baghdad4ever 07-02-2007 06:12 PM

thanks magnus

can you make it apear only to members not to guest??

is it make load on server or not???


All times are GMT. The time now is 11:41 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.01715 seconds
  • Memory Usage 1,736KB
  • 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
  • (3)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