By muhanad on Saturday, 09 November 2013
Posted in General Issues
Replies 14
Likes 0
Views 1.3K
Votes 0
Hello Support,

1- as attached, there is an aligning issue of the boxes of (votes,replies,views with rokettheme template )

2- and i was wondering how can i switch off the online/offline user indicator ..

3- how can i remove the logout button from easydiscuss welcome


Regards,
Hello Muhanad,

I am really sorry for the delay of this reply as it is a weekend for us here.
I have checked your site and tried to remove this CSS code from your template file.
JoomlaFolder/templates/rt_afterburner2/css/style.css
LINE 50


#rt-mainbody-surround .rt-container h2 { margin-bottom: 15px; margin-top: 0; line-height: 40px; border-bottom: 6px solid #EFEFEF; font-size: 18px !important; text-align:left;}

REMOVE border-bottom: 6px solid #EFEFEF;

#rt-mainbody-surround .rt-container h2 { margin-bottom: 15px; margin-top: 0; line-height: 40px; font-size: 18px !important; text-align:left;}


But when i tried to remove this CSS code for you, it show out this error "Can't open that file: Permission denied" , could you mind you remove it yourself? Or you can give us permission to help you fix it? Please advise.

Best Regards
Arlex
·
Saturday, 09 November 2013 14:41
·
0 Likes
·
0 Votes
·
0 Comments
·
Hello Muhanad,

Regarding your second question :
Unfortunately we do not have this setting to switch off, if you really don't want this online/offline indicator appear on your page, we need to hack in your code and remove it (also need your permission to do that).

Regarding your third question :
Do you mean your right side in your discuss page that logout button right ? see screenshot below :
>> http://screencast.com/t/iigbIq5YhW

Best Regards
Arlex
·
Saturday, 09 November 2013 14:54
·
0 Likes
·
0 Votes
·
0 Comments
·
Hello Arlex

Yes i really want it removed since i think it valiates user privacy since he doesn't have control over it. Maybe tell me which code to remove so i document it in order to apply it again when i upgrade easydiscuss?

yes im talking about this logout button

Thanks
·
Saturday, 09 November 2013 17:03
·
0 Likes
·
0 Votes
·
0 Comments
·
Hello Muhanad,

I am really sorry for the delay of this reply as it is a weekend for us here.
Regarding your 2nd problem :
You can applied some hack in this file JoomlaFolder\components\com_easydiscuss\themes\simplistic\online.php
LINE 15 until 31

<?php if( $user->id ){ ?>
<?php

$user->load( $user->id );
?>
<?php if( $user->isOnline() ){ ?>
<div class="discuss-online-status mt-5">
<i class="icon-ed-status-online" rel="ed-tooltip" data-placement="top" data-original-title="<?php echo JText::_( 'COM_EASYDISCUSS_ONLINE_SINCE' );?> <?php echo $user->getLastOnline( 'true' ); ?>"></i>
<?php echo JText::_( 'COM_EASYDISCUSS_ONLINE' );?>
</div>
<?php }else{ ?>
<div class="discuss-offline-status mt-5">
<i class="icon-ed-status-offline" rel="ed-tooltip" data-placement="top" data-original-title="<?php echo JText::_( 'COM_EASYDISCUSS_OFFLINE' );?>"></i>
<?php echo JText::_( 'COM_EASYDISCUSS_OFFLINE' );?>
</div>
<?php } ?>
<?php } ?>


Replace to
 
<?php if( $user->id ){ ?>
<?php

$user->load( $user->id );
?>
<?php if( $user->isOnline() ){ ?>

<?php }else{ ?>

<?php } ?>
<?php } ?>


Regarding your third question :
JoomlaFolder\modules\mod_easydiscuss_welcome\tmpl\default.php
REMOVE THIS LINE 108 until 110

<li>
<i class="ico"></i><a class="discuss-logout" href="<?php echo JRoute::_('index.php?option='.$userComponent->option.'&task='.$userComponent->logout. '&' . DiscussHelper::getToken() . '=1&return='.$return);?>"><span><?php echo JText::_( 'MOD_EASYDISCUSS_WELCOME_SIGN_OUT' );?></span></a>
</li>


