Recent Topics

1 Jun 18, 2017 23:27    

Is it possible to enable / disable this?

/**
 * Display a voting form
 *
 * @param array Params
 */
function display_voting_form( $params = array() )

2 Jun 19, 2017 00:13

Actually I found it can be set in Skin Settings. FYI the colorbox theme is hideous

colorbox-bootstrap.css

vs

colorbox.css

and the only way to change it is to hack it?

case 'colorbox_css_file':
						// CSS file of colorbox, @see require_js_helper( 'colorbox' )
						return 'colorbox-bootstrap.min.css';

3 Jun 19, 2017 00:16

					case 'colorbox_css_file':
						// CSS file of colorbox, @see require_js_helper( 'colorbox' )
						return 'colorbox/colorbox.css';

4 Jun 19, 2017 00:21

is there anyway to use "nickname" (preferred name) instead of the login here? Perhaps a setting for skin settings?

5 Jun 24, 2017 20:11

@achillis you can include this section of code into the _skin.class.php file of your skin:

	function get_template( $name )
	{
		switch( $name )
		{
		...
		...
			case 'colorbox_css_file':
				return 'colorbox/colorbox.css';

Regarding your latest comment, I can't even get the title of the image to be displayed in the zoom, so I don't fully understand what do you need, or how you put the username in that place. Please explain a bit more.

Regards!

6 Jun 24, 2017 22:17

okay, thank you for that, will get back to you.

7 Jun 25, 2017 03:21

To override returning user login since the $param can't be changed anywhere else

$User->login = $User->get_preferred_name();
					
					
echo $User->get_avatar_imgtag( $params['thumb_size'], $params['img_shape'].' img-responsive img-center', '', $lightbox, '', 'user', $tag_size );


Form is loading...