The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
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 |
#32
|
|||
|
|||
The great thing would be to have the latest articles in the current section automatically detected, without to specify $section = 'x'; ... It would be amazing if $section=current section detected.
Would be this possible ? |
#33
|
|||
|
|||
Seems like a mod i need thanks! Is there any way to control what user groups see the widget or not? I would like uno-logged in users to see block with certain articles but if you log in you will not see it.
Please advise.... |
#34
|
|||
|
|||
Quote:
CAN SOMEBODY HELP ME WITH THIS 2 POINTS ?! |
#35
|
||||
|
||||
Quote:
PHP Code:
PHP Code:
Quote:
2. Remove the <center> calls and make a <table><tr><td> would be easiest. It's just simply HTML Quote:
Quote:
PHP Code:
PHP Code:
|
#36
|
|||
|
|||
OUTPUT
when i change the <center> to <table><tr><td> - i have no changes .... the articles in the widget have the same style not side by side in one row .... the code is now - this is everything what i have change in the whole code of the widget from you Quote:
but it should look like the 2nd picture (after widget.jpg) SEO URLS CMS Section Articles List: portal/section/[section_id]-[section_title]-list.html CMS Section Articles List Pagination: portal/section/[section_id]-[section_title]-page[page].html this is my url rewrite style for the articles in the cms |
#37
|
|||
|
|||
can this be used to turn all posts from a certain section into articles for my news page on the cms?
|
#38
|
||||
|
||||
Quote:
Quote:
PHP Code:
|
#39
|
|||
|
|||
Perfect works good now - but i have a little thing with the text descriptions under the pictures now -> you see it in the attachment ..
There is no space between the text of each displayed articel in the widget - is there de possibility to do a maximum number of charters and the rest with "..." and then the "(more)" function like in the attachment with the number "2" -> this would be great if i can get this output then the widget is perfect - or if this not possible then the "1" would be also good - but "2" would be the best and how can i change the text size in the description? Is there a possibility to but the "Read more ->" like in the cms used with the articel previes instead of the "(more)" - thats just a idea to look more professional ... Thx for your great help i love your widget hack with the seo i have it working now your idea was right |
#40
|
||||
|
||||
There are two solutions to the spacing problem neptun.
You could either add cellpadding="10px" or something to <table> or a style="padding-right:10px;" to the <td> Or to shrink the text displayed find: PHP Code:
For the more idea: find: PHP Code:
PHP Code:
|
#41
|
|||
|
|||
thanksss that you like my idea
i have changed the code now with the "read more" instead of the "(more) and have put a little center & b to this - a change the text size of the discription - it looks really perfect now perfect hack now its perfect for me and it looks really professional now thx for your help |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|