Go Back   vb.org Archive > vBulletin Modifications > Archive > vB.org Archives > vBulletin 3.6 > vBulletin 3.6 Add-ons
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools
Ajax Thread (1stPost) Preview 1.5 Gold Details »»
Ajax Thread (1stPost) Preview 1.5 Gold
Version: 1.5 Gold, by SkyCatcher SkyCatcher is offline
Developer Last Online: Mar 2013 Show Printable Version Email this Page

Category: Show Thread Enhancements - Version: 3.6.4 Rating:
Released: 02-03-2007 Last Update: Never Installs: 101
Uses Plugins Template Edits
Additional Files  
No support by the author.

I have abandoned this modification as I find myself lacking time to do any additional modifications to get it 100% stable.

I would highly recommend that you check out this hack by magnus, as this one seems to be 100% AND looks great. I fell in love with it so I am using it myself

The only thing it doesn't do is give you a preview of the attachments, so you're welcome to keep the attachments part of this hack and use it in conjunction with magnus' hack.

I may just rewrite the attachments part of this hack and re-release it as a standalone.


Here is the link to his modification:

Collapsable First Post using AJAX (or Last Post!)
https://vborg.vbsupport.ru/showthread.php?t=145187


-Sky-

Supporters / CoAuthors

Show Your Support

  • This modification may not be copied, reproduced or published elsewhere without author's permission.

Comments
  #92  
Old 02-10-2007, 08:12 PM
JohnBee JohnBee is offline
 
Join Date: Oct 2004
Posts: 544
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by SkyCatcher View Post
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?
Reply With Quote
  #93  
Old 02-10-2007, 08:15 PM
JohnBee JohnBee is offline
 
Join Date: Oct 2004
Posts: 544
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Okay it's working now. I had a permission issue with a few files on my server.
Thanks for your help
Reply With Quote
  #94  
Old 02-10-2007, 08:16 PM
SkyCatcher's Avatar
SkyCatcher SkyCatcher is offline
 
Join Date: Feb 2003
Location: Germany
Posts: 310
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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

How goes it lovelypk?
Reply With Quote
  #95  
Old 02-10-2007, 08:18 PM
JohnBee JohnBee is offline
 
Join Date: Oct 2004
Posts: 544
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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
Reply With Quote
  #96  
Old 02-10-2007, 08:31 PM
RMS-Chef RMS-Chef is offline
 
Join Date: Aug 2003
Location: MA, USA
Posts: 326
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by SkyCatcher View Post
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.
Reply With Quote
  #97  
Old 02-10-2007, 08:38 PM
SkyCatcher's Avatar
SkyCatcher SkyCatcher is offline
 
Join Date: Feb 2003
Location: Germany
Posts: 310
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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

https://vborg.vbsupport.ru/showpost....25&postcount=2
Reply With Quote
  #98  
Old 02-10-2007, 09:00 PM
RMS-Chef RMS-Chef is offline
 
Join Date: Aug 2003
Location: MA, USA
Posts: 326
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by SkyCatcher View Post
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>";
Reply With Quote
  #99  
Old 02-10-2007, 09:07 PM
RMS-Chef RMS-Chef is offline
 
Join Date: Aug 2003
Location: MA, USA
Posts: 326
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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.
Reply With Quote
  #100  
Old 02-10-2007, 09:08 PM
SkyCatcher's Avatar
SkyCatcher SkyCatcher is offline
 
Join Date: Feb 2003
Location: Germany
Posts: 310
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by RMS-Chef View Post
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.
Reply With Quote
  #101  
Old 02-10-2007, 09:11 PM
RMS-Chef RMS-Chef is offline
 
Join Date: Aug 2003
Location: MA, USA
Posts: 326
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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.
Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 03:37 AM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2024, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.04663 seconds
  • Memory Usage 2,321KB
  • Queries Executed 26 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (3)bbcode_code
  • (5)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (6)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (11)post_thanks_box
  • (11)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (11)post_thanks_postbit_info
  • (10)postbit
  • (11)postbit_onlinestatus
  • (11)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.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/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.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
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete