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)
-   -   ecRelease (https://vborg.vbsupport.ru/showthread.php?t=104153)

bashy 01-01-2006 02:32 PM

Hi


Server Info

? Os: Linux w
? PHP: 4.3.11
? MySQL: 4.1.12
? Sql Size: 58MB
? Time: 15:40:57
? Date: 01 Jan 2006
? GMT: +0000

I get the DB error because i have the Who Downloaded hack installed, the error comes up after we click the Who Download button???

As for the file edits..., This 1
Code:

<input type="hidden" name="t" value="$threadid" />
Is actually in the template 4 times which could cause the Poll problem, therefore which one do i place your edit below?

Bashy

Ron1n 01-01-2006 02:55 PM

Quote:

Originally Posted by bashy
As for the file edits..., This 1
Code:

<input type="hidden" name="t" value="$threadid" />
Is actually in the template 4 times which could cause the Poll problem, therefore which one do i place your edit below?

Bashy

Place it ABOVE
Code:

<input type="hidden" name="pollid" value="$pollid" />
Btw, this edit isnt in newpost, its in SHOWTHREAD, so it isnt effecting you...

Quote:

I get the DB error because i have the Who Downloaded hack installed, the error comes up after we click the Who Download button???
The DB error is for invalid syntax... at least thats what it seems like. Does anyone else have this problem?

bashy 01-01-2006 02:58 PM

This is where it already is :)

I have just edited my last post with regards to the database error...

Is there out that you could sort out as i certainly want to keep both hacks :)

Bashy

Ron1n 01-01-2006 03:02 PM

Do you only get this error when clicking on who downloaded, or do you also get it when downloading attachments. The two hacks may have some conflicts, but this doesnt look like one.

bashy 01-01-2006 03:06 PM

hi

I only get it when anyone clicks the Who Downloaded button.
it happens on all the attachments not just the ones uploaded using you system, It was ok before we installed it...

I have had to disable your for now untill its reolved due to this error..
btw i dont get the error now its diabled...

Before i disabled it i still had to setup the poll as well, i have checked and rechecked the edits and there all ok!!

Regards

Bashy

Ron1n 01-01-2006 03:15 PM

Find in release_attachment_complete:
Code:

if (strpos($vbulletin->options['releaseextensions'], strtolower($extension)) !== false)
{
        $db->query_write("
                UPDATE " . TABLE_PREFIX . "release SET
                        downloads = downloads + 1
                WHERE postid = $attachmentinfo[postid]
        ");
}

Add above:
Code:

if ($_REQUEST['do'] != 'whodownloaded')

bashy 01-01-2006 03:19 PM

Hi

cheers for this but where exactly is release_attachment_complete: :o
sorry

Bashy

Ron1n 01-01-2006 03:21 PM

Its a hook...

bashy 01-01-2006 03:25 PM

so it is :o thanks...

This issue now resolved :)
Just the poll problem now any other thoughts to it?
I could copy an paste my showthread for you to check?

Bashy

Ron1n 01-01-2006 03:26 PM

You could try... i am going out, ill be back later.


All times are GMT. The time now is 07:27 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.01156 seconds
  • Memory Usage 1,736KB
  • 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
  • (5)bbcode_code_printable
  • (2)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (3)pagenav_pagelink
  • (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