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

Installation errors? Mod incompatibilities? Upgrade problems? Make your way over to the Install and Upgrade Support board for all your solutions!

Author Topic: BoardNews for Frontpage block  (Read 55244 times)

0 Members and 2 Guests are viewing this topic.

Offline zapiy

  • Semi Newbie
  • *
  • Posts: 31
  • SMF Version: 2.0.8
  • SP Version: 2.3.5
BoardNews for Frontpage block
« on: February 28, 2012, 12:56:00 PM »
Is there a block that would display or topics like this?



Cheers
« Last Edit: March 01, 2012, 08:08:07 AM by AngelinaBelle »

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: Frontpage block
« Reply #1 on: February 28, 2012, 02:36:15 PM »
This is a Joomla website ... a recent posts block will do the same for smf/sportal but not sure about resized article/topic images displayed.
Might be a mod for that ...

Blocweb  templates did exactly the same but recently shut down.
Everyone is a volunteer here so please try and make a small donation to keep the Simple Portal website running


Offline zapiy

  • Semi Newbie
  • *
  • Posts: 31
  • SMF Version: 2.0.8
  • SP Version: 2.3.5
Re: Frontpage block
« Reply #2 on: February 28, 2012, 02:56:41 PM »
I was hoping for a mod.. I just dont have the knowledge to do it.

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: Frontpage block
« Reply #3 on: February 29, 2012, 02:06:24 AM »
Look around ... smf and here - recent posts with images.
At least you can just do the same without the images using recent posts block. It will show the users avatar if that is useful.
Everyone is a volunteer here so please try and make a small donation to keep the Simple Portal website running


Offline zapiy

  • Semi Newbie
  • *
  • Posts: 31
  • SMF Version: 2.0.8
  • SP Version: 2.3.5
Re: Frontpage block
« Reply #4 on: February 29, 2012, 06:04:52 AM »
I have looked fella, sadly nothing appears to fit the bill.

 :'(

Offline AngelinaBelle

  • Comrade
  • *
  • Posts: 4870
  • Gender: Female
  • SMF Version: 2 RC3
  • SP Version: 2.3.2
Re: Frontpage block
« Reply #5 on: February 29, 2012, 09:56:14 AM »
It should be possible to do the same to articles, or to sp_articles block or a boardnews block.

If you are interested, this is a customization project, involving mostly HTML and CSS. Very little PHP knowledge will be required.
Please to keep this website running, if you like SimplePortal, make a
one-time subscription. Thank you for your support.

Have you tried the SimplePortal documentation?

Offline zapiy

  • Semi Newbie
  • *
  • Posts: 31
  • SMF Version: 2.0.8
  • SP Version: 2.3.5
Re: Frontpage block
« Reply #6 on: February 29, 2012, 03:34:00 PM »
Yes please? :nervous-happy:

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: Frontpage block
« Reply #7 on: February 29, 2012, 11:50:38 PM »
Would be a nice addition to have a recent topics/select board with preview image, ... or same for article block.
Does it select the first image in an article or allow selection of any image, or uploaded image...? And the resize image?

Its a popular style of display for Joomla K2 content management, Drupal CCK, and blogs.
« Last Edit: February 29, 2012, 11:52:40 PM by igirisjin »
Everyone is a volunteer here so please try and make a small donation to keep the Simple Portal website running


Offline AngelinaBelle

  • Comrade
  • *
  • Posts: 4870
  • Gender: Female
  • SMF Version: 2 RC3
  • SP Version: 2.3.2
Re: Frontpage block
« Reply #8 on: March 01, 2012, 08:07:10 AM »
OK.  I have moved this to customization.

Actually, I would not promise the images and the image layout. Because that would almost certainly require changes on the database. And I am not so confident in doing that.  I have never packaged a mod, myself.

Here is what I would propose to help you with:
1) Begin with BoardNews, because it is already closest to what you wish to achieve
2) Change the style for the heading

If you want the picture layout to be like that, you will have to find another way. You can use a bbc table, or you can use HTML to create a floating img, or you can use the AEVA Media mod, for example (the caveat with AEVA Media is that its author will not be updating it for future versions of SMF).

I am not an awesome coder. So I will get you started and you will wind up learning quite a bit.
Ready?
Please to keep this website running, if you like SimplePortal, make a
one-time subscription. Thank you for your support.

Have you tried the SimplePortal documentation?

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: BoardNews for Frontpage block
« Reply #9 on: March 01, 2012, 10:26:29 AM »
The image makes the difference so without it the current blocks are fine. As its such a hassle ... probably not worth it (for me).
Maybe this year I will start learning php ... maybe. But it seems like a big leap to being able to understand where to get information in SMF and use it.
After Japan I will go back to civil engineering or perhaps back to school to do IT or computer science - again ...
Might specialize in web programming if it looks like I can make a decent living out of it, and the projects look interesting.
Everyone is a volunteer here so please try and make a small donation to keep the Simple Portal website running


Offline zapiy

  • Semi Newbie
  • *
  • Posts: 31
  • SMF Version: 2.0.8
  • SP Version: 2.3.5
Re: Frontpage block
« Reply #10 on: March 01, 2012, 07:01:43 PM »
OK.  I have moved this to customization.

Actually, I would not promise the images and the image layout. Because that would almost certainly require changes on the database. And I am not so confident in doing that.  I have never packaged a mod, myself.

