vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.8 Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=235)
-   -   Forum Home Enhancements - Cyb - Last Post Info Enhancements (https://vborg.vbsupport.ru/showthread.php?t=201300)

Valter 01-09-2009 10:00 PM

Cyb - Last Post Info Enhancements
 
1 Attachment(s)
Info:
This will enable you to show several latest posts for selected forums instead of standard last post info. Number of latest posts is set for each forum separately in Forum Manager. Be noted that this executes 1 new query on forumhome/forumdisplay per forum where you choose to show 2 or more latest posts. In combination with "Cyb - Sub-Forum Manager" this can really improve your forum listing look.


Installation:
-Import XML file (as product) through AdminCP: Plugin System > Manage Products > [Add/Import Product]


To set options:
Go to: vBulletin Options > Cyb - Last Post Info Enhancements


Versions:
v1.0 - Sep 01. 2007.
-Initial release
v1.1 - Sep 11. 2007.
-Fixed bug with last poster username linking
v1.2 - May 03. 2008.
-Compatible with vBulletin 3.7
v1.3 - May 27. 2009.
-Fixed bug: Redirects with the wrong links shown in thread list
-Fixed bug: Trying to display thread icon even when it's disabled
-New: Integration with 'Cyb - Advanced Permissions Based on Post Count'
-Minor bugs fixed


LIVE DEMO:
http://www.bihforum.com


Mark as INSTALLED to get updates and support.

valendono 01-13-2009 09:19 AM

Sorry, I use 3.8.0 gold edition.. but first time install its running good.. 2 or 3 minutes after that, my forum got freeze.. cannot open.. till I restart httpd and disable this hack / mod.

Valter 01-13-2009 02:55 PM

Try to not enable this in a lot of forums.

Every forum with last x posts enabled requires one more db query to be executed.

christicehurst 01-14-2009 06:09 AM

Where do you change the number of latest posts?

ss20 02-04-2009 08:13 PM

Cant find the 1st screenshot settings (number of posts)

Valter 02-05-2009 08:01 PM

It's in Forum Manager > Forum Options.

Theater 02-06-2009 07:16 AM

Installed, thank you for your continued excellence in vB mods.

sontran 02-07-2009 01:36 AM

I have a small issue here: when a thread do not have status icon, it still try to display an images in front of the thread and the result is the "x" icon for blank images.

sontran 02-13-2009 12:13 AM

Quote:

Originally Posted by sontran (Post 1736684)
I have a small issue here: when a thread do not have status icon, it still try to display an images in front of the thread and the result is the "x" icon for blank images.

Ok, I found a way to fix this. If Cybernetec can, please update in your code so it can help others


For those who installed the code to fix the bug that display "x" icon when there is no icon for a thread (appear in IE): just go to Style Manager, open cyb_lastpostinfo_bit find the code
HTML Code:

<if condition="$show['icon']"><img class="inlineimg" src="$icon[iconpath]" alt="$icon[title]" border="0" /></if>
And replace it with
HTML Code:

<if condition="$show['icon']"><if condition="$icon[iconpath]"><img class="inlineimg" src="$icon[iconpath]" alt="$icon[title]" border="0" /></if></if>

Cheers

edunetmy 04-03-2009 08:30 PM

this seems not work with vb3.8.2

Jorgemen 04-06-2009 07:45 PM

I installed the mode in vb3.8.2 but I cant see the first image of Screenshots section, and in my home page I see the last post.....any update for this mod?

Valter 04-06-2009 08:47 PM

Check Forum Manager for that options...

Hornstar 05-08-2009 11:19 PM

This works perfect! Thanks much for this. I am now using this instead of the split forum home hack.

Will you update this for vb4 when it comes out?

whitetigergrowl 05-09-2009 01:57 AM

Great as always! Thanks!

Makc666 05-25-2009 04:38 PM

1 Attachment(s)
<i>P.S. I already posted this one in 3.7 thread but didn't get any reply, so I decided to mention about this one here also.</i>

A bug was found here...

When you move a thread which is displaying now on forum home from one forum to another, then after move you will see in old forum the Thread with incorrect URL and incorrect URL for last post for that thread.

Best seen on screenshots I attached.

ricardoNJ 05-25-2009 05:49 PM

Quote:

Originally Posted by edunetmy (Post 1783290)
this seems not work with vb3.8.2

I agree. No work in vB3.8.2

Makc666 05-25-2009 06:57 PM

Quote:

Originally Posted by ricardoNJ (Post 1817007)
I agree. No work in vB3.8.2

This one works with 3.8.2 version.
If you don't have enough knowledge working with your custom templates, please, don't tell it doesn't work.

ricardoNJ 05-26-2009 05:39 AM

Quote:

Originally Posted by Makc666 (Post 1817073)
This one works with 3.8.2 version.
If you don't have enough knowledge working with your custom templates, please, don't tell it doesn't work.

That's right. Tell me how do that, please!

Makc666 05-26-2009 07:51 AM

Quote:

Originally Posted by ricardoNJ (Post 1817311)
That's right. Tell me how do that, please!

I checked the code, so I can say that it must work even on custom style.

Just in file in functions_forumlist.php you must have line:
PHP Code:

($hook vBulletinHook::fetch_hook('forumbit_display')) ? eval($hook) : false

But if you are using 3.8.2 you have it 100%.

So tell me now how did you setup this product and what and WHERE settings for it you made.
Step by step.

Also it will be nice to check if there is no other products on your forum which use (can use) hook "forumbit_display"
Code:

<hookname>forumbit_display</hookname>

ricardoNJ 05-26-2009 04:41 PM

I'm using another skin or style in my forum.

Well, I just did:

Quote:

-Import XML file (as product) through AdminCP: Plugin System > Manage Products > [Add/Import Product]
After that, I did not do anything about the "setup". And then I did not see the product in my forum.

Valter 05-26-2009 04:41 PM

Just go to Forum Manager and tell the product what you want it to do for you.

Hey add-on, I want you to show me X latest posts for category Y.

And magic will happen. Refreshed forum index will show you just what you have asked.

ricardoNJ 05-26-2009 05:10 PM

Quote:

Originally Posted by Cybernetec (Post 1817571)
Just go to Forum Manager and tell the product what you want it to do for you.

Hey add-on, I want you to show me X latest posts for category Y.

And magic will happen. Refreshed forum index will show you just what you have asked.

http://img15.imageshack.us/img15/6868/laspe.jpg
I have it like that......and then?

Valter 05-27-2009 07:59 AM

It's product options, not Forum Manager > Forum Options.

Makc666 05-27-2009 08:53 AM

Quote:

Originally Posted by Cybernetec (Post 1817944)
It's product options, not Forum Manager > Forum Options.

Cybernetec, tell me, please, that you have noticed this one bug:
https://vborg.vbsupport.ru/showthread.php?p=1816949
so I can sleep at night :P

Valter 05-27-2009 05:04 PM

v1.3 - May 27. 2009.
-Fixed bug: Redirects with the wrong links shown in thread list
-Fixed bug: Trying to display thread icon even when it's disabled
-New: Integration with 'Cyb - Advanced Permissions Based on Post Count'
-Minor bugs fixed

To upgrade:
-Import product XML, allow overwrite
-Revert product template if modified before

ricardoNJ 05-28-2009 04:03 AM

I can't see this: https://vborg.vbsupport.ru/attachmen...8&d=1231603088

ricardoNJ 05-28-2009 04:05 AM

Quote:

Originally Posted by Cybernetec (Post 1817944)
It's product options, not Forum Manager > Forum Options.

I got it..... ;)

