MyBB Community Forums

Full Version: Guests Welcome Notice plugin
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Hi all !

I have installed plugin available at :

https://community.mybb.com/mods.php?acti...w&pid=1074

at :

https://lawforall.in/ipforum

Issues :

1) Plugin description says there will be a " floating message in the bottom-right corner encouraging them to sign up".. I only get a line on top of my forum, at index page.

2) Plugin allows " guests to close the notice for 72 hours " ..what changes I can do to display notice continuously ?

Thanks in advance for all help !
You need a plugin for this? Seriously?
Search for tutorials, this can be done by simple template edits.
1) You haven't added the CSS as mentioned in the plugin pack. Add the following into your global.css:

.guestwelcome {
	display: none;
    background-color: #202020;
    width: 300px;
    padding: 28px 23px 28px 23px;
    position: fixed;
    top: 80%;
    right: 50px;
    font-family: 'Ubuntu', sans-serif;
    font-size: 13px;
    color: #fff;
    text-align: left;
    -moz-border-radius: 5px;
    -webkit-border-radius: 5px;
    -o-border-radius: 5px;
    border-radius: 5px;
    z-index: 1;
opacity: 0.9;
}

You can remove the [Close] button if you want it to be displayed continuously. In ./inc/plugins/guestwelcome.php, around line 108 find the following:

 $guestwelcome = "<div class=\"guestwelcome\" style=\"display: none;\">
     <span id=\"closeButton\" style=\"float: right; cursor: pointer;\"> [Close]</span>
	 $guestwelcometext </div>";

And replace with:

 $guestwelcome = "<div class=\"guestwelcome\" style=\"display: none;\">
	 $guestwelcometext </div>";

Plugin could probably be updated to be made easier to edit but hey ho.
(2018-11-04, 05:27 PM)Wires Wrote: [ -> ]1) You haven't added the CSS as mentioned in the plugin pack. Add the following into your global.css:

.guestwelcome {
	display: none;
    background-color: #202020;
    width: 300px;
    padding: 28px 23px 28px 23px;
    position: fixed;
    top: 80%;
    right: 50px;
    font-family: 'Ubuntu', sans-serif;
    font-size: 13px;
    color: #fff;
    text-align: left;
    -moz-border-radius: 5px;
    -webkit-border-radius: 5px;
    -o-border-radius: 5px;
    border-radius: 5px;
    z-index: 1;
opacity: 0.9;
}

Added into global.css in '#container' selector as above..no change apparently, but my forum seems to have 'shrunk' . Further some text from some pages is missing,except when I highlight it. For example at :

https://lawforall.in/ipforum/misc.php?page=about

Deleted all above code from global.css but situation still same .....


Howhow can I revert to my initial stage ? Please advise, considering I have no idea about coding ...thanks much !!
(2018-11-21, 03:35 AM)Learning Wrote: [ -> ]how

1: Go to: https://lawforall.in/ipforum/admin/index...e=advanced

add the CSS content to the end of global.css

SAVE


2: upload the guestwelcome.js into your jscript folder
3: upload guestwelcome.php into inc/plugins folder

4: go to your https://lawforall.in/ipforum/admin/index...ig-plugins  and ACTIVATE....

it works
(2018-11-21, 04:47 PM)v_2 Wrote: [ -> ]
(2018-11-21, 03:35 AM)Learning Wrote: [ -> ]how

1: Go to: https://lawforall.in/ipforum/admin/index...e=advanced

add the CSS content to the end of global.css

SAVE


2: upload the guestwelcome.js into your jscript folder
3: upload guestwelcome.php into inc/plugins folder

4: go to your https://lawforall.in/ipforum/admin/index...ig-plugins  and ACTIVATE....

it works

Thanks, will try this and report...
(2018-11-27, 05:23 PM)Learning Wrote: [ -> ]Thanks, will try this and report...

I see it's now working on your site: https://lawforall.in/ipforum/
(2018-11-27, 07:22 PM)v_2 Wrote: [ -> ]
(2018-11-27, 05:23 PM)Learning Wrote: [ -> ]Thanks, will try this and report...

I see it's now  working on your site: https://lawforall.in/ipforum/

Yes it is....I managed to revert global.css to its 'original' state by the option for same in Admin panel, and haven't added anything thereafter. So, no idea presently what happened. Have to study this further.

Thanks much anyways for all your interest and efforts. Much appreciated.
(2018-11-04, 05:27 PM)Wires Wrote: [ -> ]1) You haven't added the CSS as mentioned in the plugin pack. Add the following into your global.css:

.guestwelcome {
	display: none;
    background-color: #202020;
    width: 300px;
    padding: 28px 23px 28px 23px;
    position: fixed;
    top: 80%;
    right: 50px;
    font-family: 'Ubuntu', sans-serif;
    font-size: 13px;
    color: #fff;
    text-align: left;
    -moz-border-radius: 5px;
    -webkit-border-radius: 5px;
    -o-border-radius: 5px;
    border-radius: 5px;
    z-index: 1;
opacity: 0.9;
}

You can remove the [Close] button if you want it to be displayed continuously. In ./inc/plugins/guestwelcome.php, around line 108 find the following:

 $guestwelcome = "<div class=\"guestwelcome\" style=\"display: none;\">
     <span id=\"closeButton\" style=\"float: right; cursor: pointer;\"> [Close]</span>
	 $guestwelcometext </div>";

And replace with:

 $guestwelcome = "<div class=\"guestwelcome\" style=\"display: none;\">
	 $guestwelcometext </div>";

Plugin could probably be updated to be made easier to edit but hey ho.

Hi Wires.

Am reviving this thread because I need some help with the plug in. I installed and activated it. Entered my Welcome text. Removed the "close" button. The Welcome text renders. But if I add the css to global.css the welcome text  disappears. I removed the css and the Welcome text is back.

Would really appreciate your help. Thanks

Problem solved. I just styled the div right on the guestwelcome,php