|
|
| Author |
Message |
greycouncil
Not So New User
Joined: 29 Feb 2008
Posts: 30
|
Posted: March 1st 2008, 1:50 am Post subject: I need help installing ezportal please |
|
|
Ok i am still working through the install i did the major copying and replacing in files but i am not sure how to do the following, ill place it in code tags for easier read. Any help much appreciated thanks.
1.I am not sure how to do this, i found the templates but not sure where to copy the portal body tpl
| Code:
|
|
copy portal_body.tpl to all installed templates
|
2.unsure about the rest also
| Code:
|
|
copy phpbb_root/portal.php to portal.php
|
| Code:
|
|
copy phpbb_root/fetchposts.php to fetchposts.php
|
| Code:
|
|
copy phpbb_root/templates/subSilver/portal_body.tpl to templates/subSilver/portal_body.tpl
|
| Code:
|
|
copy phpbb_root/images/smartorsite_logo.gif to images/smartorsite_logo.gif
|
I already did all this here
| Code:
|
#-----[ OPEN ]------------------------------------------
#
login.php
#
#-----[ FIND ]------------------------------------------
#
redirect(append_sid("index.$phpEx", true));
#
#-----[ REPLACE WITH ]------------------------------------------
#
redirect(append_sid("portal.$phpEx", true));
#
#-----[ FIND ]------------------------------------------
#
$url = ( !empty($HTTP_POST_VARS['redirect']) ) ? str_replace('&', '&', htmlspecialchars($HTTP_POST_VARS['redirect'])) : "index.$phpEx";
#
#-----[ REPLACE WITH ]------------------------------------------
#
$url = ( !empty($HTTP_POST_VARS['redirect']) ) ? str_replace('&', '&', htmlspecialchars($HTTP_POST_VARS['redirect'])) : "portal.$phpEx";
#
#-----[ FIND ]------------------------------------------
#
redirect(append_sid("index.$phpEx", true));
#
#-----[ REPLACE WITH ]------------------------------------------
#
redirect(append_sid("portal.$phpEx", true));
#
#-----[ FIND ]------------------------------------------
#
$url = ( !empty($HTTP_POST_VARS['redirect']) ) ? str_replace('&', '&', htmlspecialchars($HTTP_POST_VARS['redirect'])) : "index.$phpEx";
#
#-----[ REPLACE WITH ]------------------------------------------
#
$url = ( !empty($HTTP_POST_VARS['redirect']) ) ? str_replace('&', '&', htmlspecialchars($HTTP_POST_VARS['redirect'])) : "portal.$phpEx";
#
#-----[ FIND ]------------------------------------------
#
redirect(append_sid("index.$phpEx", true));
#
#-----[ REPLACE WITH ]------------------------------------------
#
redirect(append_sid("portal.$phpEx", true));
#
#-----[ OPEN ]------------------------------------------
#
includes/page_header.php
#
#-----[ FIND ]------------------------------------------
#
'U_GROUP_CP' => append_sid('groupcp.'.$phpEx),
#
#-----[ AFTER, ADD ]------------------------------------------
#
// ezPortal
'U_PORTAL' => append_sid('portal.'.$phpEx),
'L_HOME' => $lang['Home'],
#
#-----[ 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>
#
#-----[ OPEN ]------------------------------------------
#
language/lang_english/lang_main.php
#
#-----[ FIND ]------------------------------------------
#
//
// That's all, Folks!
#
#-----[ BEFORE, ADD ]------------------------------------------
#
//
// Smartor's ezPortal
//
$lang['Home'] = 'Home';
$lang['Board_navigation'] = 'Board Navigation';
$lang['Statistics'] = 'Statistics';
$lang['total_topics'] = " within <b>%s</b> topics"; // added in v2.1.6
$lang['Comments'] = 'Comments';
$lang['Read_Full'] = 'Read Full';
$lang['View_comments'] = 'View Comments';
$lang['Post_your_comment'] = 'Post your comment';
$lang['Welcome'] = 'Welcome';
$lang['Register_new_account'] = 'Don\'t have an account yet?<br />You can %sregister%s for FREE';
$lang['Remember_me'] = 'Remember me';
$lang['View_complete_list'] = 'View complete list';
$lang['Poll'] = 'Poll';
$lang['Login_to_vote'] = 'You must login to vote';
$lang['Vote'] = 'Vote';
$lang['No_poll'] = 'No poll at the moment';
|
and i am not sure how to do this one, when i open the .htaccess it is blank--maybe because i have not completed the first 5 steps that i posted at the begining of this post.
| Code:
|
o Method 1: (for Apache server)
create/modify file .htaccess in phpBB root directory
add/edit this line:
DirectoryIndex index.html index.htm portal.php index.php
|
|
|
| Back to top |
|
 |
