Forum Activity for @softdesigns

SoftDesigns
@softdesigns
02/26/17 05:55:06AM
242 posts

Remove Profile Widget


Using Jamroom

We have created a new Quota to limit profile modules, however some widgets do not seem to be controlled by quota. For example, Latest Images, activities, etc..
--
We understand Quotas, and that is working well. Now trying to learn how to turn off and on widgets on profiles.
--
We understand Site Builder can add / remove widgets from the main index home page, but do not see a Site Builder on user profile page?
--
How to remove profile widgets like Latest Images, Latest Activities, Latest Discussions?
updated by @softdesigns: 05/31/17 10:29:17PM
SoftDesigns
@softdesigns
02/22/17 02:42:26AM
242 posts

Execute JS after User Login


Jamroom Developers

@michael : Your new idea is cool : https://www.liveedu.tv/jamroomdev
--
We hope to be involved when time allows - please let us know next steps.
We do not have twitter, so please keep us posted via email or JR Forum.
--
After many years of research:
We feel JR Platform is the most Flexible and Powerful Social Media CMS currently available :)
--
We are excited about the opportunity to Study and Promote JR Platform Coding.
--
thanks,
Soft-Designs, Inc.
People First, software second - Since 1985
updated by @softdesigns: 02/22/17 02:50:07AM
SoftDesigns
@softdesigns
02/20/17 02:32:46AM
242 posts

Verify User is Profile Owner


Jamroom Developers

Thanks for the reply:
Will study and test your latest code above...
SoftDesigns
@softdesigns
02/20/17 02:29:18AM
242 posts

Execute JS after User Login


Jamroom Developers

Great Support - Last code above tested successfully.
--
More forum code samples, help create more JR pro level coders...
Great to promote more samples, and deeper study of JR platform coding :)
--
Resolved...
SoftDesigns
@softdesigns
02/19/17 12:06:49PM
242 posts

Loading External JS via Modules


Jamroom Developers

Great Support - thanks for the code samples and info...
--
More forum code samples, help create more JR pro level coders...
Great to promote more samples, and deeper study of JR platform coding :)
--
Resolved...
updated by @softdesigns: 02/20/17 01:50:15AM
SoftDesigns
@softdesigns
02/19/17 11:32:31AM
242 posts

Loading External JS via Modules


Jamroom Developers

Yes - you are right - we should consider the time to install and configure a module, versus copy / paste code into meta.tpl
nate:
The way jamroom works, each module loads whatever js it needs. It seems to work really well.
I think what you said above may help us out - just let each module load it's own JS.
--
Question: Can you send a code sample of how a module loads the JS it needs?
updated by @softdesigns: 02/20/17 01:46:10AM
SoftDesigns
@softdesigns
02/19/17 11:11:55AM
242 posts

Loading External JS via Modules


Jamroom Developers

Actually in production, it could be many lines of code depending on the libraries, and required css files. Also we currently have 9 JR sites, and we add new JR sites often, so the code may need to be replicated and updated across many sites. Most JS libraries require ongoing updates, so loose script can start to be painful to maintain correct JS lib versions across many JR sites.
--
This is where a single sdJSLoader module might be easier for maintenance, and multi site JS lib version updates over the long term.
updated by @softdesigns: 02/19/17 11:22:27AM
SoftDesigns
@softdesigns
02/19/17 11:02:30AM
242 posts

Loading External JS via Modules


Jamroom Developers

Sure, we can add code to meta.tpl :)
I guess we must remember if we switch skins, we must add code again to new skin?
--
Question: If we add the code to meta.tpl - then later on, switch skins, do we lose the custom code in meta.tpl?
updated by @softdesigns: 02/19/17 11:23:13AM
SoftDesigns
@softdesigns
02/19/17 08:22:51AM
242 posts

Loading External JS via Modules


Jamroom Developers

GOAL : Load external custom JavaScript libraries: Examples maybe like JQueryUI, or JQWidgets, etc...
IDEAS:
- Could we load these via script in template: meta.tpl ? This method seems like if you change skins, you may lose your custom JS load code?
- Prefer to write new custom JR module like "sdJSLoader", and load all our external JS libs in one custom JR module. Using JR module seems easier to include and manage across our many JR sites.
- Need the best way to load external JS libs in one place, so we can make them available to all other custom JR modules.
--
Simple Example - how to achieve this type of loading external JS libs:
<!DOCTYPE html>
<html lang="en">
<head>
    <script type="text/javascript" src="http://cdn.com/jqwidgets/jqxcore.js"></script>
</head>
--
Question: How to load external JS - like code above - except instead using a custom JR module to do the loading?
updated by @softdesigns: 05/30/17 10:32:03PM
SoftDesigns
@softdesigns
02/19/17 05:30:45AM
242 posts

Execute JS after User Login


Jamroom Developers

Thanks for the reply: Your detailed explanation makes sense...
Will study and test your latest code above...
updated by @softdesigns: 02/20/17 02:31:03AM
  22