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)

rjmjr69 04-18-2007 09:07 PM

Quote:

Originally Posted by magnus (Post 1230795)
This should be an easy fix. I'll add it to the list.


Hrm. That looks like a template editing typo in threadbit, IMHO. This hack doesn't modify thread titles (or prefixes) -- if you recall, all that was done was the adding of an <img /> tag.

If you've checked and can't find any typos, copy and paste your threadbit template into a .txt file so I can take a look at it.

Thank you for fixing this issue.
. I love this hack I can't tell you enough times This thing ROCKS.... I wish I could vote more than once for MOTM.................

Alien 04-18-2007 09:31 PM

Very nice job on this.. Thanks!

/me nominates.

rjmjr69 04-18-2007 09:49 PM

Thanks for the support the problem was found and fixed in minutes By MAGNUS... Your the man thank you very much............. Great work

Cybertims 04-18-2007 09:51 PM

can it be set to show last post instead of first post? cheers

rjmjr69 04-18-2007 09:54 PM

Quote:

Originally Posted by Cybertims (Post 1230834)
can it be set to show last post instead of first post? cheers

Better yet how about FIRST AND LAST? That would be the coolest

magnus 04-18-2007 10:10 PM

Yea, it could be set to lastpost pretty easily. In fact, I'll make it a toggle for the next release.

In the meantime, simply edit the threadbit template and replace all instances of $thread[firstpostid] with $thread[lastpostid] -- that'll do it. :P

rjmjr69 04-18-2007 11:19 PM

So would it be possible to display both? The first and last post? That would make it real easy to check out a post....... IMO

rjmjr69 04-18-2007 11:48 PM

Quote:

Originally Posted by magnus (Post 1230842)
Yea, it could be set to lastpost pretty easily. In fact, I'll make it a toggle for the next release.

In the meantime, simply edit the threadbit template and replace all instances of $thread[firstpostid] with $thread[lastpostid] -- that'll do it. :P


I have three instances of this in my template one being at the very top of the template should I also change that one?

Bad Bunny 04-19-2007 02:40 AM

Looks awesome! Good work.

apdcanari 04-19-2007 03:57 AM

Hello,

3.5 please ?

Good hack :up:

Thanks,

C?dric ;)

Get Shorty 04-19-2007 03:59 AM

Awesome. I'll be keeping an eye on this and installing after it has more testing. :)

dbirosel 04-19-2007 04:57 AM

How does this perform query wise? Will this add heavy load to my server? How many queries does it add?

VaaKo 04-19-2007 07:29 AM

I did everything as you instructed but still I can't see the plus sign in forumdisplay.

VaaKo 04-19-2007 08:24 AM

Nevermind, it worked!

/me clicks install!

taxick 04-19-2007 08:28 AM

This Hack rocks :)

Thx - This is the best hack for long time :)

Installed

Nominate for MOTM

TheMilkCarton 04-19-2007 09:04 AM

Works great!!

Should definitely be Nominated for MOTM. :)

I'm guessing there are no options to configure? I would like to see a "Forum Exclude" in the future, so that you could block certain forums from using this. The First/Last post toggle also sounds like a good idea.. or maybe somehow display +/- toggles for both? :) I guess that could be really server intensive though..

Since this is in Beta I'll try my best to test it out. I haven't had any problems yet.

magnus 04-19-2007 10:25 AM

Quote:

Originally Posted by dbirosel (Post 1231005)
How does this perform query wise? Will this add heavy load to my server? How many queries does it add?

It doesn't "add" any queries. The only queries are when someone clicks to expand thread, the same query that is run if someone was to click the thread anyway.

Quote:

Originally Posted by TheMilkCarton
Works great!!

Should definitely be Nominated for MOTM.

I'm guessing there are no options to configure? I would like to see a "Forum Exclude" in the future, so that you could block certain forums from using this. The First/Last post toggle also sounds like a good idea.. or maybe somehow display +/- toggles for both? I guess that could be really server intensive though..

Since this is in Beta I'll try my best to test it out. I haven't had any problems yet.

I like the idea of an exclusion list, I'll add that. Thanks. :)

Also, it's not really in Beta. I always enable "Beta status" for my hacks, because I'm always tinkering. Once I stop updating the modifications, I remove the Beta status. :)

magnus 04-19-2007 12:36 PM

Update:
1.2.0
  • New AdminCP configuration options:
    • Ability to select first or last post to be displayed.
    • Ability to disable on a per forum basis.
    • Option to update thread views when expanded.
    • Option to disable automatic template editing with a single click.
  • Tweaked a couple plugins to prevent unnecessary checking.

[hr]-[/hr]
Template edits have changed! If you're not using automatic template edits, please review the changes in this post.

DO NOT DISABLE TEMPLATE EDITING BY DISABLING PLUGINS! THIS METHOD IS NO LONGER EFFECTIVE! USE THE NEW ADMINCP OPTION!


Otherwise, just import and overwrite as usual.

