Forum Activity for @ultrajam

SteveX
@ultrajam
12/04/14 02:34:11PM
2,584 posts

FOURM question?


Installation and Configuration

Don't turn on the forum for any quotas apart from your main site quota (probably "admin"). Then provide links to your "admin" profile forum - that's exactly how they do it here on jamroom.net.

Here it's called "the-jamroom-network", yours might be called "admin", "site", or "mark".
updated by @ultrajam: 12/04/14 02:35:50PM
SteveX
@ultrajam
12/04/14 02:30:12PM
2,584 posts

how do I choose a random quota_id from a set?


Using Jamroom

Blimey, I do pity those librarians.

Hopefully I'll be able to explain better in time.
updated by @ultrajam: 12/04/14 02:31:26PM
SteveX
@ultrajam
12/04/14 02:27:53PM
2,584 posts

how do I choose a random quota_id from a set?


Using Jamroom

Paul is right, cacheing is why the content isn’t changing between clicks and page loads.

It might help to understand what the impressive code does, let me give that a shot… Let me know which parts you get, and which you don’t understand - it isn’t complex, but there are a lot of things going on at once, so it is difficult to explain them all at once.

The important parts in the first piece of code you posted are
1. the menu links - when you click them you trigger an onclick event rather than going to a url. In the onclick handler is a call to a jrLoad javascript function (see below).
2. the div at the bottom with an id="sm" - this is where the content will load.

The javascript initialization is separate to the links, it gets things going when the page is downloaded and ready - in does the same job as clicking a link, but it does it for all of them without needing a click to happen.

jrLoad('#top_notes',core_system_url +'/top_notes')

What that does is call the jrLoad function with two parameters (they are in brackets and separated by a comma).

The first param is an id - the target div into which the content will be loaded. ("#" denotes an id, "." would denote a class). You can find something like this in your html:
<div id="top_notes" ... 

The second is a url: http://yoursite.com/top_notes

The jrLoad function calls that url and the (php) response from that url sends back some html content to load into the div ("#top_notes").

That example is triggered in the init function (along with all the others) - it happens when the page loads, and each of the jrLoad functions loads each response into the specified div.

It works in a similar fashion when you click a link in the menu (one with an onclick handler which calls a url via jrLoad, mentioned above). When you click the menu item, the onclick is triggered, it calls a url via the javascript jrLoad function, and places the returned html into the specified div - in the case of the menu links, that is #sm - I presume that is the main content of the page.

Please let me know how much of that you get - I'm trying to work out how to explain something similar to a bunch of librarians, so your feedback will be helpful to them, and to me.
SteveX
@ultrajam
12/04/14 01:20:04PM
2,584 posts

How Do I Modify Code - Featuring by Quota - Template Copying


Using Jamroom

The issues are usually completely separate.

The confusion is not usually with the person answering support requests. But you can always confuse them by mixing up all of your confusion into one bundle. (actually, they usually just stop reading in order to prevent themselves from becoming confused).

It isn't specifically a programmer mindset. I imagine a mechanic in a garage deals with incoming information in a similar fashion. Just like a personal shopper, a soldier, a bus driver, a vicar... :)

It's not always possible, but if someone asking a whole bunch of questions can think about it and divide them up just a little bit, then that helps everyone involved.

When asking for help, often it's best to think about it a bit, break it down a bit, and formulate your request as best you can. That process is very helpful to you as well as the recipient of the ask. Maybe a bit like prayer (although as you can probably tell, that is outside my belief system so I'm not really qualified to comment on that).
SteveX
@ultrajam
12/04/14 12:52:21PM
2,584 posts

Search Error


Using Jamroom

The efficacy of Paul! ;)
SteveX
@ultrajam
12/03/14 05:58:51PM
2,584 posts

Search Error


Using Jamroom

Agreed, an integrity check can't fix everything, but is generally worth the effort at least once a day.

Thanks for sharing your article Ken, glad you are making progress with that. Formulation of a search term is similar. I am definitely one to mix metaphors, so probably best to leave it at that.
SteveX
@ultrajam
12/03/14 02:23:46PM
2,584 posts

Search Error


Using Jamroom

The power of prayer might not be all it's cracked up to be? No offence intended.
SteveX
@ultrajam
11/26/14 02:34:08PM
2,584 posts

Modern style skin needed


Design and Skin Customization

ericdion:
i love you full :)

It's heartwarming that you created a new unique login, especially to say that.
  130