Here is what I would propose to help you with:
1) Begin with BoardNews, because it is already closest to what you wish to achieve
2) Change the style for the heading

If you want the picture layout to be like that, you will have to find another way. You can use a bbc table, or you can use HTML to create a floating img, or you can use the AEVA Media mod, for example (the caveat with AEVA Media is that its author will not be updating it for future versions of SMF).

I am not an awesome coder. So I will get you started and you will wind up learning quite a bit.
Ready?

Thanks, usless i can get the block to do whats in that image i would not want to waste your time?

Offline AngelinaBelle

  • Comrade
  • *
  • Posts: 4870
  • Gender: Female
  • SMF Version: 2 RC3
  • SP Version: 2.3.2
Re: BoardNews for Frontpage block
« Reply #11 on: March 01, 2012, 07:19:39 PM »
I think you can get the block to do what's in the image.
It would mean, I think, that the image that goes with each post would be left-floated even when you look at it.

Here's mod for a a bbcode float tag: http://custom.simplemachines.org/mods/index.php?mod=2305

See if you like it.  The rest is going to be easy, and I can show you how to do it.
Please to keep this website running, if you like SimplePortal, make a
one-time subscription. Thank you for your support.

Have you tried the SimplePortal documentation?

Offline katoon

  • Semi Newbie
  • *
  • Posts: 39
  • SMF Version: 2.0.1
  • SP Version: 2.0.2
Re: BoardNews for Frontpage block
« Reply #12 on: June 08, 2012, 11:00:10 AM »
could this look any better?


Offline AngelinaBelle

  • Comrade
  • *
  • Posts: 4870
  • Gender: Female
  • SMF Version: 2 RC3
  • SP Version: 2.3.2
Re: BoardNews for Frontpage block
« Reply #13 on: June 08, 2012, 11:41:12 AM »
That looks pretty good.
Please to keep this website running, if you like SimplePortal, make a
one-time subscription. Thank you for your support.

Have you tried the SimplePortal documentation?

Offline kimyaci

  • Full Member
  • ***
  • Posts: 127
  • Gender: Male
    • Forumigo8navigation
  • SMF Version: 2.0.7
  • SP Version: 2.3.5
Re: BoardNews for Frontpage block
« Reply #14 on: August 27, 2012, 06:45:46 PM »


How is this?

Demo: http://sanal.igo8navigation.com/Portal.php

user: demo
pass: demo
« Last Edit: August 27, 2012, 06:48:48 PM by kimyaci »
SMF 2.0.7 HabboArtv1, Default Themes.

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: BoardNews for Frontpage block
« Reply #15 on: August 28, 2012, 06:03:04 AM »
Nice...! Is the resizing of the article list image automated  -  a mod?  I saw the SMF float mod but would be nice if you gave the custom code for the rest. Looks more like Joomla and wordpres this way.
Everyone is a volunteer here so please try and make a small donation to keep the Simple Portal website running


Offline kimyaci

  • Full Member
  • ***
  • Posts: 127
  • Gender: Male
    • Forumigo8navigation
  • SMF Version: 2.0.7
  • SP Version: 2.3.5
Re: BoardNews for Frontpage block
« Reply #16 on: August 28, 2012, 08:08:08 AM »
Nice...! Is the resizing of the article list image automated  -  a mod?  I saw the SMF float mod but would be nice if you gave the custom code for the rest. Looks more like Joomla and wordpres this way.

Hi
Yes, there are resizing images.Thanks for the comment.
SMF 2.0.7 HabboArtv1, Default Themes.

Offline FrizzleFried

  • Full Member
  • ***
  • Posts: 114
  • SMF Version: 2.0.5
  • SP Version: 2.3.5
Re: BoardNews for Frontpage block
« Reply #17 on: August 29, 2012, 10:55:50 AM »
Nice...! Is the resizing of the article list image automated  -  a mod?  I saw the SMF float mod but would be nice if you gave the custom code for the rest. Looks more like Joomla and wordpres this way.

Unfortunately this is how it looks in Firefox 14....


Offline AngelinaBelle

  • Comrade
  • *
  • Posts: 4870
  • Gender: Female
  • SMF Version: 2 RC3
  • SP Version: 2.3.2
Re: BoardNews for Frontpage block
« Reply #18 on: August 30, 2012, 07:46:56 AM »
You have some xHTML errors.
The browsers are trying to figure out what you probably MEANT to have instead of what you do have.
These may be the cause of the problem.

Of course the marquee tag is nonstandard.  But most browsers deal with it pretty well.  So I assume the problems are related to HTML "syntax errors" like unclosed  tags, improper nesting (<table></center></tr>), etc.

Please fix these problems and see how it looks after that.
Please to keep this website running, if you like SimplePortal, make a
one-time subscription. Thank you for your support.

Have you tried the SimplePortal documentation?

Offline velorooms

  • Jr. Member
  • **
  • Posts: 83
    • Velorooms
  • SMF Version: 2.0.2
  • SP Version: 2.3.5
Re: BoardNews for Frontpage block
« Reply #19 on: October 02, 2012, 07:56:16 PM »
looks good. are you going to share the code when its done
Admin and Owner of Velorooms.com - Using SMF 2.0.3 and Simpleportal 2.3.5