Author Topic: [MOD] Categories upload dropdown form  (Read 54797 times)

0 Members and 1 Guest are viewing this topic.

Offline __G__

  • Sr. Member
  • ****
  • Posts: 286
    • View Profile
Re: [MOD] Categories upload dropdown form
« Reply #30 on: February 13, 2009, 02:56:42 AM »
works like a charm thanks v@no

Offline marw

  • Pre-Newbie
  • Posts: 8
    • View Profile
Re: [MOD] Categories upload dropdown form
« Reply #31 on: March 15, 2009, 01:50:10 PM »
And what about warning when user dont choose a cattegory?

I have javascript window without text now...

Offline komsho24

  • Newbie
  • *
  • Posts: 24
    • View Profile
Re: [MOD] Categories upload dropdown form
« Reply #32 on: March 19, 2009, 11:23:18 AM »
Hi,

V@no i have problem.. when i use standard url.. to upload file with dropdown form..

i mean "http://www.yoursite.com/member.php?action=uploadform" .. when i select category, select file and click on UPLOAD button.. i have error message. This is for language main file.. -> "$lang['field_required'] = "Please fill out the {field_name} field!";"


So how i can fix this ?


Thank you !

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] Categories upload dropdown form
« Reply #33 on: March 19, 2009, 02:00:03 PM »
what error message exactly?

also check out this bug fix:

[1.7] Can not upload images when no cat_id specified
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 Lesik

  • Newbie
  • *
  • Posts: 38
    • View Profile
Re: [MOD] Categories upload dropdown form
« Reply #34 on: August 02, 2009, 10:28:17 AM »
Hey V@no,
After installing this MOD
i am having following problem.. although the function "image upload" and "category dropdown" is working properly ...
check the attached file:
if i choose following settings, i only get this error if i choose member.php?action=uploadform:
Quote
//    "cat_name" => get_category_dropdown_upload($cat_id),
    "cat_name" => ($cat_id != 0 && (!isset($HTTP_POST_VARS['showdropdown']))) ? htmlspecialchars($cat_cache[$cat_id]['cat_name']) : get_category_dropdown_upload($cat_id)."<input type=\"hidden\" name=\"showdropdown\" value=\"1\">",
but member.php?action=uploadform&cat_id=37 does not show this error.
BUT if i choose following settings, i get this error for both the options:
Quote
    "cat_name" => get_category_dropdown_upload($cat_id),
//    "cat_name" => ($cat_id != 0 && (!isset($HTTP_POST_VARS['showdropdown']))) ? htmlspecialchars($cat_cache[$cat_id]['cat_name']) : get_category_dropdown_upload($cat_id)."<input type=\"hidden\" name=\"showdropdown\" value=\"1\">",

HELP  :( :oops:

HI,

i have the same problem with the 1.7.4 Version. Can anyone say me what is wrong here????

sorry my english
maybe, see in header.html delet in string  <meta name="keywords" content="{cat_name}">

Offline Rinner

  • Newbie
  • *
  • Posts: 10
    • View Profile
Re: [MOD] Categories upload dropdown form
« Reply #35 on: August 12, 2009, 06:04:05 PM »
Hi! How can i make link http://example.com/4images/member.php?action=uploadform visible only for registered users?

Offline mawenzi

  • Moderator
  • 4images Guru
  • *****
  • Posts: 4.500
    • View Profile
Re: [MOD] Categories upload dropdown form
« Reply #36 on: August 12, 2009, 06:25:26 PM »
Hello Rinner and welcome to 4images forum ...

... use it as following in your templates ...
Code: [Select]
{if user_loggedin}
<a href="http://example.com/4images/member.php?action=uploadform">Member Uploadform</a>
{endif user_loggedin}
Your first three "must do" before you ask a question ! ( © by V@no )
- please read the Forum Rules ...
- please study the FAQ ...
- please try to Search for your answer ...

You are on search for top 4images MOD's ?
- then please search here ... Mawenzi's Top 100+ MOD List (unsorted sorted) ...

Offline Rinner

  • Newbie
  • *
  • Posts: 10
    • View Profile
Re: [MOD] Categories upload dropdown form
« Reply #37 on: August 12, 2009, 06:43:30 PM »
Thank you !

Offline komsho24

  • Newbie
  • *
  • Posts: 24
    • View Profile
Re: [MOD] Categories upload dropdown form
« Reply #38 on: April 03, 2010, 12:16:10 AM »
I have version 1.7.4 and i try everything .. but not work..

Actually, i only see new colour in category list, who have permission.. and nothing else..

This code not work when i select category with permission:

onsubmit="if(cat_id.value==0){alert('{cat_name_required}');return false;}"

One more thing ..

Is it possible to do, that normal user can't see categories (who don't have permission for upload) on category dropdown list ?

Thank you !

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] Categories upload dropdown form
« Reply #39 on: April 03, 2010, 04:12:55 AM »
Is it possible to do, that normal user can't see categories (who don't have permission for upload) on category dropdown list ?

In step 2 find
        $disable 1;

Insert above:
        continue;
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 henary

  • Jr. Member
  • **
  • Posts: 73
    • View Profile
Re: [MOD] Categories upload dropdown form
« Reply #40 on: December 16, 2010, 04:19:15 PM »
Hello,

i've just tested to use this in my fresh 1.7.9, but dosn't work.

To find out any problem i've gone back to default memberupload and find out:

Upload by using member.php?action=uploadform without cat_id every time send error "Please fill out the category field!" - but i did  :wink:

EDIT: I'm sorry, i've find this: http://www.4homepages.de/forum/index.php?topic=5935.0 some lines above. Today i'm without DSL, only 64kbit and i'm slow even in mind  :wink:

I'm confused  :? I'm fine  :mrgreen:
Henry
« Last Edit: December 16, 2010, 05:26:12 PM by henary »

Offline chrissim

  • Pre-Newbie
  • Posts: 4
    • View Profile
Re: [MOD] Categories upload dropdown form
« Reply #41 on: December 06, 2011, 01:59:57 PM »
hi

Does this mod work on new version 1.7.10

i installed them but it seem not working. i tested the upload and it works fine but in the admin it doesn't showed any new images for validation

 

Post your comments here