Portal Tag

Modifications for phpBB3.
Try the Mods here and share Your own Mods
Forum rules
You dont have to use ModX or make your mod AutoMod compatible. A simple textfile is fine
But if you post Mods here You also have to give support

Portal Tag

Post by Kaycee »

Let me thank you for the simple portal. Everything was fine except this tag that is appearing around {Portal}. What can i do to remove it?
I also want to remove Forum Name Portal on top welcome message.

Portal Tag

Post by Stoker »

you need to do the language edit for the language you use.

Portal Tag

Post by Kaycee »

Kindly help me take a look. Can i post my link for you to assist?

Portal Tag

Post by Stoker »

Sure, you can post a link. But its not necessary.
According to the instructions you need to ad some code to the language/en/common.php
You need to ad the same to your language common.php
If you are danish it would be: language/da/common.php

Portal Tag

Post by Kaycee »

Fine. What code? my link: www.naijamarriage.com

Portal Tag

Post by Stoker »

Read the install instructions. Its all there.
You need to add some code to language/en/common.php

Portal Tag

Post by Kaycee »

I have added this to common.php with no change on portal page header.// Portal
$lang = array_merge($lang, array(
'PORTAL' => 'Portal',
'VIEW_PORTAL' => 'Viewing Portal Page',
));


I just want this bracket {portal} go away on the page header.

Portal Tag

Post by Stoker »

Yes, and if you add that code to language/your language/common.php it will output Portal instead of { PORTAL }.
Remember you need to do this for all the languages you have installed.

Portal Tag

Post by Kaycee »

The tag was remove when added it to en-us. But that was with a bug.
[phpBB Debug] PHP Warning: in file /includes/functions.php on line 4589: Cannot modify header information - headers already sent by (output started at /language/en_us/common.php:1)
[phpBB Debug] PHP Warning: in file /includes/functions.php on line 4591: Cannot modify header information - headers already sent by (output started at /language/en_us/common.php:1)
[phpBB Debug] PHP Warning: in file /includes/functions.php on line 4592: Cannot modify header information - headers already sent by (output started at /language/en_us/common.php:1)
[phpBB Debug] PHP Warning: in file /includes/functions.php on line 4593: Cannot modify header information - headers already sent by (output started at /language/en_us/common.php:1)

Portal Tag

Post by Stoker »

Sounds like you have added it AFTER this ?> instead of before.