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)

maidos 04-14-2008 03:25 PM

well in that case i cant :/
i have uploaded 5 files that is called ABC
so i searched after ABC and i found nothing

Note: search terms shorter than 3 letters are ignored

well i wanna make it to 2 letters?

Is it also possible to "refine" the search feature since when searching for something like ABC the result comes

1 ABC
2 ABC something
3 ABC great
which the search isnt so accurate since it gives other files that doesnt have any exact relevance

CyberRanger 04-14-2008 04:27 PM

Quote:

Originally Posted by maidos (Post 1490446)
well i wanna make it to 2 letters?

Ah, I see. You said three WORDS in your question before.

Look for this code around line 1789 in downloads.php:
PHP Code:

$text trim($text);
if (
strlen($text) >= 4

lower the 4 to the number you want.

CyberRanger 04-14-2008 04:30 PM

Quote:

Originally Posted by desmomax (Post 1490382)
i installed this mod on my 3.6.9 vbulletin
everything is fine but i can not find the "download" menu in main forum page?
where the user can click and enter to the download section?
thanx

https://vborg.vbsupport.ru/showpost....postcount=2284

maidos 04-14-2008 04:39 PM

Sorry english aint my native language so its hard to be descriptive
so about the search relevance with a better feature? and more accurate?

maidos 04-14-2008 04:41 PM

when i lower it i get this error
Warning: Unexpected character in input: ''' (ASCII=39) state=1 in /home/admin/domains/public_html/forum/downloads.php on line 103

Parse error: syntax error, unexpected $end, expecting ')' in /home/admin/domains/public_html/forum/downloads.php on line 103

CyberRanger 04-14-2008 04:58 PM

Quote:

Originally Posted by maidos (Post 1490512)
when i lower it i get this error
Warning: Unexpected character in input: ''' (ASCII=39) state=1 in /home/admin/domains/public_html/forum/downloads.php on line 103

Parse error: syntax error, unexpected $end, expecting ')' in /home/admin/domains/public_html/forum/downloads.php on line 103

I've tested dropping my value to 2. No error. The line number your reference above has nothing to do with searching. Hmmm ... my guess is you accidentally deleted a ). Make sure 101 - 104 looks like this:
PHP Code:

    'my' => array(
        
'downloads_my',
        
'downloads_my_bit'
    
), 

If you are still having trouble. download a new copy of downloads.php, change the 4 again, and load the file to your site. :)

maidos 04-14-2008 05:03 PM

thanks :) it works now it seems i accidently deleted something
would be great if on search reuslt ppl can organize the links in chronical order

Soup^Dragon 04-14-2008 05:06 PM

hi RS and Cyber, great mod thx

i was wondering if there was any update to this post

https://vborg.vbsupport.ru/showpost....&postcount=763

Quote:

Originally Posted by aceofspades

Can someone please tell me how to stop users uploading to a certain catagory? I want them to upload to my maps catagory but not my plugin catagory, can this be done?

James

No, that can't actually be done right now. You can prevent a usergroup from seeing a catergory but you can't restrict it in the way you want. That is big on the list of feature enhancements.
is this still in the pipeline for a future update?

maidos 04-14-2008 05:10 PM

u think u can ask ur coding partner to discuss about the search relevance? since when i searched for liek 3 letters 7 pages comes up with just random file name. the thing is that since it only got 3 letters it shows all files with that letters no matter if its middle name or comming from a long name so which can be hard to find what user wants

Is it also possible to "refine" the search feature since when searching for something like ABC the result comes

1 ABC
2 ABC something
3 ABC great
4 sadabcsff
which the search isnt so accurate since it gives other files that doesnt have any exact relevance

desmomax 04-15-2008 07:11 AM

I apologize for the probably stupid question, but how can i open downloads.php in my forum? your mod is nowhere linked in my main forum menuv after your installation..
thanx


All times are GMT. The time now is 04:33 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.05074 seconds
  • Memory Usage 1,746KB
  • 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
  • (2)bbcode_php_printable
  • (4)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