Thread Rating:
  • 1 Vote(s) - 5 Average
  • 1
  • 2
  • 3
  • 4
  • 5
[For 1.8] Guest Warn - 4.0
#21
Thank you for uploading this.
This plugin does what it is made to do.
Keep up the good work, Looking forward to seing more content from you.
Reply
#22
Great plugin!

Could someone tell me how i would make this getting ignored on the registeration page, but still appearing anywhere else as usual.
Reply
#23
(2014-12-09, 08:03 PM)Eldenroot Wrote: I cannot activate it - error - you need plugin library v9 or newer - I use v12 Smile

I know this is old thread but I faced same issue in today.
Now I solved that and here I post my suggestions for any other looking solution for this >>

You must replace below piece of code in "inc/plugins/guestwarn.php"

function guestwarn_activate() {
	global $mybb, $db;
	
	if (!file_exists(PLUGINLIBRARY)) {
    flash_message($lang->myalerts_pluginlibrary_missing, "error");
    admin_redirect("index.php?module=config-plugins");
    }

    $PL or require_once PLUGINLIBRARY;

    if ((int) $PL->version < 9) {
    flash_message('This plugin requires PluginLibrary 9 or newer', 'error');
    admin_redirect('index.php?module=config-plugins');
    }



with this one >>

function guestwarn_activate() {
	global $mybb, $db, $PL;
	
	if (!file_exists(PLUGINLIBRARY)) {
    flash_message($lang->myalerts_pluginlibrary_missing, "error");
    admin_redirect("index.php?module=config-plugins");
    }

    $PL or require_once PLUGINLIBRARY;

    if ($PL->version < 9) {
    flash_message('This plugin requires PluginLibrary 9 or newer', 'error');
    admin_redirect('index.php?module=config-plugins');
    }


After that refresh the plugin page and try to activate "Guest Warn (4.0)" again Smile

Sorry for bumped old thread Smile
Reply
#24
Thank you! Finally!
[MyBB 1.8 Czech translation] [MyBB 1.8 plugins]: Prune old PMs + optimize DB plugin --- Thank you/like system
Reply
#25
(2017-10-30, 04:56 PM)Eldenroot Wrote: Thank you! Finally!


Welcome Smile

But here is another modification required, when Deactivating this plugin. Today I noted about that too.


You must replace below piece of code in "inc/plugins/guestwarn.php"

function guestwarn_deactivate() {
	global $db;
	
	if (!file_exists(PLUGINLIBRARY)) {
    flash_message($lang->myalerts_pluginlibrary_missing, "error");
    admin_redirect("index.php?module=config-plugins");
    }


With this one >>

function guestwarn_deactivate() {
	global $mybb, $db, $PL;
	
	if (!file_exists(PLUGINLIBRARY)) {
    flash_message($lang->myalerts_pluginlibrary_missing, "error");
    admin_redirect("index.php?module=config-plugins");
    }
After that refresh the plugin page and try to deactivate "Guest Warn (4.0)" again Smile
Reply
#26
Quote:I downloaded the plugin, after which I deleted it because it gave me errors.

When I deleted it appears in the "Plugin Settings" and I do not know how to delete


Quote:Ho scaricato il plug-in, dopodiché l'ho eliminato perché mi dava degli errori.

Quando l'ho eliminato, appare in "Impostazioni Plugin" e non so come eliminare
Reply
#27
Hey sorry for old bump, but it appears behind my forum: https://gyazo.com/16327bd91c590de5a4e92ab5a134f5d1
Reply
#28
(2019-06-22, 11:21 PM)makpaolo Wrote: Hey sorry for old bump, but it appears behind my forum: https://gyazo.com/16327bd91c590de5a4e92ab5a134f5d1

I don't know this plugin, but the likelihood is you need to change the CCS for the notification box; it will be the z-index that needs adding and/ or tweaking

PM me a link to your forum (just the frontend, no need for the backend) with the notification present, I can let you know what CSS you need to change
Reply
#29
(2019-06-23, 10:08 AM)NotAdmin Wrote:
(2019-06-22, 11:21 PM)makpaolo Wrote: Hey sorry for old bump, but it appears behind my forum: https://gyazo.com/16327bd91c590de5a4e92ab5a134f5d1

I don't know this plugin, but the likelihood is you need to change the CCS for the notification box; it will be the z-index that needs adding and/ or tweaking

PM me a link to your forum (just the frontend, no need for the backend) with the notification present, I can let you know what CSS you need to change

z-index: 1; worked great! Thanks Smile
Reply
#30
No Problem Smile
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)