Seite 4 von 4

Verfasst: Mi 17.Mai, 2006 20:50
von oxpus
@modbo
Das neue Fenster ist Absicht! Und aufgrund diverser Sicherheitsregeln wird auch kein Versuch unternommen, daß zu schliessen.
Ist nunmal auch notwendig, denn wenn man ein Formular absendet, wird die Seite ja neu geladen. Und es werden auch evtl. Fehlermeldungen angezeigt, ohne das Detailsfenster zu verändern.

An der Download Mimik hatte sich auch noch was geändert. Diese ist daher nun auch nicht unbedingt mit der gleichen Webumgebung kombinierbar, kann aber ggf., sollte sie funktionieren, mehr als die alte Methode.

@AmigaLink
Ich hatte es befürchtet:
Durch die Sortierfunktion im Modcp ist nun das Verschieben defekt.
Mist, schon wieder ans Zeichenbrett...

@bce & AmigaLink
Ich habe noch einen kleinen Bug in der Upload-Routine bezüglich der Stat-Daten entdeckt.
Die neue MOD-Version 5.0.3 werde ich gleich veröffentlichen...

Verfasst: Mi 17.Mai, 2006 21:35
von AmigaLink
Na dann mal frisch ans Werk.
Hoffentlich finden wir nicht noch mehr. Das ist nämlich jedes mal für mich ein netter aufwand. :)

// EDIT
Och, war ja ein Klacks diesmal. :)

Verfasst: Do 18.Mai, 2006 00:20
von pepi
[quote="oxpus";p="59433"]@modbo
Das neue Fenster ist Absicht! Und aufgrund diverser Sicherheitsregeln wird auch kein Versuch unternommen, daß zu schliessen.
Ist nunmal auch notwendig, denn wenn man ein Formular absendet, wird die Seite ja neu geladen. Und es werden auch evtl. Fehlermeldungen angezeigt, ohne das Detailsfenster zu verändern.[/quote]
@oxpus

Ist dann das falsch was ich gemacht habe habe in der view_dl_body.tpl

Code: Alles auswählen

<form action={download_button.U_DOWNLOAD} method="post" name="download" target="_blank">
einfach das

Code: Alles auswählen

target="_blank"
rausgelöscht bekomme dann keine weisse Seite mehr

Verfasst: Do 18.Mai, 2006 02:21
von AmigaLink
Ich hab das auch gemacht und sehe da kein Problem.

Verfasst: Do 18.Mai, 2006 08:04
von oxpus
Und evtl. Fehler- oder Zugriffsmeldungen würden die Detailseite dann ersetzen.
Naja, wie Ihr wollt...

Verfasst: Do 18.Mai, 2006 09:01
von modbo
[quote="AmigaLink";p="59445"]Ich hab das auch gemacht und sehe da kein Problem.[/quote]
Danke. Schließe mich an :)

Verfasst: Do 18.Mai, 2006 13:07
von bce
kann man sich selber als admin aus der download-statistik rausnehmen?
und zwar bei "Anzahl Downloads" und "Download Traffic gesamt"
diese downloads sind ja eigentlich nur "test-downloads"....

einfach das

Code: Alles auswählen

 target="_blank" 
rausgelöscht bekomme dann keine weisse Seite mehr
funktioniert auch bei mir ohne probs

Verfasst: Do 18.Mai, 2006 13:25
von oxpus
Öhm, nur, wenn die Statistik dann umgeschrieben würde.
Aber Du kannst ja zumindest für die erweiterten Statistiken alle Daten von Dir löschen...

Und okay, bei einem nächsten Release wird das Target entfernt.

Verfasst: Do 18.Mai, 2006 14:53
von bce
für die erweiterten Statistiken alle Daten von Dir löschen...
ok.. gesagt getan.. passt.


ne frage zu externen downloads.. hab grad bei mir bissl zeugs als extern einstellen wollen.. da muss man ja beim zu ladenden file die genaue adresse mit file angeben..
aber bei fast allen download-anbietern wird erst eine "download-vorschalt" eingerichtet, so dass man nicht direkt verlinken kann..

ich finde, wenn der download als extern gekennzeichnet wird und kein direktes verlinken möglich ist, das feld "Extern:" beim upload leer lassen.. nun muss unten bei alternativer download die url der site eingetragen werden.
bei diesem weg würde halt die dateigröße nicht mehr angezeigt werden...

Verfasst: Do 18.Mai, 2006 15:14
von oxpus
Öhm, "Alternativer Download" ist ein Feld der Hackliste!
Das hat NICHTS mit den externen Downloads zu tun!

Verfasst: Do 18.Mai, 2006 15:32
von bce
jo, das ist es...
ist aber der einzigste ausweg, wenn man nicht direkt verlinken kann...
is halt verwirrend, weil ja ein dateiname angegeben werden muss und der download-button sichtbar ist...

Download Mod / Download-Umb.

Verfasst: Mi 21.Jun, 2006 23:44
von Urlryn
Hello,

I hope i'm posting this in the correct place.
Ich hoffe, da? ich dieses im korrekten Platz bekanntgebe

I can not read forums with out help of a translator
Ich kann nicht Foren mit heraus Hilfe eines übersetzers lesen

