Quotes Block

Forum rules
This forum is not for support requests.

Only post Modifications for Board3 Portal 1.0.x in this forum.
Locked

Topic author
Knight Rider
Translator
Posts: 4
Joined: 3. June 2008 01:28
Location: Brazil
Contact:

Quotes Block

Post by Knight Rider »

This MOD will put a block with random quotes in your board3 Portal above the Birthday Block.
Tested with phpBB 3.0.1 and board3 Portal 1.0.0 RC1.
Works in prosilver basead templates, i don't know about subsilver basead because i don't have it installed.

To edit or add quotes open quotes.txt in your language directory and put each quote on a new line using html to format the quotes.

Quotes Block v.1.0.0

Kharon
Active Member
Posts: 28
Joined: 18. May 2008 10:01

Re: Quotes Block

Post by Kharon »

debug mode:on

templates: prosilver 3.0.1

portal.php

Code: Select all

[phpBB Debug] PHP Notice: in file /portal.php on line 252: Undefined index: portal_quotes
portal.php on line 252:

Code: Select all

if ($portal_config['portal_quotes'])
ACP
*Portal > Quotes

Code: Select all

[phpBB Debug] PHP Notice: in file /adm/index.php on line 299: Undefined index: portal_quotes
[phpBB Debug] PHP Notice: in file /adm/index.php on line 300: Undefined index: portal_quotes
adm/index.php

Code: Select all

$key_yes	= ($new[$config_key]) ? ' checked="checked"' : '';
$key_no		= (!$new[$config_key]) ? ' checked="checked"' : '';

thanks
Locked

Return to “board3 Portal v1.0.x - Modifications in Dev”