Online plugin

Third Party Plugins to CMSimple - how to install, use and create plugins

Moderator: Tata

jop
Posts: 107
Joined: Sun Sep 20, 2009 1:05 pm

Online plugin

Post by jop » Sun Oct 27, 2024 11:55 am

I have had installed the Online plugin by Amir version 1.05 in XH version 1.6.10. I am now unsuccessfully trying to install in XH version 1.7.6. Previously, there has been a question about installation in XH 1.7.2, and I have made the recommended change in admin.php, but it has not worked in XH 1.7.6. Is it possible to get the Online plugin by Amir to work in XH 1.7.6? Installed in template?
Or is there another plugin for XH 1.7.6?

Tata
Posts: 3626
Joined: Tue May 20, 2008 5:34 am
Location: Slovakia
Contact:

Re: Online plugin

Post by Tata » Sun Oct 27, 2024 5:36 pm

What plugin is it? Where have you found it?
CMSimple.sk
It's no shame to ask for an answer if all efforts failed.
But it's awful to ask without any effort to find the answer yourself.

jop
Posts: 107
Joined: Sun Sep 20, 2009 1:05 pm

Re: Online plugin

Post by jop » Sun Oct 27, 2024 6:12 pm

A very old (wonderful) plugin
online.zip
You do not have the required permissions to view the files attached to this post.

lck
Posts: 3317
Joined: Wed Mar 23, 2011 11:43 am
Contact:

Re: Online plugin

Post by lck » Sun Oct 27, 2024 6:29 pm

Tata wrote:
Sun Oct 27, 2024 5:36 pm
What plugin is it? Where have you found it?
Plugin online 1.0.7
jop wrote:
Sun Oct 27, 2024 11:55 am
Is it possible to get the Online plugin by Amir to work in XH 1.7.6?
I have tried to make XH 1.7.6 compatible, but version 1.0.7. Here are the modified files index.php & admin.php.
online_1.0.7__index.php_admin.php.zip
You do not have the required permissions to view the files attached to this post.
👉 Ludwig's Templates for MultiPage & OnePage.   „Bevor du den Pfeil der Wahrheit abschießt, tauche die Spitze in Honig!“

jop
Posts: 107
Joined: Sun Sep 20, 2009 1:05 pm

Re: Online plugin

Post by jop » Mon Oct 28, 2024 4:19 pm

After installing I have got this weird line?
online_plugin.png
You do not have the required permissions to view the files attached to this post.

lck
Posts: 3317
Joined: Wed Mar 23, 2011 11:43 am
Contact:

Re: Online plugin

Post by lck » Mon Oct 28, 2024 4:54 pm

Indeed. I had this too and had already fixed it, but apparently didn't save it.
Change index.php

Code: Select all

<?
to

Code: Select all

<?php
👉 Ludwig's Templates for MultiPage & OnePage.   „Bevor du den Pfeil der Wahrheit abschießt, tauche die Spitze in Honig!“

jop
Posts: 107
Joined: Sun Sep 20, 2009 1:05 pm

Re: Online plugin

Post by jop » Mon Oct 28, 2024 6:35 pm

Thanks, works fine now, but how can I get the line "online" on the same line with print view, sitemap, mail form and login?
And how can I delete the link to urceleb.oniton.com (as the site does not exist)?
You do not have the required permissions to view the files attached to this post.

lck
Posts: 3317
Joined: Wed Mar 23, 2011 11:43 am
Contact:

Re: Online plugin

Post by lck » Mon Oct 28, 2024 6:58 pm

jop wrote:
Mon Oct 28, 2024 6:35 pm
And how can I delete the link to urceleb.oniton.com (as the site does not exist)?
index.php change

Code: Select all

$o.=" <a href='http://urceleb.oniton.com' target='_blank'>" . $users . "</a> ";
and

Code: Select all

$o.=" <a href='http://urceleb.oniton.com' target='_blank'><u>" . $users . "</u></a> ";
to

Code: Select all

$o.= " $users ";
or (with underline)

Code: Select all

$o.=" <u>" . $users . "</u> ";
jop wrote:
Mon Oct 28, 2024 6:35 pm
how can I get the line "online" on the same line with print view, sitemap, mail form and login?
That depends on the template. Which template are you using, fhs-simple-2019?
Plugin online index.php, change

Code: Select all

$o.="<p class='online'>";
to

Code: Select all

$o.="<span class='online'>";
and

Code: Select all

$o.="</p>";
to

Code: Select all

$o.="</span>";
👉 Ludwig's Templates for MultiPage & OnePage.   „Bevor du den Pfeil der Wahrheit abschießt, tauche die Spitze in Honig!“

Tata
Posts: 3626
Joined: Tue May 20, 2008 5:34 am
Location: Slovakia
Contact:

Re: Online plugin

Post by Tata » Mon Oct 28, 2024 9:09 pm

Here is the plugin with adjustment (in index.php and sk.php) for languages with 2 forms of plural (e.g. SK, CZ and others that use different forms for count 2,3,4 and 5 and more).
You do not have the required permissions to view the files attached to this post.
CMSimple.sk
It's no shame to ask for an answer if all efforts failed.
But it's awful to ask without any effort to find the answer yourself.

jop
Posts: 107
Joined: Sun Sep 20, 2009 1:05 pm

Re: Online plugin

Post by jop » Tue Oct 29, 2024 4:55 pm

Yes using fhs-simple-2019 and everything works perfectly now - thank you so much (again).

Post Reply