By Gustav Belin on Friday, 30 May 2014
Posted in General Issues
Replies 18
Likes 0
Views 531
Votes 0
I applied a script in my website and it crashed the menu in easyblog

Please have a look at my webite:

www.jagarbloggen.se

What can i do to get i back?

Best Regards!

Gustav
Currently i have this code in ''preset1''

#ezblog-dashboard .permalink-editor, #ezblog-dashboard .permalink-editor strong {
display: none;
}

#ezblog-dashboard .ui-sectionsep {
display: none;
}

#eblog-wrapper .reset-ul, #eblog-wrapper .reset-ul > li {
display: none;
}
#ezblog-head {
background: #fff;
padding: 12px;
}
·
Friday, 30 May 2014 17:08
·
0 Likes
·
0 Votes
·
0 Comments
·
Hello Gustav,

Could you provide your joomla backend access as well as your FTP access in order for us to rectify your problem?

Regards
Kheng Wei
·
Friday, 30 May 2014 18:06
·
0 Likes
·
0 Votes
·
0 Comments
·
xxxxx [see site details]
·
Friday, 30 May 2014 18:11
·
0 Likes
·
0 Votes
·
0 Comments
·
Hello Gustav,

The login credential provided is incorrect shown here in this screenshot http://screencast.com/t/fx6jBTtppDPu

Regards
Kheng Wei
·
Friday, 30 May 2014 18:38
·
0 Likes
·
0 Votes
·
0 Comments
·
Hello Gustav,

From my inspection, I figured out that your Dashboard toolbar is missing and it was caused by this line of CSS:
#eblog-wrapper .reset-ul, #eblog-wrapper .reset-ul > li {
display: none;
}

We strongly advice you to remove this hack as this .reset-ul class was used heavily in our software and you might be missing a lot of features and functions.

Please let us know if you need further assistance, hope this will help, please advice.

Regards
Kheng Wei
·
Friday, 30 May 2014 18:50
·
0 Likes
·
0 Votes
·
0 Comments
·
I deleted the code, but now this appears again:

Please see attached photo.
·
Friday, 30 May 2014 19:06
·
0 Likes
·
0 Votes
·
0 Comments
·
Currently my code look like this:

#ezblog-dashboard .permalink-editor, #ezblog-dashboard .permalink-editor strong {
display: none;
}

}

#eblog-wrapper .reset-ul, #eblog-wrapper .reset-ul > li {
display: none;
}
#ezblog-head {
background: #fff;
padding: 12px;
}
·
Friday, 30 May 2014 19:07
·
0 Likes
·
0 Votes
·
0 Comments
·
I had a ''thread'' about this for some days ago

Please have a look

http://stackideas.com/forums/publishing-options-removing
·
Friday, 30 May 2014 19:08
·
0 Likes
·
0 Votes
·
0 Comments
·
Please hear with your college Arlex Wong he has help me with the previous coding.

Best Regards!

Gustav
·
Friday, 30 May 2014 19:13
·
0 Likes
·
0 Votes
·
0 Comments
·
#eblog-wrapper .post-tags {

background: #fff;

}



#ezblog-section {

background: #fff;

}

#ezblog-dashboard .permalink-editor, #ezblog-dashboard .permalink-editor strong {
display: none;
}

#ezblog-dashboard .ui-sectionsep {
display: none;
}

#eblog-wrapper .reset-ul, #eblog-wrapper .reset-ul > li {
display: none;
}

#eblog-wrapper .reset-ul, #eblog-wrapper .reset-ul > li {
display: none;
}


-------------

That is what my code look like right now, if i delete:

#eblog-wrapper .reset-ul, #eblog-wrapper .reset-ul > li {
display: none;
}

As you recommended then the permalink section and publishing option. show up again.
·
Friday, 30 May 2014 19:31
·
0 Likes
·
0 Votes
·
0 Comments
·
So i changed it to :


#ezblog-dashboard .permalink-editor, #ezblog-dashboard .permalink-editor strong {
display: none;
}

#ezblog-dashboard .ui-sectionsep {
display: none;
}

#eblog-wrapper .list-form.reset-ul{
display: none;
}

#ezblog-head {
background: #fff;
padding: 12px;
}

#eblog-wrapper .post-tags {

background: #fff;

}



#ezblog-section {

background: #fff;

}


And it seems to work now please have a look for yourself and see if you can find any problems.

www.jagarbloggen.se

username: xxx
pass: xxx

Front end access.
·
Friday, 30 May 2014 19:42
·
0 Likes
·
0 Votes
·
0 Comments
·
Hello Gustav Belin,

Sorry for late reply to this and I messed up the CSS i provided in previous post,
I have take a look in your site now, it seems like the toolbar, and the write entry page also meet your requirement now right?
If you found out some weird thing, please refer back to us, so we can advise a better solution to help much you here.
·
Saturday, 31 May 2014 00:44
·
0 Likes
·
0 Votes
·
0 Comments
·
Hello again Arlex!

I found a bad boy on my site!

log in to www.jagarbloggen.se
front end-
user: xxx
pass: xxx

after log-in copy this to your browser and enter.

http://jagarbloggen.se/index.php/component/easyblog/?view=dashboard&layout=profile&Itemid=110

It seems now that the user cant change her personal blog-description and change profile picture. Maybe this code make in not editable?

#ezblog-dashboard .permalink-editor, #ezblog-dashboard .permalink-editor strong {
display: none;
}

#ezblog-dashboard .ui-sectionsep {
display: none;
}

#eblog-wrapper .list-form.reset-ul{
display: none;
}


Best Regards!


Gustav
·
Saturday, 31 May 2014 16:47
·
0 Likes
·
0 Votes
·
0 Comments
·
Hello Gustav Belin,

I am really sorry for the delay of this reply as it is a weekend for us here.

It seems like we couldn't use the CSS hack to make the publish option tab disappear in your site, because the class name is same as your profile page, when apply this code, then all the ul tag will disappeared.
#eblog-wrapper .list-form.reset-ul{
display: none;
}

What i can suggest now is remove all the CSS hack code what i provided before, then using the quick post for create the new post in your site. (Check my screenshot below)
Then disable the write entry button from your backend > Easyblog > Setting > layout > dashboard > Show write - NO

Then go to this file JoomlaFolder\components\com_easyblog\themes\default\toolbar.php
Remove this line code 324 - 333

<?php if(($acl->rules->publish_entry) || ($acl->rules->add_entry) || ($acl->rules->delete_entry)) { ?>
<li class="toolbar-item user-write float-r">
<a href="<?php echo EasyBlogRouter::_('index.php?option=com_easyblog&view=dashboard&layout=write'); ?><?php echo ($system->config->get( 'layout_dashboardanchor' ) ) ? '#write-entry' : '';?>"><span><?php echo JText::_('COM_EASYBLOG_WRITE');?></span></a>
<div class="tips">
<i></i>
<b><?php echo JText::_('COM_EASYBLOG_TOOLBAR_NEW_POST'); ?></b>
<?php echo JText::_( 'COM_EASYBLOG_TOOLBAR_NEW_POST_TIPS' );?>
</div>
</li>
<?php } ?>

Hope this suggestion will meet your requirement.
·
Saturday, 31 May 2014 22:06
·
0 Likes
·
0 Votes
·
0 Comments
·
No problem Arlex

I have done what you have told me but i found 2 ways to get into ''create new post'' anyway.

Please see attached photo.

See the red arrows in the picture if you press any of thoose links you will still be able to change and see the things i dont want user should be able to.

Best Regards!

Gustav
·
Saturday, 31 May 2014 23:37
·
0 Likes
·
0 Votes
·
0 Comments
·
Hello Gustav Belin,

I am really sorry for the delay of this reply as it is a weekend for us here.
Oh, I didn't test properly, I'm really sorry for that. I believed that above solution is not meet your requirement at all.
You have to revert back the code to original. Hmm, if i rid of the those option until like this, check my screenshot below, is it okay for you?
Because this few option is very important when you publish a new blog post from your site, then the data should save in your database to record the user, creation date, and contribute on which entry page. Hope you understand.

If this okay for you, you can disable those setting from your backend. See my following instructions :

backend > Easyblog > Setting > Workflow > Enable password protection - NO
backend > Easyblog > Setting > Workflow > Enable copyrights - NO
backend > Easyblog > Setting > Location > Enable location services - NO
backend > Easyblog > ACL > select your user group > Contribute On Frontpage - NO
backend > Easyblog > ACL > select your user group > Change Blog Comment Settings - NO
backend > Easyblog > ACL > select your user group > Change Blog Subscription Settings - NO

JoomlaFolder\components\com_easyblog\themes\dashboard\system\dashboard.write.options.php
comment out this LINE 176 - 181 for email notification option

<li>
<label><?php echo JText::_('COM_EASYBLOG_BLOGS_BLOG_SEND_NOTIFICATION_EMAILS'); ?> :</label>
<div style="margin-top:4px">
<?php echo $this->renderCheckbox( 'send_notification_emails' , $send_notification_emails );?>
</div>
</li>
·
Sunday, 01 June 2014 12:20
·
0 Likes
·
0 Votes
·
0 Comments
·
Oh much easier, haha thank you. now we are getting really close to the end.

Please see the attached picture.

The background make some text not visible. Among the comments and the ''related blogg post'' box.

Best Regards!
·
Tuesday, 10 June 2014 01:06
·
0 Likes
·
0 Votes
·
0 Comments
·
Hello Gustav Belin

Sorry for late reply to this,
Try apply this following css code in your template css file, and see how it goes.

#eblog-wrapper .clearfix {
background: #fff;
}

#ezblog-body .blog-section .section-title {
background: #fff;
}

#ezblog-body .tab_container {
background: #fff;
}

#ezblog-body #blog-comment {
background: #fff;
}
·
Tuesday, 10 June 2014 10:24
·
0 Likes
·
0 Votes
·
0 Comments
·
View Full Post