| Re: EZPortal | |
Posted: 12/01/2005 5:54 AM |
|
|
|
|
Citation |
Posts |
2152 |
Word Cnt. |
78,257 |
BDay |
Jun 15 |
Sign |
Gemini |
Sex |
|
|
|
|
Joined: Apr 22, 2005
Local time: 12:48 PM
Location: Upside down
|
|
|
|
|
|
Ok. I've had my dummy spit for the day. Here are the errors below.
It looks like it is looking for the phpbb logo that comes with the download but that is replaced with my own and renamed to something different.
Will this matter if I just continue or should I go into the mod file and change it?
|
|
|
|
|
Back to Top |
|
|
| EZPortal | |
Posted: 12/01/2005 6:01 AM |
|
|
|
|
Site Admin |
Posts |
30756 |
Word Cnt. |
2,628,678 |
BDay |
Jul 28 |
Sign |
Leo |
Sex |
|
|
|
|
Joined: Sep 25, 2004
Local time: 10:48 PM
Location: St Pete, FL
|
|
|
|
|
|
EM will allow you to continue since these are both Warning errors. You can either stop and modify the MOD file to FIND the code that matches your overall_header.tpl or you can manually add it later. I usually try to modify the MOD file so that it will work in all of my templates at once. EM doen't need a lot of information to find what it the MOD needs to locate but many MOD authors provide far too much information, making it so that their MODs will only install on a small number of forums...
What does the next statement supposed to do after this FIND???
|
|
|
|
|
Back to Top |
|
|
| Re: EZPortal | |
Posted: 12/01/2005 6:37 AM |
|
|
|
|
Citation |
Posts |
2152 |
Word Cnt. |
78,257 |
BDay |
Jun 15 |
Sign |
Gemini |
Sex |
|
|
|
|
Joined: Apr 22, 2005
Local time: 12:48 PM
Location: Upside down
|
|
|
|
|
|
Code:
|
#
#-----[ OPEN ]------------------------------------------
#
templates/subSilver/overall_header.tpl
#
#-----[ FIND ]------------------------------------------
#
<td><a href="{U_INDEX}"><img src="templates/subSilver/images/logo_phpBB.gif" border="0" alt="{L_INDEX}" vspace="1" /></a></td>
#
#-----[ REPLACE WITH ]------------------------------------------
#
<td><a href="{U_PORTAL}"><img src="templates/subSilver/images/logo_phpBB.gif" border="0" alt="{L_INDEX}" vspace="1" /></a></td>
#
#-----[ FIND ]------------------------------------------
#
<td align="center" valign="top" nowrap="nowrap"><span class="mainmenu"> <a href="{U_FAQ}" class="mainmenu"><img src="templates/subSilver/images/icon_mini_faq.gif" width="12" height="13" border="0" alt="{L_FAQ}" hspace="3" />{L_FAQ}</a> <a href="{U_SEARCH}" class="mainmenu"><img src="templates/subSilver/images/icon_mini_search.gif" width="12" height="13" border="0" alt="{L_SEARCH}" hspace="3" />{L_SEARCH}</a> <a href="{U_MEMBERLIST}" class="mainmenu"><img src="templates/subSilver/images/icon_mini_members.gif" width="12" height="13" border="0" alt="{L_MEMBERLIST}" hspace="3" />{L_MEMBERLIST}</a> <a href="{U_GROUP_CP}" class="mainmenu"><img src="templates/subSilver/images/icon_mini_groups.gif" width="12" height="13" border="0" alt="{L_USERGROUPS}" hspace="3" />{L_USERGROUPS}</a>
#
#-----[ IN-LINE FIND ]------------------------------------------
#
<a href="{U_FAQ}" class="mainmenu"><img src="templates/subSilver/images/icon_mini_faq.gif" width="12" height="13" border="0" alt="{L_FAQ}" hspace="3" />{L_FAQ}</a>
#
#-----[ IN-LINE BEFORE, ADD ]------------------------------------------
#
<a href="{U_PORTAL}" class="mainmenu"><img src="templates/subSilver/images/icon_mini_message.gif" width="12" height="13" border="0" alt="{L_HOME}" hspace="3" />{L_HOME}</a>
#
|
|
|
|
|
|
Back to Top |
|
|
| Re: EZPortal | |
Posted: 12/01/2005 6:37 PM |
|
|
|
|
Citation |
Posts |
2152 |
Word Cnt. |
78,257 |
BDay |
Jun 15 |
Sign |
Gemini |
Sex |
|
|
|
|
Joined: Apr 22, 2005
Local time: 12:48 PM
Location: Upside down
|
|
|
|
|
|
Now I get this error
Code:
|
Critical Error
FIND FAILED: In file [templates/subSilver/overall_header.tpl] could not find:
<td><a href="{U_INDEX}"><img src="templates/subSilver/images/TAAlogo.jpg" border="0" alt="{L_INDEX}" vspace="1" /></a></td>
MOD script line #171 :: FAQ :: Report
|
I moved over the TAAlogo.jpg into the images folder of the subsilver template but still get this. What am I doing wrong?
Can I just skip this and will it affect the rest of the board seeing as I'm not using the subsilver template? |
|
|
|
|
Back to Top |
|
|
| EZPortal | |
Posted: 12/02/2005 4:41 AM |
|
|
|
|
Site Admin |
Posts |
30756 |
Word Cnt. |
2,628,678 |
BDay |
Jul 28 |
Sign |
Leo |
Sex |
|
|
|
|
Joined: Sep 25, 2004
Local time: 10:48 PM
Location: St Pete, FL
|
|
|
|
|
|
Since you only want this part of the code to affect your subSilver template and not the other two templates, then you will want the overall_header.tpl section in the MOD file to look something like the following. You will still receive warning errors for both the AussieAviator and subPortal templates, but that is a good thing. Just ignore those warnings...
Note how I don't have to provide a lot of information in the FIND and IN-LINE FIND statements in order for EM to find the correct line. All you need to make sure is that what you are telling EM to find is unique and it can pnpoint the line for the action to take place on. If the code falls on multiple lines, you only need the minimum amount of script for the EM to find the correct reference point in the code:
Code:
|
#
#-----[ OPEN ]------------------------------------------
#
templates/subSilver/overall_header.tpl
#
#-----[ FIND ]------------------------------------------
#
php_logo.gif
#
#-----[ REPLACE WITH ]------------------------------------------
#
<td><a href="{U_PORTAL}"><img src="templates/subSilver/images/TAAlogo.jpg" border="0" alt="{L_INDEX}" vspace="1" /></a></td>
#
#-----[ FIND ]------------------------------------------
#
<a href="{U_FAQ}"
#
#-----[ IN-LINE FIND ]------------------------------------------
#
<a href="{U_FAQ}"
#
#-----[ IN-LINE BEFORE, ADD ]------------------------------------------
#
<a href="{U_PORTAL}" class="mainmenu"><img src="templates/subSilver/images/icon_mini_message.gif" width="12" height="13" border="0" alt="{L_HOME}" hspace="3" />{L_HOME}</a>
|
|
|
|
|
|
Back to Top |
|
|
| Re: EZPortal | |
Posted: 12/02/2005 5:28 AM |
|
|
|
|
Citation |
Posts |
2152 |
Word Cnt. |
78,257 |
BDay |
Jun 15 |
Sign |
Gemini |
Sex |
|
|
|
|
Joined: Apr 22, 2005
Local time: 12:48 PM
Location: Upside down
|
|
|
|
|
|
Didn't work, got the same error |
|
|
|
|
Back to Top |
|
|
| Re: EZPortal | |
Posted: 12/02/2005 5:42 AM |
|
|
|
|
Citation |
Posts |
2152 |
Word Cnt. |
78,257 |
BDay |
Jun 15 |
Sign |
Gemini |
Sex |
|
|
|
|
Joined: Apr 22, 2005
Local time: 12:48 PM
Location: Upside down
|
|
|
|
|
|
I did something wrong...hang on |
|
|
|
|
Back to Top |
|
|
| EZPortal | |
Posted: 12/02/2005 5:53 AM |
|
|
|
|
Site Admin |
Posts |
30756 |
Word Cnt. |
2,628,678 |
BDay |
Jul 28 |
Sign |
Leo |
Sex |
|
|
|
|
Joined: Sep 25, 2004
Local time: 10:48 PM
Location: St Pete, FL
|
|
|
|
|
|
Well did it work now???
|
|
|
|
|
Back to Top |
|
|
| Re: EZPortal | |
Posted: 12/02/2005 6:02 AM |
|
|
|
|
Citation |
Posts |
2152 |
Word Cnt. |
78,257 |
BDay |
Jun 15 |
Sign |
Gemini |
Sex |
|
|
|
|
Joined: Apr 22, 2005
Local time: 12:48 PM
Location: Upside down
|
|
|
|
|
|
|
|
|
|
Back to Top |
|
|
| EZPortal | |
Posted: 12/02/2005 6:12 AM |
|
|
|
|
Site Admin |
Posts |
30756 |
Word Cnt. |
2,628,678 |
BDay |
Jul 28 |
Sign |
Leo |
Sex |
|
|
|
|
Joined: Sep 25, 2004
Local time: 10:48 PM
Location: St Pete, FL
|
|
|
|
|
|
You can easily modify the portal_body.tpl file to arrange, add, and remove things the way you want. The EZPortal looks very similar to what you already have though. What is the benefit of EZPortal over what you are using now???
|
|
|
|
|
Back to Top |
|
|
| Information | |
|