vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.8 Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=235)
-   -   Major Additions - DownloadsII (https://vborg.vbsupport.ru/showthread.php?t=120122)

Armyqt 02-19-2009 02:46 AM

Quote:

Originally Posted by carrlos (Post 1529158)
I finally got it to work but the .htaccess file did not solve the problem. Thanks to blind-eddie for pointing me to the php.ini file.

I added the red code to my php.ini file and now all is well with the uploads:
Code:

register_globals = off
allow_url_fopen = off

memory_limit = 50M
post_max_size = 30M
file_uploads = On
upload_max_filesize = 30M


expose_php = Off
max_input_time = 60
variables_order = "EGPCS"
extension_dir = ./
upload_tmp_dir = /tmp
precision = 12
SMTP = relay-hosting.secureserver.net
url_rewriter.tags = "a=href,area=href,frame=src,input=src,form=,fieldset="

[Zend]
zend_extension=/usr/local/zo/ZendExtensionManager.so
zend_extension=/usr/local/zo/4_3/ZendOptimizer.so



I did this and it did not work for me. Any ideas why?

aakhan136 02-20-2009 07:05 PM

thanks

aakhan136 02-22-2009 04:00 PM

Thanks

Kingster 02-25-2009 03:29 PM

For those of you that are interested (since I didn't find it here anywhere) in modifying the postbit a bit more than just showing number of uploads and downloads, here's a snippet of code that will only show those if the user has uploaded or downloaded something, and if they have upped something, then it will provide a link to their uploaded files.

This needs to go into downloads_memberinfo_postbit in your templates:
Code:

<div><if condition="$post[downloads]>0">{$vbphrase['ecdownloads_downloads']}: $post[downloads]</if></div>
<div><if condition="$post[uploads]>0"><a href="member.php?$session[sessionurl]u=$post[userid]&tab=dl2modification">{$vbphrase['ecdownloads_uploads']}: $post[uploads]</a></if></div>

Thanks go to Lynne (one of the mods here) for putting me on the path.

Cheers!

tlwwolfseye 02-25-2009 04:05 PM

Quote:

Originally Posted by Kingster (Post 1754361)
For those of you that are interested (since I didn't find it here anywhere) in modifying the postbit a bit more than just showing number of uploads and downloads, here's a snippet of code that will only show those if the user has uploaded or downloaded something, and if they have upped something, then it will provide a link to their uploaded files.

This needs to go into downloads_memberinfo_postbit in your templates:
Code:

<div><if condition="$post[downloads]>0">{$vbphrase['ecdownloads_downloads']}: $post[downloads]</if></div>
<div><if condition="$post[uploads]>0"><a href="member.php?$session[sessionurl]u=$post[userid]&tab=dl2modification">{$vbphrase['ecdownloads_uploads']}: $post[uploads]</a></if></div>

Thanks go to Lynne (one of the mods here) for putting me on the path.

Cheers!

Tried that, no change at all in the Profile, still only shows Up & Downloads, not more.

tlwwolfseye 02-25-2009 04:07 PM

Ok, scratch that, i was looking for it in the Statistics tab. ;) *LOL*
But it was in the Downloads Tab of course. Thanks, now works like a charme. ;)

Kingster 02-25-2009 05:07 PM

Quote:

Originally Posted by tlwwolfseye (Post 1754379)
Tried that, no change at all in the Profile, still only shows Up & Downloads, not more.

Quote:

Originally Posted by tlwwolfseye (Post 1754384)
Ok, scratch that, i was looking for it in the Statistics tab. ;) *LOL*
But it was in the Downloads Tab of course. Thanks, now works like a charme. ;)

Yeah, I suppose I should have made clear that this info was going to change what is displayed in the user info space on a post (aka the postbit). The link goes to the downloads tab on the poster's profile page.

Having said THAT, it wouldn't be hard to mod the statistics page to show the same info, I just don't need that as I figure if you're already in a profile page, you can click on the downloads tab pretty easily.

Kingster 02-25-2009 06:26 PM

Now I have a question... Any one figured out a way to get a thumbnail to show on the Downloads tab in the member profile? Just want the first one, and only one.

Thoughts?

Neptun 02-28-2009 04:49 PM

hello there

i would kindly ask you for some help with my problem

i tried to install the mod but after i tried to import the product i get the following error:

Quote:

Fatal error: Call to undefined method vb_activecache::flush() in /home/forum/includes/adminfunctions_template.php(2359) : eval()'d code on line 60

i hope that anybody can help ....


thx in advance

K4GAP 02-28-2009 06:31 PM

Reading through the posts I'm getting mixed feelings about whether or not this is stable for 3.8 and if there are any bugs I should know about before I dl it.

Any input?


All times are GMT. The time now is 05:04 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.03703 seconds
  • Memory Usage 1,747KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (3)bbcode_code_printable
  • (5)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (5)pagenav_pagelinkrel
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.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/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • printthread_start
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete