[MODDB] Forum Background for phpBB3

A place for MOD Authors to post and receive feedback on MODs still in development. No MODs within this forum should be used within a live environment!
Get Involved
Locked
User avatar
wang5555
Translator
Posts: 620
Joined: Wed Oct 27, 2004 2:57 pm
Location: Taiwan

[MODDB] Forum Background for phpBB3

Post by wang5555 »

About The Mod:
MOD Title: Forum Background for phpBB3
Author: wang5555
Mod Version: 1.0.4
Mod Description:
  • Allow administrator to set background of each forum from ACP.
phpBB: 3.0.4
MODx: 1.2.2
Download: Forum_Background_for_phpBB3_104.zip

Mod History:
  • 2008-10-06 - Version1.0.0
    Release of version 1.0.0
  • 2009-01-25 - Version1.0.1
    With MODx 1.2.1 format
  • 2009-01-28 - Version1.0.2
    Update MODx 1.2.2 format
    Fixed "includes/functions_display.php" error (Thank darkonia)
    Changed "styles/prosilver/template/forumlist_body.html" background-repeat (Thank darkonia)
  • 2009-01-30 - Version1.0.3
    Fixed adm/style/acp_forums.html find error (Thank olalavui and sloeri)
    Fixed xml/zh_cmn_hant.xml double find/action error
    Installed successfully by AutoMOD 1.0.0 Beta 2
  • 2009-02-07 - Version1.0.4
    Changed "includes/functions_display.php" amend action for AutoMOD
    Changed "adm/style/acp_forums.html" background-repeat
    Changed "styles/prosilver/template/forumlist_body.html" background-repeat
    Added "styles/subsilver2/template/forumlist_body.html" background-repeat
    Added "adm/mods/Forum_Background_check_version.php" for MOD Version Check
    Fixed link type forum no background-image bug when use subsilver2 style
Author Note:
This MOD supports the "MOD Version Check" MOD by Handymman´:
http://www.phpbb.com/community/viewtopi ... 9&t=691155

I hope you get it installed, otherwise you can ask for help on phpbb.com, have fun! :)

Demo:
  • ACP -> Manage forums -> Forum administration:
    Image
  • ACP -> Manage forums -> Edit forum:
    Image
Last edited by wang5555 on Thu Aug 19, 2010 6:57 am, edited 7 times in total.
It is more blessed to give than to reveive, good luck! ^_^
Welcome to my forum
https://wang5555.dnsfor.me/phpBB3/
User avatar
darkonia
Registered User
Posts: 1901
Joined: Tue May 13, 2008 1:10 pm
Location: Munich, Germany
Contact:

Re: [BETA] Forum Background for phpBB3

Post by darkonia »

acp is showing, but i get this error when i open the index.php:
Parse error: syntax error, unexpected T_CONSTANT_ENCAPSED_STRING in /usr/export/www/vhosts/funnetwork/hosting/darkonia/phpBB3/includes/functions_display.php on line 570
ok this i have fix myself, but it looks not you are showing:

Image
MMOG-Heaven - Das Gaming Portal
Community bedeutet Gleichgesinnte finden - MMOG-Heaven ist Deine Community! Von Spielern für Spieler bietet Dir dieses Portal genau das, was ein Spieler braucht. Bleibe ständig informiert, finde die neuesten MMORPGs, oder suche die frischesten News aus der Welt des Online Gamings - dieses und vieles mehr erwartet Dich auf MMOG-Heaven.
User avatar
wang5555
Translator
Posts: 620
Joined: Wed Oct 27, 2004 2:57 pm
Location: Taiwan

Re: [BETA] Forum Background for phpBB3

Post by wang5555 »

darkonia wrote:acp is showing, but i get this error when i open the index.php:
Parse error: syntax error, unexpected T_CONSTANT_ENCAPSED_STRING in /usr/export/www/vhosts/funnetwork/hosting/darkonia/phpBB3/includes/functions_display.php on line 570
ok this i have fix myself, but it looks not you are showing:

Image
Thank your test and report! :D

MOD Updated to version 1.0.2
See first post for Download Link
It is more blessed to give than to reveive, good luck! ^_^
Welcome to my forum
https://wang5555.dnsfor.me/phpBB3/
User avatar
olalavui
Registered User
Posts: 104
Joined: Sat Dec 13, 2008 3:02 am
Location: Vietnam
Name: Bui Thanh Tung
Contact:

Re: [BETA] Forum Background for phpBB3 (Update 1.0.2)

Post by olalavui »

I uy
Im not find any code:
In adm/style/acp_forums.html:
Find:

Code: Select all

		<dd><input class="text medium" type="text" id="forum_bg" name="forum_bg" value="{FORUM_BG}" maxlength="255" /></dd>
	</dl>
I not find before code, i find

Code: Select all

forum_bg
... and not find...

In includes/acp/acp_forums.php:
Find:

Code: Select all

					'S_CAN_COPY_PERMISSIONS'	=> ($action != 'edit' || empty($forum_id) || ($auth->acl_get('a_fauth') && $auth->acl_get('a_authusers') && $auth->acl_get('a_authgroups') && $auth->acl_get('a_mauth'))) ? true : false,
I not find, too ...

I use phpBB3.0.4 and mod version 1.0.2 ....
You can update mod ... Thank!
User avatar
darkonia
Registered User
Posts: 1901
Joined: Tue May 13, 2008 1:10 pm
Location: Munich, Germany
Contact:

Re: [BETA] Forum Background for phpBB3 (Update 1.0.2)

Post by darkonia »

i find these passages...
MMOG-Heaven - Das Gaming Portal
Community bedeutet Gleichgesinnte finden - MMOG-Heaven ist Deine Community! Von Spielern für Spieler bietet Dir dieses Portal genau das, was ein Spieler braucht. Bleibe ständig informiert, finde die neuesten MMORPGs, oder suche die frischesten News aus der Welt des Online Gamings - dieses und vieles mehr erwartet Dich auf MMOG-Heaven.
sloeri
Registered User
Posts: 37
Joined: Sat Jan 03, 2009 8:45 am

Re: [BETA] Forum Background for phpBB3 (Update 1.0.2)

Post by sloeri »

olalavui wrote:I uy
Im not find any code:
In adm/style/acp_forums.html:
Find:

Code: Select all

		<dd><input class="text medium" type="text" id="forum_bg" name="forum_bg" value="{FORUM_BG}" maxlength="255" /></dd>
	</dl>
I do not have this line in my ACP_Forums.html either....
all the other edits i find, except that one :)
User avatar
darkonia
Registered User
Posts: 1901
Joined: Tue May 13, 2008 1:10 pm
Location: Munich, Germany
Contact:

Re: [BETA] Forum Background for phpBB3 (Update 1.0.2)

Post by darkonia »

sloeri wrote:
olalavui wrote:I uy
Im not find any code:
In adm/style/acp_forums.html:
Find:

Code: Select all

		<dd><input class="text medium" type="text" id="forum_bg" name="forum_bg" value="{FORUM_BG}" maxlength="255" /></dd>
	</dl>
I do not have this line in my ACP_Forums.html either....
all the other edits i find, except that one :)
than look for some equal like {FORUM_BG}
MMOG-Heaven - Das Gaming Portal
Community bedeutet Gleichgesinnte finden - MMOG-Heaven ist Deine Community! Von Spielern für Spieler bietet Dir dieses Portal genau das, was ein Spieler braucht. Bleibe ständig informiert, finde die neuesten MMORPGs, oder suche die frischesten News aus der Welt des Online Gamings - dieses und vieles mehr erwartet Dich auf MMOG-Heaven.
User avatar
wang5555
Translator
Posts: 620
Joined: Wed Oct 27, 2004 2:57 pm
Location: Taiwan

Re: [BETA] Forum Background for phpBB3 (Update 1.0.2)

Post by wang5555 »

olalavui wrote:I uy
Im not find any code:
In adm/style/acp_forums.html:
Find:

Code: Select all

		<dd><input class="text medium" type="text" id="forum_bg" name="forum_bg" value="{FORUM_BG}" maxlength="255" /></dd>
	</dl>
I not find before code, i find

Code: Select all

forum_bg
... and not find...

In includes/acp/acp_forums.php:
Find:

Code: Select all

					'S_CAN_COPY_PERMISSIONS'	=> ($action != 'edit' || empty($forum_id) || ($auth->acl_get('a_fauth') && $auth->acl_get('a_authusers') && $auth->acl_get('a_authgroups') && $auth->acl_get('a_mauth'))) ? true : false,
I not find, too ...

I use phpBB3.0.4 and mod version 1.0.2 ....
You can update mod ... Thank!
Thank your test! :D

You are right! It is my carelessness. :oops:

1. Open: adm/style/acp_forums.html
Find

Code: Select all

		<dd><input class="text medium" type="text" id="forum_name" name="forum_name" value="{FORUM_NAME}" maxlength="255" /></dd>
	</dl>
After, add

Code: Select all

	<dl>
		<dt><label for="forum_bg">{L_FORUM_BG}:</label><br /><span>{L_FORUM_BG_EXPLAIN}</span></dt>
		<dd><input class="text medium" type="text" id="forum_bg" name="forum_bg" value="{FORUM_BG}" maxlength="255" /></dd>
	</dl>
2. Open: includes/acp/acp_forums.php
About 687 line, you should be find

Code: Select all

'S_CAN_COPY_PERMISSIONS'	=> ($action != 'edit' || empty($forum_id) || ($auth->acl_get('a_fauth') && $auth->acl_get('a_authusers') && $auth->acl_get('a_authgroups') && $auth->acl_get('a_mauth'))) ? true : false,
@sloeri: Thank your reply! :D
It is more blessed to give than to reveive, good luck! ^_^
Welcome to my forum
https://wang5555.dnsfor.me/phpBB3/
User avatar
wang5555
Translator
Posts: 620
Joined: Wed Oct 27, 2004 2:57 pm
Location: Taiwan

[RC] Forum Background for phpBB3 (Update 1.0.4)

Post by wang5555 »

Updated mod v1.0.4,
please see first post.
It is more blessed to give than to reveive, good luck! ^_^
Welcome to my forum
https://wang5555.dnsfor.me/phpBB3/
User avatar
olalavui
Registered User
Posts: 104
Joined: Sat Dec 13, 2008 3:02 am
Location: Vietnam
Name: Bui Thanh Tung
Contact:

Re: [RC] Forum Background for phpBB3 (Update 1.0.4)

Post by olalavui »

^^ Oh Update! Thanks wang5555.
timunrue
Registered User
Posts: 4
Joined: Sun Jan 18, 2009 11:03 pm

Re: [RC] Forum Background for phpBB3 (Update 1.0.4)

Post by timunrue »

after installing this mod some of my forum titles are off centered:

Image

any help is appreciated :)
User avatar
wang5555
Translator
Posts: 620
Joined: Wed Oct 27, 2004 2:57 pm
Location: Taiwan

Re: [RC] Forum Background for phpBB3 (Update 1.0.4)

Post by wang5555 »

olalavui wrote:^^ Oh Update! Thanks wang5555.
Thank your love use. :D
timunrue wrote:after installing this mod some of my forum titles are off centered:

Suggest you:
Try to add some words as "Forum Desc" those some forum titles are off centered.
It is more blessed to give than to reveive, good luck! ^_^
Welcome to my forum
https://wang5555.dnsfor.me/phpBB3/
ScarerSulley
Registered User
Posts: 10
Joined: Mon Oct 27, 2008 8:57 am

Re: [RC] Forum Background for phpBB3 (Update 1.0.4)

Post by ScarerSulley »

timunrue wrote:after installing this mod some of my forum titles are off centered:

Image

any help is appreciated :)
<open>
includes/functions_display.php
<find>

Code: Select all

			'FORUM_DESC'			=> generate_text_for_display($row['forum_desc'], $row['forum_desc_uid'], $row['forum_desc_bitfield'], $row['forum_desc_options']),
<replace-with>

Code: Select all

			'FORUM_DESC'			=> ($row['forum_desc']) ? generate_text_for_display($row['forum_desc'], $row['forum_desc_uid'], $row['forum_desc_bitfield'], $row['forum_desc_options']) : '&nbsp;',
User avatar
wang5555
Translator
Posts: 620
Joined: Wed Oct 27, 2004 2:57 pm
Location: Taiwan

Re: [RC] Forum Background for phpBB3 (Update 1.0.4)

Post by wang5555 »

Generally, even if just create link type forum, should be have forum description more or less.
It is more blessed to give than to reveive, good luck! ^_^
Welcome to my forum
https://wang5555.dnsfor.me/phpBB3/
User avatar
wang5555
Translator
Posts: 620
Joined: Wed Oct 27, 2004 2:57 pm
Location: Taiwan

Re: [RC] Forum Background for phpBB3 (Update 1.0.4)

Post by wang5555 »

Thanks go in for discuss friends.
But I hope I can reduce the queries up on this.

The MOD got validated on v1.0.4 and is in the MOD-DB:
http://www.phpbb.com/community/viewtopi ... &t=1501895

I will refer MOD Team suggestion to update the mod.
It is more blessed to give than to reveive, good luck! ^_^
Welcome to my forum
https://wang5555.dnsfor.me/phpBB3/
Locked

Return to “[3.0.x] MODs in Development”