PhpBB Random Jokes

Miscaleneous modifications from Stoker
User avatar
Stoker
Site Admin
Site Admin
Posts: 3536
Joined: 12 May 2008, 23:26
BBCodes: 239
Favourite BBCode: Anipro
Favourite MOD: PrettyPhoto
Location: Denmark
Contact:

PhpBB Random Jokes

Post by Stoker »

Modification Name: PhpBB Random Jokes
Author: Stoker

Modification Description:: This MOD adds a random joke on your index and a Jokes page to your forum. Fully configurable in ACP where you can add, edit and delete jokes
Modification Version:: 1.0.0

Demo URL: Jokes Page - Random Joke on Index (Here it is on Portal)

Modification Download: testsite/dm_eds/showcat.php?id=13
Board rules! No PM support
Jessica
BBCoder II
BBCoder II
Posts: 66
Joined: 26 Apr 2010, 01:26
BBCodes: 50
Favourite BBCode: spoilvtitle
Favourite MOD: AJAX Quick Edit
Location: Pennsylvania
Contact:

PhpBB Random Jokes

Post by Jessica »

Thanks for creating the topic :)

Non-donors are allowed to get support right? I just have one issue. Whenever I add a joke, or edit one, the log is:

{LOG JOKES UPDATED}
or
{LOG JOKES ADDED}

I have all files and all edits and I can't figure out how to fix them (probably will say {LOG JOKES DELETED} if I delete a joke as well). The language entries are there...
User avatar
Stoker
Site Admin
Site Admin
Posts: 3536
Joined: 12 May 2008, 23:26
BBCodes: 239
Favourite BBCode: Anipro
Favourite MOD: PrettyPhoto
Location: Denmark
Contact:

PhpBB Random Jokes

Post by Stoker »

The log thing will be removed in next version. I dont think they are needed.
In the meantime you can remove the 3 lines in acp_jokes_jokes.php starting with: add_log
Board rules! No PM support
User avatar
martin123456
BBCoder VI
BBCoder VI
Posts: 765
Joined: 25 Jul 2011, 13:29
BBCodes: 34
Favourite MOD: Ban button
Location: Down south!
Contact:

PhpBB Random Jokes

Post by martin123456 »

Jessica wrote:Thanks for creating the topic :)

Non-donors are allowed to get support right?
Forum rules
Everything in this forum is for everybody
But support only for Donators!

Guess stikers is in love ;)
User avatar
Stoker
Site Admin
Site Admin
Posts: 3536
Joined: 12 May 2008, 23:26
BBCodes: 239
Favourite BBCode: Anipro
Favourite MOD: PrettyPhoto
Location: Denmark
Contact:

PhpBB Random Jokes

Post by Stoker »

martin123456 wrote:
Jessica wrote:Thanks for creating the topic :)

Non-donors are allowed to get support right?
Forum rules
Everything in this forum is for everybody
But support only for Donators!

Guess stikers is in love ;)
In which forum is this topic posted and what are the forum rules for that forum?
Board rules! No PM support
Jessica
BBCoder II
BBCoder II
Posts: 66
Joined: 26 Apr 2010, 01:26
BBCodes: 50
Favourite BBCode: spoilvtitle
Favourite MOD: AJAX Quick Edit
Location: Pennsylvania
Contact:

PhpBB Random Jokes

Post by Jessica »

Stoker wrote:The log thing will be removed in next version. I dont think they are needed.
In the meantime you can remove the 3 lines in acp_jokes_jokes.php starting with: add_log
Thanks!
regazer
BBCoder II
BBCoder II
Posts: 19
Joined: 20 Jan 2014, 07:24
Location: Deutschland - Niedersachsen
Contact:

PhpBB Random Jokes

Post by regazer »

I've just installed this mod and made german translations. 8-)

But I have a problem: The title of the shown random joke always is "RANDOM JOKES" and also (after uploading my translations) adding a
'RANDOM_JOKE' => 'Zufallswitz',
or in english
'RANDOM_JOKE' => 'Random Joke',
in the language file(s) "jokes.php" don't take effect, only editing "randomjoke_body.html" directly.

Why is this and how to change?
Attachments
language.zip
(5.2 KiB) Downloaded 116 times
User avatar
Steve
BBCoder VI
BBCoder VI
Posts: 848
Joined: 05 Mar 2010, 01:10
BBCodes: 2000
Favourite BBCode: p**n tube
Favourite MOD: Non of Stokers

PhpBB Random Jokes

Post by Steve »

Good joke!! Funny mod :lol:
Steve wrote: 14 Nov 2024, 16:45 It's happy bastard day!
regazer
BBCoder II
BBCoder II
Posts: 19
Joined: 20 Jan 2014, 07:24
Location: Deutschland - Niedersachsen
Contact:

PhpBB Random Jokes

Post by regazer »

This problem isn't solved :
The title of the shown random joke always is "RANDOM JOKES" and also (after uploading my translations) adding a
'RANDOM_JOKE' => 'Zufallswitz',
or in english
'RANDOM_JOKE' => 'Random Joke',
in the language file(s) "jokes.php" don't take effect, only editing "randomjoke_body.html" directly.

And I found others when looking at my admin log files. How can I assign language strings to the following expressions?
{LOG jokes REMOVED}
{LOG JOKES ADDED}
{LOG JOKES UPDATED}
:roll: :?
User avatar
Stoker
Site Admin
Site Admin
Posts: 3536
Joined: 12 May 2008, 23:26
BBCodes: 239
Favourite BBCode: Anipro
Favourite MOD: PrettyPhoto
Location: Denmark
Contact:

PhpBB Random Jokes

Post by Stoker »

you need to make the german language files yourself and do the edits to the german language.
Board rules! No PM support
Locked