By Paul Murray on Monday, 31 March 2014
Replies 13
Likes 0
Views 1.1K
Votes 0
Hello Support

I am wondering if there is a way to do something to the links on the following page so that they open in a pop up window on top of the finalBUG site.

http://finalbug.net/groups/item/2-bughub

e.g. as of today the following links:

http://provideocoalition.com/cmg_keyframes/story/adobe-premiere-pro-and-multiple-gpus
http://nofilmschool.com/2014/03/meet-2-desk-supercomputers-nvidia-amd-workstation-gpu-graphics-cards/
http://www.fcp.co/final-cut-pro/news/1380-larry-jordan-talks-nab-2014-and-what-he-would-like-to-see-in-final-cut-pro-x?fb_action_ids=10202690589017513&fb_action_types=og.comments

Could all open in a pop up window!

I am using JCE Media manager and the JCE people are telling me that I would need to enter the following:

<a href="/image.jpg" class="jcepopup">Link</a>

Somewhere?

thanks

Paul
<a href="/image.jpg" class="jcepopup" data-mediabox="width[1280];height[720]">Link</a>

This is what I need to enter. No idea what happened to the link above

thanks

Paul
·
Monday, 31 March 2014 22:23
·
0 Likes
·
0 Votes
·
0 Comments
·
here we go again. take 3

<a href="/image.jpg" class="jcepopup" data-mediabox="width[1280];height[720]">Link</a>
·
Monday, 31 March 2014 22:24
·
0 Likes
·
0 Votes
·
0 Comments
·
take 4

***<a href="/image.jpg" class="jcepopup" data-mediabox="width[1280];height[720]">Link</a>***
·
Monday, 31 March 2014 22:25
·
0 Likes
·
0 Votes
·
0 Comments
·
take 5

a href="/image.jpg" class="jcepopup" data-mediabox="width[1280];height[720]">Link</a
·
Monday, 31 March 2014 22:25
·
0 Likes
·
0 Votes
·
0 Comments
·
phew with those little arrow brackets before and after the above code
·
Monday, 31 March 2014 22:26
·
0 Likes
·
0 Votes
·
0 Comments
·
Hello Paul,

You can customize the behavior of the links app by editing the file /media/com_easysocial/apps/group/links/themes/default/streams/preview.create.php and /media/com_easysocial/apps/group/links/themes/default/streams/title.create.php
·
Monday, 31 March 2014 22:45
·
0 Likes
·
0 Votes
·
0 Comments
·
Hello support

I have looked at the above listed files but am frankly stumped. Could you please advise where I need to insert the code listed above, including those little arrowed brackets that I had to leave out at the beginning and end as it created a link!!! I assume that. I guess that the first one takes effect when I view a link and the second one takes place when I create a link. But I am just guessing!!!

thanks

Paul
·
Tuesday, 01 April 2014 17:13
·
0 Likes
·
0 Votes
·
0 Comments
·
Hello Paul,

You need to alter the codes below:


<a target="_blank" href="<?php echo $assets->get( 'link' );?>"<?php if ( $params->get( 'stream_link_nofollow' , false ) ) { ?> rel="nofollow"<?php } ?>><?php echo $assets->get( 'title' ); ?></a>
·
Tuesday, 01 April 2014 23:34
·
0 Likes
·
0 Votes
·
0 Comments
·
Hello Support

The first file (title.create.php) looks like this:

<?php
/**
* @package EasySocial
* @copyright Copyright (C) 2010 - 2013 Stack Ideas Sdn Bhd. All rights reserved.
* @license GNU/GPL, see LICENSE.php
* EasySocial is free software. This version may have been modified pursuant
* to the GNU General Public License, and as distributed it includes or
* is derivative of works licensed under the GNU General Public License or
* other free or open source software licenses.
* See COPYRIGHT.php for copyright notices and details.
*/
defined( '_JEXEC' ) or die( 'Unauthorized Access' );
?>
<?php echo $this->html('html.user', $actor->id);?> <i class="ies-arrow-right"></i> <?php echo $this->html('html.group', $group->id);?>


So I am guessing that there is nothing in there that I need to change?!?!

For the second (preview.create.php) file:

