Topics for Downloads

Support zu den Modifikationen (MODs) von Entwickler OXPUS für das phpBB 3.0.x
Benutzeravatar
oxpus
Chief handy-man
Beiträge: 2719
Registriert: Do 13. Dez 2007, 23:06
Wohnort: Irgendwo im I-Net
Kontaktdaten:

Re: Topics for Downloads

Beitrag von oxpus »

And which user you will get? The current one or "Guest" or which one?
Karsten Ude
Kein Support per Messenger, Email oder PN! Unaufgeforderte Nachrichten werden ignoriert!
No support per Messenger, Email or PM. Each unasked message will be ignored!
Mickroz
Beiträge: 19
Registriert: Fr 11. Mär 2011, 10:41

Re: Topics for Downloads

Beitrag von Mickroz »

i just had a user posted a download, i approved it, and the topic gets my poster id, if a user who doesn't need approval, the topic gets the user id from the downloads poster.
Benutzeravatar
oxpus
Chief handy-man
Beiträge: 2719
Registriert: Do 13. Dez 2007, 23:06
Wohnort: Irgendwo im I-Net
Kontaktdaten:

Re: Topics for Downloads

Beitrag von oxpus »

Oh sorry, little misunderstanding:
On "approving" a download the right user may not the current user (admin or download moderator) but the download poster.
The function for approving a download is malfunction at this point.
Please replace the attached file (folder /forum_root/dl_mod/classes/) and retry.
This should fix the problem...
Dateianhänge
class_dlmod.zip
(11.75 KiB) 324-mal heruntergeladen
Karsten Ude
Kein Support per Messenger, Email oder PN! Unaufgeforderte Nachrichten werden ignoriert!
No support per Messenger, Email or PM. Each unasked message will be ignored!
Mickroz
Beiträge: 19
Registriert: Fr 11. Mär 2011, 10:41

Re: Topics for Downloads

Beitrag von Mickroz »

is this with my fixes included?

edit, it still gets the "approver" id.
Benutzeravatar
oxpus
Chief handy-man
Beiträge: 2719
Registriert: Do 13. Dez 2007, 23:06
Wohnort: Irgendwo im I-Net
Kontaktdaten:

Re: Topics for Downloads

Beitrag von oxpus »

Mickroz hat geschrieben:is this with my fixes included?
No.
Mickroz hat geschrieben:edit, it still gets the "approver" id.
Then please wait until I'll checked this out and update the MOD.
But this can be in 1 or 2 weeks and not the next days...
Karsten Ude
Kein Support per Messenger, Email oder PN! Unaufgeforderte Nachrichten werden ignoriert!
No support per Messenger, Email or PM. Each unasked message will be ignored!
Mickroz
Beiträge: 19
Registriert: Fr 11. Mär 2011, 10:41

Re: Topics for Downloads

Beitrag von Mickroz »

no problem, i have tried the user id, now it gets the name of the user id i fill in, but the color of the user who approved it, so i just left out the approval for now until it gets fixed.
Mickroz
Beiträge: 19
Registriert: Fr 11. Mär 2011, 10:41

Re: Topics for Downloads

Beitrag von Mickroz »

this has to be a switching permissions problem oxpus, i am now using the user id option without approval.
when a registered user posts a download:
index.php says Last post by Downloads Robot and should be Downloads Robot
viewforum.php says by Downloads Robot and should be Downloads Robot and Last post by Downloads Robot and should be Downloads Robot
only viewtopic.php shows the correct colour.
when viewing post details, the change poster name in the dropdown, is the name from the one who posted the download.
i hope you find this useful.
Mickroz
Beiträge: 19
Registriert: Fr 11. Mär 2011, 10:41

Re: Topics for Downloads

Beitrag von Mickroz »

just to let you know, i fixed most errors with switching permissions and the file size problem on external downloads, i just have to implement a check for the topic poster to get updated in viewforum when changing settings from current user to user id and vice verso, i will post my class_dlmod.php when im done, should be later today.
Mickroz
Beiträge: 19
Registriert: Fr 11. Mär 2011, 10:41

Re: Topics for Downloads

Beitrag von Mickroz »

here is my class_dlmod.php

I added a language addition:

Code: Alles auswählen

'DL_VIEW_LINK' => 'Download overview page',
Fixes included:
  • Changing User permissions
  • File size shown when external download
  • Topic resync problem when changing topic user id
  • showing some extra information in the topic.
  • Not showing images an url's in a topic.
Dateianhänge
class_dlmod.zip
(12.97 KiB) 273-mal heruntergeladen
Benutzeravatar
oxpus
Chief handy-man
Beiträge: 2719
Registriert: Do 13. Dez 2007, 23:06
Wohnort: Irgendwo im I-Net
Kontaktdaten:

Re: Topics for Downloads

Beitrag von oxpus »

Thanks for this.
I'll check this out when I'll update the MOD.
Karsten Ude
Kein Support per Messenger, Email oder PN! Unaufgeforderte Nachrichten werden ignoriert!
No support per Messenger, Email or PM. Each unasked message will be ignored!
Antworten