 | [Solved] Background Message box MOD |  |
Posted: 04/11/2007 3:09 AM |
|
|
|
|
|
| Citation |
| Posts |
1017 |
| Word Cnt. |
64,643 |
| BDay |
Apr 18 |
| Sign |
Aries |
| Sex |
 |
|
|
|
Joined: Apr 01, 2007
Local time: 5:18 PM
Location: UNITED ARAB EMIRATES
|

|
|
|
|
 |
Hello NightRider,
I have got a new MOD from phpbbhacks.com and it is v.small mod in which is having only 1 file and in that also I am getting 1 error. The MOD author had done many mistakes like instead of writing subSilver he wrote SubSilver and for subSilver.css file he wrote css file!
I fixed everything but the MOD is still unable to install. It is giving me error. I have given the MOD script here so you can see what is the error in it.
| Code:
|
##############################################################
## MOD Title: Background Message box
## MOD Author: kber < > (kber) http://www.phpbbegypt.com
## MOD Description: This mod puts a background image in the Message box ( s ) ( inc . queck reply )
## MOD Version: 1.0.0
## PHPBB versions: 2.0.x
## Installation Level: (Easy)
## Installation Time: 1 Minute
## Files To Edit:
## templates/SubSilver/css
## Included Files: n/a
## License: http://opensource.org/licenses/gpl-license.php GNU General Public License v2
##############################################################
## Before Adding This MOD To Your Forum, You Should Back Up All Files Related To This MOD
##############################################################
#
#-----[ OPEN ]------------------------------------------
#
templates/SubSilver/css
#
#-----[ FIND ]------------------------------------------
#
<textarea name="message" rows="15" cols="35" wrap="virtual" style="width:450px" tabindex="3" class="post" onselect="storeCaret(this);" onclick="storeCaret(this);" onkeyup="storeCaret(this);">{MESSAGE}</textarea>
#
#-----[ AFTER, ADD ]------------------------------------------
# dont forget to edite image path .
; background-image: url('http://www.funwadi.com/forum/templates/subSilver/images/abc.jpg') ;background-position: center; background-attachment: fixed
#
#-----[ SAVE/CLOSE ALL FILES ]------------------------------------------
#
# EoM
|
 |
|
|
 |
 |
| Back to Top |
|
|
 | Re: Background Message box MOD |  |
Posted: 04/11/2007 12:04 PM |
|
|
|
|
|
| Site Admin |
| Posts |
30757 |
| Word Cnt. |
2,628,690 |
| BDay |
Jul 28 |
| Sign |
Leo |
| Sex |
 |
|
|
|
Joined: Sep 25, 2004
Local time: 9:18 AM
Location: St Pete, FL
|

|
|
|
|
 |
That MOD doesn't make any sense. Apparently no one at phpBBHacks.com reviews these MODs before allowing them into their database...
This will do what you want. But for this to work, you will need to edit the background file in the MOD script to match the filename that you plan to use. Also, it is possible that the modification to the overall_header.tpl file may not work for all templates on your board. So if you see warning errors for alternate templates, you can ignore them...
| Code:
|
##############################################################
## MOD Title: Background Message box
## MOD Author: kber < webmaster@php bbegypt.com > (kber) http://www.phpbbegypt.com
## MOD Description: This mod puts a background image in the Message box ( s ) ( inc . queck reply )
## MOD Version: 1.0.0
## PHPBB versions: 2.0.x
## Installation Level: (Easy)
## Installation Time: 1 Minute
## Files To Edit:
## templates/subSilver/subSilver.css
## Included Files: n/a
## License: http://opensource.org/licenses/gpl-license.php GNU General Public License v2
##############################################################
## Before Adding This MOD To Your Forum, You Should Back Up All Files Related To This MOD
##############################################################
#
#-----[ DIY INSTRUCTIONS ]------------------------------------------
#
You MUST modify the graphic file in the background image url setting to match the
background image that you plan to use...
#
#-----[ OPEN ]------------------------------------------
#
templates/subSilver/subSilver.css
#
#-----[ FIND ]------------------------------------------
# This actual line of code will be longer...
input.post
#
#-----[ AFTER, ADD ]------------------------------------------
# dont forget to edite image path .
background-image: url('templates/subSilver/images/abc.jpg');
background-position: center;
background-attachment: fixed;
#
#-----[ OPEN ]------------------------------------------
#
templates/subSilver/overall_header.tpl
#
#-----[ FIND ]------------------------------------------
# This actual line of code will be longer...
input.post
#
#-----[ AFTER, ADD ]------------------------------------------
# dont forget to edite image path .
background-image: url('templates/subSilver/images/abc.jpg');
background-position: center;
background-attachment: fixed;
#
#-----[ SAVE/CLOSE ALL FILES ]------------------------------------------
#
# EoM
|
 |
|
|
 |
 |
| Back to Top |
|
|
 | Re: [Solved] Background Message box MOD |  |
Posted: 04/11/2007 12:44 PM |
|
|
|
|
|
| Citation |
| Posts |
1017 |
| Word Cnt. |
64,643 |
| BDay |
Apr 18 |
| Sign |
Aries |
| Sex |
 |