magnus 04-19-2007 01:09 PM

Quote:

Originally Posted by yuu911 (Post 1231217)
only thread message version (1.2.0) :)

?? Huh?

dbirosel 04-19-2007 01:31 PM

Quote:

Originally Posted by magnus (Post 1231224)
?? Huh?

I'm assuming he has removed the avatar, title and signature and only provided the post message when someone expands.

magnus 04-19-2007 01:42 PM

Ah. :p

Lionel 04-19-2007 02:59 PM

Can it also update the number of unread posts for user once you click on it?

dbirosel 04-19-2007 05:30 PM

Quote:

Originally Posted by Lionel (Post 1231288)
Can it also update the number of unread posts for user once you click on it?

I think i see what your saying here. Since you viewed the thread, it shouldn't be seen in the "New Posts" area right?

Lionel 04-19-2007 05:31 PM

Quote:

Originally Posted by dbirosel (Post 1231361)
I think i see what your saying here. Since you viewed the thread, it shouldn't be seen in the "New Posts" area right?

That's correct.

Strike3ForumsMH 04-19-2007 05:47 PM

Very cool hack here. One question though and I apologize if this has been addressed, but is there anyway for it to call for the style's postbit when displaying the first or last post? Or if not that, where could I go to modify what it displays by default?

Thanks for the release magnus.

magnus 04-19-2007 05:55 PM

Quote:

Originally Posted by Strike3ForumsMH (Post 1231372)
Very cool hack here. One question though and I apologize if this has been addressed, but is there anyway for it to call for the style's postbit when displaying the first or last post? Or if not that, where could I go to modify what it displays by default?

Thanks for the release magnus.

Edit the template vbpost_postbit to look however you like.

anywares 04-19-2007 06:03 PM

Truly a work of art

Quote:

[read: shamelessly rip]
LOL!!

*Clicked install

ragtek 04-19-2007 06:34 PM

it would be very nice if i could have the first AND the last posting:)

magnus 04-19-2007 06:39 PM

Quote:

Originally Posted by ragtek (Post 1231406)
it would be very nice if i could have the first AND the last posting:)

it wouldn't be impossible, but how would you like it displayed?

ragtek 04-19-2007 06:48 PM

hmm one icon with a 1(first:D ) and the + maybe?

apdcanari 04-19-2007 07:10 PM

3.5 please :confused:

YLP1 04-19-2007 08:15 PM

This may be a dumb question but if you have a protected forum (for say admins only), does this mod use the forum's permissions or could someone who would not have permission to see a forum or view topics within a forum be able to use this mod to view posts in hidden or protected forum?

Thanks in advance.

aggiefan 04-19-2007 08:43 PM

i really like this mod and dont know if its possible to do this or not but i think it would be even more useful if a basic quick reply was added in so you dont even have to click on the thread to respond.

dbirosel 04-19-2007 08:53 PM

Here's a demo. woot!


http://www.caraudiojunkyard.com/foru...introductions/

dbirosel 04-19-2007 09:16 PM

Suggestion: In some way, have a button or link that says Reply?

YLP1 04-19-2007 09:29 PM

I was thinking this wasn't working but realized that it appears on the forum display and not on the index (forum list page). I mean DUH! I can be ditz sometimes.

I never use the forumdisplay to look at posts, I always click on the last post icon on the index page. Is there a way to add this nifty feature to the forum list page?

Thanks in advance.

dbirosel 04-19-2007 09:31 PM

Quote:

Originally Posted by YLP1 (Post 1231508)
I was thinking this wasn't working but realized that it appears on the forum display and not on the index (forum list page). I mean DUH! I can be ditz sometimes.

I never use the forumdisplay to look at posts, I always click on the last post icon on the index page. Is there a way to add this nifty feature to the forum list page?

Thanks in advance.

That would be sweet to have this mod on the forumhome. Where when they click the expand, it will show the latest 5 threads?

YLP1 04-19-2007 09:35 PM

Quote:

Originally Posted by dbirosel (Post 1231509)
That would be sweet to have this mod on the forumhome. Where when they click the expand, it will show the latest 5 threads?

Oh yessssss indeed! I have been looking for a mod to display like the last 5 or 6 threads! This is definitely on my wish list!!! I could see this mod easily taking the MOTM!


One other question, how do I change the font style of the expanded post to use the small font style as designated by the style?

magnus 04-19-2007 11:00 PM

You can define how the posts looks, add a reply button and the like simply by editing the vbpost_postbit template.

dbirosel 04-19-2007 11:39 PM

Quote:

Originally Posted by magnus (Post 1231565)
You can define how the posts looks, add a reply button and the like simply by editing the vbpost_postbit template.

Yea thanks, but some of us here don't know much about coding or designing. It would be great if you can have that as a new addition. At least a reply button or link, that will quote there message.


All times are GMT. The time now is 12:53 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.04831 seconds
  • Memory Usage 1,823KB
  • 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
  • (15)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (1)pagenav_pagelinkrel
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (40)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