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
  #12  
Old 02-04-2007, 09:02 PM
DasCool DasCool is offline
 
Join Date: Jan 2007
Posts: 45
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

here is what i mean
Reply With Quote
  #13  
Old 02-04-2007, 09:25 PM
blogtorank's Avatar
blogtorank blogtorank is offline
 
Join Date: Jan 2006
Posts: 450
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Perfect.......... However, you should put in there Import product in the install.txt file to be more exact but overall perfect hack for the "Thread Preview" (Pitchfork Paul)
Reply With Quote
  #14  
Old 02-04-2007, 10:07 PM
SkyCatcher's Avatar
SkyCatcher SkyCatcher is offline
 
Join Date: Feb 2003
Location: Germany
Posts: 310
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by DasCool View Post
i am finding a couple of things, i really don't know how to fix it. For some reason i want the Preview to pop up in the middle. However it actually opens all the way to the right and i have to scroll over. I dont know if this is a bug but The time is abit off too. Some times i will get the full 8 seconds and sometimes i will only get a sec of preview. Also, it seems to be Transparent like when i select it if there is a forum name under it then it gets mixed in with the writing

I'm not sure what is happening there I can't seem to emulate the problem on any of my forums and I've double checked to make sure, and none of the windows are transparent.

The time thing can get screwy if the script loads too many times, too quickly. Then you can simply refresh the page and the timer should work again.

Like I said, JS... doesn't always want to do what I want to do :/

About the positioning, it's always going to display to the right and a little below the thread. If I include a css file you "may" be able to position it in the center of the screen, but I'm not positive on this yet so I'll play with it over the next couple of days.
Reply With Quote
  #15  
Old 02-04-2007, 10:16 PM
marcsmith73 marcsmith73 is offline
 
Join Date: Dec 2006
Posts: 40
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

It is haveing a problem reading any thread with Polls in them.
Reply With Quote
  #16  
Old 02-04-2007, 10:21 PM
SkyCatcher's Avatar
SkyCatcher SkyCatcher is offline
 
Join Date: Feb 2003
Location: Germany
Posts: 310
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by marcsmith73 View Post
It is haveing a problem reading any thread with Polls in them.
Mine looks like this ...
Reply With Quote
  #17  
Old 02-04-2007, 10:54 PM
DasCool DasCool is offline
 
Join Date: Jan 2007
Posts: 45
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by SkyCatcher View Post
I'm not sure what is happening there I can't seem to emulate the problem on any of my forums and I've double checked to make sure, and none of the windows are transparent.

The time thing can get screwy if the script loads too many times, too quickly. Then you can simply refresh the page and the timer should work again.

Like I said, JS... doesn't always want to do what I want to do :/

About the positioning, it's always going to display to the right and a little below the thread. If I include a css file you "may" be able to position it in the center of the screen, but I'm not positive on this yet so I'll play with it over the next couple of days.
i dont know if u saw the pic i attatched, it aint really transparent. You can just see any buttons below. Ya i would def like it alot if it could open up in the center instead of to the right. I like it so far though
Reply With Quote
  #18  
Old 02-04-2007, 11:46 PM
sait.dogan's Avatar
sait.dogan sait.dogan is offline
 
Join Date: Dec 2006
Location: Turkey
Posts: 16
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default


This looks awesome. Thanks, SkyCatcher!
Reply With Quote
  #19  
Old 02-05-2007, 12:40 AM
SCRIPT3R SCRIPT3R is offline
 
Join Date: Jan 2005
Posts: 1,303
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

any thoughts on these suggestions?
Quote:
Originally Posted by GearTripper View Post
suggestions...
  • limit preview to Message BODY only in effort to conserve bandwidth as much as possible.
  • resizeable (AdminCP defineable) popup preview.
  • insert space prior to and edit text "Loading content preview, please wait..."
Reply With Quote
  #20  
Old 02-05-2007, 01:00 AM
Mr Chad's Avatar
Mr Chad Mr Chad is offline
 
Join Date: Jul 2005
Posts: 911
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

some reason it loads the whole thread:

http://beasttoast.com/forum/f13/
Reply With Quote
  #21  
Old 02-05-2007, 01:58 AM
SkyCatcher's Avatar
SkyCatcher SkyCatcher is offline
 
Join Date: Feb 2003
Location: Germany
Posts: 310
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by GearTripper View Post
any thoughts on these suggestions?
Edit ajax_postpreview-dynamic-content.js and edit the text:
document.getElementById(divId).innerHTML = 'Loading content - please wait';

As far as the other two go, probably not, but I am leaning towards a possible css although it's going to change the look and feel of the hack. It's 4:55am in Germany so let me get some sleep first



Quote:
Originally Posted by Mr Chad View Post
some reason it loads the whole thread:

http://beasttoast.com/forum/f13/
You're using some kind of redirect modification. It's not going to work because this hack is telling it to use showthread_ajax.php for the preview but it's instead, being redirected to showthread.php, essentially showing you a popup of showthread with all the posts.

I don't think there's any workaround for this unless you can somehow exclude a url or file from redirecting :/

Which hack are you using for redirects? I'll take a look but I'm 99% sure it won't work.
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 02:04 PM.


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.04792 seconds
  • Memory Usage 2,317KB
  • 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
  • (6)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
  • (3)pagenav_pagelink
  • (1)pagenav_pagelinkrel
  • (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