PhpBB Random Jokes
-
- BBCoder II
- Posts: 19
- Joined: 20 Jan 2014, 05:24
- Location: Deutschland - Niedersachsen
PhpBB Random Jokes
Oh yes, I know and I did the german languan files like you see above. But as I told there was no effect with the title line "RANDOM JOKES" and the other three things. They all are also not to find within the original english language files. Sorry, but if it wouldn't be so I didn't have to ask about it.
-
- Site Admin
- Posts: 3536
- Joined: 12 May 2008, 21:26
- BBCodes: 239
- Favourite BBCode: Anipro
- Favourite MOD: PrettyPhoto
- Location: Denmark
PhpBB Random Jokes
In the instructions you are instructed to add something to language/en/common.php
This must be done to language/de/common.php also.
This must be done to language/de/common.php also.
Board rules! No PM support
-
- BBCoder II
- Posts: 19
- Joined: 20 Jan 2014, 05:24
- Location: Deutschland - Niedersachsen
PhpBB Random Jokes
Oh yes, I see. Thank you very much. There really I made the mistake to add the english words instead of translating. And I always searched in the file "jokes.php" - sorry about that.
But the other three things I found hardcoded in the file "includes/acp/acp_jokes_jokes.php"
But the other three things I found hardcoded in the file "includes/acp/acp_jokes_jokes.php"
-
- Site Admin
- Posts: 3536
- Joined: 12 May 2008, 21:26
- BBCodes: 239
- Favourite BBCode: Anipro
- Favourite MOD: PrettyPhoto
- Location: Denmark
PhpBB Random Jokes
Open language/en/acp/common.php (also remember your own language)
Find
Add before
Open includes/acp/acp_jokes_jokes.php
Find
Replace with
Find
Code: Select all
?>
Code: Select all
// Jokes
$lang = array_merge($lang, array(
'LOG_JOKES_UPDATED' => 'Joke updated',
'LOG_JOKES_ADDED' => 'Joke added',
'LOG_JOKES_REMOVED' => 'Joke removed',
));
Find
Code: Select all
LOG_jokes_REMOVED
Code: Select all
LOG_JOKES_REMOVED
Board rules! No PM support
-
- BBCoder II
- Posts: 19
- Joined: 20 Jan 2014, 05:24
- Location: Deutschland - Niedersachsen
PhpBB Random Jokes
Oh yes ! Thank you, Stoker ! I got it now:
There's nothing more to change in the file "acp_jokes_jokes.php" (without this one line) and nothing else in "jokes.php", but always in the language files of "common.php".
In english it should look like
and in german like
I think now it's solved the best way. This (%s) is needed to show the additionals too.
There's nothing more to change in the file "acp_jokes_jokes.php" (without this one line) and nothing else in "jokes.php", but always in the language files of "common.php".
In english it should look like
Code: Select all
// Jokes
$lang = array_merge($lang, array(
'JOKESPAGE' => 'Jokes',
'RANDOM_JOKE' => 'Random Jokes',
'LOG_JOKES_UPDATED' => 'joke updated (%s)',
'LOG_JOKES_ADDED' => 'joke added (%s)',
'LOG_JOKES_REMOVED' => 'joke removed (%s)',
));
Code: Select all
// Jokes
$lang = array_merge($lang, array(
'JOKESPAGE' => 'Witze',
'RANDOM_JOKE' => 'Zufallswitze',
'LOG_JOKES_UPDATED' => 'Witz aktualisiert (%s)',
'LOG_JOKES_ADDED' => 'Witz hinzugefügt (%s)',
'LOG_JOKES_REMOVED' => 'Witz entfernt (%s)',
));
I don't support phpBB any longer. So I'm gone here too.
-
- BBCoder II
- Posts: 15
- Joined: 05 Dec 2014, 14:41
- BBCodes: 10
Re: PhpBB Random Jokes
Thanks bro, for modifikacions!
-
- BBCoder I
- Posts: 1
- Joined: 24 Aug 2015, 09:33
- BBCodes: 20
Re: PhpBB Random Jokes
Hello Stoker,
i use the "random joke mod" and it runs perfect.
But i miss BBcode or Html. What can i do, to get this?
Sorry for my bad english
Best regards
burn-hard
i use the "random joke mod" and it runs perfect.
But i miss BBcode or Html. What can i do, to get this?
Sorry for my bad english
Best regards
burn-hard
-
- Site Admin
- Posts: 3536
- Joined: 12 May 2008, 21:26
- BBCodes: 239
- Favourite BBCode: Anipro
- Favourite MOD: PrettyPhoto
- Location: Denmark