The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
Adding the latest threads block as a separate page.
Hello
I'm not sure how to explain best what I am trying to do, but I'll try to be clear. I am currently running a game server. I host my community and post my updates on my vBulletin forums. To keep the players up to date, I have to manually add the news to my launcher page via FTP, which I sometimes forget to do. On the forums, I use the default "Latest Threads" block set to my News & Information section to have a news stream. Is there a way I can re-create that block with it's whole code on a new page, and place that as my game-launcher page? I don't want the header, navbar and so on present in the launcher, as the window size is pretty constrictive. Just the news feed. The idea is that when I post a news thread on my forum, it will be automatically displayed(on the next block refresh) in the game launcher. Any help is appreciated. |
#2
|
|||
|
|||
This is an excellent resource for creating custom/new pages:
https://vborg.vbsupport.ru/showthread.php?t=228112 You'd then need to do a plugin query and register it for use in a template: https://vborg.vbsupport.ru/showthread.php?t=228078 You learn what's in those two links, and you can do darn near anything. |
#3
|
|||
|
|||
I've managed to create the page fine using those guides, and it displays as per the template, but what would I need to place(and where) in order to get this to display instead of this.
I'm currently running everything in the default style until I figure it out. I essentially want to link the new page I've created to someone and all they would see is the latest new threads in a few sections I've nominated, much like I currently have the sideblock setup. Keep in mind that this is for external users, who play the game server I am hosting, but aren't really the forum type. To view the page, it should not require a login. I will also be removing the header and footer so the announcement page is straight to the point, as the display window I am working with is rather small(and cannot be resized) so adding headers+ extra stuff will simply push the information down. |
#4
|
|||
|
|||
You'll need to write a query (see second link) and register it for use in that template. If you're not familiar with SQL queries, then you're probably best off just finding a mod like this.
|
#5
|
||||
|
||||
Quote:
|
#6
|
|||
|
|||
Quote:
Mark, if you are referring to the content of my .php file, it is as Lynne suggested for a start. PHP Code:
The script I'm using for this block is the default vBulletin 4 Latest Threads script. |
#7
|
||||
|
||||
Okay, I will put everything together tonight and post the end result when I'm done.
edit: Unfortunately, an issue has come up that I must address immediately, and so there will be a delay on this. I do apologize for the inconvenience, but the delay shouldn't be more than a day or two. |
#8
|
|||
|
|||
That's fine. I'm getting someone helping me out, I can't be picky about it as well. :P
I've been doing it manually for years now, a few days won't hurt me. |
#9
|
||||
|
||||
I'm actually working on it now. I expect to have something for you tomorrow.
|
#10
|
||||
|
||||
Okay, I have attached a preliminary product for you to test out, and let me know if there are any issues or features you want added.
|
Thread Tools | |
Display Modes | |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|