Register Members List Search Today's Posts Mark Forums Read

Reply
 
Thread Tools
  #1  
Old 20 Jun 2017, 09:40
Nocturnal222 Nocturnal222 is offline
 
Join Date: Dec 2006
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.
Reply With Quote
  #2  
Old 20 Jun 2017, 17:56
grey_goose grey_goose is offline
 
Join Date: Jun 2009
This is an excellent resource for creating custom/new pages:
https://www.vbulletin.org/forum/showthread.php?t=228112

You'd then need to do a plugin query and register it for use in a template:
https://www.vbulletin.org/forum/showthread.php?t=228078

You learn what's in those two links, and you can do darn near anything.
Reply With Quote
  #3  
Old 21 Jun 2017, 10:12
Nocturnal222 Nocturnal222 is offline
 
Join Date: Dec 2006
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.
Reply With Quote
  #4  
Old 22 Jun 2017, 00:00
grey_goose grey_goose is offline
 
Join Date: Jun 2009
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.
Reply With Quote
  #5  
Old 22 Jun 2017, 01:27
MarkFL's Avatar
MarkFL MarkFL is offline
 
Join Date: Feb 2014
Real name: Mark
Originally Posted by Nocturnal222 View Post
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.
If you'll post the content of your external script, I'll add the necessary query to it, along with a threadbit template and product settings so you can control how many latest threads are displayed, and which forum(s) they are selected from, and any other settings you want.
__________________
Former vBulletin.org Staff Member



Support for my products (as well as updates/new product publishing) has been moved to MHB - vBulletin Products and TAZ - Add-ons
Reply With Quote
  #6  
Old 22 Jun 2017, 11:51
Nocturnal222 Nocturnal222 is offline
 
Join Date: Dec 2006
Originally Posted by grey_goose View Post
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.
That modification is basically what I'm trying to do, but I need it to be lightweight. The launcher is pretty ancient and I'm not sure how well it would handle such a news feed.

Mark, if you are referring to the content of my .php file, it is as Lynne suggested for a start.

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

I'm not very familiar with scripts, so this is basically what I need help with right now till I get my head around it a bit more. Someone else had been doing this for me up until recently.

The script I'm using for this block is the default vBulletin 4 Latest Threads script.
Reply With Quote
  #7  
Old 22 Jun 2017, 15:41
MarkFL's Avatar
MarkFL MarkFL is offline
 
Join Date: Feb 2014
Real name: Mark
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.
__________________
Former vBulletin.org Staff Member



Support for my products (as well as updates/new product publishing) has been moved to MHB - vBulletin Products and TAZ - Add-ons

Last edited by MarkFL; 22 Jun 2017 at 23:39.
Reply With Quote
  #8  
Old 23 Jun 2017, 05:20
Nocturnal222 Nocturnal222 is offline
 
Join Date: Dec 2006
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.
Reply With Quote
  #9  
Old 23 Jun 2017, 05:40
MarkFL's Avatar
MarkFL MarkFL is offline
 
Join Date: Feb 2014
Real name: Mark
Originally Posted by Nocturnal222 View Post
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.
I'm actually working on it now. I expect to have something for you tomorrow.
__________________
Former vBulletin.org Staff Member



Support for my products (as well as updates/new product publishing) has been moved to MHB - vBulletin Products and TAZ - Add-ons
Reply With Quote
  #10  
Old 23 Jun 2017, 17:50
MarkFL's Avatar
MarkFL MarkFL is offline
 
Join Date: Feb 2014
Real name: Mark
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.
Attached Files
File Type: zip MarkFL - Rise News v1.0.zip (3.6 KB, 7 views)
__________________
Former vBulletin.org Staff Member



Support for my products (as well as updates/new product publishing) has been moved to MHB - vBulletin Products and TAZ - Add-ons
Reply With Quote
  #11  
Old 24 Jun 2017, 04:29
Nocturnal222 Nocturnal222 is offline
 
Join Date: Dec 2006
This is exactly what I needed, and more than I had hoped for! Thank you very much!
Reply With Quote
  #12  
Old 24 Jun 2017, 04:42
MarkFL's Avatar
MarkFL MarkFL is offline
 
Join Date: Feb 2014
Real name: Mark
Originally Posted by Nocturnal222 View Post
This is exactly what I needed, and more than I had hoped for! Thank you very much!
Glad to help!
__________________
Former vBulletin.org Staff Member



Support for my products (as well as updates/new product publishing) has been moved to MHB - vBulletin Products and TAZ - Add-ons
Reply With Quote
  #13  
Old 25 Jun 2017, 04:42
MarkFL's Avatar
MarkFL MarkFL is offline
 
Join Date: Feb 2014
Real name: Mark
In my haste, I neglected to include the thread prefixes and icons in the threadbit template. I have attached the updated .XML file, and there's no need to update the .PHP file as it already included the code to grab those.

Sorry for the inconvenience.
Attached Files
File Type: xml product-markflrmulauncher.xml (5.1 KB, 4 views)
__________________
Former vBulletin.org Staff Member



Support for my products (as well as updates/new product publishing) has been moved to MHB - vBulletin Products and TAZ - Add-ons
Reply With Quote
  #14  
Old 26 Jun 2017, 23:52
CAG CheechDogg's Avatar
CAG CheechDogg CAG CheechDogg is offline
 
Join Date: Feb 2012
Mark ... there is one little glitch I found in the styling ...

When there is a smaller avatar especially the height ...the date stamp floats all the way to the left below the avatar ...


This is the change I made to give a little more style to the "rmulauncher_threadbit" template ....


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

Reply With Quote
  #15  
Old 27 Jun 2017, 00:00
MarkFL's Avatar
MarkFL MarkFL is offline
 
Join Date: Feb 2014
Real name: Mark
I actually intended to add more features/styling to the page, but the OP seemed happy, so I left it as is.
__________________
Former vBulletin.org Staff Member



Support for my products (as well as updates/new product publishing) has been moved to MHB - vBulletin Products and TAZ - Add-ons
Reply With Quote
Reply

Similar Threads
Thread Thread Starter Forum Replies Last Post
Forum Display Enhancements Separate Sticky Threads\Non Sticky Threads MARCO1 vBulletin 3.8 Add-ons 14 03 Apr 2009 05:41



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 18:23.

Layout Options | Width: Wide Color: