![]() |
[WIDGET] Recent Threads
1 Attachment(s)
In an attempt at mirroring an old ASP website I used to have, I modified the recent threads display to show a bit more information in a bit more compressed format.
Feel free to use/hack/slash this code for your own needs... Navigate to AdminCP -> CMS -> Widgets. Create a PHP Type Widget and paste the below code. READ BELOW THE CODE FOR AN UPDATE PHP Code:
Updated to reflect contribution from Inflikted: https://vborg.vbsupport.ru/showpost....7&postcount=25 Be SURE to update the following line:if (!in_array($recent_thread[forumid], array(105,83,121,110,82,112,109,101,102,72))), to group the forumids you wish to NOT have included in the query results. |
Where do you put this in?
|
PHP Widget in the CMS
|
Create a new CMS PHP Widget mate.
|
Great little widget Cody, thx.
Any chance you could make this so it works as a centre widget? i.e. above the Articles? At the moment it is all right sided, which is correct for a sideblock. If you have any time to do it I'd appreciate it. Thx Z |
Quote:
You mean just center all the text? PHP Code:
PHP Code:
|
It more so something like a block that has a header, in the header it shows
'Thread' | 'Posted By' | 'Views' | 'Last Post'' This is probably a lot of work but thought I would ask as its what I was used to with VB 3.8.4 |
Oh, gotcha - I know what you mean...
And believe it or not, I had something like that running but dumped it a long time ago. (just experimenting)... I'll see what I can scratch up... |
Thx, really appreciate it!
|
Hey I was thinking....
What if you put this in as a Widget... https://vborg.vbsupport.ru/showthread.php?t=235841 You could turn off some of the areas and it would act as a threads module... I don't have it installed, but try making a JS Enhanced Widget Make a new template and insert: {vb:raw vsatopstats} |
All times are GMT. The time now is 11:32 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:
|