|
|
|
Joined: Apr 01, 2007
Local time: 5:18 PM
Location: UNITED ARAB EMIRATES
|

|
|
|
|
 |
I didn't got any error! and it installed smoothly and working superbly.
 |
|
|
 |
 |
| Back to Top |
|
|
 | Re: Background Message box MOD |  |
Posted: 04/11/2007 2:05 PM |
|
|
|
|
|
| Site Admin |
| Posts |
30757 |
| Word Cnt. |
2,628,690 |
| BDay |
Jul 28 |
| Sign |
Leo |
| Sex |
 |
|
|
|
Joined: Sep 25, 2004
Local time: 9:18 AM
Location: St Pete, FL
|

|
|
|
|
 |
Awesome. Congratulations AB!!!
 |
|
|
 |
 |
| Back to Top |
|
|
 | Re: [Solved] Background Message box MOD |  |
Posted: 04/11/2007 5:06 PM |
|
|
|
|
|
| Citation |
| Posts |
1017 |
| Word Cnt. |
64,643 |
| BDay |
Apr 18 |
| Sign |
Aries |
| Sex |
 |
|
|
|
Joined: Apr 01, 2007
Local time: 5:18 PM
Location: UNITED ARAB EMIRATES
|

|
|
|
|
 |
I changed the bg of posting box and we made similar type of shoutbox bg which looks quite good. I am waiting for half an hour to get changed in posting box but it is same pink color hahahaha.
I might have done something wrong which i don't think so or might be it's my ISP problem which is always a big problem for everyone here.  |
|
|
 |
 |
| Back to Top |
|
|
 | Re: Background Message box MOD |  |
Posted: 04/11/2007 11:18 PM |
|
|
|
|
|
| Site Admin |
| Posts |
30757 |
| Word Cnt. |
2,628,690 |
| BDay |
Jul 28 |
| Sign |
Leo |
| Sex |
 |
|
|
|
Joined: Sep 25, 2004
Local time: 9:18 AM
Location: St Pete, FL
|

|
|
|
|
 |
It doesn't take a half our for the changes to take effect. Apparently you modified the wrong thing or forgot to save the changes because the shocking pink background image is still being displayed in the message window...
Ok, the problem is that the message window is using the setting from the overall_headeer.tpl file. So after correcting the assignment there, the message image is displaying properly...
 |
|
|
 |
 |
| Back to Top |
|
|
 | Re: [Solved] Background Message box MOD |  |
Posted: 04/12/2007 3:47 AM |
|
|
|
|
|
| Citation |
| Posts |
1017 |
| Word Cnt. |
64,643 |
| BDay |
Apr 18 |
| Sign |
Aries |
| Sex |
 |
|
|
|
Joined: Apr 01, 2007
Local time: 5:18 PM
Location: UNITED ARAB EMIRATES
|

|
|
|
|
 |
oOops. Overall_header.tpl! I just changed the bg url from subSilver.css as i did earlier for pink background.
Yeah, it is changed now. So again if i want to change the bg so i should go to overall_header or subSilver.css  |
|
|
 |
 |
| Back to Top |
|
|
 | Re: Background Message box MOD |  |
Posted: 04/12/2007 11:15 AM |
|
|
|
|
|
| Site Admin |
| Posts |
30757 |
| Word Cnt. |
2,628,690 |
| BDay |
Jul 28 |
| Sign |
Leo |
| Sex |
 |
|
|
|
Joined: Sep 25, 2004
Local time: 9:18 AM
Location: St Pete, FL
|

|
|
|
|
 |
I don't know why, but the phpBB developers included style information in both the subSilver overall_header.tpl and subSilver.css files. So that can be confusing simce it isn't immediately obvious where subSilver is retrieving the style information. So for you, you may need to adjust both the subSilver.css and overrall_header.tpl files whenever adjusting style information...
 |
|
|
 |
 |
| Back to Top |
|
|
 | Re: [Solved] Background Message box MOD |  |
Posted: 04/12/2007 2:03 PM |
|
|
|
|
|
| Citation |
| Posts |
1017 |
| Word Cnt. |
64,643 |
| BDay |
Apr 18 |
| Sign |
Aries |
| Sex |
 |
|
|
|
Joined: Apr 01, 2007
Local time: 5:18 PM
Location: UNITED ARAB EMIRATES
|

|
|
|
|
 |
| Ohh. Ohk. Btw brother, I can add swf files also in background yeah? |
|
|
 |
 |
| Back to Top |
|
|
 | Re: Background Message box MOD |  |
Posted: 04/12/2007 2:10 PM |
|
|
|
|
|
| Site Admin |
| Posts |
30757 |
| Word Cnt. |
2,628,690 |
| BDay |
Jul 28 |
| Sign |
Leo |
| Sex |
 |
|
|
|
Joined: Sep 25, 2004
Local time: 9:18 AM
Location: St Pete, FL
|

|
|
|
|
 |
I'm not aware of any way to use Flash movies for the background. It may be possible, but I have never seen it done...
 |
|
|
 |
 |
| Back to Top |
|
|
 | Information |  |
|