View Full Version : vBulletin CMS Widgets - CMS Widget - Latest files added to downloads II
Vaupell
01-19-2010, 10:00 PM
Vb 4 CMS Widget - Last 5 files added via downloads 2 product
released on 20-jan-2010
About :
Easy to use, just import product xml and add to your layout.
Requirements :
Must have DownloadsII (https://vborg.vbsupport.ru/showthread.php?t=231427) installed.
Demo : Evisystems - Widget test section (http://www.evisystems.org/content.php?45-Widgets-test-section)
Features :
Shows lastest files added to downloads II
Download : 111931
History :
20-jan-2010 : V 1.0 Released
20-jan-2010 : V 1.2.
21-jan-2010 : V 1.3.
09-feb-2010 : V 1.4.
Changelog :
v1.2 - Added links to the files
v1.3 - Added settings for the widget for title length and ammount of files listet.
v1.4 - Settings added for date format + Direct download options via adminCP
Installation instructions :
Import the product,
Add to your layout where you want it, just like any other widget.
Updateing :
Note : when updateding, it does not overwrite existing widget it adds a additional.
just delete the old one, as you would delete a wigdet normal.
1) Must : Uninstall product if you havent,
2) Then simply delete the old widget, or leave it.
3) follow install procedure, it always adds a new widget.
Plans for furture upgrades + bug's found :
- adding title length control to admincp options * complete and present in current
- adding downloadsII link to the files post/thread * complete and present in current
- settings for ammount of files listet added * complete and present in current
- option for date format in adminCP * complete and present in current
- option for direct download or link * complete and present in current
- no futher plans, got some idea's ? post them
110520110615111932
kho91
01-20-2010, 02:25 PM
thank you but why not includ the url for file? th's give only the name of file et not the url
sorry for my bad english
Vaupell
01-20-2010, 02:29 PM
thank you but why not includ the url for file? th's give only the name of file et not the url
sorry for my bad english
Added to suggestions/ideas
kho91
01-20-2010, 02:33 PM
thank you ;-)
Morrus
01-20-2010, 02:57 PM
Cool!
As a suggestion - perhaps include the thumbnail images of them? Or allow folks to display thumbnail of the first X in the list?
Morrus
01-20-2010, 02:58 PM
thank you but why not includ the url for file? th's give only the name of file et not the url
sorry for my bad english
Oh, it doesn't actually link to the file?
Vaupell
01-20-2010, 03:05 PM
Oh, it doesn't actually link to the file?
It does now! :p just uploaded a updated version
kho91
01-20-2010, 05:09 PM
how can i increase number of caracters of file's name? (letters)
Vaupell
01-20-2010, 06:06 PM
how can i increase number of caracters of file's name? (letters)
well in your cms wigdet panel, click configure for the widget
find the line
$title = substr($getdls[title], 0, 15);
and change the number 15 to the ammount you want.
stationar
01-21-2010, 02:05 AM
It doesn't work at all. Just shows the date: "20.01.2010"
Did I miss a step?
And also how do I change 5 files to 15?
Vaupell
01-21-2010, 08:30 AM
It doesn't work at all. Just shows the date: "20.01.2010"
Did I miss a step?
And also how do I change 5 files to 15?
Simply cant reproduce that issue,
tryed on both apache server, and win2k nt and win2003 servers no luck reproduceing that
specifik problem where the links are blank..
Added options / settings in this version, you can now set the ammount of characters shown
from the title of the files. Also set the number of files displayed.
willy888
01-21-2010, 09:52 AM
how can I make it apears in the forum's side widjets ?
Vaupell
01-21-2010, 10:25 AM
how can I make it apears in the forum's side widjets ?
well you cant, cause this is a widget those for the forumblock is called blocks..
so if you want it in the forum block you have to create a block and "maybe" copy the code
over into the new block, not sure it will work though..
CMS have widgets.
Forum have blocks.
and they dont work together.. brilliant
Bram H
01-21-2010, 10:28 AM
Beautiful!!
One suggestion: could the category name or abbrev be included? :
Cat X - File Name - Date?
Thanks, pressed installed very hard!
molieman
01-21-2010, 10:35 AM
Excellent addition, Thank you :) :)
How can I change the date format?
tazattitude
01-21-2010, 11:36 AM
Installed. Works great.
I would also like to see the date format changed though.
month/day/year
instead of day/month/year
Looking forward to seeing future versions!
Vaupell
01-21-2010, 12:05 PM
Ahh ofcourse, i will make sure the date format change can be set in admin settings
so it suits your site and area.. :D
But for now, in the widget costumization there is a line called
$format = '%d/%m/%y';
you can change that in any way you like, %d = day %m = month %y = year .
I will ofcourse add this to the options panel, it should ofcourse be default
to set date format there..
tazattitude
01-21-2010, 12:35 PM
Easy to change....Works like a champ
Thank you!
stationar
01-22-2010, 12:13 AM
It doesn't work at all. Just shows the date: "20.01.2010"
Did I miss a step?
Still doesn't work... Here is my code:
$output = date(vB::$vbulletin->options['dateformat']) . "<br />\n";
That's all.
molieman
01-22-2010, 09:53 AM
Ahh ofcourse, i will make sure the date format change can be set in admin settings
so it suits your site and area.. :D
But for now, in the widget costumization there is a line called
$format = '%d/%m/%y';
you can change that in any way you like, %d = day %m = month %y = year .
I will ofcourse add this to the options panel, it should ofcourse be default
to set date format there..
Duhhhhhh LOL..... Should of seen that :) :) :)
Thank you!!!!
stationar
01-22-2010, 11:38 PM
Can somebody post here what should be in the widget customization by default? Please. I am struggling to make it work.
synseal
02-02-2010, 01:47 PM
Any chance you could make one for Forum Blocks please.
Thanks.
210665
02-03-2010, 11:00 AM
Hello
It is also possible that part of the incorporate in the Sideblock
Thanks
xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx xxxxxxx
Hallo
Besteht auch die Möglichkeit diesen Teil in die den Sideblock einzubauen
Danke
Vaupell
02-09-2010, 08:19 AM
Installed. Works great.
I would also like to see the date format changed though.
month/day/year
instead of day/month/year
Looking forward to seeing future versions!
Added to vbsettings in this version see screenshot.
Can somebody post here what should be in the widget customization by default? Please. I am struggling to make it work.
could you explain a little further what the problem is ?
Vaupell
02-11-2010, 11:47 AM
Hello
It is also possible that part of the incorporate in the Sideblock
Thanks
xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx xxxxxxx
Hallo
Besteht auch die M?glichkeit diesen Teil in die den Sideblock einzubauen
Danke
Done - here --> https://vborg.vbsupport.ru/showthread.php?t=235596
SoltanWorld
04-06-2010, 06:37 PM
Do you think about the wideget that shows the Latest Files from categories that administrator in ACP has set ?
For example : Latest Music, Latest Movie and ....
RockstarNetwork
04-25-2010, 05:49 PM
I'm also only getting the date in the latest files widget as well as the most popular files widget. Looking at the PHP code when I click the configure link for the widget, the only thing it looks to be outputting is the date.
$output = date(vB::$vbulletin->options['dateformat']) . "<br />\n";
Should there be more code in there or is it pulling more information elsewhere?
lovevn
05-02-2010, 04:33 PM
It does not work for me! I got security token error!
Vaupell
05-03-2010, 01:29 PM
It does not work for me! I got security token error!
This mod should not give security token error, it does not use send,get or post methods.
There must be some other conflict, this is plain old php database fetching,
and displaying through template.
i.s.s.w
07-05-2010, 09:01 AM
YOU CAN UPDATE FOR vbadvanced CMPS
THAN X YOU
Lostboyfan
09-15-2011, 07:54 PM
It does not work for me! I got security token error!
Just take out this part of the code in the cms widget for the mod.
Find
&act=down
remove that and it should work.
mygitar
11-10-2011, 05:21 PM
I think there is an error.
Files that are not yet approved, but it seems the widget.
Thanks.
Rolandinjos
11-28-2011, 12:10 PM
How to remove php image from widget?
Thanks
134755
Igel1
02-11-2012, 07:33 PM
It also shows not shared files.
How can I change it?
vBulletin® v3.8.12 by vBS, Copyright ©2000-2025, vBulletin Solutions Inc.