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: 334
  • 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]

Thanks for having an interest with our portal. If you have any requests for features, have a look at the Feature Requests board.

Author Topic: First post!  (Read 5860 times)

0 Members and 1 Guest are viewing this topic.

Offline ccs1676

  • Semi Newbie
  • *
  • Posts: 29
  • SMF Version: 2.0
  • SP Version: 2.3.4
First post!
« on: December 07, 2011, 08:56:23 PM »
Hey guys this is my first post! Back in 2002 I started a caving site which used phpbb. I used a portal (now I can't remember the name of it) which was cool. It did not use a template system. Rather, it was one huge php file with all the html within it. Then I moved on to ezportal, etc...Wow, that was so long ago, almost 10 years! Anywho, I'm back in the forum/website game and came across SMF and the simple portal. Works great!! Thanks!

I want to add a couple drop down menus to my portal in certain places and not quite sure how to proceed (haven't coded in a while):



The first drop down menu would be when you hover over "Forum" in the top menu, which would give you direct links to each forum.

The second would be on my recent topics block. This would be a drop down box which would take you directly to the editing screen for a new post in that forum. What files would I need to edit to make this happen? Thanks!! (Sorry if posted in wrong board...)

Chris



« Last Edit: December 15, 2011, 06:07:55 PM by ccs1676 »

Offline Fog

  • Jr. Member
  • **
  • Posts: 79
  • Gender: Male
  • SMF Version: 2.0.1
  • SP Version: 2.3.4
Re: First post!
« Reply #1 on: December 07, 2011, 09:27:48 PM »
Interesting Idea...I could use something like this on my site.

A drop down menu within a catbg or titlebg...can it be done?

Would you have a default version that would show X amount of recent topics from any forum and then you would use the drop down menu to refine the topic to the board/forum of your choice?

Offline ccs1676

  • Semi Newbie
  • *
  • Posts: 29
  • SMF Version: 2.0
  • SP Version: 2.3.4
Re: First post!
« Reply #2 on: December 07, 2011, 11:30:12 PM »
Interesting Idea...I could use something like this on my site.

A drop down menu within a catbg or titlebg...can it be done?

Would you have a default version that would show X amount of recent topics from any forum and then you would use the drop down menu to refine the topic to the board/forum of your choice?

It should be no problem, I think those are simply <td> or <th> tags?

Right, my recent topics block displays the latest posts within any forum. The drop down menu at the top would simply let a user start a new topic within the forum they chose. It does no refining. They are basically links.

Offline ARG

  • Beta Tester
  • *
  • Posts: 56
    • Simple Mode Forum
  • SMF Version: 2.0.2
  • SP Version: 2.3.5
Re: First post!
« Reply #3 on: December 08, 2011, 12:22:46 AM »
The first part would be simple. I am not sure if it would work for categories but you can surly add any topic to the dropdown just as you would anything else. This can all be done in the SMF Sources/Subs.php file.

Not sure about the second part.

 ;)

Offline ccs1676

  • Semi Newbie
  • *
  • Posts: 29
  • SMF Version: 2.0
  • SP Version: 2.3.4
Re: First post!
« Reply #4 on: December 08, 2011, 06:51:22 PM »
Well I figured out how to add a dropdown menu to the "Forum" link. Now just figuring out what file to modify to add the "Start New Topic" dropdown :)

Offline ccs1676

  • Semi Newbie
  • *
  • Posts: 29
  • SMF Version: 2.0
  • SP Version: 2.3.4
Re: First post!
« Reply #5 on: December 08, 2011, 08:05:09 PM »
OK, problem solved. I just added a custom html block for the direct link to a new topic, on the left side. You can also see my forum dropdown menu.  Figured that was a lot easier. See the pic. Now, I have an actual custom php coding question. As you can see from my photoshop mock up, for my recent topics block, how would I change the post date from mm/dd/yy format to 5 seconds ago, 10 minutes ago, 23 days ago, etc.


Offline keith021773

  • Semi Newbie
  • *
  • Posts: 23
  • SMF Version: 2 RC4
  • SP Version: 2.3.3
Re: First post!
« Reply #6 on: December 15, 2011, 12:35:10 PM »
Great idea!!!

Please share the code for the Start New Topic Block.   I looked on here but didn't see it.

Also, if I am understanding what you are talking about with the dropdown menu.  Are you wanting something like Last 10 posts in a dropdown menu on the title bar?   If so, that's a GREAT idea as well!  I love both ideas.

Offline ccs1676

  • Semi Newbie
  • *
  • Posts: 29
  • SMF Version: 2.0
  • SP Version: 2.3.4
Re: First post!
« Reply #7 on: December 15, 2011, 01:52:12 PM »
Put the following in a custom html block:

