Posts by: florincybereye

Posts: 48
Post: 11634
Topic: adding js references for SimpleBlog
I added, thank you!
4 years ago
Post: 11628
Topic: adding js references for SimpleBlog

I wouldn't do it like that. The installation root shouldn't be used in this regard and is not (shouldn't be) writable to plugins.

I understand, there are security reasons.

needs the (global) $dirPrefix; variable prepended in order to work in all situations.

it is good to know in the future

Thanks so much for the plugin, you were very kind! (and very fast)
I've already installed it on my site and my blog and it works flawlessly!

I think this plugin is very useful because it can also do terms search and translation using Google, which solves an important problem. In addition, Google uses AI algorithms for translation and is getting better and better every day.

It is not very complicated, other options can be added. For the addition of new icons we have online

https://onlinepngtools.com/convert-base64-to-png

we just need to change some code inside goshare.js. And now it could be used with any template.

All the best,
Florin

4 years ago
Post: 11622
Topic: adding js references for SimpleBlog

I want to adapt  https://github.com/florincatalin/jquery-share-plugin

for SimpleBlog (for Typesetter I succeeded).

In this regard I have modified the SimpleBlogCommon.php file (  public static function AddCSS()  )

$ page-> head_js [] = 'goshare.js';
$ page-> jQueryCode. = '$ (". utilshare"). goshare ();';

The goshare.js file is copied to the root.

The problem is that it only works when I am logged on as an administrator, when I logout I receive an error message. The source code shows that indeed the goshare.js file is not found.
This occurs only when I see post without being logged in.

What could be the cause? Maybe I did something wrong?

4 years ago
Post: 11529
Topic: SimpleBlog upgrade

I tested the solution proposed by Jürgen on Firefox, Chrome, IE 11, Edge and Opera and it works perfectly! Tonight I will modify my site.

Jurgen's solution is better than ours. Thank you, Jürgen! Also, thanks to mabu for the effort made in finding a solution.

The solution proposed by Jürgen can be used to upgrade Simple_Blog to version 3.5 and can be uploaded to the Typesetter site so it can be used by everyone.

I think from now on we can close this topic.

Many thanks to all,
Florin

4 years ago
Post: 11527
Topic: SimpleBlog upgrade

Thanks to Jürgen for the intervention and the solution offered, I will test it today.

For mabu:
the specific solution for Edge and IE 11 is
margin-top: 0px;
instead of
margin-top: -20px! important

I know that browsers interpret the code unequally, and IE, Edge and Safari have a specific way, different from Chrome and Firefox. This is also why many years ago I gave up using IE for C # encapsulation and chose another solution, which I am very pleased with. Many people have given up on IE and Edge browsers and are using Chrome, Firefox or Opera, which are modern, open source, secure and do not pose compatibility issues with HTML5 standards. Chrome and Firefox are also available for MacOS and various Linux distributions, so that's not a problem. From my point of view the problem is already solved, I am not interested in the browser's war. I did not test yet on the smartphone, but there things are evolving quickly, so I think that in the future they will adapt to the HTML 5 standard.

Thanks again to Jürgen for the intervention and the solution offered,
all the best,
Florin

4 years ago
Post: 11524
Topic: SimpleBlog upgrade
I overwrote the addon files on my blog with your's preliminary version then I regenerated the gadget and can now use it for testing on different browsers.

Online can be found at http://browsershots.org/
(select none initially, then choose which browsers you want and which operating system)

you can also go to https://www.browserling.com (free just for Windows 7 and some browsers)
4 years ago
Post: 11523
Topic: SimpleBlog upgrade

I tested the version you uploaded for the test. Firefox - ok, Chrome - ok, Opera - ok, Edge (v. 41) and IE 11 - failed.

I will continue to test it the next few days. It is good that it works on Firefox and Chrome. I'll see the code the next few days to see what happens.

4 years ago
Post: 11520
Topic: SimpleBlog upgrade

I also updated the site, everything is ok. Firefox, IE and Edge is solved.

For Opera and Chrome I think it should be something like this:

<style>
details > summary::-webkit-details-marker {
  list-style-type: "\25BA";
}
ul li::marker {
list-style-type: none;
}
</style>

4 years ago
Post: 11519
Topic: SimpleBlog upgrade

I haven't changed my site yet (I don't have the data for the ftp connection here), but I will change them tonight.

I tested on Chrome v. 78 and this is ok:

<style>
details > summary::-webkit-details-marker {
  list-style-type: "\25BA";
}
</style>

<details>
  <summary>Restyled for Opera</summary>
  <ul>
<li>This run in Opera browser.</li>
<li>And also in Chrome browser.</li>
</details>

4 years ago
Post: 11517
Topic: SimpleBlog upgrade

I activated JS and changed the addon version to 3.0.5 on Github Simpl_Blog addon fork. It is run on Edge, how you say.

In Opera can be used this style, inspired from here:

<style>
details > summary::-webkit-details-marker {
  list-style-type: "\25BA";
}
</style>

<details>
  <summary>Restyled for Opera</summary>
This run in Opera browser.
</details>

 

 

 

4 years ago

News

elFinder 2.1.50 in Upcoming Release
12/28/2019

A new release for Typesetter is in the works with a lot of improvements including the ... Read More

Typesetter 5.1
8/12/2017

Typesetter 5.1 is now available for download. 5.1 includes bug fixes, UI/UX improvements, ... Read More

More News

Log In

  Register