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 Posts on Forum Home (https://vborg.vbsupport.ru/showthread.php?t=142759)

DieselMinded 05-06-2007 11:42 PM

There is No Plugin Forumhome_latest Theres a template and your text isnt in there ,,,, In the plug in there Forumhome_start and the code you mentioned is in there but when i remove it i get eoors , I added $latest under whats going on its showing great but i cant get rid of the one below my nav bar .......

www.dieselbombers.com

DieselMinded 05-06-2007 11:56 PM

When I remove .... (from Forumhome_start In plugin)

Quote:

//adds location to forumhome template
$vbulletin->templatecache['FORUMHOME'] = str_replace(
'$navbar',
'$navbar $latest',
$vbulletin->templatecache['FORUMHOME']
);
}
I Get
Quote:

Parse error: syntax error, unexpected ')' in /data/9/1/38/132/1201621/user/1280413/htdocs/index.php(63) : eval()'d code on line 122

DieselMinded 05-07-2007 01:08 AM

OK I fixed this ..... Add
PHP Code:

$latest 

on a template where you want it then in Plugins Forumhome_start change ...

PHP Code:

//adds location to forumhome template
$vbulletin->templatecache['FORUMHOME'] = str_replace(
'$navbar',
'$navbar $latest',
$vbulletin->templatecache['FORUMHOME']
);


to

PHP Code:

//adds location to forumhome template
$vbulletin->templatecache['FORUMHOME'] = str_replace(
'$latest',
'$latest',
$vbulletin->templatecache['FORUMHOME']
);



Philipaclayton 05-07-2007 10:44 AM

installed. super mod

Michael Biddle 05-09-2007 03:12 AM

Quote:

Originally Posted by DiesellMinded (Post 1242798)
OK I fixed this ..... Add
PHP Code:

$latest 

on a template where you want it then in Plugins Forumhome_start change ...

PHP Code:

//adds location to forumhome template
$vbulletin->templatecache['FORUMHOME'] = str_replace(
'$navbar',
'$navbar $latest',
$vbulletin->templatecache['FORUMHOME']
);


to

PHP Code:

//adds location to forumhome template
$vbulletin->templatecache['FORUMHOME'] = str_replace(
'$latest',
'$latest',
$vbulletin->templatecache['FORUMHOME']
);



Well you could just remove that part, its worthless to replace $latest with $latest

Quote:

Originally Posted by Philipaclayton (Post 1242979)
installed. super mod

Thanks

UPDATE:

Now works on forum permissions

belceb 05-09-2007 01:35 PM

hello, exelent work.


and... so that this I modulate appears in the part of under the forum?:)

Michael Biddle 05-10-2007 06:18 PM

Quote:

Originally Posted by belceb (Post 1244350)
hello, exelent work.


and... so that this I modulate appears in the part of under the forum?:)

It appears under the navbar

Michael Biddle 05-11-2007 03:38 AM

Ok Product Updated:

Since some of you guys were having trouble with the custom locations etc.

I set it up to enable/disable automatic location, and automatic 3 locations

inciarco 05-12-2007 01:02 PM

Magnific Add-On!! :up:

Works Ok With vBulletin 3.6.6!! :up:

:)

The D 05-14-2007 09:34 PM

Everytime I try to install it, I get this:

The following dependencies were not met:

1. The product latest_posts_versioncheck must be installed before this product may be installed.

I'm fairly new to this software, so maybe I'm missing something. Help please!

Sushubh 05-15-2007 12:13 AM

i get the same error on 3.6.6

Michael Biddle 05-15-2007 02:44 AM

Sorry try now

Sushubh 05-15-2007 03:01 AM

works now. thanks. :)

The D 05-15-2007 06:08 PM

Works great, thanks!

powerspike 05-18-2007 02:15 AM

The following dependencies were not met:
  1. The product latest_productid must be installed before this product may be installed. (Compatible starting with 1.8)
I just tryed installing this and got the above error message - done a search on the forums here and couldn't find "lastest_productid"

Michael Biddle 05-18-2007 03:36 AM

Sorry, its fixed try again

Pavel2005 05-20-2007 02:11 PM

Doubles are created. The communications of below forum in what there
can it did be the matter?

http://www.forumhouse.ru/

Braders 05-20-2007 03:04 PM

Cheers whitemike, installed.

I'm relatively new to all this and was wondering how I would change the default title from 'Latest 5 posts' to something else?

Browsed through the 'forumhome_latest' and 'forumhome_latest_bit' templates, didn't see anything I should edit.

I'm sure the answer is staring me straight in the face. ;)

Cheers.

Lee

Michael Biddle 05-20-2007 04:25 PM

Quote:

Originally Posted by Pavel2005 (Post 1251430)
Doubles are created. The communications of below forum in what there
can it did be the matter?

