Forum Activity for @michael

michael
@michael
03/16/17 10:02:33AM
7,826 posts

Is There a PDF Version of Documents?


Installation and Configuration

@ultrajam, the biggest issue was getting the docs looking good in a pdf format, the way they are they're not laid out in a PDF style format, so there is a lot of wasted space.

WOW your docs look impressive!

If i had to be pickey....(screenshot)
docs.jpg docs.jpg - 266KB
michael
@michael
03/16/17 01:02:29AM
7,826 posts

Treating content after a certain number of page views


Using Jamroom

if they like taking screengrabs, watermark all images for non-logged in users. They'll need to join to get their screengrabs.
michael
@michael
03/16/17 12:57:41AM
7,826 posts

Smarty PHP Include


Jamroom Developers

that would be the LAST option I would choose. options I would try before that would be

$_js = array('source' => "{$_conf['jrCore_base_url']}/modules/jrCore/contrib/tinymce/tinymce.min.js?v={$_mods['jrCore']['module_version']}");
jrCore_create_page_element('javascript_href', $_js);
like this if I wanted to add in a linked .js file to the page, add that in a listener that fires at a point where all of the variables you are interested in are available.

find an event that happens exactly, or close to what you want, all the data for building that event will come in with ($_data, $_user, $_conf, $_args, $event)

so it will be easier to determine if you want to add your code in this instance or not.

If you use 'view_results'. all that data has been transformed into html, so its harder to use to test your variable against.

example:
http://yoursite.com/admin/page/1/testing-how-the-stuff-gets-here

see screenshot for all the events that fire and how many times they fire for that one url load.

a listener on any of them might give you more fine grained options if you find yourself needing more control.
events_fired.jpg events_fired.jpg - 134KB
michael
@michael
03/15/17 11:21:11PM
7,826 posts

Analytics Comparison


Using Jamroom

http://yoursite.com/core/dashboard/online

will show you each of the users who are online. you can choose between whether to include bots or not.
michael
@michael
03/15/17 09:24:14PM
7,826 posts

Smarty PHP Include


Jamroom Developers

A basic last resort scenario:
* listen for the 'view_results' event

That event has the completed page as html before it is rendered. check the url is the one you're interested in and use str_rep to inject it just before the /HEAD or somewhere into the body.

There probably is a better event though.
michael
@michael
03/15/17 09:22:32PM
7,826 posts

Smarty PHP Include


Jamroom Developers

(I'm) not following that ticket very easily.

also not following the question, hit me with a desired outcome. :)

sounds like you're trying to add some extra stuff to a page created by the page module. that should be doable. what do you want to inject? that line of javascript? where is that coming from?? is it user input or is it going to be the same thing for every page? or is it set by the admin?? or could we just hard code it into the module that injects it??

There are a ton of events to listen for to get it there, knowing the surrounding situation will help identify which is the best event to use.
michael
@michael
03/15/17 09:16:32PM
7,826 posts

The requested URL /genosis-open-source/user/signup was not found on this server.


Installation and Configuration

well done. :) Jamroom should be able to run in a sub-directory of a domain.
michael
@michael
03/15/17 01:54:14PM
7,826 posts

The requested URL /genosis-open-source/user/signup was not found on this server.


Installation and Configuration

here's my current guess: You've skipped the part about apache aliases in the guide:

Guide: "configuring apache for virtual hosting"
https://www.jamroom.net/brian/documentation/guides/1211/configuring-apache-for-virtual-hosting

Because if you'd have done that you would be using a different directory other than /var/www/html for your site folders.

for me on my dev my sites are at:
/home/michael/sites

then
/home/michael/sites/yoursite.com/public_html

for each install. (also have a logs directory next to public_html).

but it does seam to be able to access the install.php. If you go to:
http://ftree.croziers.org/genosis-open-source/

does that redirect you to
http://ftree.croziers.org/genosis-open-source/install.php

?? it should, and if it is doing that then the rest of it should be working correctly as well.

is jrUser in the modules directory?
michael
@michael
03/15/17 01:16:12PM
7,826 posts

Smarty PHP Include


Jamroom Developers

why?

why not build it as a module.
  249