ricardoNJ 05-28-2009 04:08 AM

A question: can I put this mod in the bottom of my forum? I think is better !!

Per example:

Tread: PRESENTATIONS: Post: Hey, Hello by anyuser

PRESENTATIONS: Hey, Hello by exempluser
PRESENTATIONS: Hey, Hello by anyuser
PRESENTATIONS: Hey, Hello by exempluser
MOD CHANNEL: Any Help? by xxuser
MOD CHANNEL: Any Help? by Cloon
PRESENTATIONS: What'sup by Userwww

Something like that, in "stair"!

I Think that this is "obviously" necessary to have this kind of mod!

ricardoNJ 05-28-2009 02:58 PM

<a href="https://vborg.vbsupport.ru/showthread.php?p=1818815#post1818815" target="_blank">https://vborg.vbsupport.ru/showt...15#post1818815</a>

PGAmerica 05-29-2009 03:40 PM

1 Attachment(s)
I am having a problem with the "last post" icon, but only on threads with multiple pages.

When I am on my main forum page and click on the "Go to last post" icon, it takes me to the first post in a thread and then after a 5 or so second delay, it takes me to the last post.

This happens when I search for the thread as well.

Is there a way to make it just take me to the last post without the delay?

Valter 05-29-2009 04:34 PM

It happens with or without this mod.

Scrolling to desired post is done after some page elements are loaded.

Depending on server speed start of the thread may be shown for some time...

PGAmerica 05-29-2009 04:49 PM

But when I go into the specific forum, this does not happen.

For example, when I am on the main forum page, the link to that last post is as follows:

Code:

http://myforums.com/4136-women-mentoring-women.html#post384065
However, when I go into the forum itself, the link to that last post is now this:

Code:

http://myforums.com/4136-women-mentoring-women-11.html#post384065
As you can see, the 2nd link actually refers to the page #. Is there any way to make it do it on the primary forum listing too?

Valter 05-29-2009 05:32 PM

I don't know how it works with seo tools, but original links leads to the same in both, index and forumdisplay:
FORUM/showthread.php?p=581418#post581418

PGAmerica 05-29-2009 05:44 PM

Well, let me turn off SEO and I will test that theory. BRB

PGAmerica 05-29-2009 05:54 PM

Hmmm, it seems you are right. My problem is NOT connected to this mod.

Thanks for helping me iron this out.

Makc666 05-29-2009 06:06 PM

Quote:

Originally Posted by Cybernetec (Post 1818236)
v1.3 - May 27. 2009.

Thanks!
:up:
Very much appreciated!

ulitka 06-05-2009 08:34 PM

1 Attachment(s)
Quote:

Originally Posted by ricardoNJ (Post 1817007)
I agree. No work in vB3.8.2


see my screenshots... I have no luck to get the mod settings in the bottom of Forum manager -> Edit forum...

Reeve of shinra 06-05-2009 09:29 PM

I've been wanting a mod like this for a very long time! I am looking forward to installing it and trying it out!!

Trip3151 07-13-2009 08:32 AM

All is good :) thanks for the mod

lange 07-16-2009 07:01 PM

How to trim the lastposter entry ?

I would like to only show the first 15 characters of the lastposter entry. Could anyone tell me how I can achieve that? thank you.


All times are GMT. The time now is 04:54 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.02368 seconds
  • Memory Usage 1,828KB
  • 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
  • (2)bbcode_html_printable
  • (1)bbcode_php_printable
  • (11)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (1)pagenav_pagelink
  • (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