Forum Activity for @michael

michael
@michael
11/01/16 11:27:24PM
7,826 posts

How do you backup a skin?


Using Jamroom

Depends on how you are developing your skin. If you are doing it via the file system and adjusting files via SFTP in the /skins/(YOUR SKIN)/ directory then there are version control systems that you can use to keep track of changes.

If you are adjusting the template via the ACP via the TEMPLATES -> template.tpl -> MODIFY then there are no backups unless you've copy+pasted and saved the contents somewhere.

You could revert the server to a previous state from here:
https://www.jamroom.net/perrie/hosting/backup_browser/34/id=344

But thats not just the skins, its the data too.
michael
@michael
11/01/16 09:27:58PM
7,826 posts

Reversing the order of replies to forum discussion (newest first)


Using Jamroom

actually, that will only reverse the order of the items on the page, if there's more than all of the posts on the page thats not going to work. Will only be any good if you are NOT using pagination.
michael
@michael
11/01/16 09:25:03PM
7,826 posts

Reversing the order of replies to forum discussion (newest first)


Using Jamroom

in your Forum item_detail.tpl page you can reverse the output order of the items by using the array_reverse() function

ACP -> MODULES -> PROFILE -> FORUM -> TEMPLATES -> item_detail.tpl -> MODIFY

locate the section that starts the {foreach loop for all of the forum posts. Around line 40 ish. Probably looks like this:
 <div class="block_content">
    {foreach $_items as $_itm}
.......

flip the order of that array by adding this one line:
 <div class="block_content">
    {$_items = array_reverse($_items)}
    {foreach $_items as $_itm}
.......
michael
@michael
11/01/16 06:47:06PM
7,826 posts

Main picture representing a gallery


Design and Skin Customization

Think I understand. You're not getting why the whole gallery is being shown when you just want the images. The reason is the gallery modules item_list.tpl template is setup to show the full gallery.

You want just the single image, so you need a different row template. The correct results are being returned.

Try this:
{capture assign="row_template"}
{literal}
{if is_array($_items)}
 {foreach $_items as $item}
  {jrCore_module_function function="jrImage_display" module="jrGallery" type="gallery_image" item_id=$item._item_id size="large" alt=$item.gallery_alt_text}</a>
 {/foreach}
{/if}
{/literal}
{/capture}

{jrCore_list module="jrGallery" search="gallery_main = on" template=$row_template}
michael
@michael
11/01/16 06:31:36PM
7,826 posts

Main picture representing a gallery


Design and Skin Customization

Need instructions/screenshot of how you've set it up then. Not understanding.
michael
@michael
11/01/16 05:45:09PM
7,826 posts

Main picture representing a gallery


Design and Skin Customization

So set 3 images with that set to 'on', then make the simplest request you can make
{jrCore_list module="jrGallery" search="gallery_main = on"}

You should only get those 3 images back.
michael
@michael
10/31/16 07:18:15PM
7,826 posts

Can a blog ever become an event


Installation and Configuration

Its not something that would be too difficult to build as a module, its just where do you draw the line between being able to build a module and building a module and releasing it.

Can you build a module that moves blogs to events: yes, will many people use it, probably not.

Can you build a module that moves images from the gallery to guestbook posts: yes, but will many people use it, no.

Just because we wouldn't build it as a release module, doesn't mean you shouldn't if its useful to you.
michael
@michael
10/31/16 07:13:34PM
7,826 posts

Main picture representing a gallery


Design and Skin Customization

its going to be search="(whatever you called the field) = on"
michael
@michael
10/30/16 05:42:50PM
7,826 posts

page not found when clicking more info on marketplace items


Installation and Configuration

The issue is you've got the beta channel active, so that link is trying to take you to the youtube module in the marketplace, but the marketplace does not show private channel items.

There is an item here:
https://www.jamroom.net/the-jamroom-network/networkmarket/371/youtube

But its not viewable to visitors, so a 404 Not Found shows instead.
michael
@michael
10/30/16 05:38:30PM
7,826 posts

PIN delivery by email


Using Jamroom

You can sell files with the Files module.

I don't understand where the pins are generated and selling a file would be selling everyone the same pin so it seams weird.

Seams like the obvious way would be to sell send them nothing when they purchase then email them their PIN when you get the receipt, unless you have some way to auto-generate individual pins when an order is made.

If you needed that you'd need a custom module.
  321