I need to modify the background to black on the text entries sections
Ich muß den Hintergrund ändern, um auf den Texteintragabschnitten zu schwärzen

If anybody can tell me which files I need to change that would be great!
Wenn jedes mir erklären kann, welche Akten ich ändern muß, der groß sein würde!

Urlryn

Verfasst: Do 22.Jun, 2006 01:00
von oxpus
The template of the Download MOD is using default css formattings from subSilver.
To convert this to your style, change all files in the folder templates/yourstyle/dl_mod/tpl/...

Verfasst: Do 22.Jun, 2006 02:03
von Urlryn
Is there a easier way then modifying all the files to change background/text color?
Could i use the default css of another style? If so where would i modify that at?

Thanks for any help! I'm pretty new to this stuff so i'm a bit slow.
Urlryn

Verfasst: Do 22.Jun, 2006 08:50
von oxpus
No, you must change each file itself. One by one.
There's no way to code "easy" a new style...

Verfasst: Do 22.Jun, 2006 20:49
von Urlryn
Thank you! All done!

I do have one more question.

When trying to change the background for dl_traffic_body.tpl I kept getting a error due to the name.

Code: Alles auswählen

		<!-- BEGIN group_row -->
		<tr>
			<td class="row1" width="30%"><span class="gen">group_dl_auto_traffic[{group_row.GROUP_ID}]</span></td>
			<td class="row2" width="70%"><span class="gen">
			<input name="group_dl_auto_traffic" type="text" size="10" maxlength="50" value="{group_row.GROUP_DL_AUTO_TRAFFIC}" style="color: #FFFFFF; background-color: #000000" />&nbsp;
				<input name="data_group_range[{group_row.GROUP_ID}]" type="radio" value="B" {group_row.GROUP_DATA_RANGE_B} />&nbsp;{L_DL_BYTES}&nbsp;
				<input name="data_group_range[{group_row.GROUP_ID}]" type="radio" value="KB" {group_row.GROUP_DATA_RANGE_KB} />&nbsp;{L_DL_KB}&nbsp;
				<input name="data_group_range[{group_row.GROUP_ID}]" type="radio" value="MB" {group_row.GROUP_DATA_RANGE_MB} />&nbsp;{L_DL_MB}&nbsp;
				<input name="data_group_range[{group_row.GROUP_ID}]" type="radio" value="GB" {group_row.GROUP_DATA_RANGE_GB} />&nbsp;{L_DL_GB}</span></td>
		</tr>
		<!-- END group_row -->
Was this a mistake and should be: group_dl_auto_traffic instead of group_dl_auto_traffic[{group_row.GROUP_ID}] beside it?

Thanks again!
Urlryn

Verfasst: Do 22.Jun, 2006 23:47
von oxpus
No, it's not a mistake.

Verfasst: Fr 23.Jun, 2006 00:15
von Urlryn
Ok...i'll just ignore the error.

Thank you for all the help!

Urlryn

Verfasst: Fr 23.Jun, 2006 00:21
von oxpus
Error?
If you change your template, compare this with the original files!
Here the original code from the MOD:

Code: Alles auswählen

		<!-- BEGIN group_row -->
		<tr>
			<td class="row1" width="30%"><span class="gen">{group_row.GROUP_NAME}</span></td>
			<td class="row2" width="70%"><span class="gen"><input name="group_dl_auto_traffic[{group_row.GROUP_ID}]" type="text" size="10" maxlength="50" value="{group_row.GROUP_DL_AUTO_TRAFFIC}" />&nbsp;
				<input name="data_group_range[{group_row.GROUP_ID}]" type="radio" value="B" {group_row.GROUP_DATA_RANGE_B} />&nbsp;{L_DL_BYTES}&nbsp;
				<input name="data_group_range[{group_row.GROUP_ID}]" type="radio" value="KB" {group_row.GROUP_DATA_RANGE_KB} />&nbsp;{L_DL_KB}&nbsp;
				<input name="data_group_range[{group_row.GROUP_ID}]" type="radio" value="MB" {group_row.GROUP_DATA_RANGE_MB} />&nbsp;{L_DL_MB}&nbsp;
				<input name="data_group_range[{group_row.GROUP_ID}]" type="radio" value="GB" {group_row.GROUP_DATA_RANGE_GB} />&nbsp;{L_DL_GB}</span></td>
		</tr>
		<!-- END group_row -->
;)

Verfasst: Fr 23.Jun, 2006 01:41
von Urlryn
I have the same code.

If you are using Microsoft frontpage and right click this line and goto tag properties

Code: Alles auswählen

<input name="group_dl_auto_traffic[{group_row.GROUP_ID}]" type="text" size="10" maxlength="50" value="{group_row.GROUP_DL_AUTO_TRAFFIC}" style="color: #FFFFFF; background-color: #000000" />
Now click OK

This error appears:
Name is not valid

To allow the name to be used in a scripting language
it must start with a letter or underscore, and subsequent
characters must be letters, digits and underscores.

Also..what exactly is the Hacklist portion of this mod? and what do i use it for?

Urlryn

Verfasst: Fr 23.Jun, 2006 08:24
von oxpus
MS Frontpage...
Ignore this error message!