Fix My Computer, Mark! - Knowledge Base - How to remove { gspeech } powered by 

Knowledge Base - How to remove { gspeech } powered by

Open: gspeech.php
Located here:
/plugins/system/gspeech/

Line: 202

Delete this:
$speech_powered_by = JText::_('PLG_GSPEECH_SPEECH_POWERED_BY');

About Line: 205

Delete this: 
  <span id="sexy_tooltip"><span class="the-tooltip bottom left dark-midnight-blue"><span class="tooltip_inner powered_by_3 powered_by">{$speech_powered_by} <a href="http://creative-solutions.net/joomla/gspeech" target="_blank" class="backlink_a">GSpeech</a></span></span></span>

About Line: 260

Delete this:
$speech_powered_by = JText::_('PLG_GSPEECH_SPEECH_POWERED_BY'); 

About Line: 309

Delete this:
  <span class="sexy_tooltip"><span class="the-tooltip bottom left dark-midnight-blue"><span class="tooltip_inner powered_by_3 powered_by">'.$speech_powered_by.' <a href="http://creative-solutions.net/joomla/gspeech" target="_blank" class="backlink_a">GSpeech</a></span></span></span>

About Line: 366-368 (Optional)

Change this:

$content = str_replace('carrot-orange', $tooltip, $content);

$is_htm = strpos($content, '<body');

To this:
$content = str_replace('carrot-orange', $tooltip, $content);
$enable_autoplay_once = true;
if (session_status() !== PHP_SESSION_ACTIVE || session_id() === ""){
session_start();
}
if(!isset($_SESSION['gs_page_loaded_count'])) {
$_SESSION['gs_page_loaded_count'] = 0;
}
$gs_page_loaded_count = (int) $_SESSION['gs_page_loaded_count'];
$gs_page_loaded_count_new = $enable_autoplay_once ? $gs_page_loaded_count + 1 : 0;
$_SESSION['gs_page_loaded_count'] = $gs_page_loaded_count_new;
$autoplay_enabled = ($enable_autoplay_once && $gs_page_loaded_count != 0) ? 0 : 1;
$greeting_text = str_replace('<span class="sound_container_pro', '<span data-autoplay_="'.$autoplay_enabled.'" class="sound_container_pro', $greeting_text);
$content = str_replace('<span class="sound_container_pro', '<span data-gs_loaded_count="'.$gs_page_loaded_count_new.'" data-autoplay_="'.$autoplay_enabled.'" class="sound_container_pro', $content);
$is_htm = strpos($content, '<body');

===============================================

Open: gspeech.js
Located here:
/plugins/system/gspeech/includes/js/

Line: 21-24

Delete this:
if(!check_pro_version()) {
alert('To hide a backlink please purchase a GSpeech PRO version');
return false;
}

About Line: 50-53

Delete this:
if(!check_pro_version()) {
alert('To hide a backlink please purchase a GSpeech PRO version');
return false;
}

About Line: 97

Delete this:
hide_tooltip_basic($('#sexy_tooltip'));

About Line: 133

Change this:
function check_pro_version() {
var bl = $("#sexy_tooltip").css("display");
var bl1 = $("#sexy_tooltip .tooltip_inner").css("display");
if(bl == 'block' && bl1 == 'block')
return true;
return false;
};

To this:

function check_pro_version() {



return true;

};

About Line: 284

Delete this:
 navigate_tooltip_basic($('#sexy_tooltip'),sound_x,sound_y);

===============================================

Open: gspeech_pro.js
Located here:
/plugins/system/gspeech/includes/js/

Line: 04-15

Change this:
function check_pro_version_by_class() {
if($(".tooltip_inner.powered_by").is(":visible"))
return true;
return false;
}

$('.greeting_block').each(function(i){
if(i > 1) {
$(this).next('.sound_container_pro').remove();
$(this).prev('.gspeech_selection').remove();
}
});

To this: 
function check_pro_version_by_class() {

return true;

}

About Line: 46

Delete this: 
if($tooltip.find('.tooltip_inner').hasClass('powered_by'))

About Line: 78-87

Delete this: 
//show backlinks
function show_backlinks() {
$('.sound_container_pro').each(function() {
$tooltip = $(this).next('.sexy_tooltip');
setTimeout(function() {
navigate_tooltip($tooltip);
},1500);
})
};
show_backlinks();

About Line: 99

Change this: 
if(selector != '' && event != '' && createtriggerspeechcount < 1) {

To this:

if(selector != '' && event != '' ) {

About Line: 103

Change this: 
else if(autoplay == 1) {
triggerspeech($elem,speechtimeout);
};

To this:
else if(autoplay == 1) {
var autoplay_ = parseInt($elem.data('autoplay_'));
autoplay_ = isNaN(autoplay_) ? 1 : autoplay_;
if(autoplay_ == 1) {
triggerspeech($elem,speechtimeout);
}
};

About Line: 143 (Optional)

Change this: 
var speech_enable_count = 1;

To this:
var speech_enable_count = 9999;

About Line: 228-231

Delete this: 
if(!check_pro_version_by_class()) {
alert('To hide a backlink please purchase a GSpeech PRO version');
return false;
}

About Line: 254

Add this: 
$elem.addClass('here');

It should be under this:

$elem.addClass('active');

Details

Created : 2023-03-31 04:20:18, Last Modified : 2023-04-02 09:35:47

Click to listen highlighted text!