Forum Activity for @michael

michael
@michael
06/20/14 02:02:59AM
7,839 posts

How change Top Videos


Using Jamroom

It depends on what skin your using as to where you will find the code.

If you are using the jrElastic skin then look in the:
index.tpl file via either the template editor in the ACP or changing the .tpl file in the file system.

The code for a list looks like this:
{jrCore_list module="jrVideo" order_by="_created desc" template="index_list_videos.tpl" limit="5" require_image="video_image"}

That piece of code reads "Get me a list of the jrVideo modules items. order them by the date they were created with the newest first. only get me 5 and make sure they each have an image. I want to customize how the output looks, so check the index_list_videos.tpl file for layout instructions."

There is more info on using the jrCore_list function here:

"{jrCore_list}"
http://www.jamroom.net/the-jamroom-network/documentation/development/89/jrcore-list

You will want to change it to something like:
{jrCore_list module="jrYouTube" order_by="_created desc" template="index_list_youtube.tpl" limit="5" require_image="video_image"}

That file index_list_youtube.tpl probably doesnt exist, so you will need to create that if you want a custom layout. If you leave it out, you get the default layout.
michael
@michael
06/20/14 12:05:16AM
7,839 posts

Table Tag Removed After Saving


Using Jamroom

If i add:
style="text-align:center;"
to the TD then it remains centered.
michael
@michael
06/19/14 11:31:15PM
7,839 posts

Table Tag Removed After Saving


Using Jamroom

add:
,table,tr,td
to the quotas and your table will be allowed in the page.
michael
@michael
06/19/14 11:27:30PM
7,839 posts

Table Tag Removed After Saving


Using Jamroom

why'd you delete the last post. Now I have to type my response over again. :(

Check that you have table in the "allowed HTML tags" for that users quota.

Your-Site.com/core/admin/quota
michael
@michael
06/19/14 11:21:33PM
7,839 posts

Invalid Activation Key!


Jamroom Developers

Please provide steps to replicate the situation. Here is a screenshot of it working both with skip_triggers and without. You can see both sets of results contain user information.
screenshot_skip_triggers.png screenshot_skip_triggers.png - 149KB

updated by @michael: 06/19/14 11:21:50PM
michael
@michael
06/19/14 10:59:21PM
7,839 posts

Invalid Activation Key!


Jamroom Developers

So the account validation key is not working because the account hasn't been created... makes sense.

Which one of your custom modules is stopping the account from being created. Turn that one off.

sbhadauria:Above mentioned query is not working, when I use "'skip_triggers' => true" in above query then I get the result.

The more information you can give makes it easier to help you. The goals your trying to achieve.

If you ask cryptic questions they tend to get ignored.
    $_params = array(
        'search'        => array(
            "user_validate = 1fc5a6305ae33377ebd579cba4042959"
        ),
        'privacy_check' => false,
        'skip_triggers' => true
    );
    $_rt = jrCore_db_search_items('jrUser', $_params);
Works for me.

sbhadauria:what is the issue behind this and how can I change core file ?
Detail what you think the issue is, then how to reproduce it, then outline what you want to change.
michael
@michael
06/19/14 01:18:38AM
7,839 posts

jamroom datepicker


Jamroom Developers

The datepicker is a form element. There is no function to use it in a template.

to use it in a form see how its done in the jrBlog module
    // Blog Publish Date
    $_tmp = array(
        'name'     => 'blog_publish_date',
        'label'    => 22,
        'help'     => 23,
        'type'     => 'datetime',
        'validate' => 'date',
        'required' => false
    );
    jrCore_form_field_create($_tmp);
michael
@michael
06/18/14 03:19:45AM
7,839 posts

create video error


Jamroom Developers

Love your avatar @serge-sx :) cute wombat.
michael
@michael
06/18/14 02:31:21AM
7,839 posts

create video error


Jamroom Developers

Have you seen the step-by-step instructions for setting up a server on Digital Ocean? Those are the ones I followed:

"High Performance Jamroom on Digital Ocean"
https://www.jamroom.net/the-jamroom-network/blog/23/high-performance-jamroom-on-digitalocean

Php version
$ php -v
PHP 5.5.9-1ubuntu4 (cli) (built: Apr  9 2014 17:11:57) 
Copyright (c) 1997-2014 The PHP Group
Zend Engine v2.5.0, Copyright (c) 1998-2014 Zend Technologies
    with Zend OPcache v7.0.3, Copyright (c) 1999-2014, by Zend Technologies

Apache version:
$ apache2 -v
Server version: Apache/2.4.7 (Ubuntu)
Server built:   Apr  3 2014 12:20:28

I installed on top of ubuntu server 14.04 LTS (64bit)
  685