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)

Saviour 01-29-2008 11:42 PM

Would it be possible to add a feature like Report Broken Link when linking to a downloadable file outside the forum's domain?

Thanks...

thecool444 01-30-2008 04:01 AM

Hey savior i see you got the downloads link in you vbulleitn menu bar. Can you please tell me how you did that. I have done the optional edits but it didn't work.

Saviour 01-30-2008 04:45 AM

Quote:

Originally Posted by thecool444 (Post 1432212)
Hey savior i see you got the downloads link in you vbulleitn menu bar. Can you please tell me how you did that. I have done the optional edits but it didn't work.

In your AdminCP...go to the following: Styles & Templates/Style Manager

Now you'll want to select the style you're going to edit and select Edit Templates for that style.

Choose the navbar template.

What you'll want to do inside this template is decide where you want to put the link in the navbar. So if you have an idea...all you have to do is paste this code where you want the link to appear:

Code:

<td class="vbmenu_control"><a href="downloads.php$session[sessionurl_q]">$vbphrase[ecdownloads_downloads]</a></td>
So just try to find the locations that show "vbmenu_control" in the navbar template...and add the line of code above where you want the link to appear.

BTW...I'm using vbulletin 3.6.8 PL2.

Hope this helped...

thecool444 01-30-2008 06:37 AM

Done. Thankyou for info.

maidos 01-30-2008 03:55 PM

<a href="https://vborg.vbsupport.ru/showpost.php?p=1428722&postcount=2229" target="_blank">https://vborg.vbsupport.ru/showp...postcount=2229</a>

i appreciate if this could bee replied

How do i possible add a relevance feature on search function?
Example when isearch for DEF ABC
the result shows only DEF ABC

but if i search for ABC DEF
no results will be shown.
even though the files are their but in reversed

so thats why it will be alot nicer if the search function would be searched by relevance...
please help

CyberRanger 01-30-2008 04:38 PM

Quote:

Originally Posted by maidos (Post 1432522)
https://vborg.vbsupport.ru/showpost....postcount=2229

i appreciate if this could bee replied

If you are getting a blank page, then you probably have an error in your htaccess file. Or ... quite simply the file is just too big! I see you have max size set to @ 1 GB. That's a huge file for http transfer.

Quote:

Originally Posted by maidos (Post 1432522)
How do i possible add a relevance feature on search function?
Example when isearch for DEF ABC
the result shows only DEF ABC

but if i search for ABC DEF
no results will be shown.
even though the files are their but in reversed

so thats why it will be alot nicer if the search function would be searched by relevance...
please help

Instead of searching for "ABC DEF", search for "ABC, DEF". That way the search treats each word as a word instead of the two words as a phrase.

maidos 01-30-2008 05:05 PM

thanks alot for the reply, but should it result blank page when i import only 4 files and they are at least around 450 mb together. isnt it timeoutissue on the script? i removed the htaccess coded and modified it on phpini instead but didnt work much

but the thing is members are acting retards, since yesterday i got 30 pm that the search function is not working properly. and 30 pms is considered little if you see how much pm i get everyday even though i went on public announcing how to search.

But using the comma is an idea just that im afraid non my members will pay attention to

CyberRanger 01-30-2008 05:52 PM

1 Attachment(s)
Quote:

Originally Posted by maidos (Post 1432598)
thanks alot for the reply, but should it result blank page when i import only 4 files and they are at least around 450 mb together. isnt it timeoutissue on the script? i removed the htaccess coded and modified it on phpini instead but didnt work much

The import feature in the admincp uses a direct unix copy. I don't see how it could time out but let me do some more testing.

Quote:

Originally Posted by maidos (Post 1432598)
but the thing is members are acting retards ... But using the comma is an idea just that im afraid non my members will pay attention to

LOL ... we do have it clearly displayed about using the comma. Try this if you want. In downloads.php around line 1814 FIND:
PHP Code:

$keyword explode(",",$_POST['query']); 

REMOVE the comma in "," making that " " instead ... like this:
PHP Code:

$keyword explode(" ",$_POST['query']); 

By doing that, each word will be a separate search element. You won't be able to search by phrases but that sounds like a good trade-off for you.

maidos 01-30-2008 07:09 PM

thanks alot for the search help

I know, thats why they are called retards

thanks alot for checking the import issue

Meghwar 01-30-2008 07:16 PM

I was mistaken delete the DownloadsII tabels, I load them back from my BackUp daily DB I see every thing Ok , when I click Download I get the Msg bellow!!!

Database error in vBulletin 3.7.0 Beta 4:

Invalid SQL:

SELECT time
FROM dl_downloads
WHERE `userid`=1
AND `clientip`='21.332.222.133'
ORDER BY `time` DESC LIMIT 0,1;

MySQL Error : Unknown column 'clientip' in 'where clause'
Error Number : 1054
Date : Wednesday, January 30th 2008 @ 02:07:52 PM
Script : http://www.*********.org/forum/downloa...d=553&act=down
Referrer : http://www.***********.org/forum/dow...do=file&id=553
IP Address : **********
Username : Meghwar
Classname : vB_Database
MySQL Version : 5.0.45-log


All times are GMT. The time now is 05:55 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.09630 seconds
  • Memory Usage 1,756KB
  • 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
  • (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