51
Dhurgan
Re: Advanced Downloads Module
  • 2004/4/7 7:57

  • Dhurgan

  • Just popping in

  • Posts: 68

  • Since: 2004/2/11


Quote:

domineaux wrote:
I've installed the Mydownload Pro.

When I try to upload jpg, jpeg it says MIME to not allowed or something like that. Actually, there is no jpg, jpeg selector in the preferences.

I looked a the MIME file in the module and it appears everything in place, but not all are showing up in the MIME selector under preferences.

Also, it would be nice to have a click on beside the upload browse entry. THe purpose would be to place the uploaded file automatically into a pre-determined folder. It would save having to type in the file location, and would tend to encourage all uploads in one place over time.

On the admin preferences there are still some box entries in Portugese or Spainish.

It would also be nice have some placement tool for placing the graphic upload file in the download box, instead of far right.



Happened to me to, I fixed that and some other stuff, but it seems you cant have two values for the same type, i.e. zip cant be both application/x-zip-compressed and application/zip as an example.

in other words, the mime-handling is a bit backwards :/
I'm looking into that right now for my site, and actually rewriting some of the stuff so that it works for my site.

One thing thats not possible is for example configuring paths for screenshots, uploads and category-images to be in any path, just relative to the XOOPS install :/
You can fix that with softlinks, but it doesnt help you with that :/ The Xoopx install directory isnt nessesarily the same place I want my users to upload stuff.

The spanish lines in the english language files were easy to fix. Making it an option to be able to post site links as the download was another. I just want straight uploads, no sitelinking at all.

The screenshot upload wont work yet though, since that seems to be expecting an url still :/ wont accept image/png although if i just upload that it works fine.

I have fixed a lot in one day, but now I have to dig deeper and maybe see if I need to redo it completely to fit my needs. Good thing about it is that I'ver already learned a lot about doing modules




52
Dhurgan
Re: Advanced Downloads Module
  • 2004/4/5 14:26

  • Dhurgan

  • Just popping in

  • Posts: 68

  • Since: 2004/2/11


I am also on the lookout for this kind of module...

What do I need thats not in the current mydownloads?

* selectable if anonymous/registred should be able to upload
possibly both but with different limits.

* special trusted users with higher limits/rights, i.e.
group moderators/admins.

* upload from local drive to "hidden area"

* title and description, hyperlinks to homesite if they want
them.

* selectable keywords, i.e. I want the user to select from a
list of keywords, what his upload is, new keywords can be
requested with upload if none is fitting.
Theese keywords should of course be searchable along with
titles and descriptions.

* screenshot of said object (if any) (uploadable at same
time or later (by same user))

* ownership of the uploaded files, i.e. if xxx uploads it,
xxx can delete, update etc. (all according to permissions
set by moderator)

* ratings/counters

* moderator support, i.e. an upload will not be available
for download until the moderator says so, this moderator
should then also accept new keywords if he/she agrees and
be able to change the object's categories/keywords if
possible.

* more then a two level category... i.e.
Main-Category->Sub-Category->...->Sub-Category

The MyDownloads I have cant handle this, maybe the new can handle some of it?

Neither the Dana or Invision one is really there, and seem unwittingly cluttered interfacewise.

I have just downloaded the mydownloads_v and will try that now and see what it can handle.




53
Dhurgan
Re: Deleting posts in forums
  • 2004/2/17 11:45

  • Dhurgan

  • Just popping in

  • Posts: 68

  • Since: 2004/2/11


Okie,

At least I dont have to look for that feature anymore then :-/



54
Dhurgan
Re: parse error, expecting `T_STRING'
  • 2004/2/17 10:06

  • Dhurgan

  • Just popping in

  • Posts: 68

  • Since: 2004/2/11


Definitly missed that one, I stand corrected

/Dhurgan



55
Dhurgan
Deleting posts in forums
  • 2004/2/17 10:03

  • Dhurgan

  • Just popping in

  • Posts: 68

  • Since: 2004/2/11


Hi,

I've searched this site to see if I can find something resembling my query, but at least the search didnt find anything... so here goes...

As a normal registred user, I would like to be able to delete posts I have made, the default behaviour seems to be that only the moderators can do it, why?

I can edit my post and remove anything in it, so that it becomes an empty post.

Is there anywhere I can switch this on or is it implemented like this?

/Dhurgan



56
Dhurgan
Re: parse error, expecting `T_STRING'
  • 2004/2/16 16:40

  • Dhurgan

  • Just popping in

  • Posts: 68

  • Since: 2004/2/11


Okie!

Works fine with PHP 4.3.5.RC2, no other changes.

Guess its not time for PHP 5 just yet

/Dhurgan



57
Dhurgan
Re: parse error, expecting `T_STRING'
  • 2004/2/16 15:48

  • Dhurgan

  • Just popping in

  • Posts: 68

  • Since: 2004/2/11


Heh!

I will try the same run with PHP 4 latest candidate instead, if that works I'll bug them instead

BTW,

It migth be a good idea to state somewhere in install docs what version DO work and not just the minimum version

Maybe it is stated somewhere even, I just read the INSTALL.html and a few docs onsite.

/Dhurgan



58
Dhurgan
Re: parse error, expecting `T_STRING'
  • 2004/2/16 15:45

  • Dhurgan

  • Just popping in

  • Posts: 68

  • Since: 2004/2/11


Quote:

Mithrandir wrote:
Hmmmm... why does that create a parse error?

I am 80% certain that this has to do with the reference handling in PHP5.


could be, it is a beta after all

Guess I'll try compiling PHP 4 on the system then

/Dhurgan



59
Dhurgan
Re: parse error, expecting `T_STRING'
  • 2004/2/16 15:43

  • Dhurgan

  • Just popping in

  • Posts: 68

  • Since: 2004/2/11


Just wanted to add...

There are no errors reported during the install up to that point, and no errors reported by apache, MySQL or anything else on the system, just that one line returned to me via the webinterface...

I can go down to php 4 of course, but since I'm scratchbuilding this site now, i though I go for the latest :)

I might add that it works fine on MySQL 3 apache 1 and php 4 :)

/Dhurgan



60
Dhurgan
Re: parse error, expecting `T_STRING'
  • 2004/2/16 15:38

  • Dhurgan

  • Just popping in

  • Posts: 68

  • Since: 2004/2/11


Sure can...
522      /**
   523       * create a clone(copy) of the current object
   524       *
   525       * @access public
   526       * @return object clone
   527       */
   
528      function &clone()
   
529      {
   
530          $class get_class($this);
   
531          $clone = new $class();
   
532          foreach ($this->vars as $k => $v) {
   
533              $clone->assignVar($k$v['value']);
   
534          }
   
535          // need this to notify the handler class that this is a newly cr
eated object
   536          $clone
->setNew();
   
537          return $clone;
   
538      }


/Dhurgan




TopTop
« 1 ... 3 4 5 (6) 7 »



Login

Who's Online

212 user(s) are online (154 user(s) are browsing Support Forums)


Members: 0


Guests: 212


more...

Donat-O-Meter

Stats
Goal: $100.00
Due Date: Apr 30
Gross Amount: $0.00
Net Balance: $0.00
Left to go: $100.00
Make donations with PayPal!

Latest GitHub Commits