vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.0 Full Releases (https://vborg.vbsupport.ru/forumdisplay.php?f=33)
-   -   Links and Files Database (https://vborg.vbsupport.ru/showthread.php?t=60403)

Slave 05-16-2005 08:56 AM

Quote:

Originally Posted by AndrewD
Ouch!

I've not seen this happen before - as you say, it looks like a corrupt database table.

I've found that it's worthwhile doing regular optimize/repair checks on your database - the VB admin page permits this, or phpmyadmin can do it also.

Yeah .. I found the repair option :) .. didn't even know it was there.

Lucky I did before I did something stupid and overwrote the db with a backup .. it doesn't look like I've lost anything .. :)

CHIngs 05-17-2005 12:16 AM

Quote:

Originally Posted by AndrewD
Thanks for the suggestion. Do you mean:

- When a user enters a link/file, she specifies the first time at which it can be accessed? (e.g. at 15:00 on the 1st June)

or

- The administrator can set up the database for that people can only make multiple downloads at certain times of day? (e.g. between 09:00 and 12:00)

or something else?

Both the ideas you just said seem good to be included as well.

But what I mean is that, say a user clicks on a link, the script should LOG the exact second/minute/hour/day (and other info) in the database. In the ADMIN PANEL, I will specify the intervals between each download, say 60 seconds. So if a user tries to download another file within 60 seconds, it will give him/her an error message saying they have to wait 60 seconds until the NEXT download.

The code may look something similar to this:
PHP Code:

if ($time_of_download >= $current_time 60)
{
echo (
"Please wait 60 seconds until next download");


And you can make this feature GLOBAL (easy) or for individual category where the admin can specify individual times (a little more work). Its your choice.

But all I am asking is that, somehow, please try your best to include this feature in the next release, or a mini release :rolleyes: .

AndrewD 05-17-2005 04:13 AM

Quote:

Originally Posted by CHIngs
But what I mean is that, say a user clicks on a link, the script should LOG the exact second/minute/hour/day (and other info) in the database. In the ADMIN PANEL, I will specify the intervals between each download, say 60 seconds. So if a user tries to download another file within 60 seconds, it will give him/her an error message saying they have to wait 60 seconds until the NEXT download.

This feature is already coded as a global setting. You set the parameter timeout_hit_allow on the admin panel to the number of seconds between successive downloads. Let me know if you have problems with it.

CHIngs 05-18-2005 12:17 AM

Quote:

Originally Posted by AndrewD
This feature is already coded as a global setting. You set the parameter timeout_hit_allow on the admin panel to the number of seconds between successive downloads. Let me know if you have problems with it.

Do you have it in version 1.55? cause I cannot see it :(

Lizard King 05-18-2005 02:12 AM

Quote:

Originally Posted by CHIngs
Do you have it in version 1.55? cause I cannot see it :(

The supported version is 1.60c I advise you to upgrade to the latest version.

AndrewD 05-18-2005 04:16 AM

Quote:

Originally Posted by Lizard King
The supported version is 1.60c I advise you to upgrade to the latest version.

Indeed. This feature was added by request in version 1.56.

When upgrading, remember to check all the steps. It's important to upload/install the latest phrases and templates as well as code.

CHIngs 05-18-2005 07:34 PM

Quote:

Originally Posted by AndrewD
Indeed. This feature was added by request in version 1.56.

When upgrading, remember to check all the steps. It's important to upload/install the latest phrases and templates as well as code.

I know this is a stupid question but I just want to be sure. I can upgrade from 1.55 to 1.60c directly right? or do I first have to upgrade to 1.56 and then to 1.60c?

Because to make sure the script fits my template, I had to do some modifications. I dont want to lose anything in my database. I backed up everything tho, so thats cool.

Lizard King 05-19-2005 03:52 AM

Quote:

Originally Posted by CHIngs
I know this is a stupid question but I just want to be sure. I can upgrade from 1.55 to 1.60c directly right? or do I first have to upgrade to 1.56 and then to 1.60c?

Because to make sure the script fits my template, I had to do some modifications. I dont want to lose anything in my database. I backed up everything tho, so thats cool.

Yes you can upgrade from 1.55 to 160c without upgrading to 1.56. Just download the file and follow the instructions in Readme.txt
It wont take you more then 3-4 minutes to upgrade.

playstation 05-19-2005 10:31 AM

Working great.

Thank you.

*clicks install*

Bhuwan 05-24-2005 11:49 PM

I am using this as a way to hide my links for downloads and unfortunately i've found a major bug that defeats the purpose of the this hack :(


All times are GMT. The time now is 04:03 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.02251 seconds
  • Memory Usage 1,751KB
  • 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_php_printable
  • (8)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