Sponsored Content
The Lounge War Stories Postbit Changes (Phase II Upgrade) Post 303020503 by Neo on Saturday 21st of July 2018 12:39:08 PM
Old 07-21-2018
OK.. For mobile logged in users (which is not very many, usually less a handful at a time), I have added some jQuery AJAX Javascript to automatically update the "Users Online" info on the home page.

Note: I need to change this from .load() to .getJson() when I have some time.
 

4 More Discussions You Might Find Interesting

1. Solaris

init phase

Hello, Can somebody explain me the relationship between /sbin and /etc directories ? what is the relationship between them and what are the roles of files such as rcd.1 etc? (1 Reply)
Discussion started by: saudsos
1 Replies

2. What is on Your Mind?

Small bug in the Quick Editor function in postbit

Hey, There was a small bug in the Quick Editor function in postbit, but I fixed it (basically a double quote was missing from an element id): <div id="post_message_$post" class="neo-message-area">$post</div> Was <div id="post_message_$post class="neo-message-area">$post</div> Should... (1 Reply)
Discussion started by: Neo
1 Replies

3. Web Development

New Supplementary CSS for Forum Postbit

Working on moving inline style to a supplementary CSS file. This one is postbit.css: .pb-wrapper { border-style: solid; border-width: 1px; border-color: rgba(110, 117, 182, 0.99); padding: 0px 0px 0px 0px; } .pb-wrapper-b { padding: 0px; border-width: 0px 0px 1px... (0 Replies)
Discussion started by: Neo
0 Replies

4. Docker

Docker learning Phase-I

Hello All, I had recently learnt a bit of Docker(which provides containerization process). Here are some of my learning points from it. Let us start first with very basic question: What is Docker: Docker is a platform for sysadmins and developers to DEPLOY, DEVELOP and RUN applications ... (7 Replies)
Discussion started by: RavinderSingh13
7 Replies
MojoMojo::Controller::Jsrpc(3pm)			User Contributed Perl Documentation			  MojoMojo::Controller::Jsrpc(3pm)

NAME
MojoMojo::Controller::Jsrpc - Various JSRPC functions. SYNOPSIS
This is the Mojo powering our AJAX features. DESCRIPTION
This controller dispatches various data to ajax methods in mojomojo These methods will be called indirectly through javascript functions. ACTIONS
render ( /.jsrpc/render ) Edit uses this to get live preview. It gets some content in params->{content} and runs it through the formatter chain. child_menu ( /.jsrpc/child_menu?page_id=$page_id ) Returns a list of children for the page given by the page_id parameter, formatted for inclusion in a vertical tree navigation menu. diff ( /.jsrpc/diff ) Loads diff on demand. Takes an absolute revision number as arg, and diffs it against the previous version. submittag ( /.jsrpc/submittag ) Add a tag through form submit tag ( /.jsrpc/tag ) Add a tag to a page. Returns a list of yours and popular tags. untag ( /.jsrpc/untag ) Remove a tag from a page. Returns a list of yours and popular tags. imginfo ( .jsrpc/imginfo ) Inline info on hover for gallery photos. usersearch ( .jsrpc/usersearch ) Backend that handles jQuery autocomplete requests for users. set_permissions ( .jsrpc/set_permissions ) Sets page permissions. clear_permissions ( .jsrpc/clear_permissions ) Clears this page permissions for a given role (making permissions inherited). validate_perm_edit Validates if the user is able to edit permissions and if a role was supplied. AUTHOR
Marcus Ramberg <mramberg@cpan.org>, David Naughton <naughton@cpan.org> LICENSE
This library is free software. You can redistribute it and/or modify it under the same terms as Perl itself. perl v5.14.2 2011-07-20 MojoMojo::Controller::Jsrpc(3pm)
All times are GMT -4. The time now is 04:09 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy