Log in Register FAQ Memberlist Search Welcome to RCF - WHF Forum Index
alt : test.swf
Welcome to RCF - WHF
4fx3.gif 
calendar_open_closeCalendar 
[Solved] Background Message box MOD
Post new topic   Reply to topic View previous topic :: View next topic
Goto page: 1, 2  Next
Welcome to RCF - WHF Forum Index -> Area 51 - phpBB & Easymod Tech Support Add To Bookmarks
[Solved] Background Message box MOD
PostPosted: 04/11/2007 3:09 AM Reply with quote
Citation
abdulbasit
Citation
Posts 1017
Word Cnt. 64,643
BDay Apr 18
Sign Aries
Sex Sex:Male
Joined: Apr 01, 2007
Local time: 5:18 PM
Location: UNITED ARAB EMIRATES
unitedACa.gif
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


dontknow
Back to Top
View user's profile Find all posts by abdulbasit Send private message [ Hidden ] Visit poster's website Yahoo Messenger MSN Messenger
Re: Background Message box MOD
PostPosted: 04/11/2007 12:04 PM Reply with quote
Site Admin
Nightrider
Site Admin
Posts 30757
Word Cnt. 2,628,690
BDay Jul 28
Sign Leo
Sex Sex:Male
Joined: Sep 25, 2004
Local time: 9:18 AM
Location: St Pete, FL
peace.gif
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

headbang
Back to Top
View all pictures posted by this userView user's profile Find all posts by Nightrider Send private message   AIM Address Yahoo Messenger Phoogle Map ICQ Number
Re: [Solved] Background Message box MOD
PostPosted: 04/11/2007 12:44 PM Reply with quote
Citation
abdulbasit
Citation
Posts 1017
Word Cnt. 64,643
BDay Apr 18
Sign Aries
Sex Sex:Male
Joined: Apr 01, 2007
Local time: 5:18 PM
Location: UNITED ARAB EMIRATES
unitedACa.gif
I didn't got any error! and it installed smoothly and working superbly.
banana  banana  banana  banana  banana  banana
Back to Top
View user's profile Find all posts by abdulbasit Send private message [ Hidden ] Visit poster's website Yahoo Messenger MSN Messenger
Re: Background Message box MOD
PostPosted: 04/11/2007 2:05 PM Reply with quote
Site Admin
Nightrider
Site Admin
Posts 30757
Word Cnt. 2,628,690
BDay Jul 28
Sign Leo
Sex Sex:Male
Joined: Sep 25, 2004
Local time: 9:18 AM
Location: St Pete, FL
peace.gif
Awesome.  Congratulations AB!!!   Applause

banana  banana  banana  banana  banana
Back to Top
View all pictures posted by this userView user's profile Find all posts by Nightrider Send private message   AIM Address Yahoo Messenger Phoogle Map ICQ Number
Re: [Solved] Background Message box MOD
PostPosted: 04/11/2007 5:06 PM Reply with quote
Citation
abdulbasit
Citation
Posts 1017
Word Cnt. 64,643
BDay Apr 18
Sign Aries
Sex Sex:Male
Joined: Apr 01, 2007
Local time: 5:18 PM
Location: UNITED ARAB EMIRATES
unitedACa.gif
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 Very Happy 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.  Brick wall
Back to Top
View user's profile Find all posts by abdulbasit Send private message [ Hidden ] Visit poster's website Yahoo Messenger MSN Messenger
Re: Background Message box MOD
PostPosted: 04/11/2007 11:18 PM Reply with quote
Site Admin
Nightrider
Site Admin
Posts 30757
Word Cnt. 2,628,690
BDay Jul 28
Sign Leo
Sex Sex:Male
Joined: Sep 25, 2004
Local time: 9:18 AM
Location: St Pete, FL
peace.gif
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...

Shocked

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...

headbang
Back to Top
View all pictures posted by this userView user's profile Find all posts by Nightrider Send private message   AIM Address Yahoo Messenger Phoogle Map ICQ Number
Re: [Solved] Background Message box MOD
PostPosted: 04/12/2007 3:47 AM Reply with quote
Citation
abdulbasit
Citation
Posts 1017
Word Cnt. 64,643
BDay Apr 18
Sign Aries
Sex Sex:Male
Joined: Apr 01, 2007
Local time: 5:18 PM
Location: UNITED ARAB EMIRATES
unitedACa.gif
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  dontknow
Back to Top
View user's profile Find all posts by abdulbasit Send private message [ Hidden ] Visit poster's website Yahoo Messenger MSN Messenger
Re: Background Message box MOD
PostPosted: 04/12/2007 11:15 AM Reply with quote
Site Admin
Nightrider
Site Admin
Posts 30757
Word Cnt. 2,628,690
BDay Jul 28
Sign Leo
Sex Sex:Male
Joined: Sep 25, 2004
Local time: 9:18 AM
Location: St Pete, FL
peace.gif
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...

munky2
Back to Top
View all pictures posted by this userView user's profile Find all posts by Nightrider Send private message   AIM Address Yahoo Messenger Phoogle Map ICQ Number
Re: [Solved] Background Message box MOD
PostPosted: 04/12/2007 2:03 PM Reply with quote
Citation
abdulbasit
Citation
Posts 1017
Word Cnt. 64,643
BDay Apr 18
Sign Aries
Sex Sex:Male
Joined: Apr 01, 2007
Local time: 5:18 PM
Location: UNITED ARAB EMIRATES
unitedACa.gif
Ohh. Ohk. Btw brother, I can add swf files also in background yeah?
Back to Top
View user's profile Find all posts by abdulbasit Send private message [ Hidden ] Visit poster's website Yahoo Messenger MSN Messenger
Re: Background Message box MOD
PostPosted: 04/12/2007 2:10 PM Reply with quote
Site Admin
Nightrider
Site Admin
Posts 30757
Word Cnt. 2,628,690
BDay Jul 28
Sign Leo
Sex Sex:Male
Joined: Sep 25, 2004
Local time: 9:18 AM
Location: St Pete, FL
peace.gif
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...

dontknow
Back to Top
View all pictures posted by this userView user's profile Find all posts by Nightrider Send private message   AIM Address Yahoo Messenger Phoogle Map ICQ Number
 Post new topic  Reply to topic
Information
Welcome to RCF - WHF Forum Index -> Area 51 - phpBB & Easymod Tech Support

You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You cannot download files in this forum
All times are GMT - 5 Hours
Goto page: 1, 2  Next
Page 1 of 2


Add To Bookmarks

 
  
  


  Google

Powered by phpBB © 2001, 2005 phpBB Group

Page generation time: 0.0974s (PHP: 62% - SQL: 38%) - SQL queries: 58 - GZIP disabled - Debug on