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)

Dr. Bantham 05-06-2007 02:38 PM

Quote:

Originally Posted by magnus (Post 1242467)
Wait, the full thread opens, with replies and everything? That's.. odd. I don't even see how that's possible. Either way, I'd need to see it, in action, on the forum in question before I could even begin to fathom a fix.

What was happening was that the previous mod's mouse click reaction was taking presedence over your mod, as it was effective for the entire table cell. I removed the following snippet from threadbit template and everything works fine:
Code:

onclick="window.location.href='<if condition="$show['gotonewpost']">showthread.php?$session[sessionurl]goto=newpost&amp;t=$thread[threadid]<else />showthread.php?$session[sessionurl]t=$thread[threadid]$thread[highlight]</if>';"
This was the offending code from the previous mod. I now get the benefit of your mod while only sacrificing the regional cell click sensitivity for the previous mod. The cell color still changes as I still wished it to. Brilliant mod!

magnus 05-06-2007 03:07 PM

Quote:

Originally Posted by Dr. Bantham (Post 1242478)
What was happening was that the previous mod's mouse click reaction was taking presedence over your mod, as it was effective for the entire table cell. I removed the following snippet from threadbit template and everything works fine:
Code:

onclick="window.location.href='<if condition="$show['gotonewpost']">showthread.php?$session[sessionurl]goto=newpost&amp;t=$thread[threadid]<else />showthread.php?$session[sessionurl]t=$thread[threadid]$thread[highlight]</if>';"
This was the offending code from the previous mod. I now get the benefit of your mod while only sacrificing the regional cell click sensitivity for the previous mod. The cell color still changes as I still wished it to. Brilliant mod!

Ahh.. there was another onclick event. Yea, that would definately bugger things up. Glad you figured it out, and thanks for posting the fix. I'm sure it will benefit someone else!

l3it3r 05-06-2007 03:40 PM

Did you receive my PM with the forumdisplay? The mod is still installed, and the + is still there, but not functioning. And there are still no other errors. .js are in place, etc.

magnus 05-06-2007 04:47 PM

Quote:

Originally Posted by l3it3r (Post 1242510)
Did you receive my PM with the forumdisplay? The mod is still installed, and the + is still there, but not functioning. And there are still no other errors. .js are in place, etc.

I replied to your PM on 05. May 2007 @ 19:12. I verified it was sent, as there's a copy in my Sent Items folder.

daloosaa 05-06-2007 09:47 PM

Works fine! You did a good job, magnus.

l3it3r 05-07-2007 01:19 AM

Quote:

Originally Posted by magnus (Post 1242545)
I replied to your PM on 05. May 2007 @ 19:12. I verified it was sent, as there's a copy in my Sent Items folder.

My apologies, I don't have the notifications setup for vbulletin.org

I set it to last post. It works. so you're right. I'll look into it further tomorrow as I have much to do right now.

thanks!

sensimilla 05-07-2007 08:24 AM

What if neither automated file edits or manual file edits dont work for me ?
Only default vbulletin template is working with it.. ?

TIA, great hack

magnus 05-07-2007 10:31 AM

Quote:

Originally Posted by sensimilla (Post 1242941)
What if neither automated file edits or manual file edits dont work for me ?
Only default vbulletin template is working with it.. ?

TIA, great hack

Be sure to copy the images included in the zip to you custom style's image directory.

dbembibre 05-08-2007 09:20 AM

work perfect in my forum, the only problem is that is incompatible with Plugin Based Template cache, because i need set off.

dbembibre 05-08-2007 09:58 AM

Quote:

Originally Posted by dbembibre (Post 1243544)
work perfect in my forum, the only problem is that is incompatible with Plugin Based Template cache, because i need set off.

I solver set to NO Enable Automatic template editing and make the template changes manually.

Good work, the mod is amazing :up: :D


All times are GMT. The time now is 04:37 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.03043 seconds
  • Memory Usage 1,744KB
  • 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_code_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