Forum Activity for @michael

michael
@michael
01/13/22 08:11:23PM
7,718 posts

Invoking View function from another View handler


Jamroom Developers

Instead of firing it and waiting for it to complete before proceeding you could set up a queue to fire it then continue on perhaps.
michael
@michael
01/13/22 05:54:26PM
7,718 posts

Invoking View function from another View handler


Jamroom Developers

Good job on locating that obscure function. I had to look it up. Its exactly appropriate for what you're trying to do. I did not realize we had that. Useful though, I'll use it now I know it exists if needed.
michael
@michael
01/13/22 04:20:38PM
7,718 posts

Invoking View function from another View handler


Jamroom Developers

Creation of most submitted forms is handled in a function of the same name but with _save() at the end. Its in those functions that the logic of creating what was submitted takes place.

Most of the logic in the view_jrComment_comment_save function/view revolves around figuring out which module to store the comment as a comment of. Probably in your view handler that will be simpler I suspect because you're going to have more specific parameters.

Once the parameters are figured this function is doing the saving:
 $id = jrCore_db_create_item('jrComment', $_tmp, array('_profile_id' => jrUser_get_profile_home_key('_profile_id')));

I think I'd be looking to figure out what the structure of the comment I wanted to arrive was then just create it in the datastore directly in my function.

The rest of the view_jrComment_comment_save figures out who to notify now that there is a new comment.
michael
@michael
01/09/22 04:25:13PM
7,718 posts

Updating?


Using Jamroom

If you're not working with it every day its easy to forget, I do.

It depends on how you made the cusomizations to the docs module, if you've done it via the ACP -> DOCS MODULE -> TEMPLATES -> MODIFY then all your changes will be preserved. Although if anything has changed in the base system you may need to adjust your templates to account for the changes.

If you've done the changes by uploading a skin over-ride to your /skins/(your-skin)/ directory and prefixing it with the module name, eg: jrDocs_index.tpl then it too will be preserved and used after the module update. Same thing here, if anything changed in the base structure you may need to account for that in your template.

If you've changed anything in the module directory itself /modules/jrDocs/* then this will be lost. Shouldn't be editing here, the correct way to do it would be to create another module then adjust via listeners.

What happens when a module is updated is the old version is saved to an old directory, so for docs:

/modules/jrDocs
becomes
/modules/jrDocs-version-122
and a new version is added
/modules/jrDocs-version-123

So the old code is still on your server, its just not used.

How many versions are stored is dependent on whatever the setting is set to at:
ACP -> MODULES -> CORE -> MARKETPLACE -> GLOBAL CONFIG -> GENERAL SETTINGS -> MARKETPLACE VERSIONS

It defaults to "Keep All Versions" but sometimes is changed to save server space. Check what that is set to before upgrading, make sure its at least 2 in your case so the old version is not immediately deleted.
michael
@michael
01/07/22 10:22:37PM
7,718 posts

Is there any plugin for creating a complete Travel site


Suggestions

That does not exist, try wordpress.
michael
@michael
01/02/22 03:28:44PM
7,718 posts

Adding a Slider with Left and Right Arrows


Design and Skin Customization

depends on how you like to develop. If you're using the "Site Builder" system, it has an image rotator (no arrows though) that cycles through the images with a number picker on the bottom.

I get the feeling you're wanting to jump sections of HTML code rather than images though.

If that's the case the steps I'd take would be to locate an example of what you're wanting to do and copy it. It's probably done with a jQuery library anyhow, so once you locate the example then you can figure out what library is being used then follow its docs. Would be the first steps I'd think to take.
auto.png auto.png - 751KB
michael
@michael
01/01/22 12:31:43AM
7,718 posts

Activity on profile page


Using Jamroom

Im not seeing that at the url or on a profile. Also I do not keep credentials. Hopefully you change them any time after you've let someone login and they've finished whatever they were supposed to do. Helps with security and means less places to look if something changes unexpectedly.

Probably the easiest thing to do is install the Profile Tweaks module and set the profile default page to be one of the module pages that your profiles are using.
profile.png profile.png - 76KB
michael
@michael
12/30/21 04:15:54PM
7,718 posts

Activity on profile page


Using Jamroom

True. If it was a system where you couldn't adjust the template then making it function like that would make sense. In this case that particular skin didn't take into account that you might turn the module off so it didn't add extra functionality to check whether to display that area or not.

So in this case you'll need to adjust the template to get rid of it. Whats the URL, I can take a look at what its at now and give some steps to get rid of it.
michael
@michael
12/27/21 02:46:24PM
7,718 posts

Activity on profile page


Using Jamroom

That's the Timeline module.

If you disabled the Timeline module so that the site-wide timeline would not show, and that's the goal, but you still want it on the profiles, what you need to do instead of disabling it is to leave it on but change the Timeline modules index.tpl template to change what it shows or remove links to it if you dont want people going there.

By disabling links to it it still exists but there is no click traffic there.

eg:
https://www.jamroom.net/timeline

We have the timeline module enabled but no links to it. If we linked to it from somewhere and wanted people to use it we'd clean up the design. But for us the Forums are more central than the Timeline for this style of site.
michael
@michael
12/20/21 11:24:17PM
7,718 posts

In the Tools for managing Groups, is there any tool for transferring a group from one quota to another?


Using Jamroom

This module: "Change Item Owner"
https://www.jamroom.net/the-jamroom-network/networkmarket/251/change-item-owner

During checking the steps I ran into an error, update your site from the marketplace to avoid it.

Steps:
* ACP -> GROUPS -> GROUPS CORE -> TOOLS -> CHANGE OWNER

* "Select Existing Owner" -> Locate the profile the group is on -> SEARCH/SELECT

* "Select Items" -> Choose the group.
click.png click.png - 84KB
  27