11
bapapapa
Re: Mydownloads module modified
  • 2004/2/24 0:08

  • bapapapa

  • Just popping in

  • Posts: 37

  • Since: 2004/1/2 2


Hi Samuels,

Quote:
Mabye it´s got to to with the rights management. I´m testing it soon.


no, it got nothing to do with it. I changed everything to 777, the directory and the file itself. Nothing.
What I don´t understand is that I can´t connect to the uploaded file directly.

... a couple of minutes later ...

Well, It wooooooooorks!
I don´t know what I did, because I didn´t really change anything, but it works! Super Congratulations! You did it.

Well, it was about time... ...because it´s 1:22 AM and I´m getting tired after all those beers.

Maybe I can suggest some new features? lol

Thank you a thousend times and more
Cheers
Marc
Edit: I´ll translate it into German during the upcoming week.



12
bapapapa
Re: Mydownloads module modified
  • 2004/2/23 23:32

  • bapapapa

  • Just popping in

  • Posts: 37

  • Since: 2004/1/2 2


Good and bad news!
At first I like to thank you for your tremendous work.
Your module and your effort is great!!!
And yes, you solved some of the bugs. The Modifying works perfectly! Congratulations!

Well, isn´t there always a BUT.
Yes, I have to admit there is a but.
The upload to the upload-directory works fine. Any upload I do can be found in the upload-file. Super.
But there seems to be something wrong with the visit.php.

http://rsalpen.dyndns.org/modules/mydownloads/visit.php?cid=1&lid=3
By pressing the upload-link all I receive is the message that the site can´t be found.
But - the down/upload link directs to

http://rsalpen.dyndns.org/uploads/ToDO-Schule.doc!
I can´t even connect to the side directly although it seems to be the correct path. Mabye it´s got to to with the rights management. I´m testing it soon.

Thanks so far! Keep up the good work!

Marc



13
bapapapa
Re: Mydownloads module modified
  • 2004/2/23 18:17

  • bapapapa

  • Just popping in

  • Posts: 37

  • Since: 2004/1/2 2


Hi samuels,

well, I hope you are satisfied with me.
See what I´ve got. I hope it is it what you wanted.

# phpMyAdmin MySQL-Dump
# version 2.4.0
#http://www.phpmyadmin.net/ (download page)
#
# Host: localhost
# Erstellungszeit: 23. Februar 2004 um 21:44
# Server Version: 3.23.55
# PHP-Version: 4.3.1
# Datenbank: `xoops`
# --------------------------------------------------------

#
# Tabellenstruktur für Tabelle `xoops_mydownloads_broken`
#

CREATE TABLE xoops_mydownloads_broken (
reportid int(5) NOT NULL auto_increment,
lid int(11) NOT NULL default '0',
sender int(11) NOT NULL default '0',
ip varchar(20) NOT NULL default '',
PRIMARY KEY (reportid),
KEY lid (lid),
KEY sender (sender),
KEY ip (ip)
) TYPE=MyISAM;
# --------------------------------------------------------

#
# Tabellenstruktur für Tabelle `xoops_mydownloads_cat`
#

CREATE TABLE xoops_mydownloads_cat (
cid int(5) unsigned NOT NULL auto_increment,
pid int(5) unsigned NOT NULL default '0',
groupid varchar(100) NOT NULL default '1 2 3',
title varchar(50) NOT NULL default '',
imgurl varchar(150) NOT NULL default '',
PRIMARY KEY (cid),
KEY pid (pid)
) TYPE=MyISAM;
# --------------------------------------------------------

#
# Tabellenstruktur für Tabelle `xoops_mydownloads_downloads`
#

CREATE TABLE xoops_mydownloads_downloads (
lid int(11) unsigned NOT NULL auto_increment,
cid int(5) unsigned NOT NULL default '0',
groupid varchar(100) NOT NULL default '1 2 3',
title varchar(100) NOT NULL default '',
url varchar(250) NOT NULL default '',
homepage varchar(100) NOT NULL default '',
version varchar(10) NOT NULL default '',
size int(8) NOT NULL default '0',
platform varchar(50) NOT NULL default '',
logourl varchar(60) NOT NULL default '',
submitter int(11) NOT NULL default '0',
status tinyint(2) NOT NULL default '0',
date int(10) NOT NULL default '0',
hits int(11) unsigned NOT NULL default '0',
rating double(6,4) NOT NULL default '0.0000',
votes int(11) unsigned NOT NULL default '0',
comments int(11) unsigned NOT NULL default '0',
PRIMARY KEY (lid),
KEY cid (cid),
KEY status (status),
KEY title (title(40))
) TYPE=MyISAM;
# --------------------------------------------------------

#
# Tabellenstruktur für Tabelle `xoops_mydownloads_mod`
#

CREATE TABLE xoops_mydownloads_mod (
requestid int(11) unsigned NOT NULL auto_increment,
lid int(11) unsigned NOT NULL default '0',
cid int(5) unsigned NOT NULL default '0',
groupid varchar(100) NOT NULL default '',
title varchar(100) NOT NULL default '',
url varchar(250) NOT NULL default '',
homepage varchar(100) NOT NULL default '',
version varchar(10) NOT NULL default '',
size int(8) NOT NULL default '0',
platform varchar(50) NOT NULL default '',
logourl varchar(60) NOT NULL default '',
description text NOT NULL,
modifysubmitter int(11) NOT NULL default '0',
PRIMARY KEY (requestid)
) TYPE=MyISAM;
# --------------------------------------------------------

#
# Tabellenstruktur für Tabelle `xoops_mydownloads_text`
#

