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 login or register.

* Who's Online

  • Dot Guests: 771
  • Dot Hidden: 0
  • Dot Users: 0

There aren't any users online.

* Shoutbox

Refresh History
  • Shoutbox is not for support!
  • {OCS}MasterSeal: Yup, Still adore SP
    April 21, 2019, 07:08:06 PM
  • {OCS}MasterSeal: STILL love SP :)
    November 24, 2018, 05:05:50 AM
  • ♦ Ninja ZX-10RR ♦: <3 aegersz
    September 13, 2018, 03:36:09 PM
  • aegersz: I STILL <3 LOVE SimplePortal
    September 13, 2018, 07:11:39 AM
  • aegersz: o LOVE you guys - Simple Portal rocks !
    May 09, 2018, 05:18:59 AM
  • Chen Zhen: our apologies for the site being down.. please read server issues topic
    March 22, 2018, 05:32:38 AM
  • {OCS}MasterSeal: LOL PLEASE forget I just posted that. I found the answer in my own dang post back in 2015. lol sorry!
    July 04, 2017, 10:47:55 PM
  • {OCS}MasterSeal: I know this SB isnt' for support, but I just have a general question. Who would I contact to find out where SP stores its block info? Is it DB driven or files? I searched the site but came up with nothing. probably my fault any insight is appreciated.
    July 04, 2017, 10:43:36 PM
  • ♦ Ninja ZX-10RR ♦: Excuse me but what does Simpleportal have to deal with that?
    February 05, 2017, 08:21:14 PM
  • WhiteEagle: of course IMHO that site appears to be dead :(
    February 04, 2017, 01:08:05 PM
  • WhiteEagle: If I can get that, then I'll use it for that site...
    February 04, 2017, 01:07:35 PM
  • WhiteEagle: decided to not use SMF for any projects, unless I can get a copy of the premium version of the fanfiction archive plugin
    February 04, 2017, 01:06:54 PM
  • expertdecisions: cloudflare
    January 28, 2017, 08:01:47 AM
  • aegersz: SM release 2.0.13 !
    January 12, 2017, 06:00:13 AM
  • raffo: Tks Emanuele, even if I didn't understand the fix :D
    November 07, 2016, 02:01:20 AM
  • emanuele: [link]
    November 01, 2016, 12:43:50 PM
  • emanuele: raffo: the English support board is a good place. ;)
    November 01, 2016, 12:43:38 PM
  • raffo: Where can I find the fix for the shoutbox?
    November 01, 2016, 05:06:09 AM
  • {OCS}MasterSeal: To the SP team, I make a point to come here and thank you as much as possible for your work.  so again, THANK YOU!
    October 28, 2016, 10:38:05 AM
  • emanuele: That's indeed funny, the limit is present only in the patch and not the full install.
    October 22, 2016, 06:14:58 PM

* 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]

Blocks speak! Do you have an interest in getting more blocks - or even making your own? The Blocks Board is for you!

Author Topic: Issue  (Read 4632 times)

0 Members and 1 Guest are viewing this topic.

Offline Neith

  • Semi Newbie
  • *
  • Posts: 12
Issue
« on: March 12, 2009, 09:31:38 PM »
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

Offline cme1st2302

  • Full Member
  • ***
  • Posts: 117
  • Gender: Male
    • East Coast Astro
  • SMF Version: 1.1.11
  • SP Version: 2.3.2
Re: Issue
« Reply #1 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
Code: [Select]
if (in_array($context['current_action'], array('admin',
and replace with
Code: [Select]
if (in_array($context['current_action'], array('forum', 'admin',
Find the following code
Code: [Select]
                    // Show the [help] button.
                              echo '<li><a' , $current_action=='help' ? ' class="current"' : '' , ' href="', $scripturl, '?action=help"><span>' , $txt[119] , '</span></a></li>';

Replace with
Code: [Select]
// 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
« Last Edit: March 12, 2009, 10:28:23 PM by cme1st2302 »
Admin

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

Offline Neith

  • Semi Newbie
  • *
  • Posts: 12
Re: Issue
« Reply #2 on: March 12, 2009, 11:35:50 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
Code: [Select]
if (in_array($context['current_action'], array('admin',
and replace with
Code: [Select]
if (in_array($context['current_action'], array('forum', 'admin',
Find the following code
Code: [Select]
                    // Show the [help] button.
                              echo '<li><a' , $current_action=='help' ? ' class="current"' : '' , ' href="', $scripturl, '?action=help"><span>' , $txt[119] , '</span></a></li>';

Replace with
Code: [Select]
// 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!

Offline Neith

  • Semi Newbie
  • *
  • Posts: 12
Re: Issue
« Reply #3 on: March 12, 2009, 11:41:25 PM »
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!

Offline cme1st2302

  • Full Member
  • ***
  • Posts: 117
  • Gender: Male
    • East Coast Astro
  • SMF Version: 1.1.11
  • SP Version: 2.3.2
Re: Issue
« Reply #4 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
Admin

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

Offline Neith

  • Semi Newbie
  • *
  • Posts: 12
Re: Issue
« Reply #5 on: March 13, 2009, 05:04:39 PM »
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