bobsickle
New User
Joined: 22 Feb 2008
Posts: 20
|
Posted: March 1st 2008, 5:06 am Post subject: Re: I need help installing ezportal please |
|
|
| greycouncil wrote:
|
1.I am not sure how to do this, i found the templates but not sure where to copy the portal body tpl
| Code:
|
|
copy portal_body.tpl to all installed templates
|
|
Open any templates you have on your website (if no new are installed, it is only subSilver) under templates and upload them into that directory, e.g. /templates/subsilver and /templates/yourtemplate
| greycouncil wrote:
|
2.unsure about the rest also
| Code:
|
|
copy phpbb_root/portal.php to portal.php
|
|
Just upload that file into the root directory (with index.php, login.php, memberlist.php and all the subdirectories like admin, cgi-bin, docs).
| greycouncil wrote:
|
| Code:
|
|
copy phpbb_root/fetchposts.php to fetchposts.php
|
|
Again, put it in the root directory (see above).
| greycouncil wrote:
|
| Code:
|
|
copy phpbb_root/templates/subSilver/portal_body.tpl to templates/subSilver/portal_body.tpl
|
|
Open any templates you have and put it in the same place you put them in the first stage I showed you.
| greycouncil wrote:
|
| Code:
|
|
copy phpbb_root/images/smartorsite_logo.gif to images/smartorsite_logo.gif
|
|
Look for the images subdirectory and upload there.
| greycouncil wrote:
|
and i am not sure how to do this one, when i open the .htaccess it is blank--maybe because i have not completed the first 5 steps that i posted at the begining of this post.
| Code:
|
o Method 1: (for Apache server)
create/modify file .htaccess in phpBB root directory
add/edit this line:
DirectoryIndex index.html index.htm portal.php index.php
|
|
Just don't do this. Do Method 2. Right-click, Save Target As/Save Link As here Just upload that file into your main directory.
I hope I was clear enough. Good luck!  |
|
| Back to top |
|
 |
greycouncil
Not So New User
Joined: 29 Feb 2008
Posts: 30
|
Posted: March 1st 2008, 6:49 am Post subject: |
|
|
Ok i got the portal page working with some of your tips and I got the recent topics placed in it
The only thing i can not figure is how to make my portal page the main page. I see the instructions and im still lost.
Update-ok i got it working i just did this
o Method 1: (for Apache server)
create/modify file .htaccess in phpBB root directory
add/edit this line:
DirectoryIndex index.html index.htm portal.php index.php
and i edited it placing DirectoryIndex portal.php into the .htaccess file |
|
| Back to top |
|
 |
bobsickle
New User
Joined: 22 Feb 2008
Posts: 20
|
Posted: March 1st 2008, 9:11 am Post subject: |
|
|
| greycouncil wrote:
|
Ok i got the portal page working with some of your tips and I got the recent topics placed in it
The only thing i can not figure is how to make my portal page the main page. I see the instructions and im still lost.
Update-ok i got it working i just did this
o Method 1: (for Apache server)
create/modify file .htaccess in phpBB root directory
add/edit this line:
DirectoryIndex index.html index.htm portal.php index.php
and i edited it placing DirectoryIndex portal.php into the .htaccess file
|
So, are you sorted now? If not, look back to the last thing I said, that will redirect your website on load. |
|
| Back to top |
|
 |
OOC92
New User
Joined: 05 Apr 2008
Posts: 15
|
Posted: April 5th 2008, 9:14 am Post subject: Cro-Magnon Guide needed |
|
|
The Txt document says:
Installation Level: Easy
## Installation Time: 10 minutes
But perhaps that is for homosapiens, when it comes to web design and code- I have not descended from the trees. Is there a limited cranial capacity newbie guide to installing EZPortal.
Thanks |
|
| Back to top |
|
 |
Triumvirate
Support Team

Joined: 25 Sep 2003
Posts: 5080
Location: New York, USA
|
|
| Back to top |
|
 |
OOC92
New User
Joined: 05 Apr 2008
Posts: 15
|
Posted: April 5th 2008, 10:17 am Post subject: |
|
|
To begin with, what does this mean:
[ IN-LINE FIND ]
-[ IN-LINE BEFORE, ADD ]
[ BEFORE, ADD ] |
|
| Back to top |
|
 |
Triumvirate
Support Team

Joined: 25 Sep 2003
Posts: 5080
Location: New York, USA
|
Posted: April 5th 2008, 11:26 am Post subject: |
|
|
I went over this a bit in IM but I'll post here as well to maybe further clarify things:
[IN-LINE FIND] - This is usually preceded by a [FIND] of some sort. For instance if you were told to [FIND] this line:
| Code:
|
|
$hello = "Hello World!";
|
And then you were told to [IN-LINE FIND] this:
You would want to be looking at only that part of the total line.
To further use the example above the [IN-LINE BEFORE, ADD] might be something like
| Code:
|
|
"This is a test." .
|
and you would add that bit of code directly before the other portion so the full line would look something like this:
| Code:
|
|
$hello = "This is a test." . "Hello World!";
|
If, instead you were told to [BEFORE, ADD] this piece of code:
| Code:
|
|
$test = "This is a test.";
|
You would add that on a blank line above the code you originally found, so the final result would look like this:
| Code:
|
$test = "This is a test.";
$hello = "Hello World!";
|
Now there is a blank line between the two lines instead of them being together in the same line.
Hopefully that makes some sense. _________________ MMO Gaming |
|
| Back to top |
|
 |
|