Seite 1 von 2

wie installiert man Mods?

Verfasst: 02.04.2012 19:28
von PlayOver
ich hab da eine frage.

ich habe den Thanks Mod hochgeladen auf mein server, aber ich weiss nicht wie man installiert.
kann jemanden mir sagen wie es genau geht?

ich war auch auf ACP aber nix gefunden

Re: wie installiert man Mods?

Verfasst: 02.04.2012 19:44
von Elsensee
Zunächst diesen Beitrag lesen: KBL:modsfaq

Danach diesen: KBL:mod_installation

Re: wie installiert man Mods?

Verfasst: 02.04.2012 23:42
von PlayOver
jetzt habe ich ein echtes problem.
ich habe alles gefolgt was im install stand. und auch geändert durch Notepad++
bis unten hab nix verstanden. da steht:

Code: Alles auswählen

After the installation
----------------------
Create a new folder /dl_mod/thumbs/ and set the permissions to CHMOD 0777.

If the installation script was not able to set the needed folder permissions, set the
permissions of the folder dl_mod/downloads/ and all subfolders to CHMOD 0777
(if you use an UNIX/Linux system) manually otherwise the MOD can not upload or handle any file!

Please update all template and grafic packages from all styles to get the new contents from this mod.

At least run the installer install.php to update your database. Plese delete this file after installing.

Attention:
This mod uses Lytebox. Please download this package from http://lytebox.com/ and decompress the file.
After this upload alle the files as tey are to the folder forumroot/dl_mod/js/lytebox/
hab aber gelassen.

also bin ich auf mein domain.tk/install.php
und da stand:

Code: Alles auswählen

[b]Parse error: syntax error, unexpected '*' in /usr/export/www/vhosts/funnetwork/hosting/my-psvita/includes/functions_content.php on line 639[/b]
also bin ich auf Functions_content.php gegangen und hab da was vergessen.
ich hab das geändert und auf die richtige zeile beabeitet.
und es steht die selber fehler... :-?

Code: Alles auswählen

[b]Parse error: syntax error, unexpected '*' in /usr/export/www/vhosts/funnetwork/hosting/my-psvita/includes/functions_content.php on line 639[/b]

Re: wie installiert man Mods?

Verfasst: 03.04.2012 09:33
von ternes
Nimm Automod ist am besten

Mfg ternes

Re: wie installiert man Mods?

Verfasst: 03.04.2012 10:00
von Elsensee
Kannst du bitte deine functions_content.php im Pastebin posten und den Link hierher kopieren? Dann kann ich mir oder jemand anders sich das mal anschauen. :wink:

Re: wie installiert man Mods?

Verfasst: 03.04.2012 15:36
von PlayOver
ich habe nochmal wiederholt trotzdem kommt die gleiche fehler.
https://www.phpbb.de/support/pastebin.p ... iew&s=1031

Edit:
ternes hat geschrieben:Nimm Automod ist am besten
Mfg ternes
das hab ich auch gemacht.
( add before ) heisst das ( Fügen Sie vor ) oder ?

Edit 2
der angegebene oben error 639 denn hab ich gelöst :P
so jetzt steht das hier vor:

Code: Alles auswählen

Parse error: syntax error, unexpected '*' in /usr/export/www/vhosts/funnetwork/hosting/my-psvita/includes/functions_content.php on line 669

Re: wie installiert man Mods?

Verfasst: 03.04.2012 15:50
von Elsensee
In Zeile 668 ganz am Anfang noch vor dem ersten * ein / einfügen. Dann müsste es wieder laufen. :)

Re: wie installiert man Mods?

Verfasst: 03.04.2012 16:38
von PlayOver
Edit:
schon gut hab hin bekommen :P
ich frage gleich über lightbox2 wie man installieren.
amsonst danke ich dir

Re: wie installiert man Mods?

Verfasst: 03.04.2012 17:32
von PlayOver
ops doppel post ( sorry )

Re: wie installiert man Mods?

Verfasst: 03.04.2012 17:32
von PlayOver
könntest du mir ein letztes gefallen tuen?
ich habe alls links kurz getestet aber nicht alle funktionier.

Faq funktioniert nicht ( weisse bildschirm komplett )

wenn ich auf ACP und klicke auf Dateianhängen kommt diese fehler raus:

Code: Alles auswählen

Parse error: syntax error, unexpected T_IF, expecting ':' or '{' in /usr/export/www/vhosts/funnetwork/hosting/my-psvita/includes/functions_posting.php on line 1454
auf signatur bearbeiten kommt die gleiche fehler.

Code: Alles auswählen

Parse error: syntax error, unexpected T_IF, expecting ':' or '{' in /usr/export/www/vhosts/funnetwork/hosting/my-psvita/includes/functions_posting.php on line 1454
Neue Nachricht erstellen funktioniert nicht.

Code: Alles auswählen

Parse error: syntax error, unexpected T_IF, expecting ':' or '{' in /usr/export/www/vhosts/funnetwork/hosting/my-psvita/includes/functions_posting.php on line 1454
Benutzerdefinierte Profilfelder
die gleiche fehler wie oben.

denn rest funktioniert ganz normal.
hier ist die code über 1454.

Code: Alles auswählen

// Collect the necessary information for updating the tables
	$sql_data[FORUMS_TABLE] = '';
	switch ($post_mode)// Download MOD 6 - Drop Traffic on Topic/Post delete
1454 if ($config['dl_drop_traffic_postdel'] && !$config['dl_traffic_off'])
	{
		if ($post_mode == 'delete_topic')
		{
			$drop_traffic_amount = $config['dl_newtopic_traffic'];
		}
		else
		{
			$drop_traffic_amount = $config['dl_reply_traffic'];
		}

		$sql = 'SELECT user_traffic FROM ' . USERS_TABLE . '
			WHERE user_id = ' . (int) $data['poster_id'];
		$result = $db->sql_query($sql);

		$row = $db->sql_fetchrow($result);
		$user_traffic = $row['user_traffic'];
		$db->sql_freeresult($result);

		if ($user_traffic < $drop_traffic_amount)
		{
			$user_traffic = 0;
		}
		else
		{
			$user_traffic -= $drop_traffic_amount;
		}

		$sql = 'UPDATE ' . USERS_TABLE . '
			SET user_traffic = ' . (int) $user_traffic . '
			WHERE user_id = ' . (int) $data['poster_id'];
		$db->sql_query($sql);
	}
	// Download MOD 6 - Drop Traffic on Topic/Post delete