|
|
| Author |
Message |
dadofecs
New User
Joined: 06 Jun 2008
Posts: 12
Location: South of North, East of West
|
Posted: June 6th 2008, 5:47 pm Post subject: ez portal v2 |
|
|
I downloaded this mod from this site, I see the creator's site is now no longer up and I have a question I am hoping someone can answer.
I installed the portal and it went fine but there is no place in the ACP to make adjustments to the portal, I think I am missing an admin file for the portal is this correct? |
|
| Back to top |
|
 |
~HG~
Dedicated User
Joined: 08 Nov 2003
Posts: 3184
Location: Australia
|
|
| Back to top |
|
 |
dadofecs
New User
Joined: 06 Jun 2008
Posts: 12
Location: South of North, East of West
|
Posted: June 8th 2008, 5:08 pm Post subject: |
|
|
| When I open the portal.php file I see the welcome message but where do I edit it? it says {welcome message} and I don't know where that info is kept. |
|
| Back to top |
|
 |
~HG~
Dedicated User
Joined: 08 Nov 2003
Posts: 3184
Location: Australia
|
Posted: June 8th 2008, 6:27 pm Post subject: |
|
|
In portal.php find:
| Code:
|
|
$CFG['welcome_text'] = 'Welcome to <b>My Community</b><br /><br />Thanks for using ezPortal,<br /><br />Have a good time! ^_^';
|
Rewrite it from Welcome to suit your own requirements making sure you keep the = ' in place as well as the '; at the end. The HTML code included in the original text is for highliting bold and line breaks so you can set it up the way you want and not use any HTML at all if you so wish. _________________ ~HG~
|| rodneyangell.com || My Hacks || Tutorial - Stopping Spam Bots |
|
| Back to top |
|
 |
dadofecs
New User
Joined: 06 Jun 2008
Posts: 12
Location: South of North, East of West
|
Posted: June 8th 2008, 6:36 pm Post subject: |
|
|
| Oh yeah, that was where I did the editing before I put the ezportal admin on, now I can edit it in the ACP, the above code you posted is now has comment slashes (//) in front of it |
|
| Back to top |
|
 |
dadofecs
New User
Joined: 06 Jun 2008
Posts: 12
Location: South of North, East of West
|
Posted: June 29th 2008, 6:36 am Post subject: |
|
|
I thought I fixed this issue but trying to change our welcome message I found that this is not the case.
I have ezportal mod installed with ezportal_admin installed also so I can edit the welcome message through the ACP. In the ACP when you edit the welcome message and click on the submit button at the bottom nothing happens, the text field goes back to it's default information.
Someone told me they thought there was a syntax error in the code that was causing the problem, here is the area I am working with in the portal_config_body.tpl file that is in templates/subSilver/admin
| Code:
|
<tr>
<td class="row1" width="38%"><b>{L_WELCOME_TEXT}</b><br />
<span class="gensmall">{L_WELCOME_TEXT_EXPLAIN}</span></td>
<td class="row2" width="75%"><textarea cols="100" rows="20" wrap="PHYSICAL">
<input type="text" maxlength="9999" size="40" name="welcome_text" value="{WELCOME_TEXT}" name="board_msg" rows="10" cols="45">{WELCOME_TEXT}<br><br></textarea>
</td>
</tr>
|
When I open the ACP to change the welcome message the text box has this writen in it
| Code:
|
<input type="text" maxlength="9999" size="40" name="welcome_text" value="<br><br><br><br><br><br>
<p>
|
So I am thinking that there is something wrong with the code if the text field is going to show part of the code....
I can remove all the information in this box put a new welcome message in it, click submit and when you return to the configuration for the portal it is back to the same code above showing in the text field. |
|
| Back to top |
|
 |
Ricky_Racer
Dedicated User

Joined: 19 Jul 2003
Posts: 1398
Location: Middle of Nowhere, USA
|
|
| Back to top |
|
 |
dadofecs
New User
Joined: 06 Jun 2008
Posts: 12
Location: South of North, East of West
|
Posted: June 29th 2008, 10:35 am Post subject: |
|
|
| Outstanding post, thank you very much, this corrected the issue. |
|
| Back to top |
|
 |
lumpy burgertushie
Well Known User
Joined: 05 Apr 2008
Posts: 164
|
Posted: June 30th 2008, 5:15 pm Post subject: |
|
|
| does anybody know of any support for ezportal and or the photo album since smartor is gone.? |
|
| Back to top |
|
 |
dadofecs
New User
Joined: 06 Jun 2008
Posts: 12
Location: South of North, East of West
|
Posted: July 2nd 2008, 5:17 pm Post subject: |
|
|
| This site has been the best place for me to work with his mods, the support here is great they have helped me out with more than Smartor mods |
|
| Back to top |
|
 |
|