SimplePortal

Development => Feature Requests => Topic started by: c23_Mike on April 14, 2009, 06:51:34 AM

Title: AJAX functions at "users logged iN", recent posts/topics ...
Post by: c23_Mike on April 14, 2009, 06:51:34 AM
Hi there !

I think the topic says it all ... it would be perfect if the portal screens will update itself the necessary blocks.
Title: Re: AJAX functions at "users logged iN", recent posts/topics ...
Post by: c23_Mike on April 23, 2009, 03:59:20 PM
Hi there !

Just a question, how is this request? To think of, possible, stupid, too difficult?

I would like it to have my site opened and just see if there are a new post or new people online ... without every time to need a reload.
Title: Re: AJAX functions at "users logged iN", recent posts/topics ...
Post by: Nathaniel on April 23, 2009, 05:24:07 PM
Adding Ajax to every block is going to take a while. I personally like the idea, but I don't think its anywhere near the top of the priority list for the devs.

I'll bookmark this topic, I might get around to adding Ajax to one or two blocks at some point in the future. ;)
Title: Re: AJAX functions at "users logged iN", recent posts/topics ...
Post by: Eliana Tamerin on April 23, 2009, 05:36:41 PM
Just to note, this would consume a lot of bandwidth if someone is sitting on your portal page all day (or worse, if its on all pages, if someone has any part of your site open all day). So if you do this, you best have an excessive amount of bandwidth to waste or find some way to cut it off after a while.
Title: Re: AJAX functions at "users logged iN", recent posts/topics ...
Post by: c23_Mike on April 24, 2009, 08:09:49 PM
Hi there !

mmh, maybe as an option of the box, if it use ajax or not. And I think it will use less bandwith as an reload? Or not?

But bandwith is at my host provider or better at the active users on my site (about 20-30 different users per day on the site, but these users most time of the day) not the problem.

At now I have ajax at the chat box and I like this. The "Who´s online" and "Recent Posts" are my favorite candidates for ajax option.
Title: Re: AJAX functions at "users logged iN", recent posts/topics ...
Post by: Brianna on April 24, 2009, 08:31:25 PM
Hai, i'm kinda new to this... so If I ever screw up... feel free to slap me. ^_^
Title: Re: AJAX functions at "users logged iN", recent posts/topics ...
Post by: c23_Mike on June 23, 2009, 04:40:11 PM
Hi there !

@Brianna: Don´t know what you mean.

@Nathaniel: Already thought about it? Maybe as an option for SP 2.3? if it is programmed for one box I think it will work same on other boxes. I would use it for "Whos online" and "Recent posts/topics" boxes.
Title: Re: AJAX functions at "users logged iN", recent posts/topics ...
Post by: [SiNaN] on June 23, 2009, 04:56:08 PM
It is really not worth the effort and will make things harder for us and for you, users. So I don't think we will be adding something like this anytime soon.
Title: Re: AJAX functions at "users logged iN", recent posts/topics ...
Post by: c23_Mike on July 01, 2009, 08:14:27 AM
Hi there!

Ok, have to accept that  :'(
Title: Re: AJAX functions at "users logged iN", recent posts/topics ...
Post by: c23_Mike on March 17, 2010, 06:09:21 PM
Hi there !

Just as wish for 2.4 ... maybe here can be put the ajax code from the shoutbox as option to other boxes? It would not be that much more work since the code exists, or am i wrong?
Title: Re: AJAX functions at "users logged iN", recent posts/topics ...
Post by: [SiNaN] on March 18, 2010, 09:34:14 AM
From my experiences with the shoutbox alone; more JavaScript = more problem.
Title: Re: AJAX functions at "users logged iN", recent posts/topics ...
Post by: c23_Mike on March 18, 2010, 05:57:18 PM
 :'( :'( :'(

When I look into chatbox code, will I find the code for that function and can I copy/paste that in the box I want to?
Title: Re: AJAX functions at "users logged iN", recent posts/topics ...
Post by: [SiNaN] on March 19, 2010, 04:53:50 AM
You mean the AJAX functions? SMF has a few functions built-in you can use. Here is some information on it:

http://www.simplemachines.org/community/index.php?topic=306034.msg2026092#msg2026092
Title: Re: AJAX functions at "users logged iN", recent posts/topics ...
Post by: c23_Mike on March 19, 2010, 05:44:21 AM
Hi there !

puh I will try if I can understand this and will test. Tnx for that information!
SimplePortal 2.3.8 © 2008-2024, SimplePortal