View Full Version : Add-On Releases - DownloadsII ver 5.0 vbAdvanced Add-On
CyberRanger
03-11-2006, 10:00 PM
DownloadsII vBadvanced CMPS Add-On
Version 1.0.1
The DownloadsII vBadvanced CMPS Add-On, is not a stand-alone mod. It requires DownloadsII 5.0.1 or higher. You can find it here (https://vborg.vbsupport.ru/showthread.php?t=120122) (free).
Also vBadvanced CMPS (a vBulletin 3.5.x or 3.6.x version) is required. You can find it here (http://www.vbadvanced.com/products.php?do=productinfo&p=4) (free).
https://vborg.vbsupport.ru/external/2010/10/30.jpg
Installation
Upload downloads2.php to the module directory of vBadvanced CMPS
Create the new module using the drop down menu to select downloads2.php
In the "templates used" field enter 'adv_portal_ecdownloads, downloads_panel_bit' (without the quotation marks ofcourse)
Update your index pages(s) to show the new module
Done!
Changelog
Version 1.0.0
CyberRanger
- Initial Release
Version 1.0.1
Jelle
- Small code cleanup
- Renamed the module to downloads2.php
- Added a changelog and readme/install text file to the package
CyberRanger
03-12-2006, 01:17 AM
(reserved)
Barakat
03-12-2006, 01:48 AM
installed .... thanks
Hornstar
03-12-2006, 02:01 AM
Yeah nice work, once I get this system up I will install this for my portal. Thanks
Im getting the "White page of Death" on home page with that module active..
any thoughts West?
CyberRanger
03-12-2006, 02:48 AM
Im getting the "White page of Death" on home page with that module active..
any thoughts West?
Have you installed ecDownloads ver 4.0.1?
:) Nice Man...
every thing is together..
gothicuser
03-12-2006, 04:12 AM
Thankyou :D :D
Have you installed ecDownloads ver 4.0.1?
yes, that works wonderfully...ty
just the module isnt going to well for me. the 3.3 version did just fine
Mudvayne
03-12-2006, 08:42 AM
Same here :).. getting White blank page in IE & can see a totally messy things in Opera.. Heres the screenshot!! :confused:.. I hav to disable it for temp :(..
EvilHawk
03-12-2006, 10:25 AM
Im getting the "White page of Death" on home page with that module active..
any thoughts West?
Same here :).. getting White blank page in IE & can see a totally messy things in Opera.. Heres the screenshot!! :confused:.. I hav to disable it for temp :(..
Remove any empty spaces after ?> at the ecdownloads.php and it will be ok! ;)
CyberRanger
03-12-2006, 11:17 AM
Remove any empty spaces after ?> at the ecdownloads.php and it will be ok! ;)
Oops! You are correct. I had an extra space after the last ?>. Either edit your ecdownloads.php file to remove it or upload the corrected file. (I've replaced the original file with the corrected file in my first post.)
Mudvayne
03-12-2006, 12:57 PM
:).. Thnx to both of u.. Thnx a lot.. Now its works..
yep..that did the trick. ty
Drakah
03-13-2006, 10:56 PM
Is there a way to have the downloads section list as a "page" module in CMPS instead of going directly to a whole new page? I would like to keep my CMPS parts on the left with the Downloads on the right. I couldn't figure out how to get that to work. Any help would be appreciated.
I figured to post in here since it is CMPS related.
Robbed
03-17-2006, 12:52 AM
Is there a way to limit how many show up on the homepage.
I show 15 of each, I only want to show 5 of each on the homepage.
CyberRanger
03-17-2006, 09:18 AM
Is there a way to limit how many show up on the homepage.
I show 15 of each, I only want to show 5 of each on the homepage.
The settings for how many "tops" to show (set via admincp) apply to both ecDownloads and the vba addon.
Ron1n
03-19-2006, 04:28 AM
Please update this to link with 4.1
CyberRanger
03-19-2006, 10:25 AM
Please update this to link with 4.1
Link in first post updated to point to 4.1
MustangLisa
04-18-2006, 02:07 PM
Perfectly installed. Thanks!
Brandon Sheley
05-22-2006, 01:19 AM
wonderful work.
/me clicks install
bahattab
06-10-2006, 08:21 AM
hi
i am trying to upload the files but i did not know how.
there is no browser botton to upload
:surprised: :confused:
bahattab
06-12-2006, 07:16 AM
hi
dose any one know how to upload files in this system :surprised:
is there any instraction about useing this system :tired:
thenk
bahattab
06-12-2006, 10:42 AM
can any one help me
Emad Bahattab :knockedout:
bahattab
06-12-2006, 10:43 AM
hi
i fond the answre for how to upload the file :banana:
what you have to do is : :tired:
http://www.yourdomin.com/vb/downloads.php
you will get a page has the download control panel.
thanks
Regards
Emad Bahattab :knockedout:
CyberRanger
07-27-2006, 06:59 PM
Be sure you have upgraded to ecDownloadII version 5.0.1 : https://vborg.vbsupport.ru/showthread.php?t=120122. It contains many important fixes.:)
cookiepants
08-01-2006, 03:06 PM
love this! Thaks so much
Black Tiger
09-09-2006, 01:10 AM
I have 3.6 and vbA, downloads II v5.02 and this v5.0 add-on installed. I would like the width of this module to be the same width as the other modules like "stats" and "calender" etc. But this module is wider. How can I fix this?
You can have a look at www.satellitefun.org then you will see what I mean (left side column, scroll down a little bit).
RS_Jelle
09-09-2006, 08:11 AM
It's just because of the large name of one of your files ;)
Josje3.3HOT2.0NLgemonteerd
Add some spaces to it and it will be fixed :)
For example:
Josje3.3HOT2.0NL gemonteerd
should be enough to fix it, so "gemonteerd" comes on a new line.
Black Tiger
09-09-2006, 03:20 PM
Ah great thanks! That solved the problem!:)
chorton
09-17-2006, 10:50 PM
In the most downloaded box is it possible to do:
Last downloaded for a period of time? Example would be Top downloads for past 24 hours or top downloads for last week?
RS_Jelle
09-18-2006, 04:27 AM
In the most downloaded box is it possible to do:
Last downloaded for a period of time? Example would be Top downloads for past 24 hours or top downloads for last week?
Not at this moment, but we are looking into this already for the next big release ;)
dholt
09-18-2006, 11:39 AM
what do I put in the identifier Box, sorry for being a noob Great MOD
chorton
09-18-2006, 11:42 AM
Not at this moment, but we are looking into this already for the next big release ;)
Any idea of when this will be?
Also it would be great to have last 5 contributers rather then top contributers. Would this be possible?
RS_Jelle
09-18-2006, 02:21 PM
what do I put in the identifier Box, sorry for being a noob Great MOD
Just an identifier you choose yourself, for example downloads or something else :)
@churton: I don't see the purpose of such a feature? When you compare it with your forums: you aren't going to create a list of the 5 people who posted the latest forum posts, but it's normal to create a top posters ranking.
There's no ETA, it will be ready when it's ready. But we will keep you informed in the DownloadsII thread (https://vborg.vbsupport.ru/showthread.php?t=120122) ;)
Hel_Sir
10-04-2006, 08:47 AM
Ok 2 things. 1) Can it work / be ported to work with vbPortal 3.6.0 ?
2) Can the info about latest files be put in the center, above latest threads in forum (www.glhelp.org). And then have top contributors and such on the side blocks.
Hel_Sir
10-12-2006, 06:02 AM
Ok, changed to vbadvanced, almost there... I would like the description of the file also.. and download link.. how to do?
So it would look sorta like www.glhelp.org in the center there, now I achive this with first add the download, then add it to the forum with attachement, and use the news module to update the portal.. that sucks..
phill2003
10-21-2006, 02:52 PM
Hi,
My block is posting the info twice in each catagory? any idea why.
Black Tiger
10-21-2006, 03:01 PM
It isn't twice. Have a good look. 1 time it's most recent and 1 time it's most popular.
There is a significant difference between recent and popular files.:)
DementedMindz
10-21-2006, 04:16 PM
It isn't twice. Have a good look. 1 time it's most recent and 1 time it's most popular.
There is a significant difference between recent and popular files.:)
you need to have a good look cause it is posting twice on his image.
RS_Jelle
10-21-2006, 04:47 PM
Strange, I never saw an issue like this :ermm:
Try the Update Counters link in the DownloadsII navigation (downloads.php), maybe that solves the problem. If it doesn't, please create a new admin account on your site and pm me the info, also the FTP login would be useful to check your files :)
Black Tiger
10-21-2006, 04:52 PM
I had this once too, but this was because I uploaded the file twice. First time I didn't see I had to approve, so I saw already an issue like this.
That's a little problem that uploading the exact file twice is possible, there is no check. Maybe this could be fixed in a future version too?
If you didn't upload twice then I think you have to do what RS Jelle is saying.
phill2003
10-21-2006, 07:43 PM
I fixed it, the problem occured because i had 2 blocks. The first one i made would not show up no matter what i did so i made another.
Anyway the block that showed up also seemed to include the data for the first invisible block as so had 2 lots of the same info in it.
I just deleted the invisible block and the data is back to normal.
Thanks for looking and helping me.
All the best
sybaris.
Rexster
10-31-2006, 03:10 PM
How can i Exclude members from the "Top Contributors" section ? For example i have abunch of older files that i want to move from my older dowload system to this one from various users but i dont want to be seen as the top Contributor . Also the same goes for "Latest Files" How can i keep these older files from being seen on the "latest files" section ?
CyberRanger
10-31-2006, 03:18 PM
How can i Exclude members from the "Top Contributors" section ? For example i have abunch of older files that i want to move from my older dowload system to this one from various users but i dont want to be seen as the top Contributor . Also the same goes for "Latest Files" How can i keep these older files from being seen on the "latest files" section ?
There's no way to do that right now. The only thing that even comes close is you could use the "Assign Uploader" function to change the Contributer from you to the real Contributer.
fosman
11-06-2006, 08:17 AM
Is there an addon for vbportal CMPS?
scotsmist
11-06-2006, 08:52 AM
I don't mind converting this one if that's okay.
RS_Jelle
11-06-2006, 09:43 AM
I don't mind converting this one if that's okay.
That's okay, because me and CyberRanger aren't using vBPortal (it isn't free, so we can't test it), so we only create/support a vBadvanced CMPS module :)
fosman
11-06-2006, 01:16 PM
Sweat!!! I really like this addon :)
NiTRoN
01-20-2007, 08:39 AM
is there any way to make this to truncate long file names with (...) without prentecies on main page lets say after 10 caracters?.
Sometimes I have long filenames and this screws up front page layout badly...
Any help would be greatly appreciated.
sunnycher
01-27-2007, 07:16 PM
color me stupid but I can't find where to add categories? I bet it's staring me right in the face too!
akulion
01-31-2007, 12:42 PM
how to add for the latest vb advanced? using 3.6.4vb
sunnycher
01-31-2007, 12:57 PM
Ignore my other post! I was in the wrong thread anyway :)
Loving this, thank you!
akulion
01-31-2007, 12:59 PM
never mind got it working :D
thanks
phpdevrus
02-10-2007, 02:11 AM
how do i limit the displayed file name? some of my file names are long and it messes up my template on vba index.
thnx
phpdevrus
02-10-2007, 06:07 AM
nice, installed perfectly.
Jay...
02-21-2007, 03:36 PM
is there anyway i can have this working but have the other one not show up on the downloads.php page?
CyberRanger
02-21-2007, 04:46 PM
is there anyway i can have this working but have the other one not show up on the downloads.php page?Yes, you'll need to edit downloads.php to make that happen.
Around line 393, look for:
eval('$dpanel = "' . fetch_template('downloads_panel_side') . '";');
eval('$dmain = "' . fetch_template('downloads_wrapper_side') . '";');
REPLACE with:
eval('$dmain .= "' . fetch_template('downloads_wrapper_top') . '";');
Around line 1980, look for:
if ($dl->statslatestfiles > 0 OR $dl->statstopcontributers > 0 OR $dl->statsmostpopularfiles > 0)
{
eval('$dpanel = "' . fetch_template('downloads_panel_side') . '";');
eval('$dmain .= "' . fetch_template('downloads_wrapper_side') . '";');
}
else
{
eval('$dmain .= "' . fetch_template('downloads_wrapper_none') . '";');
}
REPLACE with:
eval('$dmain .= "' . fetch_template('downloads_wrapper_none') . '";');
That should do the trick!
Jay...
02-21-2007, 04:49 PM
Yes, you'll need to edit downloads.php to make that happen.
Around line 393, look for:
eval('$dpanel = "' . fetch_template('downloads_panel_side') . '";');
eval('$dmain = "' . fetch_template('downloads_wrapper_side') . '";');
REPLACE with:
eval('$dmain .= "' . fetch_template('downloads_wrapper_top') . '";');
Around line 1980, look for:
if ($dl->statslatestfiles > 0 OR $dl->statstopcontributers > 0 OR $dl->statsmostpopularfiles > 0)
{
eval('$dpanel = "' . fetch_template('downloads_panel_side') . '";');
eval('$dmain .= "' . fetch_template('downloads_wrapper_side') . '";');
}
else
{
eval('$dmain .= "' . fetch_template('downloads_wrapper_none') . '";');
}
REPLACE with:
eval('$dmain .= "' . fetch_template('downloads_wrapper_none') . '";');
That should do the trick!
That worked a treat that mate! Cheers :up:
Jay...
03-20-2007, 08:03 PM
is there any way to make this to truncate long file names with (...) without prentecies on main page lets say after 10 caracters?.
Sometimes I have long filenames and this screws up front page layout badly...
Any help would be greatly appreciated.
this is what i want to do. any ideas?
CyberRanger
03-21-2007, 11:57 AM
how do i limit the displayed file name? some of my file names are long and it messes up my template on vba index.
thnx
The only way to do this is to edit includes/class_downloads.php. Once you do that, the name displayed in the "tops" will be truncated on both the DownloadsII pages and on the VBA pages.
If you still want to do that, make these changes:
Around line 144 FIND:
$name = addslashes($latest['name']);
REPLACE with:
$name = addslashes(substr($latest['name'],0,xxx))." ... ";
Replace the xxx with how long you want the name to be. Follow the same procedure on line 174 (identical to above).
Jay...
03-21-2007, 03:32 PM
The only way to do this is to edit includes/class_downloads.php. Once you do that, the name displayed in the "tops" will be truncated on both the DownloadsII pages and on the VBA pages.
If you still want to do that, make these changes:
Around line 144 FIND:
$name = addslashes($latest['name']);
REPLACE with:
$name = addslashes(substr($latest['name'],0,xxx))." ... ";
Replace the xxx with how long you want the name to be. Follow the same procedure on line 174 (identical to above).
that works for the most popular but not the latest files. take a look http://www.donkproject.net/index.php?page=home
bottom left hand corner
CyberRanger
03-21-2007, 04:22 PM
that works for the most popular but not the latest files. take a look http://www.donkproject.net/index.php?page=home
bottom left hand corner
Do an "Update Counters" That will probably fix it.
Jay...
03-21-2007, 04:57 PM
spot on cheers mate!
rowlandc
04-04-2007, 02:32 PM
Is it possiable to only have Latest Files and Most Popular Files?
Could i take away the Top Contributors?
Best regards,
Clem
CyberRanger
04-04-2007, 02:37 PM
Is it possiable to only have Latest Files and Most Popular Files?
Could i take away the Top Contributors?
Best regards,
ClemIf you set "Top Contributors" to 0 (that's a zero) in vbadmin -> Downloads -> Settings -> Number of "Top Contributors" to Display then the Top Contributors will not display.
RS_Jelle
04-04-2007, 02:39 PM
That's very easy to do, just edit the adv_portal_ecdownloads template.
Remove this part of the code:
<if condition="$dl->statstopcontributers > 0">
<tr align="center">
<td class="thead" width="25%"><span class="smallfont">Top Contributors</span></td>
</tr>
<tr align="center">
<td class="alt1">
<fieldset class="fieldset" style="margin:0px 0px 0px 0px">
<legend>Top Contributors</legend>
<div style="padding:0px">
<table cellpadding="0" cellspacing="0" border="0" align="center" width="100%">
$dpanel_contrib_bits
</table>
</div>
</fieldset>
</td>
</tr>
</if>
Edit: CyberRanger was a bit faster :p
His method is easier to do, but then you also remove the Top Contributors stats from the downloads.php pages. With editing this template, you only remove it from the vBadvanced CMPS module.
CyberRanger
04-04-2007, 02:50 PM
That's very easy to do, just edit the ... With editing this template, you only remove it from the vBadvanced CMPS module.Right, depending on your overall goal, use on of these two methods. :p
DementedMindz
04-08-2007, 07:09 PM
any way to have this on a vbadvanced page as a center block and not have them on top of each other but side by side?
RS_Jelle
04-08-2007, 10:16 PM
That's possible, just change the adv_portal_ecdownloads template to what you want :)
This should work:
<tr align="center">
<td class="thead" width="25%"><span class="smallfont">Latest Files</span></td>
<td class="thead" width="25%"><span class="smallfont">Most Popular Files</span></td>
<td class="thead" width="25%"><span class="smallfont">Top Contributors</span></td>
</tr>
<tr align="center">
<td class="alt1">
<fieldset class="fieldset" style="margin:0px 0px 0px 0px">
<legend>Latest Files</legend>
<div style="padding:0px">
<table cellpadding="0" cellspacing="0" border="0" align="center" width="100%">
<tr>
<td width="100%">
<table cellpadding="2" cellspacing="{$stylevar['cellspacing']}" border="0" width="100%">
$dpanel_latest_bits
</table>
</td>
</tr>
</table>
</div>
</fieldset>
</td>
<td class="alt1">
<fieldset class="fieldset" style="margin:0px 0px 0px 0px">
<legend>Most Popular Files</legend>
<div style="padding:0px">
<table cellpadding="0" cellspacing="0" border="0" align="center" width="100%">
<tr>
<td width="100%">
<table cellpadding="2" cellspacing="{$stylevar['cellspacing']}" border="0" width="100%">
$dpanel_popular_bits
</table>
</td>
</tr>
</table>
</div>
</fieldset>
</td>
<td class="alt1">
<fieldset class="fieldset" style="margin:0px 0px 0px 0px">
<legend>Top Contributors</legend>
<div style="padding:0px">
<table cellpadding="0" cellspacing="0" border="0" align="center" width="100%">
$dpanel_contrib_bits
</table>
</div>
</fieldset>
</td>
</tr>
DementedMindz
04-08-2007, 10:21 PM
yeah I figured that out now thanks I couldnt get it to work so I been messing with it since and now its finally showing I just have it set up to show Latest Files, Most Popular Files made a new php file and all to test it couldnt figure out what was going on and it was I was using the old template in the php file also why is downloads_panel_bit needed in the templates to cache?
RS_Jelle
04-08-2007, 10:55 PM
yeah I figured that out now thanks I couldnt get it to work so I been messing with it since and now its finally showing I just have it set up to show Latest Files, Most Popular Files made a new php file and all to test it couldnt figure out what was going on and it was I was using the old template in the php file also why is downloads_panel_bit needed in the templates to cache?
That's every item shown by the module, the actual data template :)
rowlandc
04-18-2007, 01:15 PM
Thank you, worked a treat :)
Jesakos
05-26-2007, 05:48 PM
is that work on CMPS v3.0 RC1 ? and 3.6.7PL1 forum ?
thx
RS_Jelle
05-26-2007, 05:52 PM
is that work on CMPS v3.0 RC1 ? and 3.6.7PL1 forum ?
thx
This works fine with vBulletin 3.6.7 PL1, but I didn't upgraded to vBa CMPS 3.0 since it's only a first RC release (not a final one). But as we are only using basic vBa functionality, I would be very suprised if it wasn't compatible (so 99,99% chance it works).
Jesakos
05-26-2007, 08:08 PM
thnx it works fine ;) :up:
robca
05-27-2007, 02:04 PM
is there a way to change the language of this hack? where can i find these words?
Neoszion
05-28-2007, 03:57 PM
Great Mod just have one problem im trying to style it so that it looks like its in a table (each line starts a new style) here is the style im trying to use:
style="
color: #999999;
font-size: 12px;
font-family: Tahoma, Verdana, sans-serif;
background-color: #272729;
padding-top: 4px;
padding-bottom: 4px;
padding-left: 4px;
BORDER-TOP: 1px solid #111111;
BORDER-LEFT: 1px solid #111111;
border-bottom: 1px solid #323232;
BORDER-RIGHT: 1px solid #323232;"
Just trying to figure out where to put it?
rowlandc
05-28-2007, 04:09 PM
That's possible, just change the adv_portal_ecdownloads template to what you want :)
This should work:
<tr align="center">
<td class="thead" width="25%"><span class="smallfont">Latest Files</span></td>
<td class="thead" width="25%"><span class="smallfont">Most Popular Files</span></td>
<td class="thead" width="25%"><span class="smallfont">Top Contributors</span></td>
</tr>
<tr align="center">
<td class="alt1">
<fieldset class="fieldset" style="margin:0px 0px 0px 0px">
<legend>Latest Files</legend>
<div style="padding:0px">
<table cellpadding="0" cellspacing="0" border="0" align="center" width="100%">
<tr>
<td width="100%">
<table cellpadding="2" cellspacing="{$stylevar['cellspacing']}" border="0" width="100%">
$dpanel_latest_bits
</table>
</td>
</tr>
</table>
</div>
</fieldset>
</td>
<td class="alt1">
<fieldset class="fieldset" style="margin:0px 0px 0px 0px">
<legend>Most Popular Files</legend>
<div style="padding:0px">
<table cellpadding="0" cellspacing="0" border="0" align="center" width="100%">
<tr>
<td width="100%">
<table cellpadding="2" cellspacing="{$stylevar['cellspacing']}" border="0" width="100%">
$dpanel_popular_bits
</table>
</td>
</tr>
</table>
</div>
</fieldset>
</td>
<td class="alt1">
<fieldset class="fieldset" style="margin:0px 0px 0px 0px">
<legend>Top Contributors</legend>
<div style="padding:0px">
<table cellpadding="0" cellspacing="0" border="0" align="center" width="100%">
$dpanel_contrib_bits
</table>
</div>
</fieldset>
</td>
</tr>
Sorry for being such a nub but do I have to copy in this code in adv_portal_ecdownloads section deleteing what was there first then. Saving? or do I have to replace this with something?
rowlandc
05-31-2007, 08:07 PM
I couldn't wait so I gave it a try :p
I got this code up:
<if condition="$dl->statslatestfiles > 0">
<tr align="center">
<td class="thead" width="25%"><span class="smallfont">Latest Files</span></td>
<td class="thead" width="25%"><span class="smallfont">Most Popular Files</span></td>
<tr align="center">
<td class="alt1">
<fieldset class="fieldset" style="margin:0px 0px 0px 0px">
<legend>Latest Files</legend>
<div style="padding:0px">
<table cellpadding="0" cellspacing="0" border="0" align="center" width="100%">
<tr>
<td width="100%">
<table cellpadding="2" cellspacing="{$stylevar['cellspacing']}" border="0" width="100%">
$dpanel_latest_bits
</table>
</td>
</tr>
</table>
</div>
</fieldset>
</td>
<td class="alt1">
<fieldset class="fieldset" style="margin:0px 0px 0px 0px">
<legend>Most Popular Files</legend>
<div style="padding:0px">
<table cellpadding="0" cellspacing="0" border="0" align="center" width="100%">
<tr>
<td width="100%">
<table cellpadding="2" cellspacing="{$stylevar['cellspacing']}" border="0" width="100%">
$dpanel_popular_bits
</table>
</td>
</tr>
</table>
</div>
</fieldset>
</td>
</tr> </if>
Only problem i'm getting is that the border at the top isn't filling up :eek:
Anyone know what I need to add to the code to fix it?
http://www.animegunshuu.com/show.jpg
RS_Jelle
06-01-2007, 04:38 AM
is there a way to change the language of this hack? where can i find these words?
That's indeed not phrased yet.
You can change it in the adv_portal_ecdownloads template ;)
Great Mod just have one problem im trying to style it so that it looks like its in a table (each line starts a new style) here is the style im trying to use:
style="
color: #999999;
font-size: 12px;
font-family: Tahoma, Verdana, sans-serif;
background-color: #272729;
padding-top: 4px;
padding-bottom: 4px;
padding-left: 4px;
BORDER-TOP: 1px solid #111111;
BORDER-LEFT: 1px solid #111111;
border-bottom: 1px solid #323232;
BORDER-RIGHT: 1px solid #323232;"
Just trying to figure out where to put it?
As it IS in a table, you can do this pretty easier :D
In each case: you have to change the adv_portal_ecdownloads template.
Change (two times)
<table cellpadding="2" cellspacing="{$stylevar['cellspacing']}" border="0" width="100%">
to
<table cellpadding="2" cellspacing="{$stylevar['cellspacing']}" border="1" width="100%">
For the Top Contributors, the table is slightly different:
<table cellpadding="0" cellspacing="0" border="0" align="center" width="100%">
But again, just set the border attribute to 1 :)
I couldn't wait so I gave it a try :p
Only problem i'm getting is that the border at the top isn't filling up :eek:
Anyone know what I need to add to the code to fix it?
That's normal as there are more columns now (normally there's just one), so the table header needs to have a colspan attribute as it's only one column. This is very easy with vBa CMPS, just change the module "Title Row Colspan" setting. Set its value to 3 :)
rowlandc
06-01-2007, 07:21 AM
Works a treat :)
Thanks Jelle
Mrdby
06-08-2007, 01:28 AM
You already have a Module with an identifier of ''. Please select a different identifier. i followed the directions but i got that message.
RS_Jelle
06-08-2007, 11:06 AM
You already have a Module with an identifier of ''. Please select a different identifier. i followed the directions but i got that message.
Just do what it says: give the new module a unique identifier name :)
Choose for example downloads2 as the identifier.
PeteBlume
07-03-2007, 06:51 PM
Hello,
I'm from germany. I even tryed to install the mod on vBullten 3.6.7 PL. Before I've installed the newest version of vbadvanced.
I have tryed to upload the file downloads2.php abut the acp. Then I got this error message:
The file you have uploaded is not a valid module file.
What can I do?
I hope you can help and understand me and sorry for my bad english - school its longtime ago. :(
Hi,
I like to know how to change the Download body size?
See attachment. I want the Current Poll same size with Downloads.
What should i do?
RS_Jelle
07-08-2007, 07:42 AM
Hello,
I'm from germany. I even tryed to install the mod on vBullten 3.6.7 PL. Before I've installed the newest version of vbadvanced.
I have tryed to upload the file downloads2.php abut the acp. Then I got this error message:
The file you have uploaded is not a valid module file.
What can I do?
I hope you can help and understand me and sorry for my bad english - school its longtime ago. :(
You can't upload it using the AdminCP :D
You need to upload it using FTP to your /forums/modules/ folder, where all the PHP files of the vBa CMPS modules are located. The AdminCP upload feature is meaned for .module files, but we don't use that.
Hi,
I like to know how to change the Download body size?
See attachment. I want the Current Poll same size with Downloads.
What should i do?
That's because of the too long file names in the module. You can change some things in the adv_portal_ecdownloads template, but that won't solve it complete.
To solve it complete you need to edit some PHP:
Open /includes/class_downloads.php
Find $name = addslashes($latest['name']); (two times)
Change to $name = substr(addslashes($latest['name']), 0, 15); (two times)
Save and upload the file to your forums.
This will remove all characters after the 15th one. You can change the 15 to what you want ofcourse to fit to your site.
i have change the code 2 times below but still not working...
function update_latest_files()
{
global $db, $vbulletin;
if ($this->statslatestfiles > 0)
{
$statslatestfiles_q = $db->query_read("SELECT name, id FROM " . TABLE_PREFIX . "dl_files WHERE `purgatory`='0' ORDER BY `date` DESC LIMIT ".$this->statslatestfiles.""); // added by Brent to dynamically get the latest files loaded
while ($latest = $db->fetch_array($statslatestfiles_q)) // for section added by Brent to show a dynamic number of files
{
$name = substr(addslashes($latest['name']), 0, 10); $id = $latest['id'];
$url = $vbulletin->options['bburl']."/downloads.php?do=file&id=$id";
if ($id > 0)
{
eval('$dpanel_latest_bits .= "' . fetch_template('downloads_panel_bit') . '";');
}
}
---------------
It's working now... :D Thanks.
Noctavia
07-10-2007, 12:53 PM
Is there a way to have the downloads section list as a "page" module in CMPS instead of going directly to a whole new page? I would like to keep my CMPS parts on the left with the Downloads on the right. I couldn't figure out how to get that to work. Any help would be appreciated.
I figured to post in here since it is CMPS related.
I think this is also what I want to do. I'd like to have the actual downloads section (ie the right column of the downloads.php page showing as a vBadvanced page more than the top stats.
RS_Jelle
07-13-2007, 06:49 PM
I think this is also what I want to do. I'd like to have the actual downloads section (ie the right column of the downloads.php page showing as a vBadvanced page more than the top stats.
On the vBadvanced site, you can find integration instructions for v2 of it: http://www.vbadvanced.com/membersarea.php?do=viewusermanual&productid=4&pageid=6
I didn't tests v3 yet, as I didn't have the time for it and it's not yet a final release (it's an RC, Release Candidate).
Then you only need to turn off the column in the DownloadsII options. But for removing them from the home page of DownloadsII, you need to edit downloads.php (at the end of the file).
There you will find:
if ($dl->statslatestfiles > 0 OR $dl->statstopcontributers > 0 OR $dl->statsmostpopularfiles > 0)
{
eval('$dpanel = "' . fetch_template('downloads_panel_side') . '";');
eval('$dmain .= "' . fetch_template('downloads_wrapper_side') . '";');
}
else
{
eval('$dmain .= "' . fetch_template('downloads_wrapper_none') . '";');
}
Replace this with:
eval('$dmain .= "' . fetch_template('downloads_wrapper_none') . '";');
HarryBO
08-19-2007, 08:58 PM
Works fine, but how can I translate the stats into german? I canĀ“t find anything in the phrases or in the templates!
mlucek
08-27-2007, 05:39 PM
Nice !! *** INSTALLED ***
VB 3.6.7 (yeah I know, haven't updated to 3.6.8 yet)
CMPS 3.0 RC1
RS_Jelle
08-27-2007, 10:01 PM
Works fine, but how can I translate the stats into german? I can?t find anything in the phrases or in the templates!
They are hardcoded in the adv_portal_ecdownloads template at the moment ;)
AudioFX
09-15-2007, 12:23 AM
Coolin, very useful, thanx!
ang2el
09-27-2007, 03:21 PM
the contents of top contributors and latest files are not showing up. How should I fix this? Please goto http://www.xenomed.com/forums/downloads.php to see this problem.
CyberRanger
09-28-2007, 11:32 AM
the contents of top contributors and latest files are not showing up. How should I fix this? Please goto http://www.xenomed.com/forums/downloads.php to see this problem.
Try running "Update Counters".
Zellbet
10-03-2007, 11:18 PM
1. I am trying to modify the VBadanced module to show only one category. IE I want one module to show the most popular files, and another module to show the latest files. Not sure what I am doing wrong here, but this is the image i get
https://vborg.vbsupport.ru/
This is the code. I would like it to just say in the module the names of the files. And not include most popular files 2 times, and remove the lines around it.
<if condition="$dl->statsmostpopularfiles > 0">
<tr align="center">
<td class="thead" width="25%"><span class="smallfont">Most Popular Files</span></td>
</tr>
<tr align="center">
<td class="alt1">
<fieldset class="fieldset" style="margin:0px 0px 0px 0px">
<legend>Most Popular Files</legend>
<div style="padding:0px">
<table cellpadding="0" cellspacing="0" border="0" align="center" width="100%">
<tr>
<td width="100%">
<table cellpadding="2" cellspacing="{$stylevar['cellspacing']}" border="0" width="100%">
$dpanel_popular_bits
</table>
</td>
</tr>
</table>
</div>
</fieldset>
</td>
</tr>
</if>
scotsmist
10-08-2007, 09:41 AM
That's okay, because me and CyberRanger aren't using vBPortal (it isn't free, so we can't test it), so we only create/support a vBadvanced CMPS module :)
Hi, if vbportal was free to you, would you test with it ?
RS_Jelle
10-18-2007, 06:01 AM
1. I am trying to modify the VBadanced module to show only one category. IE I want one module to show the most popular files, and another module to show the latest files. Not sure what I am doing wrong here, but this is the image i get
http://www.ozoneplanet.net/images/pic.jpg
This is the code. I would like it to just say in the module the names of the files. And not include most popular files 2 times, and remove the lines around it.
<if condition="$dl->statsmostpopularfiles > 0">
<tr align="center">
<td class="thead" width="25%"><span class="smallfont">Most Popular Files</span></td>
</tr>
<tr align="center">
<td class="alt1">
<fieldset class="fieldset" style="margin:0px 0px 0px 0px">
<legend>Most Popular Files</legend>
<div style="padding:0px">
<table cellpadding="0" cellspacing="0" border="0" align="center" width="100%">
<tr>
<td width="100%">
<table cellpadding="2" cellspacing="{$stylevar['cellspacing']}" border="0" width="100%">
$dpanel_popular_bits
</table>
</td>
</tr>
</table>
</div>
</fieldset>
</td>
</tr>
</if>
That's because the same templated is used two times. For the second module, create a new template next to adv_portal_ecdownloads, for example adv_portal_ecdownloads2.
Then open /modules/downloads2.php and change adv_portal_ecdownloads in it to your other template and give the module another name (for example downloads3.php), so you have two modules :)
Hi, if vbportal was free to you, would you test with it ?
That's an interesting offer :D
Then I would certainly experiment with it and try to port the module.
scotsmist
10-20-2007, 04:16 PM
Hi Jelle,
The offer is there to yourself and any other coders. Drop by phpportals.com so we can set something up for you.
S7rik3R
12-26-2007, 02:18 PM
Very nice this is what I needs ...
Thanks ~
Jay...
01-09-2008, 01:38 PM
is there a way to reset the downloads count? mine hasnt been used yet it shows
' Downloads: 4294967166'
CyberRanger
01-09-2008, 04:43 PM
is there a way to reset the downloads count? mine hasnt been used yet it shows
' Downloads: 4294967166'Run "Update Counters" located on your downloads.php page in the navigation area
cookiepants
01-21-2008, 12:03 AM
I love this mod, and have a question. I would like to add a graphic to the page, but can't seem to find where to add it in. I'd like it in this box, replacing the word navigation.
Navigation
Main | Category Tree | Stats | Search | Add | My Files | Manage Files | Update Counters
Thank you!
Nutmeg
RS_Jelle
01-21-2008, 06:13 AM
That's a vB Phrase, so you can edit it using AdminCP -> Languages & Phrases
The phrase variable of it is ecdownloads_navigation
Or you can edit the downloads_wrapper_none, downloads_wrapper_side and downloads_wrapper_top templates, where it is used in ({$vbphrase['ecdownloads_navigation']}).
cookiepants
01-21-2008, 04:30 PM
thanks!
REVHEAD
02-04-2008, 10:01 AM
Installed this mod is awsome
pHluid13
02-18-2008, 02:26 AM
Since I only want certain members to see the block on the side after they log in. Which I have done already. I was also wondering one of two things. In the Site Navigation module, is it possible to have one of the links inside of that module only viewable to a certain usergroup. If not, is there a way that I can make the header of the Downloads block a link to the downloads.php page?
For Example: I titled the Downloads module "File Cabinet". Is it possible to make the words File Cabinet" at the top of the module block into a link that goes to downloads.php. This way only those people with permissions to visit the File Cabinet may see the link to get there. This way I don't have to make a new button for the navbar at the top. Which actually, I would like to do but don't know how to edit the navbar buttons for usergroup permissions. Any of the solutions, would be great.
Edit: Nevermind on the link in the module. I figured it out. I just changed the title of the module to "<a href="http://www.hswaves.com/forum/downloads.php">File Cabinet</a>"
and so it became a link. So now my next project is to make a button in the navbar appear only to specific usergroups. Anyone know how to do that?
RS_Jelle
02-18-2008, 06:41 AM
In the Site Navigation module, is it possible to have one of the links inside of that module only viewable to a certain usergroup.
That's not possible with vBadvanced CMPS.
Btw: please click the install link if you use this mod.
Edit: Nevermind on the link in the module. I figured it out. I just changed the title of the module to
There's a better way to do this with vBa CMPS. Each module has a "Module Link" setting, where you can put such links :)
and so it became a link. So now my next project is to make a button in the navbar appear only to specific usergroups. Anyone know how to do that?
You can use template conditionals:
<if condition="is_member_of($bbuserinfo, 6)">
If in group 6, show this...
<else />
...or else, show this.
</if>
Easier:
<if condition="is_member_of($bbuserinfo, 6)">
If in group 6, show this...
</if>
Multiple groups:
<if condition="is_member_of($bbuserinfo, 6, 9, 10)">
If in group 6, show this...
<else />
...or else, show this.
</if>
masterweb
03-16-2008, 02:38 PM
Installed and working on my 3.6.8 forum. Thanks mate
R1lover
03-17-2008, 04:23 AM
Installed on 3.7 Beta 6 and working well so far.
LilSniper
03-22-2008, 04:11 AM
NEVERMIND.
thanks...this is awesome
Goomzee
04-05-2008, 10:42 AM
can you plz tell me which vba Modules should i add php,Templete or BBC
RS_Jelle
04-05-2008, 12:20 PM
can you plz tell me which vba Modules should i add php,Templete or BBC
A PHP module as you are using /modules/downloads2.php ;)
Goomzee
04-06-2008, 04:21 PM
i added but it's not working strange
RS_Jelle
04-07-2008, 05:15 AM
i added but it's not working strange
Have you filled in all fields correctly (like on this screenshot (https://vborg.vbsupport.ru/attachment.php?attachmentid=55347&d=1162332411) and in the instructions)?
Goomzee
04-08-2008, 05:33 PM
i upload downloads2.phpin forums/modules direcotry then go to edit modules here attachment by the way how do i update the my index pages(s) to show the new module?
RS_Jelle
04-10-2008, 05:37 AM
i upload downloads2.phpin forums/modules direcotry then go to edit modules here attachment by the way how do i update the my index pages(s) to show the new module?
"Templates used" looks wrong, you've got this there:
field enter 'adv_portal_ecdownloads, downloads_panel_bit'
which should become:
adv_portal_ecdownloads, downloads_panel_bit
For adding it to the pages you want, just use the edit page feature and enable the downloads2 module.
Goomzee
04-10-2008, 08:27 AM
i also did this but same problem it;s not working
RS_Jelle
04-12-2008, 01:11 PM
i also did this but same problem it;s not working
If you pm me an AdminCP login for your forum, I will take a look.
amirlol
04-12-2008, 05:16 PM
install ! thanks
maf1973
05-03-2008, 11:00 AM
Updated for 3.7 ?
RS_Jelle
05-03-2008, 11:21 AM
Updated for 3.7 ?
No need for any updates, it works fine with vB 3.7 :)
karel1985
05-13-2008, 05:33 PM
No need for any updates, it works fine with vB 3.7 :)
so u can add it in the 3.7 zone? i think much more people would take a look at this
Thanks again for the great addon
Karel
Drakah
05-13-2008, 06:07 PM
Works well for me with 3.7 after all of the configuration settings were done, usergrp permissions, and all of that.
Just wish I had the option to add in custom fields to the file listings (ie: Version, Compatible with ___, etc.), as well as thumbnails to match the forum scheme.
You can see how I did it at www.shakahr.com
RS_Jelle
05-13-2008, 07:24 PM
so u can add it in the 3.7 zone? i think much more people would take a look at this
Thanks again for the great addon
Karel
There will be a new add-on for v6, which will be vB 3.7 only :)
Works well for me with 3.7 after all of the configuration settings were done, usergrp permissions, and all of that.
Just wish I had the option to add in custom fields to the file listings (ie: Version, Compatible with ___, etc.), as well as thumbnails to match the forum scheme.
You can see how I did it at www.shakahr.com
What do you mean by "as well as thumbnails to match the forum scheme"? The lightbox viewer?
Jay...
06-03-2008, 05:43 PM
Just wondering... will this ever be made to work with a points system?
CyberRanger
06-04-2008, 03:17 AM
Just wondering... will this ever be made to work with a points system?
The hooks are in place within DownloadsII for any developer to write add-on modules to connect to any points system. We are just waiting for someone to do it.
Hitterman
09-14-2008, 03:27 AM
Is it compatible with vbulletin 3.7.
bollie
09-14-2008, 09:43 AM
Is it compatible with vbulletin 3.7.
yes
freni32
11-21-2008, 01:07 PM
Can this work with vbadvanced dynamics as well?
I tried to upload this module into dynamics and get this message:
"The file you have uploaded is not a valid module file."
Also I am trying to edit the categories for the downloads module, the downloads options only appear in admincp - vbulletin options - downloads II
how do you get it to appear like it should in
admin cp - downloads ??
laercioaugusto
01-02-2009, 03:37 PM
installed .... thanks:up::up:
Vaupell
01-12-2009, 01:19 AM
mm nice works fine with
Vbulletin 3.8
Vbadvanced 3.1
yay, lovely.
arashjaf
01-16-2009, 03:50 AM
thank you so much guys
great add-on, I love it
arashjaf
01-16-2009, 03:58 AM
That worked a treat that mate! Cheers :up:
has it been removed completely?
arashjaf
01-16-2009, 04:00 AM
Yes, you'll need to edit downloads.php to make that happen.
Around line 393, look for:
eval('$dpanel = "' . fetch_template('downloads_panel_side') . '";');
eval('$dmain = "' . fetch_template('downloads_wrapper_side') . '";');
REPLACE with:
eval('$dmain .= "' . fetch_template('downloads_wrapper_top') . '";');
Around line 1980, look for:
if ($dl->statslatestfiles > 0 OR $dl->statstopcontributers > 0 OR $dl->statsmostpopularfiles > 0)
{
eval('$dpanel = "' . fetch_template('downloads_panel_side') . '";');
eval('$dmain .= "' . fetch_template('downloads_wrapper_side') . '";');
}
else
{
eval('$dmain .= "' . fetch_template('downloads_wrapper_none') . '";');
}
REPLACE with:
eval('$dmain .= "' . fetch_template('downloads_wrapper_none') . '";');
That should do the trick!
great thanks, I did that, and now it does not show it when I go to the download section (that is what i want), but it does show it when I go to category Tree, stats ... how can I make sure the new files block do not show at all in my downlaod section.
regards
zushiba
05-12-2009, 03:01 PM
So I'm guessing this just isn't being updated any longer for the latest versions of Download II/VB/VBCMPS?
I tried and all I seem to get is a blank module.
csrober055
05-21-2009, 07:49 AM
Wonderful! Downloaded and installed seamlessly! Brilliant work!
Thank you,
csrober055
cowcowcow
07-13-2009, 10:32 AM
EDIT: jelle posted the solution on page 7, opps i missed it. Thanks!
Have to first declare I love this mod, great work guys =)
Now theres a slight problem i run into. When i use this add on, im displaying the "latest downloads/top contributors etc block" on the left side of my main homepage, which wraps around my whole forum and this is the look i want to keep when pple go from page to page.
When i click to go to my downloads.php area, (which i integrated) i see a duplicate(which makes total sense) - theres the "latest downloads/top contributors etc block" from the wrapper on the left, and again on the main download page.
Since i already had the "latest downloads/top contributors etc block" in my wrapper and dont need it to display again on the downloads main page, is there a way to stop it from displaying and just display the categories?
Thanks in advance Jelle/CyberRanger and much appreciated!
RS_Jelle
07-13-2009, 11:41 AM
So I'm guessing this just isn't being updated any longer for the latest versions of Download II/VB/VBCMPS?
I tried and all I seem to get is a blank module.
It's fully updated. It should work fine with the latest versions of vB, DL II and vBa CMPS.
cowcowcow
07-13-2009, 11:42 AM
jelle i used ur code on page 7, turns out i need to remove another batch of code cause when i click on a category, the "top block" gets displayed again. i tried looking in the downloads.php file but i honestly have no clue what to remove.
nvm fixed with this
Open downloads.php
Find
PHP Code:
eval('$dmain_jr = "' . fetch_template('downloads_cat') . '";');
eval('$dpanel = "' . fetch_template('downloads_panel_side') . '";');
eval('$dmain = "' . fetch_template('downloads_wrapper_side') . '";');
Replace with
PHP Code:
eval('$dmain_jr = "' . fetch_template('downloads_cat') . '";');
if ($vbulletin->options['ecdownloads_tops'])
{
eval('$dpanel = "' . fetch_template('downloads_panel_side') . '";');
eval('$dmain = "' . fetch_template('downloads_wrapper_side') . '";');
}
else
{
eval('$dmain .= "' . fetch_template('downloads_wrapper_top') . '";');
}
v6 will have the left column on a per page (home, cat, file, search, ...) basis.
Saviour
08-11-2009, 12:31 PM
Fantastic mod!
Installed and working flawlessly on vB 3.8.3.
archaosus
12-13-2009, 11:22 PM
Ignore this post - wrong thread.
Llandy
01-20-2010, 11:51 PM
Works like a charm, installed.
NiTRoN
02-11-2010, 04:06 PM
Can this be ported to vbadvanced v4.x ?
RS_Jelle
02-11-2010, 04:26 PM
Can this be ported to vbadvanced v4.x ?
Yes, it will, but it's only beta 2 at the moment :)
NiTRoN
02-11-2010, 04:59 PM
thanks
stunod
06-28-2010, 03:26 AM
Any updates on the 4.x version yet?
Thanks,
Adam
DaPro
07-23-2010, 11:35 AM
Could really use this for my new web site :(, but needs to be or vB4.x
NokStar
09-06-2010, 01:48 PM
need 4.x version for vBadvanced
Stefanus
10-09-2010, 11:59 AM
Can this be ported to vbadvanced v4.x ?
Yes, it will, but it's only beta 2 at the moment :)
Any progress on this? :erm:
NokStar
10-26-2010, 09:09 AM
Any progress on this? :erm:
Yes really in need of this
angkor408
11-06-2010, 09:00 AM
I tried on VB4.0.7 it say invalid module file.
AlBundy
02-04-2011, 08:05 PM
I search this addon for 4.1.0 :/
can anyone help me? thx
The same problem, I need this addon for 4.1.2.
It's possible? Can help me?
Thanks and regards!!
daveb47
04-18-2011, 01:18 PM
The same problem, I need this addon for 4.1.2
Need this as well please
i.s.s.w
05-14-2011, 07:21 PM
please upgrade your mod for vBadvanced CMPS
Guest210212002
07-01-2011, 05:15 PM
It's working with 3.8 here. :)
Thanks!
vBulletin® v3.8.12 by vBS, Copyright ©2000-2025, vBulletin Solutions Inc.