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)

Dusty1609 11-01-2007 07:53 PM

All working now. Excellent Mod

Many Thanks
Jon

raubin 11-17-2007 11:25 AM

Excellent little gadget and easy to install - thanks white mike :D

mc0676 11-17-2007 01:21 PM

He people !
I've installed this mod but don't run.
After import ... i need to insert this code $latest where i want ?

mc0676 11-17-2007 01:44 PM

Quote:

Originally Posted by mc0676 (Post 1384364)
He people !
I've installed this mod but don't run.
After import ... i need to insert this code $latest where i want ?

OK, i reinstall it and now it runs !

Very good, thanks Whitemike.

Only a request.

Can modify the layout in this way:
- height fixed in xxx pixel;
- marquee so i can see for example 100 last post ?

Thanks !

mc0676 11-17-2007 01:57 PM

OK, simple i modify it in this way.

--

<table width="100%" cellpadding="0" cellspacing="0" border="1" bordercolor="#3399FF">
<tr>
<td class="tcat" colspan="3">$vboptions[latest_title_name]</td>
</tr>
<tr>
<td align="left">
<div style="height:220px;overflow: auto; border:0px solid black; background:#EFEFEF">
<table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="100%" align="center">
<thead>
<tr>
<td class="thead" width="$vboptions[latest_post_width]">
<phrase 1="$vboptions[latest_number]">$vbphrase[latest_posts]</phrase>
</td>
<td class="thead" width="$vboptions[latest_forum_width]">
$vbphrase[latest_forum]
</td>
<td class="thead" width="$vboptions[latest_user_width]">
<a style="float:$stylevar[right]" href="#top" onclick="return toggle_collapse('forumhome_latest')"><img id="collapseimg_forumhome_latest" src="$stylevar[imgdir_button]/collapse_thead$vbcollapse[collapseimg_forumhome_latest].gif" alt="" border="0" /></a>
$vbphrase[latest_author]
</td>
</tr>
</thead>
<tbody id="collapseobj_forumhome_latest" style="$vbcollapse[collapseobj_forumhome_latest]">
$latest_post_bits
</tbody>
</table>
</div>
</td>
</tr>
</table>
<br />

---

www.vwgolfcommunity.com/vbulletin

to see the result

mr moose 11-19-2007 08:26 AM

i have a very strange problem for you.

i have 4 themes installed to my board out of which i only use 1 main theme and this mod works faultlessly on it ( even after upgrading to 2.0)

now im in the process of changing to a brand new theme and getting all my mods to work with it BUT

this mod wont show up on it in any place whatsoever even though i have the auto setting on there so now im totally confused as to why cany you pleeeeeeeeeese help me ?

xcingix 11-19-2007 09:00 PM

Is there any way for doing this for top posters and or latest posts?
Code:

<span class="smallfont"><script type="text/javascript" src="http://www.ny-dev.com/forums/external.php?type=js"></script>
    <script language="" type="text/javascript">
<!--
for (i = 0; i < 10; i++)
{
document.writeln("<a href=\"http://www.ny-dev.com/forums/showthread.php?threadid="+threads[i].threadid+"\">"+threads[i].title+"</a><br /> <hr />");
}
//-->
</script></span>


Michael Biddle 11-20-2007 04:47 AM

Quote:

Originally Posted by mr moose (Post 1385389)
i have a very strange problem for you.

i have 4 themes installed to my board out of which i only use 1 main theme and this mod works faultlessly on it ( even after upgrading to 2.0)

now im in the process of changing to a brand new theme and getting all my mods to work with it BUT

this mod wont show up on it in any place whatsoever even though i have the auto setting on there so now im totally confused as to why cany you pleeeeeeeeeese help me ?

Redownload my product, then go to import it again in your product manager, set to import and see if that works.

Michael Biddle 11-20-2007 04:48 AM

Quote:

Originally Posted by xcingix (Post 1385863)
Is there any way for doing this for top posters and or latest posts?
Code:

<span class="smallfont"><script type="text/javascript" src="http://www.ny-dev.com/forums/external.php?type=js"></script>
    <script language="" type="text/javascript">
<!--
for (i = 0; i < 10; i++)
{
document.writeln("<a href=\"http://www.ny-dev.com/forums/showthread.php?threadid="+threads[i].threadid+"\">"+threads[i].title+"</a><br /> <hr />");
}
//-->
</script></span>


This is for latest posts...

xcingix 11-20-2007 05:11 AM

Quote:

Originally Posted by whitemike (Post 1386077)
This is for latest posts...

thats latest threads bro

Michael Biddle 11-20-2007 02:29 PM

I do not do it over javascipt. I think you are in the wrong thread...

DieselMinded 11-20-2007 07:24 PM

This Mod dont disallow HTML if HTML is posted in a thread this thing wacks out ,

Can you make it not read the HTML ?

ctfortner 11-21-2007 01:27 PM

Just wondering if this would be possible to use on an external page, such a php homepage. Or will this only work on a VB page? i am new to much of this, so wasnt sure. i am looking for something to display, like i have now with another forum. it looks like this

http://www.campercommunity.com/deers...atestforum.jpg

this is using a custom built forum, not VB. i have recently upgraded to VB, and would like to display the latest 10 VB posts the same way as this pic shows.

