Simple Machines Community Forum

Customizing SMF => Modifications and Packages => Topic started by: vbgamer45 on August 26, 2011, 11:26:46 AM

Title: Global Message Box V1
Post by: vbgamer45 on August 26, 2011, 11:26:46 AM
Link to the mod (https://custom.simplemachines.org/index.php?mod=3134)

(http://bit.ly/kZVDB6)
Global Message Box
Developed by Lean (http://www.smfsimple.com/index.php?action=profile;u=1) & 4kstore (http://www.smfsimple.com/index.php?action=profile;u=55) for SMFSimple.com (http://www.smfsimple.com/)
SMF 2.0



Description:
This mod allows users to show a global message in a box with a unique design! Css3 and jquery using as a basis.

Descripcion:
Este mod permite mostrarle a sus usuarios un mensaje global dentro de un box con un diseño unico! Utilizando jquery y css3 como base.




Features:
Caracteristicas:


Screenshots | Imagenes

(http://i.imgur.com/Tf1a2.png)

(http://i.imgur.com/SyPZb.png)


Language Support | Lenguajes Soportados
- English
- Spanish_latin
- Spanish_latin-utf8
- Spanish_es
- Spanish_es-utf8



Global Message Box V1 Full Version
Copyright 2011 | SMFSimple.com (http://www.smfsimple.com/)

(http://i.creativecommons.org/l/by-nc-sa/3.0/88x31.png) (http://creativecommons.org/licenses/by-nc-sa/3.0/)
Title: Re: Global Message Box V1
Post by: Eclipse16V on August 30, 2011, 06:05:20 PM
Nice Mod but there are errors on my smf 2.0

http://.../index.php?PHPSESSID=0f9df7876rfraf0a7c35ac9dbf55d8ee2;action=credits
8: Undefined index: globalmessagebox_style
Datei: /homepages/.../.../Sources/Subs.php
Zeile: 5537

....
Title: Re: Global Message Box V1
Post by: SSimple Team on September 12, 2011, 07:04:01 PM
Quote from: Eclipse16V on August 30, 2011, 06:05:20 PM
Nice Mod but there are errors on my smf 2.0

http://.../index.php?PHPSESSID=0f9df7876rfraf0a7c35ac9dbf55d8ee2;action=credits
8: Undefined index: globalmessagebox_style
Datei: /homepages/.../.../Sources/Subs.php
Zeile: 5537

....
Ok! We are repairing the variable!
Thanks!
Title: Re: Global Message Box V1
Post by: Draffi on September 14, 2011, 04:39:45 PM
Not possible to use with RC5?
Title: Re: Global Message Box V1
Post by: SSimple Team on September 15, 2011, 04:28:20 PM
Quote from: Draffi on September 14, 2011, 04:39:45 PM
Not possible to use with RC5?
Use the emulation. It should work
Title: Re: Global Message Box V1
Post by: Draffi on September 19, 2011, 12:12:41 PM
I have installed in RC5, but i see only text. This boxes what i can choose in the admin-settings (box-style, e.g. "dot-luv") are not showing...
Title: Re: Global Message Box V1
Post by: Jessica. on September 19, 2011, 09:45:38 PM
Quote from: Draffi on September 19, 2011, 12:12:41 PM
I have installed in RC5, but i see only text. This boxes what i can choose in the admin-settings (box-style, e.g. "dot-luv") are not showing...

same here, except I have 2.0.1

I keep refreshing my browser. that doesn't work
Title: Re: Global Message Box V1
Post by: imno007 on September 21, 2011, 01:45:02 PM
Nice mod, but you might want to post a warning for anyone doing an smf upgrade. They'll need to reverse any code changes done by this mod before upgrading their forums, otherwise all they'll get after an upgrade is: Fatal error: Call to undefined function smfsimple_global_message_box() in /home/.../public_html/.../.../Sources/Load.php(2172) : eval()'d code on line 17
Title: Re: Global Message Box V1
Post by: vkbr on October 02, 2011, 12:32:40 AM
Yep u r right... I had to manual uninstall. It was my first php edition...
I hope now i wont get those anymore. Be aware.

Fatal error: Call to undefined function smfsimple_global_message_box() in /home/bla.bla.bla/ler/Sources/Load.php(2151) : eval()'d code on line 163
Fatal error: Cannot redeclare smfsimple_global_message_box() (previously declared in /home/bla.bla.bla/Sources/Subs.php:4288) in /home/home/bla.bla.bla/Sources/Subs.php on line 4338
Title: Re: Global Message Box V1
Post by: SSimple Team on October 02, 2011, 12:51:40 AM
That's strange. What was the update they did?
Title: Re: Global Message Box V1
Post by: CBG on December 25, 2012, 04:52:07 PM
Hi,

Is there away to hide the message from admin seeing it?
Thanks
Title: Re: Global Message Box V1
Post by: hashend94 on July 08, 2013, 03:00:05 PM
Hey, the image styles doesn't seem to be working for me  :-\ I use smf v2.0.4. Site is this http://supremecreamscans.com/
Title: Re: Global Message Box V1
Post by: Colin on July 08, 2013, 03:03:38 PM
Did you install the mod on your custom theme, not just the default? If you use the default theme do you see the additional content?
Title: Re: Global Message Box V1
Post by: 4Kstore on July 08, 2013, 03:23:04 PM
Quote from: hashend94 on July 08, 2013, 03:00:05 PM
Hey, the image styles doesn't seem to be working for me  :-\ I use smf v2.0.4. Site is this http://supremecreamscans.com/

Did you activate the mod in the administration page?
Title: Re: Global Message Box V1
Post by: hashend94 on July 09, 2013, 01:40:49 PM
Yes, it shows the message but just the text and no styles.
Title: Re: Global Message Box V1
Post by: 4Kstore on July 09, 2013, 01:50:24 PM
Put the default theme for a second, if the message shows with style the mod work fine but you don't install the mod in all your themes.
http://wiki.simplemachines.org/smf/Package_manager#Installing_a_Package
Title: Re: Global Message Box V1
Post by: hashend94 on July 09, 2013, 02:05:22 PM
I've switched to the default theme. And also re installed with actually selecting all the themes and it seems to be the same.
Title: Re: Global Message Box V1
Post by: 4Kstore on July 09, 2013, 02:14:52 PM
Can you check if all the modifications were made correctly?
http://custom.simplemachines.org/mods/index.php?action=parse;mod=3134;attach=187716;smf_version=2.0

You also need to setup permission for this mod
Title: Re: Global Message Box V1
Post by: hashend94 on July 09, 2013, 02:30:37 PM
Yes, I checked all of them and the modifications were set correctly. And what do you mean by setup permission for it ?
Title: Re: Global Message Box V1
Post by: hashend94 on July 10, 2013, 11:48:26 AM
Anyone here ?
Title: Re: Global Message Box V1
Post by: 4Kstore on July 10, 2013, 12:18:45 PM
If you can see the message, the problem is with javascript or the style in index.css
I can't see the message because I'm guest in your forum, this mod have a set of permission per member groups... You need to set these permissions so that guests can view the message and so I could do tests
Permissions (http://wiki.simplemachines.org/smf/Permissions)
Title: Re: Global Message Box V1
Post by: hashend94 on July 10, 2013, 01:29:58 PM
If it's fine with you, if you sign up in the forum i'll make you an admin and you can do the tests. If not could you like specify which permission in particular  I have to enable ?
Title: Re: Global Message Box V1
Post by: 4Kstore on July 10, 2013, 01:34:40 PM
Administration Center » Members » Permissions » General Permissions » Guests

check -> Show message box global

(http://i.imgur.com/vqVdPfk.png)

If you want, you can create an admin account and send me one Pm with the details
Title: Re: Global Message Box V1
Post by: hashend94 on July 10, 2013, 02:19:01 PM
I changed the permissions and inboxed you the details aswell.
Title: Re: Global Message Box V1
Post by: 4Kstore on July 10, 2013, 02:26:30 PM
Thanks, now can see the error.... please attach here Sources/Subs.php file I think you have some conflicts with Jquery
Title: Re: Global Message Box V1
Post by: hashend94 on July 11, 2013, 02:03:55 AM
Here is the subs.php file.
Title: Re: Global Message Box V1
Post by: 4Kstore on July 11, 2013, 09:37:46 AM
Try with this:
Title: Re: Global Message Box V1
Post by: hashend94 on July 12, 2013, 02:40:06 AM
Okay, so I installed the mod and my whole site went down...  how can I fix this ?? D:
Title: Re: Global Message Box V1
Post by: Colin on July 12, 2013, 02:46:01 AM
Is there an error?
Title: Re: Global Message Box V1
Post by: hashend94 on July 12, 2013, 02:48:11 AM
Oh my bad, the source.php file has somehow got deleted. I reuploaded it and now it works fine! Thanks a lot ! :D
Title: Re: Global Message Box V1
Post by: Colin on July 12, 2013, 03:01:18 AM
Wahoo!
Title: Re: Global Message Box V1
Post by: 4Kstore on July 12, 2013, 03:10:13 AM
Iaaajuuu You're welcome