The Arcive of vBulletin Modifications Site. |
|
Widget: Latest Articles In Section Details »»
|
|||||||||||||||||||||||||||
Latest Articles In Section What is does: vBCMS only has one option for latest articles and that is all sections and categories. This widget will allow you to display the latest articles in a specific section. Change Log: 1.0 - Initial Release 1.1 - Updated to allow more than one section & display published date. 1.2 - Small update, no need to update unless you are using a table prefix. 1.3 - Added full page text if no previewtext row exists. 1.4 - Updated to not show unpublished articles. 1.5 - Updated read more link to look more vBulletin related. 1.6 - Small change to fix 4.0.2 [ATTACH] showing in text. Installation:
When clicking on your section you should see something like this: The number after ? in this case 11 is your section id. Can I enter more than one section id? Yes simply change $section = '11' to something like $section='11, 12, 13' Code to copy(make sure you change $section and $limit!) PHP Code:
For Category Mod See Here: https://vborg.vbsupport.ru/showthread.php?t=232440 Screenshots
Show Your Support
|
|||||||||||||||||||||||||||
| 3 благодарности(ей) от: | ||
| case-dk, Oxylis, Toorak Times | ||
| Comments |
|
#2
|
||||
|
||||
|
not working database error
|
|
#3
|
|||
|
|||
|
Thank you very much OcR Envy, works perfectly.
Any chance to get one for most viewed and one for most commented articles per sections and/or categories? =) |
|
#4
|
||||
|
||||
|
What is the database error sisterhood?
Quote:
1.2 Updated - Small update for people using a table prefix should resolve any database errors. |
|
#5
|
||||
|
||||
|
my box show nothing id have to change in my id
i use vbseo |
|
#6
|
||||
|
||||
|
So you aren't getting any database errors just nothing is showing in the widget?
There are other ways to find the Section ID. Go to your AdminCP-vBCMS-Section Manager. Hover over the section you want. The link should look like this: Code:
http://www.domain.com/admincp/cms_content_admin.php?do=filter§ionid=116&contenttypeid=17 |
|
#7
|
|||
|
|||
|
Hi,
whats the 150px image for? It also seems like that the preview text code does not work
|
|
#8
|
|||
|
|||
|
OcR Envy, there's a way to print the section, subsection and/or categories from the article in the widget?
Thanks =) |
|
#9
|
||||
|
||||
|
I also got an error.
I changed the section to one of my sections HTML Code:
Parse error: syntax error, unexpected $end in /usr/www/users/saj716/a_customxxxxxxxxx/forum/packages/vbcms/widget/execphp.php(171) : eval()'d code on line 44 |
|
#10
|
||||
|
||||
|
Could u make it automatically get the section ID from the section clicked?
|
![]() |
|
|