Advanced search  

News:

CPG Release 1.6.26
Correct PHP8.2 issues with user and language managers.
Additional fixes for PHP 8.2
Correct PHP8 error with SMF 2.0 bridge.
Correct IPTC supplimental category parsing.
Download and info HERE

Pages: [1]   Go Down

Author Topic: How to remove SKYPE plugin-in effect on Coppermine galleries  (Read 7019 times)

0 Members and 1 Guest are viewing this topic.

mr5

  • Coppermine novice
  • *
  • Offline Offline
  • Posts: 49
How to remove SKYPE plugin-in effect on Coppermine galleries
« on: December 06, 2010, 06:44:48 pm »

Hello,
I realise that the problem is with SKYPE and not in Coppermine. However, it affects all CM gallery users if they have SKYPE installed and did not specifically disable SKYPE "turn number highlighting on" feature in their IE or FF browser (and it is enabled by default!).
Of course I can easily disable the feature in MY browser, but as an administrator of the gallery, I have no influence on what users have in their browsers, and not everyone will understand how this advertisement got into the gallery. Thus we need a modification that would disable the plugin effect in Coppermine.

When SKYPE plug-in finds a text that resembles a phone number (e.g. like in this gallery page - see sk1.jpg), it will replace it with the following "invitation" to call that "number" with Skype... (see attached sk2.jpg).

There are some suggestions on how to remove it in HTML or CSS, but I would like to have an "official" Coppermine code modification.

Thanks.
Logged

Αndré

  • Administrator
  • Coppermine addict
  • *****
  • Country: de
  • Offline Offline
  • Gender: Male
  • Posts: 15764
Re: How to remove SKYPE plugin-in effect on Coppermine galleries
« Reply #1 on: December 06, 2010, 07:06:21 pm »

There are some suggestions on how to remove it in HTML or CSS, but I would like to have an "official" Coppermine code modification.
Please post that suggestions or a link to them. It would be easy if we change
Code: [Select]
File current/totalto something like
Code: [Select]
File current of total
Logged

mr5

  • Coppermine novice
  • *
  • Offline Offline
  • Posts: 49
Re: How to remove SKYPE plugin-in effect on Coppermine galleries
« Reply #2 on: December 06, 2010, 07:23:43 pm »

Thanks Andre,

A long discussion is e.g. here http://forum.skype.com/index.php?showtopic=96959 Have also seen some other entries with strange modifications (can't find right now). But I think what You suggest is the simplest and easiest solution and realy makes no difference to CM community. The only question is wheather the number itself will not be treated as phone number? '45 out of 35687' - will it not replace 35687 with a phone, have no idea what the internal criteria is - may be only when it is a longer number...   
Logged

mr5

  • Coppermine novice
  • *
  • Offline Offline
  • Posts: 49
Re: How to remove SKYPE plugin-in effect on Coppermine galleries
« Reply #3 on: December 06, 2010, 07:37:57 pm »

Logged

Αndré

  • Administrator
  • Coppermine addict
  • *****
  • Country: de
  • Offline Offline
  • Gender: Male
  • Posts: 15764
Re: How to remove SKYPE plugin-in effect on Coppermine galleries
« Reply #4 on: December 06, 2010, 07:59:36 pm »

found also this http://www.petefreitag.com/item/751.cfm ...
That seems to me the best option. Should be very easy to create a plugin for this. Give me some time to create such a plugin. I'll post the plugin here, as I need you to test if it works.
Logged

mr5

  • Coppermine novice
  • *
  • Offline Offline
  • Posts: 49
Re: How to remove SKYPE plugin-in effect on Coppermine galleries
« Reply #5 on: December 06, 2010, 08:23:28 pm »

Thanks, will wait.
Logged

Αndré

  • Administrator
  • Coppermine addict
  • *****
  • Country: de
  • Offline Offline
  • Gender: Male
  • Posts: 15764
Re: How to remove SKYPE plugin-in effect on Coppermine galleries
« Reply #6 on: December 06, 2010, 08:58:55 pm »

Please try that plugin.
Logged

mr5

  • Coppermine novice
  • *
  • Offline Offline
  • Posts: 49
Re: How to remove SKYPE plugin-in effect on Coppermine galleries
« Reply #7 on: December 06, 2010, 09:13:12 pm »

You are fast... Thanks!
But... I never used any plugins yet, so have no idea how to install it. All to the main directory? I will test on the life gallery, so want to be sure I understand what I do. Thanks.
Logged

mr5

  • Coppermine novice
  • *
  • Offline Offline
  • Posts: 49
Re: How to remove SKYPE plugin-in effect on Coppermine galleries
« Reply #8 on: December 06, 2010, 09:18:52 pm »

Found in doc. OK, will do
Logged

mr5

  • Coppermine novice
  • *
  • Offline Offline
  • Posts: 49
Re: How to remove SKYPE plugin-in effect on Coppermine galleries
« Reply #9 on: December 06, 2010, 10:54:17 pm »

Sorry, can't install the plugin. Plugin mgr does not show it as 'not installed'. The plugin coppermine-skype_demarkup is in plugin directory, I can see it together with others in the package but others are shown.
Debug (admin only) shows /include/functions.inc.php

    * Notice line 184: Undefined index: dbcharset

but all the gallery functions work perfect.
Sorry Andre.
Logged

mr5

  • Coppermine novice
  • *
  • Offline Offline
  • Posts: 49
Re: How to remove SKYPE plugin-in effect on Coppermine galleries
« Reply #10 on: December 07, 2010, 05:36:39 am »

Hello Andre,
Good and bad news.
Good - it works! You can see the Skype insertion for a second or less, and then it disappears.
Bad - it works in most cases, but when you refresh the same page several times, sometimes Skype insertion stays even when the page is fully loaded. Matter of speed?
In any case, I thank you very much.
PS One should never do modifications late in the evening... left nested directories of the plugin on server...
Logged

Αndré

  • Administrator
  • Coppermine addict
  • *****
  • Country: de
  • Offline Offline
  • Gender: Male
  • Posts: 15764
Re: How to remove SKYPE plugin-in effect on Coppermine galleries
« Reply #11 on: December 07, 2010, 07:53:36 am »

The plugin waits 800ms before it removes the Skype stuff. Maybe that's not enough. You can manually adjust that value in the .js file.
Logged

mr5

  • Coppermine novice
  • *
  • Offline Offline
  • Posts: 49
Re: How to remove SKYPE plugin-in effect on Coppermine galleries
« Reply #12 on: December 07, 2010, 11:24:30 am »

Thank you Andre
Logged

Αndré

  • Administrator
  • Coppermine addict
  • *****
  • Country: de
  • Offline Offline
  • Gender: Male
  • Posts: 15764
Re: How to remove SKYPE plugin-in effect on Coppermine galleries
« Reply #13 on: December 07, 2010, 11:38:21 am »

Please try the updated version.
Logged

mr5

  • Coppermine novice
  • *
  • Offline Offline
  • Posts: 49
Re: How to remove SKYPE plugin-in effect on Coppermine galleries
« Reply #14 on: December 29, 2010, 10:37:24 am »

Sorry Andre,
I just saw your input... Will try a new version later today
Logged

mr5

  • Coppermine novice
  • *
  • Offline Offline
  • Posts: 49
Re: How to remove SKYPE plugin-in effect on Coppermine galleries
« Reply #15 on: December 30, 2010, 06:19:22 am »

Thanks Andre,
It works OK. Have a great year!
Logged
Pages: [1]   Go Up
 

Page created in 0.025 seconds with 20 queries.