CREATE TABLE xoops_mydownloads_text (
lid int(11) unsigned NOT NULL default '0',
description text NOT NULL,
KEY lid (lid)
) TYPE=MyISAM;
# --------------------------------------------------------

#
# Tabellenstruktur für Tabelle `xoops_mydownloads_votedata`
#

CREATE TABLE xoops_mydownloads_votedata (
ratingid int(11) unsigned NOT NULL auto_increment,
lid int(11) unsigned NOT NULL default '0',
ratinguser int(11) NOT NULL default '0',
rating tinyint(3) unsigned NOT NULL default '0',
ratinghostname varchar(60) NOT NULL default '',
ratingtimestamp int(10) NOT NULL default '0',
PRIMARY KEY (ratingid),
KEY ratinguser (ratinguser),
KEY ratinghostname (ratinghostname),
KEY lid (lid)
) TYPE=MyISAM;


Thanks again, samuels.
Slowly, very slowly I get to know the system. )

Cheers
Marc



14
bapapapa
Re: Mydownloads module modified
  • 2004/2/23 9:20

  • bapapapa

  • Just popping in

  • Posts: 37

  • Since: 2004/1/2 2


Hi samuels,

Quote:
Have you updated a previus mydownload version?

No, I deleted the old one and installed your version.

Quote:
Please, if you can post the dumped table STRUCTURE of mydownloads-downloads.


Yes and No! I would like to do so, but how?
Please tell me, where I can find the dumped table structure and you´ll get it!

Thanks,

Marc



15
bapapapa
Re: Mydownloads module modified
  • 2004/2/21 9:53

  • bapapapa

  • Just popping in

  • Posts: 37

  • Since: 2004/1/2 2


Hi samuels,

Quote:
I'm learnig a lot modifying modules.

and I´m learning to be patient. - Yust kidding!

Well, it still doesn´t work!
The file (a pdf) gets uploaded alright in the upload folder,
but I can´t download it. I receive a blank page.

I still can´t modify the downloads. Neither with the admin nor with the registered user who submitted the down/upload.

Did you change anything?
Keep on working and improving the module, please.
See ya around!

Marc



16
bapapapa
Re: Mydownloads module modified
  • 2004/2/20 18:20

  • bapapapa

  • Just popping in

  • Posts: 37

  • Since: 2004/1/2 2


It´s me again.

Maybe that helps you finding the bug.

After I submitted a new download-url that should upload a jpg-file, I receive this error:

Quote:
Fatal error: Cannot redeclare class xoopsmediauploader in /srv/www/htdocs/modules/mydownloads/class/uploader.php on line 86


Any ideas?

Thanks
Marc



17
bapapapa
Re: Mydownloads module modified
  • 2004/2/20 18:05

  • bapapapa

  • Just popping in

  • Posts: 37

  • Since: 2004/1/2 2


Hi,

after I followed your instructions...
Quote:

Just replace line number 948 by
include_once XOOPS_ROOT_PATH . '/modules/' . $xoopsModule->dirname() .'/class/uploader.php';


I have this problem too...

Quote:
I don't have a problem with admin upload it works fine. But when a file is submitted through submit.php the screen turns white and is blank the file dosent get uploaded or submitted


Another bug is this:
If I try to modify a download forum

http://myhost/modules/mydownloads/modfile.php?lid=1
After I submitted it I get this neat info:

Realschule Alpen CMS Intranet Error
Error Code: 1016
ERROR: Please enter value for URL.

But this happens only to the files I submitted before the changes (see above).
If I try to modify a new created download forum, the changes won´t be applied. Nothing happens!

---> PHP DEBUG MODUS says:
Notice [PHP]: Undefined index: submit in file modules/mydownloads/modfile.php line 50
Notice [PHP]: Undefined index: usergroups in file modules/mydownloads/modfile.php line 150

Help me, please!!! The idea is superb!
Cheers
Marc

By the way I´m using XOOPS 2.06!



18
bapapapa
Re: e-learning module developement!!
  • 2004/2/20 16:53

  • bapapapa

  • Just popping in

  • Posts: 37

  • Since: 2004/1/2 2


Hi,

Quote:
An effective module would have to interact between other modules and integrate them well, which might be hard to do given that modules are developed separately from each other.


That doesn´t sound good.
Well, I didn´t try moodles, but as far as I can tell, you can achieve alot with the ordinary/basic modules and some add-ons. What I miss are a wide variety of quiz-Modules and the possibility of assignments.
This should be it for students up to 12th grade?
What do you think?

Cheers
Marc





19
bapapapa
Re: Don´t allow editing the account
  • 2004/2/20 16:31

  • bapapapa

  • Just popping in

  • Posts: 37

  • Since: 2004/1/2 2


Hi,
I like to get back in the ring, but ...
Quote:
I looked back at the database again and my name was still there.

what does it mean? Can anyone translate this into simple words?
- Sorry guys, but I can´t follow your discussion.

Does your solution work out fine? I don´t want to mess up my system.

Cheers

Marc



20
bapapapa
Re: Don´t allow editing the account
  • 2004/2/19 18:20

  • bapapapa

  • Just popping in

  • Posts: 37

  • Since: 2004/1/2 2


Hi,

Quote:
Easier way to ask this would be to say are you inputing the users or are they signing up?

I´m creating the accounts manually. They cannot signup.

I could avoid the trouble by using the real name as the username. But they like to be called all these funny names like "starstriker", "don" a.s.o.
So I look for another solution unless there isn´t any other solution.

Marc




TopTop
« 1 (2) 3 4 »



Login

Who's Online

218 user(s) are online (136 user(s) are browsing Support Forums)


Members: 0


Guests: 218


more...

Donat-O-Meter

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

Latest GitHub Commits