• [Mod] User upload limits 5 0 5 1
Currently:  

Author Topic: [Mod] User upload limits  (Read 262970 times)

0 Members and 1 Guest are viewing this topic.

Offline Lucifix

  • Hero Member
  • *****
  • Posts: 710
    • View Profile
    • http://www.slo-foto.net
Re: [Mod] User upload limits
« Reply #90 on: June 30, 2005, 07:39:38 AM »
I have installed daily limit, but after few months I'm getting this error:


Code: [Select]
when I or any other member is trying to upload image in gallery we get this error:
DB Error: Bad SQL Query: SELECT user_limit FROM 4images_users WHERE user_id =
You have an error in your SQL syntax. Check the manual that corresponds to your MySQL server version for the right syntax to use near '' at line 1
 
DB Error: Bad SQL Query: SELECT COUNT(*) AS num_rows_all FROM 4images_images WHERE image_active = 1 AND user_id= AND image_date > 1119087504
You have an error in your SQL syntax. Check the manual that corresponds to your MySQL server version for the right syntax to use near 'AND image_date > 1119087504' at line 3
Image added: test Luc (1312686213.jpg)

http://www.4homepages.de/forum/index.php?topic=8553

Offline Egly

  • Jr. Member
  • **
  • Posts: 71
    • View Profile
Re: [Mod] User upload limits
« Reply #91 on: July 28, 2005, 03:40:26 PM »
I have installed this mod successful and it works nearly perfekt.
The only thing that wont work is the upload limit when i havent validated the photos.
The users can upload as long and as much as they want if i havent validated their pictures.

Yes, i have uncommented the four lines like it stands in the tut.

It would be great, if someone could help me..

Offline asomy1

  • Pre-Newbie
  • Posts: 9
    • View Profile
Re: [Mod] User upload limits
« Reply #92 on: August 03, 2005, 01:11:43 AM »
ich habe den mod nach anleitung installiert und es scheint auch alles zu klappen. keine fehlermeldung und  bei überschreiten des limits wird eine fehlermeldung ausgegeben mit dem hinweis auf das limit.

nur werden die variablen {images_per_user} und {upload_limit} aus der lang\xxx\main.php nicht angezeigt.
d.h. der hinweistext erscheint, jedoch werden die im ACP eingesetzten limit-werte hier nicht ausgegeben. der user kann also nicht erkennen, wie hoch sein limit ist.

wo liegt der fehler, bzw habe ich etwas bei der installation übersehen?
danke im voraus  8)

Quote
i installed this mod and it works fine. unfortunately the variable {images_per_user} and {upload_limit} are not shown in the text. they seemed to be ignored.
what's the problem? did i make a mistake while installing the mod?
thanks in advance  8)

Offline asomy1

  • Pre-Newbie
  • Posts: 9
    • View Profile
Re: [Mod] User upload limits
« Reply #93 on: August 04, 2005, 11:24:29 AM »
hat niemand eine idee?
habe die anleitung nochmal durchgelesen, sehe allerdings keinen fehler  8O

Quote
any ideas?
i read the manual again, but don't see any errors.


Offline asomy1

  • Pre-Newbie
  • Posts: 9
    • View Profile
Re: [Mod] User upload limits
« Reply #94 on: August 08, 2005, 06:55:54 PM »
is there still any support for this mod ?

Offline V@no

  • If you don't tell me what to do, I won't tell you where you should go :)
  • Global Moderator
  • 4images Guru
  • *****
  • Posts: 17.849
  • mmm PHP...
    • View Profile
    • 4images MODs Demo
Re: [Mod] User upload limits
« Reply #95 on: August 09, 2005, 12:31:32 AM »
is there still any support for this mod ?

perhaps you didnt know that the author of this mod does not speak deutsch...
Your first three "must do" before you ask a question:
Please do not PM me asking for help unless you've been specifically asked to do so. Such PMs will be deleted without answer. (forum rule #6)
Extension for Firefox/Thunderbird: Master Password+    Back/Forward History Tweaks (restartless)    Cookies Manager+    Fit Images (restartless for Thunderbird)

Offline asomy1

  • Pre-Newbie
  • Posts: 9
    • View Profile
Re: [Mod] User upload limits
« Reply #96 on: August 09, 2005, 08:45:46 AM »
is there still any support for this mod ?

perhaps you didnt know that the author of this mod does not speak deutsch...

I assumed that,
and that's why I wrote in german & english.  :wink:

and I saw the last posts of users unanswered, although they wrote in english.   :(

Offline asomy1

  • Pre-Newbie
  • Posts: 9
    • View Profile
Re: [Mod] User upload limits
« Reply #97 on: August 14, 2005, 08:24:40 PM »
hmm, thanks anyway

Offline dosensteck

  • Full Member
  • ***
  • Posts: 160
    • View Profile
Re: [Mod] User upload limits
« Reply #98 on: October 01, 2005, 10:25:54 PM »
i found here only the version 1.1 - where can i found the version 1.2?


Offline dosensteck

  • Full Member
  • ***
  • Posts: 160
    • View Profile
Re: [Mod] User upload limits
« Reply #99 on: October 04, 2005, 04:53:36 PM »
ok, hat irgendjemand noch die zip datei und kann sie mir schicken? dosensteck@chello.at

wäre wirklich super :)


Offline beseech

  • Full Member
  • ***
  • Posts: 150
    • View Profile
Re: [Mod] User upload limits
« Reply #100 on: October 11, 2005, 03:13:34 AM »
how make it work like set a limit of 1pic for user , but user can only upload 1 pic in 4day in 4 days ?

upload 1 pic .... user can upload 4 days after ....

:) cheers

Offline NTH

  • Newbie
  • *
  • Posts: 43
    • View Profile
Re: [Mod] User upload limits
« Reply #101 on: October 11, 2005, 08:49:08 PM »
Hi!
My problem : I installed tihs mod.
The users, when registred after the mod install, the mod doesen't work, olny the old users.

Offline V@no

  • If you don't tell me what to do, I won't tell you where you should go :)
  • Global Moderator
  • 4images Guru
  • *****
  • Posts: 17.849
  • mmm PHP...
    • View Profile
    • 4images MODs Demo
Re: [Mod] User upload limits
« Reply #102 on: October 12, 2005, 01:34:13 AM »
My problem : I installed tihs mod.
if that's the problem, then you'd better uninstall it ;) (sorry sarcastic-bad joke :P)

The users, when registred after the mod install, the mod doesen't work, olny the old users.
anyone understud what is the problem? I didnt...please explain.
Your first three "must do" before you ask a question:
Please do not PM me asking for help unless you've been specifically asked to do so. Such PMs will be deleted without answer. (forum rule #6)
Extension for Firefox/Thunderbird: Master Password+    Back/Forward History Tweaks (restartless)    Cookies Manager+    Fit Images (restartless for Thunderbird)

Offline NTH

  • Newbie
  • *
  • Posts: 43
    • View Profile
Re: [Mod] User upload limits
« Reply #103 on: October 12, 2005, 06:32:15 AM »
 :D :D

Sorry. I don't speak english.

The upload limit doesen't work the new users, only the old users.
What's the result?

Offline V@no

  • If you don't tell me what to do, I won't tell you where you should go :)
  • Global Moderator
  • 4images Guru
  • *****
  • Posts: 17.849
  • mmm PHP...
    • View Profile
    • 4images MODs Demo
Re: [Mod] User upload limits
« Reply #104 on: October 12, 2005, 07:26:40 AM »
I think its a bug...
Remove all changes from register.php (ok, it will work even if you leave them ;))

Then find:
Code: [Select]
    $additional_value_sql = "";Insert below:
Code: [Select]
    $HTTP_POST_VARS['user_limit'] = $config['default_upload_limit'];
Your first three "must do" before you ask a question:
Please do not PM me asking for help unless you've been specifically asked to do so. Such PMs will be deleted without answer. (forum rule #6)
Extension for Firefox/Thunderbird: Master Password+    Back/Forward History Tweaks (restartless)    Cookies Manager+    Fit Images (restartless for Thunderbird)