Forum Activity for @michael

michael
@michael
02/20/19 07:46:17PM
7,839 posts

New Custom Account Tab


Jamroom Developers

If you want the output on the users profile, then not index.php, use profile.php. Very similar to index.php except the views come out on the users profile.

Take a look at one of the modules that has a profile.php file, maybe jrDocs perhaps. in it you will see a function:
profile_view_jrDocs_default()

Which will show at:
yoursite.com/(users profile url)/docs

for that user.
michael
@michael
02/17/19 12:51:41PM
7,839 posts

Disable caching of an individual template


Jamroom Developers

That's how you do it. Need steps to setup a structure that doesn't work on my dev machine to know anything further.

The other thing you could try is to load that section that you want to always change by ajax.

make a call to a url that JUST contains the info you want to show:
yoursite.com/some_always_changing_info

in some_always_changing_info.tpl put your jrCore_list call with the no_cache=true
{jrCore_list module="jrSomething" no_cache=true}
Then use ajax to load that into the div on the main page.

StackOverflow: "How do I load the ajax data into a div with jquery?"
https://stackoverflow.com/questions/25676851/how-do-i-load-the-ajax-data-into-a-div-with-jquery
michael
@michael
02/17/19 12:43:57PM
7,839 posts



make it all owned by the web user. Also make sure apache is running as the web user. that way when you SFTP into the box you will be able to read/write any files that apache has added, like the cache files.
updated by @michael: 09/18/23 08:41:25AM
michael
@michael
02/17/19 12:40:01PM
7,839 posts



This is my config file:
/etc/apache2/sites-available/yoursite.com.conf
<VirtualHost *:80>

    ServerAdmin 0@somewhere.com
    ServerName yoursite.com
    ServerAlias www.yoursite.com

    DirectoryIndex index.php index.html index.htm
    DocumentRoot /home/vagrant/sites/yoursite.com/public_html
    <Directory /home/vagrant/sites/yoursite.com/public_html/>
         Options Indexes FollowSymLinks MultiViews
         AllowOverride All
         Require all granted
    </Directory>

    ErrorLog /home/vagrant/sites/yoursite.com/logs/error.log
    LogLevel error

    CustomLog /home/vagrant/sites/yoursite.com/logs/access.log combined

</VirtualHost>
michael
@michael
02/17/19 12:33:44PM
7,839 posts



These are our server setup guides:

https://www.jamroom.net/brian/documentation/guides

They still refer to ubuntu 12.04 but I set my virtualbox (running on vagrant on a mac) on ubunutu 18.04 and it only needed a few tweaks.

The bit on virtual hosting is here:
https://www.jamroom.net/brian/documentation/guides/1211/configuring-apache-for-virtual-hosting
michael
@michael
02/16/19 07:27:49PM
7,839 posts



all looks good. So the question becomes, why is your server ignoring it.

All URLs in jamroom are picked up by mod_rewrite and passed in to router.php so there is no real url /user/signup.

Need to figure out whats going on on your server to prevent that from happening.

Guesses:
* Are you using localhost on windows? // wont work
* do you have a domain name? // wont work on an ip address

* is there any info in your servers error log.
michael
@michael
02/15/19 08:05:51PM
7,839 posts



Sounds like mod_rewrite is not installed on the server. OR
you've forgotten to upload the hidden .htaccess file along with the SFTP upload.
updated by @michael: 09/16/23 01:42:32PM
michael
@michael
02/13/19 07:41:20PM
7,839 posts

Disable caching of an individual template


Jamroom Developers

EMGPOWERED:
brian:
Make sure and disabled the "Full Page Caching" option in the Core global config.

Full Page Caching was not disabled.
Brian is saying to disable full page caching.
michael
@michael
02/03/19 05:00:16PM
7,839 posts

Mobile version - no text editor, no actions on button upload something...


Using Jamroom

could you take a screenshot of the page you're talking about, or give a URL. Its unclear how to take the same steps you are taking to reproduce this issue.

Thanks :)
michael
@michael
01/27/19 08:16:20PM
7,839 posts

New Install, Error 500


Installation and Configuration

jrFormSubmit is defined in:
/modules/jrCore/js/jrCore.js

Try re-installing the modules, if you're missing core funcitons something is messed up.
  97