Forum Activity for @michael

michael
@michael
05/28/15 11:36:27PM
7,832 posts

Cacheing media file in player.


Jamroom Developers

DannyA:Additionally, is there any way to ignore the media loading in the page load time?

I can't help with this. It requires too much knowledge of how your system currently works that I don't have. Not sure if its better to not answer or post this answer.
michael
@michael
05/28/15 11:31:00PM
7,832 posts

responsive share widget doesnt work on media details pages


Design and Skin Customization

not sure what a "responsive share widget" is. looking at the code.zip now

--edit--
Looking at the code, this bit would be the first place I would check out:
dr.src = '../js/buttons.js';

Because it is a relative path. Better to use absolute paths like:
dr.src = '{$jamroom_url}/wherever/that/js/file/is/js/buttons.js';

updated by @michael: 05/28/15 11:33:13PM
michael
@michael
05/28/15 11:29:21PM
7,832 posts

Search page


Installation and Configuration

a quick hack would be to type in a search term, see where you land, change the link from opening the modal window to opening the location where you just landed.

eg:
for me i click on search, a modal window opens, i type something and i get redirected to the results at:
MY-SITE.com/search/results/all/1/4

Where there is a search bar to type another search term. change your link from the modal to that location and let them use that instead.
michael
@michael
05/28/15 11:24:00PM
7,832 posts

Caching queries, profiles, and media


Jamroom Developers

Can't notice the difference in speed here. It all looks pretty snappy to me.
michael
@michael
05/28/15 11:22:55PM
7,832 posts

PaintMyPhoto - Ning to Jamroom Migration


Ning To Jamroom

Warm fuzzy feeling. :) Yup, Paul rocks! :)
michael
@michael
05/28/15 11:17:38PM
7,832 posts

module template generate a data csv file


Design and Skin Customization

The thing with creating a module is you can't yet say "computer, make me a list of the info I need" like they do in StarTrek yet.

We're still at the stage of having to step by step walk the computer through each step of the situation in YES/NO question fashion.

So building a module is just like that; You have to go in super incremental steps that the computer can follow.

So while it may seam straight forward to want:
Quote: I have a template built which is generating the data for a CSV data file, but how would I make a link the user can click to download a file they can open in excel?

There is actually quite a few steps that need to be accurately outlined for the server to return the right information.

From your request I think this is your setup:
* data exists in a datastore that you (or your users) have put there via forms on your site.
* you want to retrieve that data from the database. (some of it, all of it, a subset of it).
* you want to format that data into a structure. (need to decide what that structure is going to look like)*
* once the data is structured you want to save it in a format that excel will recognize. (need to know if that is just a normal .csv file or something special)
* you need to create a mechanism to start of this retrieval process.

If you were planning on building a module to do it it would involve walking the server through the steps to get back what you want and format it the way your after.

If its just going to be a one-off thing, it might be easier to go into your database and choose to export the table your after as a .csv file (depending on if the structure is compatible with what your wanting to do.)

ACP -> TOOLS -> DEVELOPER TOOLS -> DATABASE ADMIN -> export -> CSV (check the table your after.)

Its not difficult to build the module your after but it does involve plodding along one step at a time.

Come on StarTrek, hurry up and get here. :)
michael
@michael
05/28/15 10:58:24PM
7,832 posts

jrProfile_disable_sidebar


Using Jamroom

Where to place it exactly depends totally on where you want to disable the side bar.

If you want to disable the sidebars when looking at the forum top page, then put it in:
ACP -> PROFILE -> PROFILE FORUM -> TEMPLATES -> item_index.tpl (at the top)

If your doing adjustments via FTP then instead of that location, copy the:
/modules/jrForum/templates/item_index.tpl

to
/skins/( YOUR SKIN )/jrForum_item_index.tpl

So it overrides the default, then put it in the top of that file.

Same thing for any other location you want to turn off. Identify the template that controls that location, set the {jrProfile_disable_sidebar} function in it so it raises a flag to not include the sidebar.
michael
@michael
05/28/15 07:13:31PM
7,832 posts

Cannot access site after attempting to downgrade


Using Jamroom

I know what the problem is, its that your importing tables are already full with stuff.

Could I have access to PhpMyAdmin on your server please. I'll clear out the tables for the new site builder system so the old system can be imported.
michael
@michael
05/28/15 06:49:04PM
7,832 posts

I've started learning Java


Off Topic

I've always wanted to learn java, but have never found a project that fitted.

One thing you probably already know, but just to point out that 'java' is a totally different language than 'javascript'.

We use javascript here on jamroom a lot, and its useful on the web. Java however needs a different server to run it an is not such a popular language for writing web applications in.

If you're wanting to learn web development techniques then I recommend the O'Reilly publishing company. They write excellent books that get you going.

This is O'Reilly's book on PHP:
http://www.amazon.com/Programming-PHP-Kevin-Tatroe/dp/1449392776/

and they have a few on java too:
http://www.amazon.com/s/ref=nb_sb_noss_2?url=search-alias%3Dstripbooks&field-keywords=oreilly%20java

I like their normal series of books, so for my learning style it would be the "learning java" rather than their 'Head First' series. Their normal series fits with the way I like to learn "Just tell me what I need to know so I can get started."

Their 'Head First' series is more of an "Lets look at the same thing many times via different cartoons and quizes". Im not a fan of that type of teaching.

Good luck with whatever you decide to learn.

--edit--
Java is a great lanugage to let you write software that works on Linux, Mac and Windows with the same code base. PhpStorm (the IDE I use) is written in Java.
updated by @michael: 05/28/15 06:52:02PM
michael
@michael
05/28/15 03:14:03AM
7,832 posts

Profile Layouts


Design and Skin Customization

issue has to do with the max-height inline style on the .item inside the #tab_content2

Got to run now, but will take a longer look tomorrow if you havent fixed it.
  536