thanks,

Michael Biddle 11-22-2007 12:53 AM

As of right now, it only works on the forumhome page

SaltyOnionBalls 11-26-2007 08:30 PM

Great hack!

Michael Biddle 11-27-2007 12:25 AM

Quote:

Originally Posted by SaltyOnionBalls (Post 1389880)
Great hack!

I do not know what is greater. My hack or your username LMAO.

ChurchMedia 12-01-2007 10:40 PM

Great hack! Can you strip out HTML code from the output? It breaks my forum home page if there is a post with HTML.

MarijuanaRadio 12-02-2007 12:36 PM

This made a nice little addition to our forums. I feel that listing the recent posts boosts traffic to that thread.

One thing I'd love is if it could be about the size of three threads posted, select 10 threads to show, and have them all scroll to display from newest to oldest in a loop.

Anyhow, it really is nice having this on our forums.

Thank you.

:)

MarijuanaRadio 12-02-2007 12:36 PM

Would it be possible to make the same thing scroll??

joelrodrigues 12-03-2007 07:55 PM

Could you please take a look at this message:?

https://vborg.vbsupport.ru/showpost....&postcount=134

Michael Biddle 12-03-2007 08:55 PM

@ mj, I only provide support for users that click install.

@ joel, I might consider this in future versions.

Lord Zedd 12-09-2007 02:21 PM

Whitemike,

I would like to put the latest post on a html page. How do I do this? Is that possible?

kafi 12-09-2007 09:19 PM

Quote:

Originally Posted by ThorstenA (Post 1209446)
You can grab the last # posts on forumhome by just adding some code in functions_forumlist.php without adding any query, I think !


is that right?

itsonlychand 12-22-2007 07:01 PM

Can any one help me to show latest posts on site home page which is not vbulletin. site is like site.com and forums are site.com/forums

How i can display latest posts from site.com/forums on any page at site.com ?

Thanks in advance

Bounce 01-04-2008 07:01 PM

Thanks,good work :D

joelrodrigues 01-18-2008 06:35 PM

Quote:

Originally Posted by whitemike (Post 1394295)
@ joel, I might consider this in future versions.

Great! I will wait for!
Best regards!

BennyCanadian 01-19-2008 12:05 AM

Hey man. Sweet hack.

This thing would be perfect if I could place it on my home page. which is already a vB template.. is there anyway I can tweak this PHP code to allow me to use it on all my templates? If not could you point me in the direction of a mod that will allow me to display a forum on my home page as a news feed? Thanks for any help you can give!

Great work mate

Benny

heres my site ... the home page is just a completely separate template.. www.thenorthernwatch.com

jbldesign 01-19-2008 04:22 PM

Hi.

How do I get "Latest post" to only show last latest post in same thread?

If 5 posts are made in the same thread, then all Latest 5 posts - is from same thread, as it is now!

I would love to have the 5 latest post, from 5 different threads...help :-)

OnyxChase 01-20-2008 07:23 AM

Is there any way to get avatars in these latest posts? That would be awesome. Thanks!

OnyxChase 01-20-2008 11:19 AM

Is there any way to enable BBcode or at least get some smilies to show up? Thanks! :D

DieselMinded 01-24-2008 11:40 PM

This mod needs to Not allow HTML to be displayed it screws it up big time,

HTML is turned off but sometimes users do post it

Hannan 01-25-2008 10:36 PM

Hey guy,
After I installed this Mod and enabled it doesn't show on the main page:(
any suggestion ?

Michael Biddle 01-25-2008 10:58 PM

I only provide support for members that have clicked install. Its just 1 click to thank me.

But did you check yes for the auto template edit?

Hannan 01-26-2008 03:29 AM

Quote:

Originally Posted by whitemike (Post 1428989)
I only provide support for members that have clicked install. Its just 1 click to thank me.

But did you check yes for the auto template edit?

Sorry dude, I'm new here, I didn't knw:(
I didn't saw this option in my CP could u describe more information?
thanks

Hannan 01-26-2008 03:36 AM

But I think it's enable because it's show this message
Code:

Rebuild Style Information

    Updating style information for each style

        * Default Style ... (Templates) (StyleVars) (CSS) (Replacement Variables) (Controls) Done.


Droptop 01-26-2008 04:32 PM

Just upgraded to the 2.1 version, now when I click on any thread in the latest posts I get this message:

No Thread specified. If you followed a valid link, please notify the administrator

I just imported the product and overwrite yes, any ideas? Was working fine before this. Thanks

idweb 01-26-2008 06:45 PM

Hi yes im am getting this error to. It is the same on your demo site if you click on the post link. Any ideas ?? Must be a new problem with 2.1

Thanks

Michael Biddle 01-26-2008 09:01 PM

Fixed that. Sorry and thanks for bringing to my attention.

Michael Biddle 01-26-2008 09:02 PM

@Hannan,

When you go into your vBulletin Options, did you enable the modification?

Droptop 01-26-2008 09:24 PM

Quote:

Originally Posted by whitemike (Post 1429593)
Fixed that. Sorry and thanks for bringing to my attention.

Thanks for the speedy fix Mike! Love this mod:) It's working great again.


All times are GMT. The time now is 03:31 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.01461 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
  • (3)bbcode_code_printable
  • (9)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