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)

JohnBee 02-10-2007 08:12 PM

Quote:

Originally Posted by SkyCatcher (Post 1179380)
bah! I meant FORUMDISPLAY, sorry :(

Okay thanks for the correction. - I think I found the error :)

Find: (DO THIS TWO TIMES IN THE TEMPLATE)


Darned ADHD!

Icons: True
Not in Excluded Group: True
Mod Enabled: True
Forum Not Excluded: True

It looks like something is working now, whenever I hover over the down arrow, I get a message:

Quote:

NOT FOUND!

The requested document cannot be found on this server
Web Server at myforums.net
Any ideas?

JohnBee 02-10-2007 08:15 PM

Okay it's working now. I had a permission issue with a few files on my server.
Thanks for your help :)

SkyCatcher 02-10-2007 08:16 PM

ok cool. 1 down, 1 to go...

How goes it lovelypk?

JohnBee 02-10-2007 08:18 PM

I really like this hack!
Things I would love to see...

1) Preview option from post title hover.
2) Quick reply to post click option.
3) Close on click anywheres away from window.
4) Previous / Next post (if available) < a guy can dream can't he ;)

Great work

RMS-Chef 02-10-2007 08:31 PM

Quote:

Originally Posted by SkyCatcher (Post 1179337)
You can define a set height and width here (in the JS file)

Code:

//if(params['height']) {ibox.style.height = params['height']+'px';}
                    //else {ibox.style.height = '380px';}
                    ibox.style.height = '380px';
 
                    //if(params['width']) {ibox.style.width = params['width']+'px';}
                    //else {ibox.style.width = '800px';}

Just change to
Code:

//if(params['height']) {ibox.style.height = params['height']+'px';}
                    //else {ibox.style.height = '380px';}
                    ibox.style.height = '480px';
 
                    //if(params['width']) {ibox.style.width = params['width']+'px';}
                    //else {ibox.style.width = '800px';}

Adding a set height to 480 in the example above. A scrollbar will show for the up/down scrolling if the post is taller than that.



Oh sorry, and also set:

height:45%;

in the CSS file for ibox_content

Thanks, overall that helps with the usability in my situation.

SkyCatcher 02-10-2007 08:38 PM

Mini-FAQ for common questions created to alleviate some of the questions from the start.

https://vborg.vbsupport.ru/showpost....25&postcount=2

RMS-Chef 02-10-2007 09:00 PM

Quote:

Originally Posted by SkyCatcher (Post 1179415)
Mini-FAQ for common questions created to alleviate some of the questions from the start.

https://vborg.vbsupport.ru/showpost....25&postcount=2

I also made the close preview link a button image instead with this alteration (see red text):
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);\" ><img src=\"images/buttons/preview_close.gif\" border=\"0\"></a></div>";
 strHTML +=  "<div id=\"ibox_footer\">&nbsp;</div></div></div></div>";


RMS-Chef 02-10-2007 09:07 PM

Still having the colspan issue with soft-deleted threads (only staff can see it so it's not a huge issue right now).

There is also a minor colspan issue when there is an active Announcement in the forum.

SkyCatcher 02-10-2007 09:08 PM

Quote:

Originally Posted by RMS-Chef (Post 1179425)
I also made the close preview link a button image instead with this alteration (see red text):

Awesome. Thank you very much for this. It's been added to the Faq



EDIT: Yeah, I'll have to go through a few pages to fix that. They don't use numbers like ="2" anymore.. instead they use a variable $threadcolumnspan or something like that so I'll have to track that down or add a plugin to increase it by 1. I'll be working on this again starting next week when I don't have to work every day.

RMS-Chef 02-10-2007 09:11 PM

NP, not being a coder I do not know how difficult it would be but it would be awesome if allowed usergroups could set this ON/OFF on a per user basis.

And take your time. It is quite functional as is and a terrific idea.
Get your PayPal info setup here and I will toss you a few bucks. ;)


All times are GMT. The time now is 12:56 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.01301 seconds
  • Memory Usage 1,745KB
  • 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_code_printable
  • (5)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (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