<?php
/**
* @package EasySocial
* @copyright Copyright (C) 2010 - 2013 Stack Ideas Sdn Bhd. All rights reserved.
* @license GNU/GPL, see LICENSE.php
* EasySocial is free software. This version may have been modified pursuant
* to the GNU General Public License, and as distributed it includes or
* is derivative of works licensed under the GNU General Public License or
* other free or open source software licenses.
* See COPYRIGHT.php for copyright notices and details.
*/
defined( '_JEXEC' ) or die( 'Unauthorized Access' );
?>
<div class="stream-links">
<h4 class="content-title<?php echo $assets->get('image') || $assets->get('content') ? ' has-info' : '';?>">
<a target="_blank" class="jcepopup noicon" data-mediabox="width[1280];height[720]" href="/<?php echo $assets->get( 'link' );?>"<?php if ( $params->get( 'stream_link_nofollow' , false ) ) { ?> rel="nofollow"<?php } ?>><?php echo $assets->get( 'title' ); ?></a>
</h4>

<div class="links-content">
<div class="es-stream-preview fd-small">
<?php if( $params->get( 'stream_thumbnail' , true ) && $assets->get( 'image' ) ){ ?>
<?php if( isset( $oembed->html ) ){ ?>

<?php if( !isset( $oembed->thumbnail ) ){ ?>
<?php echo $oembed->html; ?>
<?php } else { ?>
<a href="javascript:void(0);" class="stream-preview-image" data-es-links-embed-item data-es-stream-embed-player="<?php echo $this->html( 'string.escape' , $oembed->html );?>">
<img src="<?php echo $oembed->thumbnail;?>" />
<i class="icon-es-video-play"></i>
</a>
<?php } ?>

<?php } else { ?>
<a href="<?php echo $assets->get( 'link' );?>" class="stream-preview-image" target="_blank"<?php if ( $params->get( 'stream_link_nofollow' , false ) ) { ?> rel="nofollow"<?php } ?>>
<img src="<?php echo $assets->get( 'image' );?>" />
</a>
<?php } ?>
<?php } ?>

<?php echo $assets->get( 'content' , '' ); ?>
</div>
</div>
</div>


All I did was search for this:

    <a target="_blank" href="/<?php echo $assets->get( 'link' );?>"<?php if ( $params->get( 'stream_link_nofollow' , false ) ) { ?> rel="nofollow"<?php } ?>><?php echo $assets->get( 'title' ); ?></a>

Check out the links below,

http://facebook.com/StackIdeas

http://stackideas.com/support.html
http://stackideas.com/docs.html
Active Subscriptions

Your Reply

Bold
Italic
Underline
---------------
Link
Picture
Video
---------------
Bulleted list
Numeric list
List item
---------------
Quotes
Code
---------------
Happy
Smile
Surprised
Tongue
Unhappy
Wink

Site Details
Attachments
URL

Site URL :
Site Username:
Site Password:
FTP URL:
FTP Username:
FTP Password:
Optional Information:


And try and replace it with this:

<a target="_blank" class="jcepopup noicon" data-mediabox="width[1280];height[720]" href="/<?php echo $assets->get( 'link' );?>"<?php if ( $params->get( 'stream_link_nofollow' , false ) ) { ?> rel="nofollow"<?php } ?>><?php echo $assets->get( 'title' ); ?></a>


I am attaching a copy of the file in the hope that someone could take a look at it for me.

thanks

Paul
·
Wednesday, 02 April 2014 17:04
·
0 Likes
·
0 Votes
·
0 Comments
·
Hi Support

I suspect that you guys are up to your eyes as always and I do not wish to be impatient but I was wondering if some one could help me get the last couple of steps in the above implemented. Whilst my Site is not as perfect as I would like it to be. This is for me the last major thing that holds me back from going all out and doing a relaunch…

Any help greatly appreciated.

thanks

Paul
·
Thursday, 03 April 2014 22:32
·
0 Likes
·
0 Votes
·
0 Comments
·
Hello Paul,

Kindly please understand that customizations are not included in our support coverage and we are only trying our best to assist you out of good faith. I would sincerely appreciate it that you give us some time rather than rushing us for something that is not even within our support policy.

Anyway, I have added the necessary codes for you in the file /media/com_easysocial/apps/group/links/themes/default/streams/preview.create.php . You can see it appearing as the screen shot here, http://screencast.com/t/Zghoknv9G82 . However, I believe you also need to get JCE javascripts to load on the page, otherwise the popup wouldn't kick in.
·
Friday, 04 April 2014 01:36
·
0 Likes
·
0 Votes
·
0 Comments
·
Hi Mark

Thank you very much. You are a star.

best

Paul
·
Friday, 04 April 2014 01:50
·
0 Likes
·
0 Votes
·
0 Comments
·
You are most welcome
·
Friday, 04 April 2014 02:44
·
0 Likes
·
0 Votes
·
0 Comments
·
View Full Post