Forum Activity for @michael

michael
@michael
06/06/16 12:41:59AM
7,826 posts

Foxy Cart Site Integration - Page Code


Installation and Configuration

My guess would be check the settings at:
ACP -> ECOMMERCE -> FOXYCART -> GLOBAL CONFIG.

especially the values at:
* store sub domain url
* store sub domain.

Check the help ? for info on each.

--edit--
if that all looks right, paste the code you are using in here for us to see.
updated by @michael: 06/06/16 12:42:53AM
michael
@michael
06/05/16 06:32:07PM
7,826 posts

Javascript Functions


Jamroom Developers

I found most of the interesting stuff from PHPSTORM -> HELP -> PRODUCTIVITY GUIDE

Then click the USED colum and look through stuff that are labeled "never" been used.
michael
@michael
06/05/16 06:05:21PM
7,826 posts

Researcher Privileges


Genosis

no. new users are created when a person uses the signup form and confirms their address.

New profiles can be created by power users though. Then the admin user can link any new user to that.

Docs: "Glossary: Power User"
https://www.jamroom.net/the-jamroom-network/documentation/getting-started/2568/glossary#power-user

--edit--
Admin can create new users and send them a notification:
http://site.com/user/create

updated by @michael: 06/05/16 06:06:41PM
michael
@michael
06/05/16 06:02:02PM
7,826 posts

Tag Cloud


Ning To Jamroom

Isleander:.....but would like it to show on the Home page - as in the demo......
The code you need is:
{jrTags_cloud height="300"}
it goes in your index.tpl file for your skin.

-----

Isleander:.....My question to Michael was I don't see
Quote: ...the template "item_details.tpl" as stated in the documentation; is "item_lists.tpl" the same template, by a different name?

No.

Docs: "Module File System Structure"
https://www.jamroom.net/the-jamroom-network/documentation/development/789/module-file-system-structure

Each module has its own structure, some use item_detail.tpl, some don't.
michael
@michael
06/05/16 05:38:51PM
7,826 posts

player invisible buttons


Using Jamroom

Could be anything. The song shows a length of 0:00 so "no song provided" could be the issue. Could be a CSS issue. Could be some other added javascript blocking the player loading issue. Could be ............

* Review any changes you have made recently. Try reverting them to see if it fixes it.
* Try it on a default skin, see if it works there.

Need to narrow down to what is causing it, then you can start to look for a fix.
michael
@michael
06/05/16 05:11:23PM
7,826 posts

Javascript Functions


Jamroom Developers

yeah me too. fantastic program. Tons of stuff to keep finding. Saw someone using it in a video the other day and though "ok, they haven't found the auto-complete html yet :) "

in an html document if you write

div.someclass(then hit tab) it will produce
<div class="someclass"></div>
or
table>tr.someclass>td.odd(then hit tab) it will produce
<table>
    <tr class="someclass">
        <td class="odd"></td>
    </tr>
</table>

excellent piece of software.
michael
@michael
06/05/16 12:00:54AM
7,826 posts

Tag Cloud


Ning To Jamroom

Depends on what skin your using. The docs are here for more explanation:

Docs: "Item Tags"
https://www.jamroom.net/the-jamroom-network/documentation/modules/95/item-tags

Whichever skin your using will need to have one of the {jrTag.......... functions in a template somewhere for anything to be displayed.
michael
@michael
06/04/16 11:58:34PM
7,826 posts

Javascript Functions


Jamroom Developers

I don't remember all the code, I just go look in the /js/ directory for a file called the name of the module, then use alt+shift+- (in phpstorm) to shrink all the functions down to their explanation and name, then expand ones that look interesting.

Same thing for modules, repeat process for the include.php file to see what functions it provides. :)
michael
@michael
06/04/16 12:05:03AM
7,826 posts

Javascript Functions


Jamroom Developers

from /modules/jrCore/js/jrCore.js these ones are useful:

jrCore_set_csrf_cookie() // useful for ajax submission use in conjunction with the php function jrCore_validate_location_url(); to make sure the location sending the data is one you want sending the data. prevent CSRF attacks


jrSetCookie // sets a cookie
jrReadCookie // read a cookie
jrEraseCookie // erase a cookie

There are probably other ones provided by other modules, depends on what you're interested in doing.
updated by @michael: 06/04/16 12:06:04AM
michael
@michael
06/03/16 08:53:11PM
7,826 posts

Jquery in TPL Help


Using Jamroom

The only time where wrapping the whole block in a {literal}{/literal} is a bad idea is when you have javascript and smarty mixed.

Like this:
function someFunction(){
   var a = '{$profile_name}';
   alert(a);
}

If you wrapped that in a literal

{literal}
function someFunction(){
   var a = '{$profile_name}';
   alert(a);
}
{/literal}
instead of getting an alert with 'dazed' the alert would read '{$profile_name}' because smarty couldn't do the replacement.

-- edit --
jamroom uses $ for jquery. so make sure you're not introducing another copy of jquery along with your scripts. you only need it once per page.

and try replacing to $


{literal}<script>
		$(function() {

			$('#audio4_html5_white').audio4_html5({


updated by @michael: 06/03/16 08:56:18PM
  390