Code: [Select]
<form action="../">
<select onchange="window.open(this.options[this.selectedIndex].value,'_top')">
    <option value="">Start new topic...</option>
    <option value="http://yoursite.com/index.php?action=post;board=2.0">Forum 1</option>
    <option value="http://yoursite.com/index.php?action=post;board=4.0">Forum 2</option>
    <option value="http://yoursite.com/index.php?action=post;board=3.0">Forum 3</option>
<option value="http://yoursite.com/index.php?action=post;board=5.0">Forum 4</option>
</select>
</form>

And then change the necessary info.  I will have to look at index.php when I get home. That is what I edited to make the dropdown menu under the Forum link. Those are simply direct links to those forum indexes.

Offline keith021773

  • Semi Newbie
  • *
  • Posts: 23
  • SMF Version: 2 RC4
  • SP Version: 2.3.3
Re: First post!
« Reply #8 on: December 15, 2011, 04:47:38 PM »
Works like a charm man.   Thanks!   Hopefully this will simplify the posting of a new topic.  Maybe more members will post now.   

And if you get the recent posts thing working, please share that one as well.   That would be fantastic!

Offline ccs1676

  • Semi Newbie
  • *
  • Posts: 29
  • SMF Version: 2.0
  • SP Version: 2.3.4
Re: First post!
« Reply #9 on: December 15, 2011, 06:09:48 PM »
Works like a charm man.   Thanks!   Hopefully this will simplify the posting of a new topic.  Maybe more members will post now.   

And if you get the recent posts thing working, please share that one as well.   That would be fantastic!

Cool, glad you like it! The recent posts mod that you are referring to....I was trying to see if I could get the "Start new topic" dropdown you just used into the header of the recent topics block. But I just made a whole new block for it instead. Hope that clears it up?

Offline keith021773

  • Semi Newbie
  • *
  • Posts: 23
  • SMF Version: 2 RC4
  • SP Version: 2.3.3
Re: First post!
« Reply #10 on: December 15, 2011, 06:47:58 PM »
That does.   Sorry I was confused alittle bit over it.    And what I wanted was the last 10 posts in a..    well, you know how the new menus work in SMF 2.0.   You hover over let's say forum, and a new list appears?   I wanted a menu button called Recent Posts and when you hover over it the last 10 posts are there.

Hope that makes sense.

Offline ccs1676

  • Semi Newbie
  • *
  • Posts: 29
  • SMF Version: 2.0
  • SP Version: 2.3.4
Re: First post!
« Reply #11 on: December 15, 2011, 07:00:05 PM »
It does. Unfortunately, I don't know how to do that, unless I knew php!!

Offline keith021773

  • Semi Newbie
  • *
  • Posts: 23
  • SMF Version: 2 RC4
  • SP Version: 2.3.3
Re: First post!
« Reply #12 on: December 15, 2011, 09:33:01 PM »
I might just drop a hint over at SMF.   :)

Offline Fog

  • Jr. Member
  • **
  • Posts: 79
  • Gender: Male
  • SMF Version: 2.0.1
  • SP Version: 2.3.4
Re: First post!
« Reply #13 on: December 15, 2011, 11:10:57 PM »
That does.   Sorry I was confused alittle bit over it.    And what I wanted was the last 10 posts in a..    well, you know how the new menus work in SMF 2.0.   You hover over let's say forum, and a new list appears?   I wanted a menu button called Recent Posts and when you hover over it the last 10 posts are there.

Hope that makes sense.

Recent Posts is something that SMF would support, I think.

I would work with the INFO Center PHP and CSS to see how one could do an hover titlebg css

My idea would be if you could create a block that is showing recent posts, such as you see in the info center. If one could have a drop down menu within the titlebg that you can click on to show recent posts within a selected board.

If that makes sense...

Offline keith021773

  • Semi Newbie
  • *
  • Posts: 23
  • SMF Version: 2 RC4
  • SP Version: 2.3.3
Re: First post!
« Reply #14 on: December 16, 2011, 09:35:54 AM »
It does makes sense.   I think that's a good idea.

Offline andy

  • On Leave
  • *
  • Posts: 861
  • Gender: Male
    • Outdoor Club Japan (OCJ) アウトドア・クラブ・ジャパン
  • SMF Version: 2.0.15
  • SP Version: 2.3.7
  • Elkarte Version: None
Re: First post!
« Reply #15 on: December 16, 2011, 10:29:19 AM »
I manage an outdoor club in Japan - SMF is the best I can find for managing group events like this, and SP is better than  most portals I think - you made good choices. We also have some caving events...

http://outdoorclubjapan.com/


Menus are a big pain in SMF and portals. There are mods on the smf site to add a few custom links to the main menu but becoming outdated. Maybe the next version of Simple Portal will have a menu manager if lucky!

I don't want to seem as promoting commercial sites but I use  Bloc SMF themes which have a simple menu manager - take a look at out site - many custom drop down menus and easy to set up. Probably only theme club members get this but worth it. Until a better management system for menus comes out this is a great alternative.




Everyone is a volunteer here so please try and make a small donation to keep the Simple Portal website running