Register Members List Search Today's Posts Mark Forums Read

Reply
 
Thread Tools
  #1  
Old 14 Aug 2007, 17:02
jer2eydevil88 jer2eydevil88 is offline
 
Join Date: Jul 2007
Howto: have the 10 newest posts on my homepage

I would like to have the 10 newest posts titles show up on the homepage for my site, the best idea I can come up with is to use an rss feed reader (although I don't think the forum software supports feeds) or something equivalent to that unless someone has a better idea.
Reply With Quote
  #2  
Old 14 Aug 2007, 22:36
nico_swd's Avatar
nico_swd nico_swd is offline
 
Join Date: Dec 2005
Location: Spain
Real name: Nico
Originally Posted by jer2eydevil88 View Post
(although I don't think the forum software supports feeds)
http://www.vbulletin.org/forum/faq.p...ss_syndication
Reply With Quote
  #3  
Old 14 Aug 2007, 23:13
EnIgMa1234 EnIgMa1234 is offline
 
Join Date: Mar 2006
Real name: David
Create a new plugin

Product: vBulletin
Hook: forumhome_complete

In the box add:

Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

Now you can use $lasttitle in your forumhome template
Reply With Quote
  #4  
Old 03 Sep 2007, 23:36
amnesia623 amnesia623 is offline
 
Join Date: Jul 2006
Real name: Blur
This only displays one 'latest thread'

Is there a way to fix it?
Thanks!
Reply With Quote
  #5  
Old 04 Sep 2007, 11:09
Opserty Opserty is offline
 
Join Date: Apr 2007
He forgot a '.'

Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

Reply With Quote
  #6  
Old 04 Sep 2007, 16:20
amnesia623 amnesia623 is offline
 
Join Date: Jul 2006
Real name: Blur
AHH...thank you!

How would you go about coding this to follow forum permissions?

I really appreciate any help!

Last edited by amnesia623; 04 Sep 2007 at 19:54. Reason: Automerged Doublepost
Reply With Quote
  #7  
Old 02 Feb 2008, 17:44
amnesia623 amnesia623 is offline
 
Join Date: Jul 2006
Real name: Blur
Does this still work in 3.7? I can't seem to get it to work...
Reply With Quote
  #8  
Old 12 Apr 2008, 23:30
mrkhm mrkhm is offline
 
Join Date: Oct 2006
thank you this works perfectly in vb 3.6.x

quick question for anyone is there anyway to limit it to only show titles from specific forums should i be doing

select * from where something something is = to something

thanks anyway
Reply With Quote
  #9  
Old 13 Apr 2008, 09:50
Opserty Opserty is offline
 
Join Date: Apr 2007
Originally Posted by mrkhm View Post
thank you this works perfectly in vb 3.6.x

quick question for anyone is there anyway to limit it to only show titles from specific forums should i be doing

select * from where something something is = to something

thanks anyway
Change the MySQL query to:

Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.


Change title, threadid to * if you want to select all fields.

X, Y, Z Being a comma separated list of the ForumID numbers.
Reply With Quote
  #10  
Old 27 Jun 2008, 09:45
mrkhm mrkhm is offline
 
Join Date: Oct 2006
many thanks

ahhh! many thanks opserty! that works absolutely absolutely perfectly
Reply With Quote
  #11  
Old 29 Jun 2008, 17:15
callumbush callumbush is offline
 
Join Date: May 2008
Hi all,

I've created the plugin, but I don't understand the part about putting $lasttitle in my forumhome template.

I tried deleting everything in <!-- main --> in forumhome, and replacing it with '$lasttitle', but it looks like that wasn't correct :P

Please help

Callum

p.s. In case its relevant, I'm currently using vBulletin 3.7.0
__________________
PhoneDevil.com - Exclusive Phone unlocking product, & support forum
Reply With Quote
  #12  
Old 29 Jun 2008, 17:30
Opserty Opserty is offline
 
Join Date: Apr 2007
Just type $lasttitle into your FORUMHOME template.
Reply With Quote
  #13  
Old 29 Jun 2008, 17:37
BANDiT600's Avatar
BANDiT600 BANDiT600 is offline
 
Join Date: Jul 2003
Real name: Nikolay
And how to put this on non-vBulletin page??? I want to use last 10 posts in forum on a main page of my site.
Reply With Quote
  #14  
Old 29 Jun 2008, 17:48
callumbush callumbush is offline
 
Join Date: May 2008
Originally Posted by Opserty View Post
Just type $lasttitle into your FORUMHOME template.
It doesn't appear to do anything to my homepage.

Where should I include it? Here's my FORUMHOME


Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.


And here's the plugin I created (I've checked its active!):


Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

__________________
PhoneDevil.com - Exclusive Phone unlocking product, & support forum
Reply With Quote
  #15  
Old 29 Jun 2008, 19:01
mrkhm mrkhm is offline
 
Join Date: Oct 2006
hi, i remember this happening to me, it may be something simple, (just check it out) --> it could be that where you have installed the actual plug in is incorrect i.e. go into plugin manager, find $lasttitle edit it and ensure that "hook location" is "forum home complete" and that it is number "5" in order of execution.

i have literally 5 instances of lasttitle on my board, i.e. lasttitle1, lasttitle 2, for different forum categories etc and each time when the threads dont show up, it is ALWAYS the hook location that needed fiddling with, just check the hook location and then paste $lasttitle wherever in the page you want it to appear.
Reply With Quote
Reply

Similar Threads
Thread Thread Starter Forum Replies Last Post
[HowTo] Break posts up from eachother Floris vBulletin 2.x Full Releases 66 17 Jan 2007 23:58
[HowTo] Store USERAGENT and ALTIP in posts Floris vBulletin 3.0 Full Releases 19 19 May 2005 00:46
[HowTo] Quote Multiple Posts At Once Floris vBulletin 2.x Full Releases 82 18 Oct 2003 18:22



Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off


New To Site? Need Help?

All times are GMT. The time now is 08:52.

Layout Options | Width: Wide Color: