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

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

0 Members and 2 Guests are viewing this topic.

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 #120 on: November 22, 2005, 02:50:52 AM »
Run the installer again. Also, would not hurt open the instructions again, its all there ;)

Code: [Select]
INSERT INTO `4images_settings` (`setting_name`, `setting_value`) VALUES ('default_upload_limit', '5');
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 Darkness2001

  • Full Member
  • ***
  • Posts: 151
    • View Profile
    • photo-galerie-online
Re: [Mod] User upload limits
« Reply #121 on: November 22, 2005, 11:26:03 AM »
Hello and thanks V@no

allready is running  :mrgreen:

Greez Darkness

Offline JensF

  • Addicted member
  • ******
  • Posts: 1.028
    • View Profile
    • http://www.terraristik-galerie.de
Re: [Mod] User upload limits
« Reply #122 on: January 15, 2006, 12:30:14 AM »
I thing this is a great Mod but it doesn´t work for me :(

I have set the limits to 1 to test the function. I log In as a User a Upload the first Pic. OK! Now i will upload the second Pic and i can do it. No error message, no Info. I can Upload.....

When must i see the over_limit.html???

Befor i will upload the second Pic???
Mit freundlichem Gruß
Jens Funk



-> Sorry for my bad English <-

Offline bacterio

  • Jr. Member
  • **
  • Posts: 82
    • View Profile
Re: [Mod] User upload limits
« Reply #123 on: January 15, 2006, 10:57:40 PM »
I put the upload daily limit, but doesen't work.  :roll:

Only work upload image from category, not from: http://mypage.com/member.php?action=uploadform


Offline Joss

  • Jr. Member
  • **
  • Posts: 68
    • View Profile
    • All about digital photography
Re: [Mod] User upload limits
« Reply #124 on: January 18, 2006, 03:15:00 PM »
Hello!

This is a one of usefull mod. But I have a question. I need modification of this mod: I want to decrease the daily limit for users, who didn't participated in voting within a week. It's possible to do it?
Digital Photo Gallery: http://gallery.imagemaster.ru

Offline Hobit

  • Newbie
  • *
  • Posts: 16
    • View Profile
Re: [Mod] User upload limits
« Reply #125 on: January 19, 2006, 10:11:29 PM »
Frage

Kriegt man den User upload limits auch in deutsch?    Bin der englischen Sprache nicht so mächtig



Danke


Offline Hannibal

  • Pre-Newbie
  • Posts: 4
    • View Profile
Re: [Mod] User upload limits
« Reply #126 on: March 11, 2006, 11:18:55 AM »
Hello. I have a one question:
Is the possibility settings of the upload limit for images, like this, so that counted he again of every day and not from the time upload of the last image?

Offline Q-man

  • Newbie
  • *
  • Posts: 30
    • View Profile
Re: [Mod] User upload limits
« Reply #127 on: March 18, 2006, 06:53:29 PM »
Bei mir funzt das auch nicht...es gibt keine Fehlermeldungen aber ich kann wenn ich das Limit auf 1 gesetzt habe soviele Fotos hochladen wenn ich will. Habe um das zu testen extra einen test account aufgemacht (registrierter user)
--------------------------------------------------------------

It doesnt work for me...there isnt any error message and users still can upload how much they want
Please help me!

thx
Q

« Last Edit: March 21, 2006, 06:20:00 PM by Q-man »

Offline Grutho

  • Newbie
  • *
  • Posts: 14
    • View Profile
Re: [Mod] User upload limits
« Reply #128 on: April 02, 2006, 12:03:38 PM »
Hallo,

habe genau das gleiche Problem. Hat dafür schon jemad eine Lösung gefunden?

Hi,

have exactly the same problem. Have anyone a solution for fix that problem?

Best regars,
Tom


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 Nasser

  • Full Member
  • ***
  • Posts: 105
    • View Profile
Re: [Mod] User upload limits
« Reply #129 on: April 15, 2006, 08:29:09 PM »
hello ..
when I start to run DB Error:


install_user_limits.php

I've got this error ..

what does it mean and what should I do please?

 Bad SQL Query: INSERT INTO 4images_settings () VALUES ('default_upload_limit', )
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 4

DB Error: Bad SQL Query: ALTER TABLE 4images_users ADD user_limit SMALLINT(3) DEFAULT NOT NULL
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 'NOT NULL' at line 2

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 #130 on: April 16, 2006, 03:05:09 AM »
I've attached a fixed version of the installer in the original topic, please use that one.
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 Nasser

  • Full Member
  • ***
  • Posts: 105
    • View Profile
Re: [Mod] User upload limits
« Reply #131 on: April 17, 2006, 02:25:22 AM »
it's working .. thank you

Offline Towerade

  • Newbie
  • *
  • Posts: 21
    • View Profile
Re: [Mod] User upload limits
« Reply #132 on: May 02, 2006, 01:00:48 PM »
How can i allow only a group of users. I administrated a group in phpbb and 4images but i cant allow it to submit photos.  :(

Offline oboda

  • Pre-Newbie
  • Posts: 2
    • View Profile
Re: [Mod] User upload limits
« Reply #133 on: May 11, 2006, 07:38:08 PM »
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?
Ii have check many times the tutorial and i hanve't done any mistake... i guess.. someone help me please.

Offline oboda

  • Pre-Newbie
  • Posts: 2
    • View Profile
Re: [Mod] User upload limits
« Reply #134 on: May 27, 2006, 02:00:36 PM »
I cant suggest the mod, because no one can help us and i dont know why, the mod dont work...
Whatever...