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)

Hendrizius 10-13-2007 11:19 AM

Is it possible to add a reputation button at every download? So once users post something others can give them + reputation?

Another question, can you insert another field for a link to the support thread on the forums?

Artes_Marciales 10-15-2007 02:29 AM

Quote:

Here are our plans for future versions:
Vastly enhanced permissions by usergroup and category
Multiple files per entry
Yes!!
I wait with longing those novelties :)
I don't want my users to go up files in ALL the categories, alone in some categories...

thank you for the mod!! :up:
Kind Regards!

maidos 10-15-2007 08:41 AM

the comments count is always on 0

Stifmeister2 10-15-2007 06:43 PM

Quote:

Originally Posted by maidos (Post 1360552)
the comments count is always on 0

Yes I have that bug too.. Any way to fix it?

RS_Jelle 10-15-2007 07:48 PM

To fix the comment counter problem:

OPEN /includes/class_downloads.php

FIND
PHP Code:

$result $db->query_first("SELECT DISTINCT(`fileid`) AS fileid FROM " TABLE_PREFIX "dl_comments"); 

REPLACE WITH
PHP Code:

$result $db->query_read("SELECT DISTINCT(`fileid`) AS fileid FROM " TABLE_PREFIX "dl_comments"); 

Then rerun the Update Counters.

It seems that there were two typo's in it and I only fixed one of them (and didn't test it, my mistake) :)
I'm wrapping together a new release at the moment to fix this and some other small issues.

maidos 10-16-2007 07:47 AM

eh i replaced the code and update counters now it shows one comment on every single files

maidos 10-16-2007 09:11 AM

also when you add the llinks the file url wont be cloaked as if you wouldimportthe files!
how can i do the samefor my other directory which is where i use to add links

also fdorsome reason myentire category is gone, but not entierly since i can access a file that were located at that directory that was supposed to be deleted but it still exist!!!!

it says thefile is on main downloadpage when i cant see a single file there

beside can you make a own section for moderator to import incase its not possible to cloak the url, since it seems on /downloads/ have a protection against reveealing the true url location

Stifmeister2 10-16-2007 12:15 PM

Quote:

Originally Posted by RS_Jelle (Post 1361007)
To fix the comment counter problem:

OPEN /includes/class_downloads.php

FIND
PHP Code:

$result $db->query_first("SELECT DISTINCT(`fileid`) AS fileid FROM " TABLE_PREFIX "dl_comments"); 

REPLACE WITH
PHP Code:

$result $db->query_read("SELECT DISTINCT(`fileid`) AS fileid FROM " TABLE_PREFIX "dl_comments"); 

Then rerun the Update Counters.

It seems that there were two typo's in it and I only fixed one of them (and didn't test it, my mistake) :)
I'm wrapping together a new release at the moment to fix this and some other small issues.

Thx i'll test it. :)

jer2eydevil88 10-16-2007 04:05 PM

Where can I find MEMBERINFO so I can add the code into it?

It might be nice to see a path to this file/variable in the instructions.

RS_Jelle 10-16-2007 04:08 PM

Quote:

Originally Posted by maidos (Post 1361384)
eh i replaced the code and update counters now it shows one comment on every single files

That's very strange as I tested it.

@Stifmeister2: Does it work for you?

Quote:

Originally Posted by jer2eydevil88 (Post 1361656)
Where can I find MEMBERINFO so I can add the code into it?

It might be nice to see a path to this file/variable in the instructions.

It's a standard vBulletin template as these are template edits (very common for vBulletin.org mods, so there's not documentation).

You can find it at AdminCP -> Styles & Templates -> Style Manager -> Edit Templates (select it in the dropdown menu of the style you want to edit) -> Memberinfo Templates (double click on this category to expand it) -> MEMBERINFO (double click on it to open the edit form)


All times are GMT. The time now is 10:45 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.02961 seconds
  • Memory Usage 1,755KB
  • 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
  • (4)bbcode_php_printable
  • (5)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (6)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