Main Menu
collapse

Simple Portal Archived Forum

This is an Archive Forum.

The content in this forum may be out-of-date or have been superseded by newer information, and links in forum pages to other sites may not work.
This forum contains archives for future reference.

Visit our thread at Simple Machines Forum for current support.

SMF 2.1 users: EhPortal is a ported version of Simple Portal specifically designed for the SMF 2.1 branch.
Please visit web-develop.ca to download EhPortal and for its support.

User Info

Welcome Guest.
Please log in.

Who's Online

  • Dot Guests: 1190
  • Dot Hidden: 0
  • Dot Users: 0

There aren't any users online.

Recent Posts

Adding Forums Button to Nav bar by jirapon
[August 01, 2019, 09:07:12 AM]


Re: Board Icons by ♦ Ninja ZX-10RR ♦
[July 30, 2019, 04:03:41 PM]


MOVED: Czech translation???? by ♦ Ninja ZX-10RR ♦
[July 30, 2019, 03:04:51 PM]


Board Icons by jirapon
[July 30, 2019, 07:28:44 AM]


Re: Thankyou Simpleportal, by ♦ Ninja ZX-10RR ♦
[July 29, 2019, 09:41:29 AM]


Welcome to SimplePortal.net! You can download SimplePortal from the Downloads Area!

Issue

Started by Neith, March 12, 2009, 09:31:38 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

Neith

I didnt want to detour this thread:
http://simpleportal.net/index.php?topic=1518.0

I am having the same issue and I tried to see how he solved it, but it didnt really say anything except that he hasnt added blocks yet.

When I click:
Admin > Simepl Portal Admin > Enable Simple Portal
My forum disappears on the front page (which I understand is supposed to happen)... But, there was no option to make a link or button that says "forum". So the only way to get to my forum is to click on "show new replies or whatever.

Here is my forum:
http://www.noxxious.com

I have everything set up for guests to view everything and no one is on the board but me, so no worries.

I would LOVE it, if Simple Portal created a little box like there was for the Calendar that says "Add forum" or something easy to make it less confusing for the ignorant. :D

Thanks in advance.

Versions:
Simple Portal - 2.1.1
SMF - 1.1.8

cme1st2302

#1
To add the forum button to the Overview theme do the following:

Open up the index.template.php file for the theme.

Find the following code
if (in_array($context['current_action'], array('admin',

and replace with
if (in_array($context['current_action'], array('forum', 'admin',

Find the following code
                    // Show the [help] button.
                              echo '<li><a' , $current_action=='help' ? ' class="current"' : '' , ' href="', $scripturl, '?action=help"><span>' , $txt[119] , '</span></a></li>';


Replace with
// Show the [forum] button.
echo '<li><a' , $current_action=='forum' ? ' class="current"' : '' , ' href="', $scripturl, '?action=forum"><span>' , "Forum" , '</span></a></li>';

                    // Show the [help] button.
                              echo '<li><a' , $current_action=='help' ? ' class="current"' : '' , ' href="', $scripturl, '?action=help"><span>' , $txt[119] , '</span></a></li>';


Hope this helps,
Chris
Admin

He who waits for perfect conditions sees nothing!!
SMF Version: 1.1.11
SimplePortal Version: 2.3.1

Neith

Quote from: cme1st2302 on March 12, 2009, 10:16:08 PM
To add the forum button to the Overview theme do the following:

Open up the index.template.php file for the theme.

Find the following code
if (in_array($context['current_action'], array('admin',

and replace with
if (in_array($context['current_action'], array('forum', 'admin',

Find the following code
                    // Show the [help] button.
                              echo '<li><a' , $current_action=='help' ? ' class="current"' : '' , ' href="', $scripturl, '?action=help"><span>' , $txt[119] , '</span></a></li>';


Replace with
// Show the [forum] button.
echo '<li><a' , $current_action=='forum' ? ' class="current"' : '' , ' href="', $scripturl, '?action=forum"><span>' , "Forum" , '</span></a></li>';

                    // Show the [help] button.
                              echo '<li><a' , $current_action=='help' ? ' class="current"' : '' , ' href="', $scripturl, '?action=help"><span>' , $txt[119] , '</span></a></li>';


Hope this helps,
Chris

Thank you very much. I switched everything, but my FTP isnt able to connect or I would tell you if it worked or not. I appreciate your time and help. I will be back once I can get this thing to connect and I can transfer it over.

Unless there was an easier way than what I just did :D I changed the one on my cpu, and I will delete the one on my server and replace it with the one I edited.

Either way Ill be back, thanks again!

Neith

Well, that didnt take long. It worked!!!!

Yeah!!!! Thank you so much for your help. Im very ignorant to SMF and I will probably be back too :(

So far so good though. Yeah!

cme1st2302

If you have more than one theme you will have to edit the index.template.php file for each one.  The coding is not the same for each theme so be careful.  If you need help with those let me know.

Chris
Admin

He who waits for perfect conditions sees nothing!!
SMF Version: 1.1.11
SimplePortal Version: 2.3.1

Neith

Quote from: cme1st2302 on March 13, 2009, 11:36:18 AM
If you have more than one theme you will have to edit the index.template.php file for each one.  The coding is not the same for each theme so be careful.  If you need help with those let me know.

Chris
Thank you