![]() |
[release] Last news event on forumhome
Author: filburt1
Description: Displays (including links where appropriate) the title, author, and number of posts of the last thread of the forum of your choice on forumhome. Demo: http://www.webdesignforums.net/?styleid=3 Screenshot: http://www.vbulletintemplates.com/mo...=&postid=14293 If you install this mod then please click here This adds one query to forumhome only. |
Screenshot:
|
Nice mod. :)
|
yeah, very nice mod!!
|
What's happening at TMG Message Boards?
Last news event: by with no replies. but on the calendar it has Halloween, so it aint working. |
This is based on forumid, not the calendar.
|
im still not sure how it really works :(
|
It queries the database, pretty simple.
|
In english for dumbasses like me lol
|
As the instructions say the only thing you have to change in the script is $newsforumid; you change it to the id of the forum you want the script to grab the news from. Since I don't see any news or annoucements forum I don't see how you could use this template edit...
|
you should make one that takes news from the calendar that would be tight. this is a good mod tho but not what i thought
|
Quote:
Check out the lounge though. |
Quote:
|
View the forum you want; the forumid is the number in the URL that follows &forumid= .
|
Quote:
|
Did you make $newsforumid = 6?
|
This is a great mod, thank u! I pressed install!
Is it also possible, to have 2 or 3 latest postings items on the homepage? |
It's possible but requires modification of the query and other code in phpinclude.
|
Is it hard to do?
But that would be cool, to have the top 3 latest postings (from your selected forum) on your homepage. I added views and lastposter to it aswell. Take a look if you want. Hmm, i will add a txt file. |
Thats a great mod Filburt :)
I have a forum where the members write live reviews.... and I will probably install the mod changing it to :"Latest Live Reviews" Is there any possibility this can be converted so that it will recognise the topics from the subforums of a forum? What I mean is this: I have a main forum called : SPA reviews. Within that, I have 3 subforums. 1) Concerts 2) Album reviews 3) Interviews the main forum is closed for writing... so when I enter the ID of this forum... it does not find any thread - 100% logical. Is there a way it could take threads from the 3 subforums - which the main forum is comprised of? Also one question : this mod adds one query at the forumhome. Is that going to be bad for the server loads? Im running my board on a shared server... so I'm kind of afraid :) thanx in advance clicked "install" stark |
It is possible to recognize subforums but (just remembering the schema from my head) would require additional queries.
One extra query on forumhome on a shared server isn't a big deal with the normal number of queries there, it's if you add, say, 10 more, than you should be worried. |
hmm it dont work for me, i did everything right
|
Well obviously you didn't ;)
How doesn't it work? |
Quote:
|
LOL my bad it was a Old site i had. I had a attachment guess it didnt work, il try it agian
|
Here it should work now :D
|
Did you put all the necessary code in phpinclude?
|
Mine works great. :)
I did some tweaks on the code (simple things) to change the appearance a bit , and here it is : |
Nice one! Installs...
|
yours has multiple pages on it, how do u do that?
|
simple sweet and no vbportal necessary. Thanks for the submission ...install :)
|
Hey filburt, I know this has been asked, but have you looked into getting more than one news event displayed? Like maybe the 5?
|
It can be done (change LIMIT 1 to LIMIT 5 and then put parts of the code in a for loop) but I don't have the time.
|
Nice one Filburt! But is it also possible to display the body/contents of the newspost?
|
Not without using an additional query.
|
Can you tell me how to setup this query?
|
Filburt
I have not been using the reply count and userinfo status at the $lastnews which means that my $lastnews is : Code:
Could you please tell me which of them are not needed so that I could remove them? (I guess these lines being there is no harm, but If I can remove any code I don't need from the template, I would be glad to do it ) :) don't post attached file contents --filburt1 thanx in advance |
All times are GMT. The time now is 07:22 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 | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|