http://www.forumhouse.ru/

I just viewed that website. I am not russian so i cannot understand anything on it. Do u mean 2 tables are created, or 2 of the same posts in that 1 table are created?

Quote:

Originally Posted by Braders (Post 1251457)
Cheers whitemike, installed.

I'm relatively new to all this and was wondering how I would change the default title from 'Latest 5 posts' to something else?

Browsed through the 'forumhome_latest' and 'forumhome_latest_bit' templates, didn't see anything I should edit.

I'm sure the answer is staring me straight in the face. ;)

Cheers.

Lee

Ok it that line is phrased. What it does it it is "Latest X Posts" and however many it pulls then it changes X to that number. If you really want to change it search for the phrase: latest_posts

Hope this Helps

everydayforums 05-20-2007 07:10 PM

Installed fine but it's not showing up on my forums, any idea why? Checked all my options etc..

Michael Biddle 05-20-2007 08:58 PM

So you enabled?

everydayforums 05-20-2007 11:01 PM

Yep I got it, for some reason I had it under navbar and it didnt show but when I chose top of forums it showed, even under the navbar :)

Michael Biddle 05-22-2007 12:38 AM

then add $latest somewhere

Javi_gray 05-28-2007 08:20 AM

Great mod, but how do I navigate to the admin part of this I don't see it anywhere in the vb backend.

Javi_gray 05-28-2007 08:30 AM

nevermind, dumb question

Jay-MOB 05-28-2007 10:46 AM

I am sorry if someone might have already asked this, but are you able to put this hack onto the homepage e.g. in a cms manager, and instead of having all the posts in a row with all the information, that you have all the information in a sidecolumn where one block of it represents one post. e.g. the name of the post, the most recent poster and the time.

Is that possible or is there any other hack for that?

Michael Biddle 05-28-2007 03:45 PM

Quote:

Originally Posted by Jay-MOB (Post 1256096)
I am sorry if someone might have already asked this, but are you able to put this hack onto the homepage e.g. in a cms manager, and instead of having all the posts in a row with all the information, that you have all the information in a sidecolumn where one block of it represents one post. e.g. the name of the post, the most recent poster and the time.

Is that possible or is there any other hack for that?

As of this point in time, no you cannot place anywhere but on the forumhome.

rgpayne 05-30-2007 04:43 AM

OK complete newbie try to get this to work I manage product and installed it but where do I configure it at

Please forgive I am just leanring about VB and the mods

Michael Biddle 05-30-2007 05:10 AM

AdminCP -> vBulletin Options -> Latest X Posts

rgpayne 05-30-2007 05:14 AM

thanks

carphead 05-30-2007 06:49 AM

Excellent Mod.

Is it possible to have a include only version? So that only x forums are included. At the moment I've excluded about 120 forums just so I can display the posts from one forum (announcements).

Works very well as it is. Thanks.

Michael Biddle 05-30-2007 05:16 PM

Quote:

Originally Posted by carphead (Post 1257403)
Excellent Mod.

Is it possible to have a include only version? So that only x forums are included. At the moment I've excluded about 120 forums just so I can display the posts from one forum (announcements).

Works very well as it is. Thanks.

Then the older version would have worked well for you... :(

Ill see if i can write it back up for you tonight some time

thompson 07-28-2007 02:59 PM

is there a chance to get it on threats instead of posts ?

adsense-id 08-05-2007 03:38 PM

Can I removed .... when I set cut off to zero?

tg__ 08-06-2007 01:57 PM

I installed in my forum version 3.6.8 and it doesn't works :confused:

Fungsten 08-06-2007 08:41 PM

Quote:

Originally Posted by tg__ (Post 1311175)
I installed in my forum version 3.6.8 and it doesn't works :confused:

I just installed it on 3.6.8 and it worked.

richTV 08-06-2007 09:13 PM

Quote:

Originally Posted by whitemike (Post 1213720)
Well I could make Latest Threads, its just a matter of changing the post table to the thread table

Hi.

I'd be interested in this as well. My website has a Movie and Pic section that gets so much traffic that we had to set up those 2 forums such that it would keep the newer threads on top thus keeping older threads under it even if replies were made to older threads. When we didn't have this set, newer threads could be pushed back many pages quickly. I'd prefer the default setting so if newer threads could be outputed in this mod, this would be great! :)

**clicks install for later use**

raiderlax 08-07-2007 12:34 AM

How do you put it in a sidebar? I put the $latest on my sidebar and it doesn't show up???

How to fix?

raiderlax 08-10-2007 01:48 AM

bump

Michael Biddle 08-10-2007 01:51 AM

it will only work on forumhome


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

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.01459 seconds
  • Memory Usage 1,827KB
  • 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
  • (6)bbcode_php_printable
  • (11)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)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