Go Back   vb.org Archive > vBulletin Modifications > Archive > vB.org Archives > vBulletin 3.6 > vBulletin 3.6 Add-ons
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools
DownloadsII ver 5.0 vbAdvanced Add-On Details »»
DownloadsII ver 5.0 vbAdvanced Add-On
Version: 1.0.1, by CyberRanger CyberRanger is offline
Developer Last Online: Jan 2015 Show Printable Version Email this Page

Category: Add-On Releases - Version: 3.6.8 Rating:
Released: 03-11-2006 Last Update: 10-30-2006 Installs: 300
Additional Files  
No support by the author.

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 (free).
Also vBadvanced CMPS (a vBulletin 3.5.x or 3.6.x version) is required. You can find it here (free).



Installation
  1. Upload downloads2.php to the module directory of vBadvanced CMPS
  2. 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)
  3. 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

Supporters / CoAuthors

Show Your Support

  • This modification may not be copied, reproduced or published elsewhere without author's permission.

Comments
  #82  
Old 06-01-2007, 04:38 AM
RS_Jelle RS_Jelle is offline
 
Join Date: Jul 2005
Posts: 1,276
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by robca View Post
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

Quote:
Originally Posted by Neoszion View Post
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:

PHP Code:
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
In each case: you have to change the adv_portal_ecdownloads template.

Change (two times)
PHP Code:
<table cellpadding="2" cellspacing="{$stylevar['cellspacing']}border="0" width="100%"
to
PHP Code:
<table cellpadding="2" cellspacing="{$stylevar['cellspacing']}border="1" width="100%"
For the Top Contributors, the table is slightly different:
PHP Code:
<table cellpadding="0" cellspacing="0" border="0" align="center" width="100%"
But again, just set the border attribute to 1

Quote:
Originally Posted by rowlandc View Post
I couldn't wait so I gave it a try

Only problem i'm getting is that the border at the top isn't filling up

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
Reply With Quote
  #83  
Old 06-01-2007, 07:21 AM
rowlandc rowlandc is offline
 
Join Date: Jan 2007
Posts: 60
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Works a treat

Thanks Jelle
Reply With Quote
  #84  
Old 06-08-2007, 01:28 AM
Mrdby Mrdby is offline
 
Join Date: Mar 2007
Location: Hades
Posts: 1,298
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

You already have a Module with an identifier of ''. Please select a different identifier. i followed the directions but i got that message.
Reply With Quote
  #85  
Old 06-08-2007, 11:06 AM
RS_Jelle RS_Jelle is offline
 
Join Date: Jul 2005
Posts: 1,276
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Mrdby View Post
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.
Reply With Quote
  #86  
Old 07-03-2007, 06:51 PM
PeteBlume PeteBlume is offline
 
Join Date: May 2007
Posts: 18
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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.
Reply With Quote
  #87  
Old 07-08-2007, 04:24 AM
A|X A|X is offline
 
Join Date: Jun 2007
Posts: 33
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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?
Reply With Quote
  #88  
Old 07-08-2007, 07:42 AM
RS_Jelle RS_Jelle is offline
 
Join Date: Jul 2005
Posts: 1,276
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by PeteBlume View Post
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
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.

Quote:
Originally Posted by A|X View Post
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.
Reply With Quote
  #89  
Old 07-08-2007, 08:33 AM
A|X A|X is offline
 
Join Date: Jun 2007
Posts: 33
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

i have change the code 2 times below but still not working...


Code:
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&amp;id=$id";

				if ($id > 0)
				{
					eval('$dpanel_latest_bits .= "' . fetch_template('downloads_panel_bit') . '";');
				}
			}
Reply With Quote
  #90  
Old 07-08-2007, 08:45 AM
A|X A|X is offline
 
Join Date: Jun 2007
Posts: 33
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

---------------


It's working now... Thanks.
Reply With Quote
  #91  
Old 07-10-2007, 12:53 PM
Noctavia Noctavia is offline
 
Join Date: May 2006
Posts: 103
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Drakah View Post
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.
Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 02:48 AM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.04873 seconds
  • Memory Usage 2,331KB
  • Queries Executed 28 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (1)bbcode_code
  • (4)bbcode_php
  • (7)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (6)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (11)post_thanks_box
  • (11)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (11)post_thanks_postbit_info
  • (10)postbit
  • (11)postbit_onlinestatus
  • (11)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_postinfo_query
  • fetch_postinfo
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete