vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.5 Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=113)
-   -   Links and Downloads Manager (https://vborg.vbsupport.ru/showthread.php?t=91107)

lexx27 06-07-2006 11:15 PM

Congratulations for this great code.

I only have two problems:

1. I uploaded a zip file successfully. Then I tried to upload an mp3 file and the browser redirected after a minute to a blank page (http://www.akrovates.com/forums/local_links.php).

2. When I link an mp3, the code adds automatically a thumbnail...

The mimetype is right, and I searched for about an hour this thread.

lexx27 06-08-2006 12:10 AM

I have news. The problem exists with firefox. IE can upload mp3s.

GrendelKhan{TSU 06-08-2006 02:22 AM

check my post above. its silly...but see if it works for you.

sydude 06-08-2006 03:00 AM

Quote:

Originally Posted by obmob
Hmm... well, i think this is waht you want. Columns with vertical alignment to TOP. :bunny:

Thank you. That did the trick for the thumbnail picture on the left, but it didn't work with the right column, the one with all the controls (what do we call that thingie anyway?). It was supposed to, right?

S

testing2 06-08-2006 03:21 AM

Quote:

Originally Posted by AndrewD
This surprises me, as the front page uses the same code as the rest. Couple of suggestions
- try setting LDM/admin *show_hit_parade* to zero
- try loading one of the inner pages in LDM directly from a clean browser launch (e.g. point your browser at http://yoursite/local_links.php?catid=1). Is this slow - in other words, is it the first page that is slow or the home page?
- edit your VB includes/config.php and add the following line:
Code:

$config['Misc']['debug'] = true;
at the bottom. This adds debugging code to VB, and you will get a timer/database hit record at the bottom of each page, with an 'Explain' link. On your LDM home page, click on 'Explain', and it will tell you where the time is being spent. (On my test board, the home page requires 15 database lookups and 0.1 seconds.)

Send me a PM with your findings and we can try to get to the bottom of this.


Thank you for your help! I changed the LDM_hit_parade to 0 and the page load time went from 17.5 seconds to 0.145 seconds!

AndrewD 06-08-2006 04:07 AM

Quote:

Originally Posted by sydude
Thank you. That did the trick for the thumbnail picture on the left, but it didn't work with the right column, the one with all the controls (what do we call that thingie anyway?). It was supposed to, right?

S

About 30 lines into the linkbit, there are these two lines:

PHP Code:

<td width="5">&nbsp;</td>
<
td width="30%"

Put an alignment tag into the second td:
PHP Code:

<td width="5">&nbsp;</td>
<
td width="30%" valign="top"


AndrewD 06-08-2006 04:13 AM

Quote:

Originally Posted by lexx27
I have news. The problem exists with firefox. IE can upload mp3s.

There's something deeper going on, and we need to get to the bottom of it. I'd appreciate any reports of blank screens, plus details of attempts to resolve.

With the site that first flagged this problem, attempts to add a new entry to LDM which involves an upload results in a blank screen, with nothing added. It happens (as far as I can tell) with all filetypes, and with both IE and Firefox. However, uploads do work correctly, for example, if I take an existing entry and edit it to replace an existing link with an upload. Furthermore the Jukebox screen is also blank.

Each of these cases works fine on my test system, using identical commands and an identical release, so there must be something in the site configuration that's triggering this.

AndrewD 06-08-2006 04:14 AM

Quote:

Originally Posted by testing2
Thank you for your help! I changed the LDM_hit_parade to 0 and the page load time went from 17.5 seconds to 0.145 seconds!


OK, I'll take a look at the code

lexx27 06-08-2006 12:15 PM

Another thing I noticed is that a file had 30 downloads yesterday (webalizer report), and only 2 hits inside the manager???

lexx27 06-08-2006 12:46 PM

Quote:

2. When I link an mp3, the code adds automatically a thumbnail...

The mimetype is right, and I searched for about an hour this thread.
do you know anything about this


All times are GMT. The time now is 06:46 PM.

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.03340 seconds
  • Memory Usage 1,750KB
  • 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
  • (1)bbcode_code_printable
  • (2)bbcode_php_printable
  • (6)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (4)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