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 Home Enhancements - Latest X Threads on Forum Home (https://vborg.vbsupport.ru/showthread.php?t=159389)

Michael Biddle 10-02-2007 10:00 PM

Latest X Threads on Forum Home
 
Latest X Threads on Forum Index
by: whitemike
Demo: Here

What this does?

This will add the latest x posts onto your forum index

Features?
  1. Enable/Disable - Master Switch to Turn Latest Posts on or off
  2. Title - Change the title of the Site News
  3. Posts to Show - Number of Last Posts to show
  4. Cutoff Length - How many characters to show before the ... at the end
  5. Exclude Forums - Choose what forums you do not want to be listed
  6. Thread Title Width - Width of Title Table
  7. User Title Width - Width of User Table
  8. Forum Title Width - Width of Forum Table
  9. Auto Location - Enable/Disable auto location
  10. Location - Gives Options for Under navbar, above forum, or below forum
  11. Date & Time - Enable/Disable the time and date from being shown
Added?
  1. 2 Template
  2. 3 Plugins
  3. 11 Settings
  4. 29 Phrases
Installation?
  1. Import Product
Thats It!

Releases

1.1 - Fixed Moderated thread bug
1.0 - Initial release
Please Click Install if you use

For Latest X Posts on Forum Home CLICK HERE

Michael Biddle 10-03-2007 05:31 PM

Reserved

Fungsten 10-03-2007 06:08 PM

Installed. BTW, one note on this is make sure that if you exclude any forums that the last one is not followed by a comma. The forums will not show up.

Allan 10-03-2007 06:09 PM

Nice hack :)

It's possible to option for the news display in scrolls (bottom -> top) ?

projectego 10-03-2007 09:15 PM

/me clicks install

Brandon Sheley 10-04-2007 01:34 AM

/me clicks install

yoyoyoyo 10-04-2007 06:08 PM

thanks much - this is much more handy to me than the latest X posts, though I am sure that they both have their need. thanks again for sharing.

Dark Cynicus! 10-05-2007 12:19 AM

thanksssss

cihangir 10-17-2007 08:09 AM

is it possible to have this hack, for only one category (instead of excluding all other forums) using on any forum page?

for example, i would like to show the latest threads from category 1 (forumdisplay.php?f=1) on any xxx.php such as search.php.

Michael Biddle 10-17-2007 09:40 PM

In the Main Code plugin apart of my product, if you find:

PHP Code:

WHERE post.visible AND $latest_and AND $latest_and_1 

Replace it with

PHP Code:

WHERE forum.forumid 

You can then also remove the whole section between:

HTML Code:

// forum permissions

and
HTML Code:

// converts options to nice variables

sylar 10-21-2007 11:56 PM

I have been looking for something like this to get rid of the marque one as it sups up memory on IE.

sylar 10-22-2007 06:17 AM

Installed but cant get the forums that I dont want to show up to work. It is in posiiton 2 and I have used that and the name of the form and posts from there still show up.

Any ideas.

Michael Biddle 10-22-2007 01:56 PM

Did you add the forumid's to the Exclude option?

testebr 10-22-2007 10:26 PM

how many querys this addon adds the page?

Michael Biddle 10-23-2007 01:39 AM

1 query is added to forumhome

testebr 10-24-2007 05:39 AM

This is better (about server resource save) that use JS output from vb?

trigatch4 10-25-2007 10:58 PM

This is showing ABOVE all of my regular forms AND my sidebar. I want the "Most Recent XXX" threads to show as if it was the entire forum home, WITH the sidebar next to it.

PhoneiX 10-26-2007 12:47 PM

<font color="Red">~ Phoneix clicks install, and appreciates whitemike's work.</font>

bitHacker 10-27-2007 08:12 PM

This is a very nice mod, however I see that threads that are not approved seems to show up in the list :-(
any ideas how to fix that ?

Michael Biddle 10-28-2007 02:06 AM

Product Updated. Thanks for reporting.

bitHacker 10-28-2007 02:35 AM

Your welcome, thanks for the quick bug fix :-)

Criticize 10-29-2007 09:39 PM

Thanks for the hack :) Installed!

chrisdaman77 10-29-2007 10:33 PM

Very nice hack,,,,greatly appreciated:up:

AngelBlue 10-30-2007 09:12 AM

Uninstalled due to threads from private forums showing up in the recent threads list, and a quick glance of the admincp section suggests the mod doesn't have the ability to exclude specific forums.

Michael Biddle 10-30-2007 02:35 PM

and the forum permissions do not work?

Michael Biddle 10-30-2007 02:39 PM

I just doubled checked on two different sites, it is working i assure you.

firstrebel 10-30-2007 10:18 PM

Does not work if also have your LATEST x POSTS installed.

Bob

Criticize 11-01-2007 11:04 PM

I have added this to one of my templates in the sidebar and it looks great after I modified it. I am wondering how to get this to also show up in the forumdisplay as well?

I tried to edit the plugin and change forumhome_start to global_start and that got it to display, but it caused errors throughout my forum.

Please help me

Great hack!

Sandy-XXX 11-02-2007 11:09 PM

Thanks !

Criticize 11-05-2007 08:24 PM

Quote:

Originally Posted by Criticize (Post 1373839)
I have added this to one of my templates in the sidebar and it looks great after I modified it. I am wondering how to get this to also show up in the forumdisplay as well?

I tried to edit the plugin and change forumhome_start to global_start and that got it to display, but it caused errors throughout my forum.

Please help me

Great hack!

Whitemike can you please point me in the right direction with this?

Aeolian_X 11-19-2007 12:01 AM

In order to get this to work on my site, I had to change the Main plugin from forumhome_start to forumhome_complete.

kansei 12-03-2007 01:14 AM

Quote:

Originally Posted by Criticize (Post 1373839)
I have added this to one of my templates in the sidebar and it looks great after I modified it. I am wondering how to get this to also show up in the forumdisplay as well?

I tried to edit the plugin and change forumhome_start to global_start and that got it to display, but it caused errors throughout my forum.

Please help me

Great hack!

Criticize --how did you get it working in the sidebar? I'm trying to get it in my sidebar but can't actually get it to display

Teresa 12-20-2007 07:27 PM

I need to get this in my left column. Any specific help?

Michael Biddle 12-20-2007 09:23 PM

Well for 1, I only provide support for people that click install,
and 2, it will only working on the forumhome template.

shcchief 12-29-2007 06:10 AM

Great work mike,

How do I get the thread names to appear as the recent topics, when new posts are made in them?

I suppose in a way, I'm trying to combine the functionality of the latest posts and threads mods, into one mod.

Thanks mate.

heroia 01-03-2008 06:21 AM

I can only show the last threads, not to show columns with user and forum ?

Nikke 01-03-2008 02:21 PM

Is there any way to install two of these to get two boxes with different content? Help would be deeply appreciated!

ltd 01-05-2008 08:36 PM

Thread title cutoff does not work for me :(

OnyxChase 01-20-2008 09:39 PM

Quote:

Originally Posted by shcchief (Post 1411244)
Great work mike,

How do I get the thread names to appear as the recent topics, when new posts are made in them?

I suppose in a way, I'm trying to combine the functionality of the latest posts and threads mods, into one mod.

Thanks mate.

I have the same problem here.. It seems that they both use the same variables and I cannot for the life of me get both of them to work together. :(

I hope the coder can help us integrate both as I have the perfect place for it.. I will be waiting ......

Maybe change this one enough so that it doesn't interfere with the latest posts version..

OnyxChase 01-23-2008 07:07 AM

Ok guys, I got it working.

To get both the latest Posts and latest Threads to work together on the same forumhome page:

Go to Plugin Manager, and in the "Product : Latest X Threads on Forum Home" product, select the "Main Code" and edit.

Find all instances of $forumids

Replace with $forumids2

THEN ...

Find:
Code:

eval('$latest = "' . fetch_template('forumhome_latest_thread') . '";');
Replace with:
Code:

eval('$latestthreads = "' . fetch_template('forumhome_latest_thread') . '";');

Use $latestthreads in your forumhome template.

Both plugins were using the same variables thus causing a conflict!


All times are GMT. The time now is 06:28 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.02351 seconds
  • Memory Usage 1,810KB
  • 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
  • (2)bbcode_code_printable
  • (2)bbcode_html_printable
  • (2)bbcode_php_printable
  • (3)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (2)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