collapse

* User Info

 
 
Welcome, Guest. Please login or register.
Did you miss your activation email?

* Who's Online

  • Dot Guests: 31
  • Dot Hidden: 0
  • Dot Users: 0

There aren't any users online.

* Shoutbox

Refresh History
  • Shoutbox is not for support!
  • ♦ Ninja ZX-10RR ♦: Por favor esta shoutbox no es para support ;)
    July 30, 2015, 01:02:07 am
  • Elliott: Sigo teniendo el mismo problema ayuda el ShoutBox de Simple Portal no se actualiza, escribo un mensaje y tengo que actualizar todo la pagina para que se actualice y vea el mensaje que escribi!
    July 29, 2015, 11:48:43 pm
  • sonkalem: Merhaba
    July 14, 2015, 02:27:54 pm
  • [SiNaN]: Hey! Glad to see that people find our little and simple mod useful. :)
    July 10, 2015, 08:38:39 am
  • berkcet: thanks for the wonderful mod! [SiNaN] adamın dibisin
    July 09, 2015, 12:34:40 pm
  • xpress: Please am using Simple portal mod. And in the board news updates. Whenever I make a post using BBC of [img] the image always heavy and makes my website to load slow. Is there anyway I can reduce it to 300px width and 300 height. May be by css or any other method!
    July 09, 2015, 04:27:56 am
  • Burke Knight: LOL!
    July 05, 2015, 03:35:00 pm
  • andy: Shoutbox IS for support... moral support  ;D
    July 05, 2015, 11:18:48 am
  • {OCS}MasterSeal: THANKS AGAIN FOR SP!
    June 22, 2015, 09:47:08 am
  • angeljs: Thanks :)
    June 20, 2015, 08:28:30 am
  • ♦ Ninja ZX-10RR ♦: Unfortunately I am only a Support Apprentice and I don't have access to it, so I cannot approve it. But I will let my Support coach know ;)
    June 19, 2015, 06:30:47 pm
  • angeljs: Yes. that was it. I managed to edit the post, but now can't make any more new ones as it's back in the moderation queue again! :(
    June 19, 2015, 05:06:05 pm
  • ♦ Ninja ZX-10RR ♦: There should be...? Maybe the post is waiting for approval, don't know.
    June 18, 2015, 03:26:04 pm
  • angeljs: Ok, thanks. I just need to know how to edit my posts as I can't find any edit button
    June 18, 2015, 03:13:00 pm
  • ♦ Ninja ZX-10RR ♦: Newbies cannot post in some sections due to antispam I think, especially if they post links. Feel free to open a topic somewhere, a mod will move it :)
    June 18, 2015, 02:53:02 pm
  • angeljs: I know the shoutbox isn't for support, but I can't post in the support forums! Where can I find help with this website?
    June 18, 2015, 10:36:07 am
  • Jazzpa: Thank you Chen!
    June 12, 2015, 08:31:09 am
  • Chen Zhen: Your thread has been approved and a solution posted.
    June 11, 2015, 11:05:45 pm
  • Jazzpa: How long does it take approve a thread/question over here?
    June 11, 2015, 12:25:01 pm
  • {OCS}MasterSeal: AGAIN. I'm here to spam...errr I mean THANK YOU FOR SP!!!
    May 29, 2015, 02:57:41 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: show next xx events instead events of next xx days in recent events block  (Read 3787 times)

0 Members and 1 Guest are viewing this topic.

Offline demlak

  • Semi Newbie
  • *
  • Posts: 36
  • SMF Version: 2.0.2
  • SP Version: 2.3.5
hi,..
maybe a new topic is better than injecting my request to an old thread with a slightly different topic..

we will use the calendar for anouncing an unsteady number of events per day/week/month...

that means:
when we configure the calendar block to show the events of the next 12 days (for example) sometimes there will be displayed 6 events.. sometimes 3 events.. but sometimes 28 events..  and so on..
that changes the hight of the Calendar Information block everyday..  that means also a different site design everyday.. because we want it to be on the top of the portal blocks.. and we want it with a fixed hight (but without scrollbar)..

so the idea is to show the next xxx (given number) events.. instead of the events of the next xxx days.
when only xxx numbers of events are displayed (doesn´t matter how far they are in the future), the hight of the block will always be the same.

since im not a coder, please help me to change the Calendar Information block code to act like discribed.
i think its the function sp_calendarInformation in Sources/Portal.Blocks.php
« Last Edit: January 16, 2013, 04:43:24 am by demlak »

Offline demlak

  • Semi Newbie
  • *
  • Posts: 36
  • SMF Version: 2.0.2
  • SP Version: 2.3.5
Re: show next xx events instead events of next xx days in calendar
« Reply #1 on: January 04, 2013, 01:01:37 pm »
well.. is this the wrong sub-forum? or is nobody able to help me? or no one interested in this modification?
i don´t understand why there is absolutly no answer   :(

Offline velorooms

  • Jr. Member
  • **
  • Posts: 85
    • Velorooms
  • SMF Version: 2.0.2
  • SP Version: 2.3.5
Re: show next xx events instead events of next xx days in calendar
« Reply #2 on: January 05, 2013, 07:52:43 pm »
Think everybody is enjoying christmas and new year.

it should be possible. Im looking at the code for the calendar block we have and trying to work out how to do it. on basic level increasing the numbers of days to an infinate number but then setting a maximum events should work.. just how..

hmmmm.. will think..
Admin and Owner of Velorooms.com - Using SMF 2.0.3 and Simpleportal 2.3.5

Offline demlak

  • Semi Newbie
  • *
  • Posts: 36
  • SMF Version: 2.0.2
  • SP Version: 2.3.5
Re: show next xx events instead events of next xx days in calendar
« Reply #3 on: January 06, 2013, 01:54:16 am »
thx a lot!
tell me if can help testing or so.. =)

Offline demlak

  • Semi Newbie
  • *
  • Posts: 36
  • SMF Version: 2.0.2
  • SP Version: 2.3.5
any news on that?

Offline velorooms

  • Jr. Member
  • **
  • Posts: 85
    • Velorooms
  • SMF Version: 2.0.2
  • SP Version: 2.3.5
its in my coding queue, but neither myself or any of my helpers have worked it out yet.
Admin and Owner of Velorooms.com - Using SMF 2.0.3 and Simpleportal 2.3.5

Offline demlak

  • Semi Newbie
  • *
  • Posts: 36
  • SMF Version: 2.0.2
  • SP Version: 2.3.5

Offline demlak

  • Semi Newbie
  • *
  • Posts: 36
  • SMF Version: 2.0.2
  • SP Version: 2.3.5
*push*

Offline demlak

  • Semi Newbie
  • *
  • Posts: 36
  • SMF Version: 2.0.2
  • SP Version: 2.3.5
*push*

Offline AngelinaBelle

  • Support
  • *
  • Posts: 4885
  • Gender: Female
  • SMF Version: 2 RC3
  • SP Version: 2.3.2
Hello demlak,

I understand you are eager for this, but I hope you can understand that "push" will not write any code.
Velorooms might not have read your recent posts.  You might PM him directly to find out if he is still interested in working on this.

As a last resort, since you are having a difficult time finding anyone interested in the project, you might consider looking at the php code yourself.  If you build a test forum and work there, you can confidently break as much code as it takes to figure it out.
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?