Forum Activity for @michael

michael
@michael
02/27/17 01:02:58AM
7,832 posts

verification email issue


Using Jamroom

sending email from your email account and your server being able to send emails are different things.
michael
@michael
02/26/17 07:49:16PM
7,832 posts

Jamroom cloud Question


Using Jamroom

Current best option: move all the data files to S3

Howto here:

Docs: "Use Amazon S3 storage to lower hosting costs"
https://www.jamroom.net/the-jamroom-network/documentation/jamroom-admin-handbook/3387/use-amazon-s3-storage-to-lower-hosting-costs

From the perspective of using the S3 to lower storage costs, but it could also be used to let your server just do the serving and let somewhere else provide the media content.

Brian's the expert on setting up cloud servers and he said he's thought about making a "local" file module module for distributed media, but for now the merits of that method still loose out to an S3 backend with a local cache setup instead.

Currently the issue is all the media files need to be in the same location and S3 is pretty much unlimited.
updated by @michael: 02/26/17 07:49:51PM
michael
@michael
02/26/17 07:26:43PM
7,832 posts

Blog Traffic Counts


Suggestions

The trick to this one would be giving it the right name.

* If you call every page view 'blog_view' then its not going to know which blog was viewed so will count each blog view of anything as 1.

* If you include the profile_id in the count, then it will count all blog views on this profile as 1 and you will end up with a total blog post views for the profile.

* If you put the _item_id of the blog post in the count then you will just get the count for the views of just that blog post.
michael
@michael
02/26/17 06:58:02PM
7,832 posts

No Ning/Ningja Downloads?


Ning To Jamroom

Probably
* Ning Notes
* Ning Import
* Groups
* Group Discussion
* Group Mailer
* Group Pages
* Ninja Skin

All the modules you've purchased you can see on your profile here on jamroom.net:

https://www.jamroom.net/foxycart/items/profile_id=1049/user_id=1044

The bundle is not for sale anymore as we now recommend Jamroom hosting, but you still have all the module licenses that were part of that bundle.

--edit--
Actually it may still be available, here's the link to the contents:
https://www.jamroom.net/the-jamroom-network/bundle/18/ning-to-jamroom
updated by @michael: 02/26/17 07:00:01PM
michael
@michael
02/26/17 02:37:21PM
7,832 posts

Watermark appearing on URL Scan images and Profile pictures


Using Jamroom

have just looked at the code to see if there is a simple way around it. I can't see one.

The issue is that the watermark feature gets added to any image that is run through the image system.

Currently the way around it would be to create a simple module that listened for the image being displayed, maybe on the 'module_view' event. And in that module view listener, turned ON the watermarking IF the event was 'jrGallery'/'gallery_image'.

and do nothing for all others.
michael
@michael
02/26/17 01:53:15PM
7,832 posts

Remove Profile Widget


Using Jamroom

Yeah, you'll find {jrCore_list} is the go-to tool for getting anything out of a datastore.

Jamroom has 2 types of storage tables inside the mysql database, a regular one, where you write normal SQL queries to access, and a special one called a 'datastore'

A datastore is a key => value storage system that each module can have up to 1 of.

The advantage of using a datastore in module development is that it allows for easy addition of database column types.

In a conventional mysql table, if the colums are
id | name | title

In order to add another column 'age' you need to alter the database structure
id | name | title | age

But with a datastore it just has
_item_id | key | value

So this allows other modules to add things to each others datastores without the need for alteration of the database.

An example of this is the Tags module, it adds things to any other modules datastore, without that module needing to know or care whether the Tags module exists or not.

An blog entry might look like this
_item_id | key | value
1 | blog_title | a blog for saturday
1 | blog_text | bla bla bla bla bla bla bla .......
1| blog_date | (time the blog was created)

Then the tags module can come along and add tags to that blog
1| blog_tags | ,saturday,racing,sunny,events,

This allows for complete separation of modules, but also integration of modules.

Then you can use the {jrCore_list} template function along with a search="" clause to retrieve whatever you want from a datastore
{jrCore_list module="jrBlog" search="blog_tags like %sunny%"}

This way you can get the only the blogs back that have the 'sunny' tag on them.

--edit--
The Tags module was an example of a module adding to another modules datastore, but you dont have to do it via a module.

If you want to add extra tags to a modules datastore just for your system, you can use the Form Designer.

Docs: "Using the Form Designer"
https://www.jamroom.net/the-jamroom-network/documentation/jamroom-admin-handbook/1275/using-the-form-designer

To add any extra fields you require.
updated by @michael: 02/26/17 01:59:41PM
michael
@michael
02/26/17 01:10:21PM
7,832 posts

A question about mulitple accounts amazon S3


Using Jamroom

What are the buckets for? To store backups of your jamroom sites hosted elsewhere, or are they the location where your jamroom site IS?

It would seams strange to require different accounts on amazon.
michael
@michael
02/26/17 01:00:32PM
7,832 posts

verification email issue


Using Jamroom

The settings I have put in the screenshot are the settings to make your server do the sending of the email.

If you have them set like that and your server is NOT sending the email, you will need to contact your host to ask them to look into the issue, something is wrong with your server.
michael
@michael
02/26/17 12:54:14PM
7,832 posts

YouTube Link creates large data block when link is posted in chat, how can I change or restrict that?


Installation and Configuration

Its the "Media URL Scanner" module you're thinking of.

What it does, is when its on it retrieves the og:tags from URLS of the link that is posted in and displays them as a 'URL Card'.

You can adjust what is displayed in the url_card.tpl
/modules/jrUrlScan/templates/url_card.tpl

Make sure you use one of the correct methods to alter that .tpl file

Docs: "Altering a Modules Template"
https://www.jamroom.net/the-jamroom-network/documentation/module-developer-guide/1051/altering-a-modules-template
michael
@michael
02/26/17 12:17:22PM
7,832 posts

Remove Profile Widget


Using Jamroom

Right, short answer: {jrCore_list}

Docs: "{jrCore_list}"
https://www.jamroom.net/the-jamroom-network/documentation/module-developer-guide/89/jrcore-list

--
Longer answer: There are 3 main sections to a jamroom system ( 4 if you consider Forms as a section ), those sections are
ACP - where the system is configured and modules set up
Profiles - your community members upload stuff to, like videos, activity, .....
Top section of the site - which includes the home page and any levels above profiles.

The Top section of the site is the location users visit before getting into any specific profile. There can be as many pages as you like here. This is where Site Builder lives.

Site Builder is a GUI replacement/alternative for template files in the skin.

So you could use Site Builder to create pages, OR you could use the skins .tpl files to create pages, whichever you are more comfortable with.

eg: if you wanted another URL at
yoursite.com/information

You could go to that url as the admin user and Site Builder would ask "Do you want to create a page here?" and you could click that and create a page there via site builder.

The other way to get a page at that URL would be to add a new .tpl file to your skin
/skins/YOUR SKIN/information.tpl

Then add smarty/html code to that template. It would also create the same page there.

All depends on whether you want to build the pages via a web browser or and IDE.

So.....
If you want to display a list of things in a .tpl file you would use the listing function:
{jrCore_list module="?????"}

and that would display a list of whichever module you were after. In Site Builder there is a GUI to do it but its the same function.

Each of the "Latest Images" "Latest Activites" "Latest Discussions" will created using that {jrCore_list} or the Site Builder equivalent.

What you need to do is tweak that list to only include the quota that you are after. Its very versatile.

Take a look at the docs and ask if you have any questions.
--

If you take a look through the .tpl files in any skin you will find a TON of jrCore_list calls, eg:
 {jrCore_list module="jrFlickr" profile_id=$_profile_id order_by="flickr_display_order numerical_asc" pagebreak="9" page=$_post.p pager=true}
= "Get me all the flicker items from profile id X order them with the oldest at the top and only show 9 before showing the pagination buttons"
  260