Forum Activity for @michael

michael
@michael
02/24/19 06:33:33PM
7,822 posts

new question on re-ordering gallery images


Using Jamroom

Its really interesting that the pen works to drag-n-drop, but it doesnt fire the save function for whatever reason.

It could be an issue with the under-lying javascript system we use (called jQuery) that a future update to that system will fix. So there is a possibility it could come right on its own.
michael
@michael
02/24/19 06:16:05PM
7,822 posts

new question on re-ordering gallery images


Using Jamroom

There are javascript 'things' we can use to trigger 'stuff' ;) eg, one of them is:
onClick
so the issue probably is the javascript that is sending a different code that we'd need to setup the system to listen for. Not impossible, but not high priority and I dont have a drawing pen, so hard for me to build.
michael
@michael
02/23/19 04:40:47PM
7,822 posts

Audio cover art


Using Jamroom

The ID3 settings of the uploaded .mp3 file do not get altered. If you uploaded the file and it had cover-art embedded, then it should still be there when you download the .mp3 file.

The placeholder image that is uploaded to the jamroom site to represent the audio file does not get added to the .mp3 file.

--edit--
There are some other threads about this same issue, maybe some useful info in there:

https://www.jamroom.net/the-jamroom-network/forum/using-jamroom/56426/audio-module-id3-meta-album-art

https://www.jamroom.net/the-jamroom-network/forum/jamroom-developers/33159/how-to-add-cover-image-in-mp3-files

https://www.jamroom.net/the-jamroom-network/forum/using-jamroom/10227/mp3-metadata
updated by @michael: 02/23/19 04:44:48PM
michael
@michael
02/20/19 07:46:17PM
7,822 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,822 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,822 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,822 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,822 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,822 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,822 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
  95