Hope this help.


Best Regards
Arlex
·
Saturday, 09 November 2013 17:17
·
0 Likes
·
0 Votes
·
0 Comments
·
many thanks for the fix.

is there away to use override for those changes with easydiscuss?
·
Saturday, 09 November 2013 19:24
·
0 Likes
·
0 Votes
·
0 Comments
·
Hello Muhanad,

You're welcome. Unfortunately that is no a way to override for those customize file with your EasyDiscuss, actually you can follow my instruction and go to those file remove the code. Please take a note when you update to latest version of EasyDiscuss before back up those file you make some modification just now, because when you update the EasyDiscuss, it will override all your customize file to be original EasyDiscuss.
Hope this help.

Best Regards
Arlex
·
Saturday, 09 November 2013 21:24
·
0 Likes
·
0 Votes
·
0 Comments
·
Hello Arlex,

I tried applying the same code to remove the online status for the new version but for some reason it's messing the page up. anything has changed in this area?
·
Tuesday, 17 December 2013 05:28
·
0 Likes
·
0 Votes
·
0 Comments
·
hey muhanad,
perhaps I can help out here. there are actual multiple ways to get rid of the online status: the first one would be, as arlex tried, to modify the online.php file itself. the second one would be to remove the include line in the template files which is helpful when you only want to remove the online status at some sites but not everywhere. also you can use overrides for sure, you just have to put the files into your template folder/html/com_easydiscuss

but for here the very simple solution would be to hide the status via css. to do so all you need is to add one single line to your stylesheet:


span.discuss-online-status {display:none;}


that's it - hope that helps
·
Tuesday, 17 December 2013 05:44
·
0 Likes
·
0 Votes
·
0 Comments
·
Hello Alex,

Thanks for sharing.
·
Tuesday, 17 December 2013 10:57
·
0 Likes
·
0 Votes
·
0 Comments
·
Hello Alex,

Thanks for sharing, i have added the css code to sytle.css and to my custom template css file but it didn't work for some reason .. any ideas?


Regards,
·
Saturday, 21 December 2013 02:00
·
0 Likes
·
0 Votes
·
0 Comments
·
hey muhanad,
it should definately work as I'm using the same on my site but however, perhaps depending on the place you put this in (I don't know your site's url to check that out) it might have been overwritten or the old styles are cached. to make sure it works in any way you can add !important at the end (before the closing ";" ) of the line and then clear your cache as well. I usually avoid using "!important" whenever possible because it's not good practice for good designers to spam the code with it, anyway...
·
Saturday, 21 December 2013 05:22
·
0 Likes
·
0 Votes
·
0 Comments
·
Hello Muhanad,

Thanks Alex sharing on this
I am really sorry for the delay of this reply as it is a weekend for us here.
Actually that latest version of EasyDiscuss already have this option from backend setting, do you mean you want to switch off that online status function right?
I already help you turn off that option from your backend -> http://screencast.com/t/83ZuvOnSco , Please have a check.
·
Saturday, 21 December 2013 15:43
·
0 Likes
·
0 Votes
·
0 Comments
·
Hello,

I would also like to have the online/offline feature disabled in Easy Discuss. I give permission to do this--please let me know if you will need credentials.

Thanks,
Esther

Arlex Wong wrote:

Regarding your second question :
Unfortunately we do not have this setting to switch off, if you really don't want this online/offline indicator appear on your page, we need to hack in your code and remove it (also need your permission to do that).
·
Tuesday, 23 September 2014 20:49
·
0 Likes
·
0 Votes
·
0 Comments
·
Hello Esther,

If you want us to perform this hacks for you, kindly please start a new thread and provide us with the back end and FTP access to your site and we'll look into this for you
·
Tuesday, 23 September 2014 23:52
·
0 Likes
·
0 Votes
·
0 Comments
·
View Full Post