Link to Mod (http://custom.simplemachines.org/mods/index.php?mod=1425)
This modification will allow you to show a message to your guests, which will be displayed at the top of the forum. Hopefully this will encourage them to register.
The mod can be configured at the acp of your forum-Features and Options-Basic Features. It adds 2 settings, right under the Allow guests to browse the forum option. One is for enabling and disabling the mod, whereas at the second setting you can enter your own message that you want the guests to see. If you don''t enter a message, then the default message will be displayed instead.
To see its settings and how the mod looks like in action, please have a look at the attached screen-shots at the mod''s download section :)
The mod is compatible with both series of Smf
Very nice Babjusi; this would be good for 2.0 as well. Is there any chance of an upgrade around the corner somewhere. :)
Quote from: Bigguy on September 29, 2008, 09:01:43 PM
Very nice Babjusi; this would be good for 2.0 as well. Is there any chance of an upgrade around the corner somewhere. :)
Thank you for your feedback bigguy. I updated the mod for the 2.0 as well :)
very nice Babjusi.. i might have to try this one out as well..
thanks!! :)
Thank you SmokyBlue :)
Working great for me too, just what I needed.
Thanks!
Then I will be using this very soon. ;) Thanks alot.
Quote from: babjusi on September 30, 2008, 07:27:00 AM
Quote from: Bigguy on September 29, 2008, 09:01:43 PM
Very nice Babjusi; this would be good for 2.0 as well. Is there any chance of an upgrade around the corner somewhere. :)
Thank you for your feedback bigguy. I updated the mod for the 2.0 as well :)
Quote from: LLandL on September 30, 2008, 09:02:40 AM
Working great for me too, just what I needed.
Thanks!
Thanks for your feedback LLandL :)
Quote from: Bigguy on September 30, 2008, 09:14:05 AM
Then I will be using this very soon. ;) Thanks alot.
Quote from: babjusi on September 30, 2008, 07:27:00 AM
Quote from: Bigguy on September 29, 2008, 09:01:43 PM
Very nice Babjusi; this would be good for 2.0 as well. Is there any chance of an upgrade around the corner somewhere. :)
Thank you for your feedback bigguy. I updated the mod for the 2.0 as well :)
Thank you for using it bigguy :)
Got it installed. Works good. :)
Quote from: Bigguy on September 30, 2008, 09:36:21 AM
Got it installed. Works good. :)
Yes, indeed it does :)
I am going to install this asap!
Excellent!
Installed on 1.1.6 no errors.
Installed No errors , Looks like a great mod, but it won't show on my forum............could this be due to me using simpleportal or my custom banner?
Quote from: TW1ST3D on September 30, 2008, 04:50:31 PM
Installed No errors , Looks like a great mod, but it won't show on my forum............could this be due to me using simpleportal or my custom banner?
Link to your forum?
Are you using a custom theme?
Great job babajusi. This mod is just perfect!
Quote from: babjusi on September 30, 2008, 04:54:18 PM
Quote from: TW1ST3D on September 30, 2008, 04:50:31 PM
Installed No errors , Looks like a great mod, but it won't show on my forum............could this be due to me using simpleportal or my custom banner?
Link to your forum?
Are you using a custom theme?
Babylon Theme.............I suppose That I need to go into the index.php to do the edits there as well.........
EDIT:I did the theme edits and it works like a Charm.............
Quote from: W. Riker on September 30, 2008, 06:04:53 PM
Great job babajusi. This mod is just perfect!
Thanks :)
Quote from: TW1ST3D on September 30, 2008, 07:12:05 PM
Quote from: babjusi on September 30, 2008, 04:54:18 PM
Quote from: TW1ST3D on September 30, 2008, 04:50:31 PM
Installed No errors , Looks like a great mod, but it won't show on my forum............could this be due to me using simpleportal or my custom banner?
Link to your forum?
Are you using a custom theme?
Babylon Theme.............I suppose That I need to go into the index.php to do the edits there as well.........
EDIT:
I did the theme edits and it works like a Charm.............
Glad to hear that you got it working :)
./Themes/default/languages/Modifications.english.php
It doesn't exist on the theme I'm using as a default. Also, after installing the mod, nothing happened. So I went and installed it manually for the theme I'm using and still nothing happened. I did edit the index file though, for a custom banner/navbar setup, so that could be the cause.
Quote from: The Cadet on October 03, 2008, 07:49:03 AM
./Themes/default/languages/Modifications.english.php
It doesn't exist on the theme I'm using as a default. Also, after installing the mod, nothing happened. So I went and installed it manually for the theme I'm using and still nothing happened. I did edit the index file though, for a custom banner/navbar setup, so that could be the cause.
What theme are you using? Can you link me to it?
Quote from: babjusi on October 03, 2008, 07:51:18 AM
Quote from: The Cadet on October 03, 2008, 07:49:03 AM
./Themes/default/languages/Modifications.english.php
It doesn't exist on the theme I'm using as a default. Also, after installing the mod, nothing happened. So I went and installed it manually for the theme I'm using and still nothing happened. I did edit the index file though, for a custom banner/navbar setup, so that could be the cause.
What theme are you using? Can you link me to it?
http://custom.simplemachines.org/themes/index.php?lemma=577
I should've thought of that. -_°_-
:)
Quote from: The Cadet on October 03, 2008, 07:53:10 AM
Quote from: babjusi on October 03, 2008, 07:51:18 AM
Quote from: The Cadet on October 03, 2008, 07:49:03 AM
./Themes/default/languages/Modifications.english.php
It doesn't exist on the theme I'm using as a default. Also, after installing the mod, nothing happened. So I went and installed it manually for the theme I'm using and still nothing happened. I did edit the index file though, for a custom banner/navbar setup, so that could be the cause.
What theme are you using? Can you link me to it?
http://custom.simplemachines.org/themes/index.php?lemma=577
I should've thought of that. -_°_-
:)
The only file you need to edit is the index.template.php of the dn theme. I just tested out with that theme and you can see the result at the screenshot attached below
If you want, you can attach here the file in question and I will make the edits for you :)
What code I need enter to get massage bold?
Quote from: W. Riker on October 03, 2008, 11:58:16 AM
What code I need enter to get massage bold?
Do you mean your custom message? Just place the text between the <strong></strong> tags
I have tried using html and bbc in this mod and it's not parsing it I don't think.
Quote from: babjusi on October 03, 2008, 12:19:05 PM
Quote from: W. Riker on October 03, 2008, 11:58:16 AM
What code I need enter to get massage bold?
Do you mean your custom message? Just place the text between the <strong></strong> tags
Thanks babjusi...
Quote from: Bigguy on October 03, 2008, 12:36:57 PM
I have tried using html and bbc in this mod and it's not parsing it I don't think.
I have tested it at a 1.1.6 forum and it works fine. To be honest I haven''t tested it yet at a 2.0 beta 4 forum
Here is a screenshot at a 1.1.6 forum
Quote from: W. Riker on October 03, 2008, 12:45:13 PM
Quote from: babjusi on October 03, 2008, 12:19:05 PM
Quote from: W. Riker on October 03, 2008, 11:58:16 AM
What code I need enter to get massage bold?
Do you mean your custom message? Just place the text between the <strong></strong> tags
Thanks babjusi...
You are welcome W. Riker. Glad to have been of help :)
Ok, I will check it out again maybe I did something wrong. :P
Quote from: babjusi on October 03, 2008, 12:48:24 PM
Quote from: Bigguy on October 03, 2008, 12:36:57 PM
I have tried using html and bbc in this mod and it's not parsing it I don't think.
I have tested it at a 1.1.6 forum and it works fine. To be honest I haven''t tested it yet at a 2.0 beta 4 forum
Here is a screenshot at a 1.1.6 forum
Quote from: babjusi on October 03, 2008, 08:02:09 AM
The only file you need to edit is the index.template.php of the dn theme. I just tested out with that theme and you can see the result at the screenshot attached below
If you want, you can attach here the file in question and I will make the edits for you :)
I manually edited it in (a skill I learned working with phpBB3 which I now hate).
But it still doesn't show up. I believe it could have to do with this edit I made:
<div id="side_borders_inner">
<table border="0" width="100%" cellpadding="0" cellspacing="0" align="center">
<tr>
<td width="100%" class="logo_bg">
<table width="100%" border="0" cellpadding="0" cellspacing="0">
<tr>
<td class="logo_bg"><table>
<tr><td><a href="http://forums.mtgdarkness.com"><img src="http://www.mtgdarkness.com/images/darknesslogo.gif" alt="MTGDarkness Banner" width="100%" /></a></td></tr>
<tr>
<td class="menu" width="100%">
<ul class="mtgdmenu">
<li class="mtgdmenu"><p class="mtext"><a href="http://www.mtgdarkness.com" class="menulink">Home</a></p></li>
<li class="mtgdmenu"><p class="mtext"><a href="http://forums.mtgdarkness.com" class="menulink">Forums</a></p></li>
<li class="mtgdmenu"><p class="mtext"><a href="http://www.mtgdarkness.com/articles.php" class="menulink">Articles</a></p></li>
<li class="mtgdmenu"><p class="mtext"><a href="http://www.mtgdarkness.com/friends.php" class="menulink">Friends</a></p></li>
<li class="mtgdmenu"><p class="mtext"><a href="http://www.mtgdarkness.com/associates.php" class="menulink">Associates</a></p></li>
</ul>
</td>
</tr>
</table>
</td>
<td class="logo_bg"> </td>
That replaces the original place where the banner $var would've been. Could this be the cause?
My board is here: http://forums.mtgdarkness.com
@The Cadet, can you please attach here the index.template.php file?
Sure.
It works. Thanks. ^_°_^
Ok hope you can give me an idea here. I just uploaded the MOD and all files were showing good to go. But then I got this below at the top of my forum? The funny thing is the same type problem happened when i tried to install the new Redirect on log in/out MOD all files looked good but then the same thing :'(
//The start of the language strings for the guest message mod $txt['mf_guests']='Guest Greeting Message
Leave blank to show the default message
'; $txt['default_message']='Welcome to our community.
Please consider registering to gain full access!
Registration is free and it only takes a few moments to complete. '; $txt['enable_mfg_mod']='Enable the guest message mod';
Quote from: Filipina on October 06, 2008, 11:06:59 PM
Ok hope you can give me an idea here. I just uploaded the MOD and all files were showing good to go. But then I got this below at the top of my forum? The funny thing is the same type problem happened when i tried to install the new Redirect on log in/out MOD all files looked good but then the same thing :'(
//The start of the language strings for the guest message mod $txt['mf_guests']='Guest Greeting Message
Leave blank to show the default message
'; $txt['default_message']='Welcome to our community.
Please consider registering to gain full access!
Registration is free and it only takes a few moments to complete. '; $txt['enable_mfg_mod']='Enable the guest message mod';
Open the Modifications.english.php file in the languages directory and make sure that all the contents in there are between the starting and closing php tags.
thanks this was the problem with both MODS and I missed it. Working fine and thank you for the great mod!
Quote from: Filipina on October 07, 2008, 03:20:53 PM
thanks this was the problem with both MODS and I missed it. Working fine and thank you for the great mod!
Glad to have been of help and thank you for your feedback :)
How do i center the text and put it on a new line like in the picture ???
Because i tryed the basic bbcode and it didnt work
Quote from: cammy1568 on October 16, 2008, 12:43:00 PM
How do i center the text and put it on a new line like in the picture ???
Because i tryed the basic bbcode and it didnt work
Just enter the text at the box area of the mod settings at the Acp of your forum. The text will appear centered by itself. bbcode is not enabled, html yes.
Hi Babjusi,
Every time i get a error recored on my smf 2.0.4.
Apply Filter: Only show the errors of this type Type of error: Undefined
Apply Filter: Only show the error messages of this URL http://discuss.itacumens.com/index.php?action=admin;area=logs;sesc
Apply Filter: Only show the errors with the same message
8: Undefined variable: scripturl
Apply Filter: Only show the errors from this file
File: /home/itacumen/public_html/discuss/Themes/default/languages/Modifications.english.php
Line: 414
- Line 414 in my forum language/ Modifications.english.php page ,
Please consider <a href="' . $scripturl . '?action=register">registering</a> to gain full access!
well i read this post from start to end but i didn;t find the solution to my problem
yes this customize is shown in the by default theme of SMF 1.1.6 , but since i am using the theme "OUTLINE", it is not shown
can u tell me which file to edit so as to get this feature shown for guest, for my using forum
http://www.thenepalgallery.com/forum/index.php
i am quiet new to this, plz help me out
Quote from: thenepalgallery on November 04, 2008, 04:16:12 AM
well i read this post from start to end but i didn;t find the solution to my problem
yes this customize is shown in the by default theme of SMF 1.1.6 , but since i am using the theme "OUTLINE", it is not shown
can u tell me which file to edit so as to get this feature shown for guest, for my using forum
http://www.thenepalgallery.com/forum/index.php
i am quiet new to this, plz help me out
Can you attach here the index.template.php file of your custom theme and I will make the edits for you :)
Hello my friend.
Thank you for the mod!!
I have used it but now i cannot cause i changed theme and i cannot get this to work.
At my index.template.php file i cannot find <body>'; i find only <body>.
So i replaced the <body> with this :
<body>';
//Hopefully this message will encourage the guests to register
if ($context['user']['is_guest'] && !empty($modSettings['enable_mfg_mod']))
echo '
<div class="windowbg2" style="margin:0 auto;text-align:center">',!empty($modSettings['mf_guests']) ? $modSettings['mf_guests'] : $txt['default_message'],'</div>';
And i am getting this error:
Template Parse Error!
There was a problem loading the /Themes/DSv3/index.template.php template or language file. Please check the syntax and try again - remember, single quotes (') often have to be escaped with a slash (\). To see more specific error information from PHP, try accessing the file directly.
You may want to try to refresh this page or use the default theme.
Parse error: syntax error, unexpected T_STRING, expecting ',' or ';' in .../Themes/DSv3/index.template.php on line 225
216: vbphrase[\'ncode_imageresizer_warning_small\'] = \'', $txt['ncode_imageresizer_warning_small'], '\';
217: vbphrase[\'ncode_imageresizer_warning_filesize\'] = \'', $txt['ncode_imageresizer_warning_filesize'], '\';
218: vbphrase[\'ncode_imageresizer_warning_no_filesize\'] = \'', $txt['ncode_imageresizer_warning_no_filesize'], '\';
219: vbphrase[\'ncode_imageresizer_warning_fullsize\'] = \'', $txt['ncode_imageresizer_warning_fullsize'], '\';
220: // ]]></script>
221: </head>
222: <body>
223:
224: //Hopefully this message will encourage the guests to register
225: if ($context['user']['is_guest'] && !empty($modSettings['enable_mfg_mod']))
226: echo '
227: <div class="windowbg2" style="margin:0 auto;text-align:center">',!empty($modSettings['mf_guests']) ? $modSettings['mf_guests'] : $txt['default_message'],'</div>';
228: <div id="wrapper">
229: <div id="header">
What can i do???
I have attached my index template too!!
Thank you for your time!!
Can you try the attached file and let me know?
here is my file
Thank you for your time my friend.
Well with this index file there was a conflict between my LOGO and the Home,Help,etc. buttons.
The one was on top of the other...
:(
Quote from: Pspuser007 on November 05, 2008, 12:47:38 PM
Thank you for your time my friend.
Well with this index file there was a conflict between my LOGO and the Home,Help,etc. buttons.
The one was on top of the other...
:(
Can you link me to your custom theme please?
You have a PM my friend!!
Quote from: babjusi on November 05, 2008, 10:54:48 AM
Quote from: thenepalgallery on November 05, 2008, 10:42:27 AM
here is my file
Here you go. And let me know if it will work.
thank you for ur help man, but
but
it works for guests
but when a users login, everthing is changed .. logos, my add @ buttom
total forum size ( initially it is center with 90% of screen is shown, now it is 100%)
@thenepalgallery, I don''t know why you get that as my mod doesn''t affect the buttons or the width of the forum. If you want me to have a look, pm this week-end the ftp info and I will take a closer look.
The same thing goes for you as well Pspuser007 :)
Buddy do you have time to check it??
how to activate mod in smf 2.0, there is no basic features?
Oh , ok, it is in modifications
Does this run on smf 1.1.7 without problems?
Quote from: zijO on November 14, 2008, 05:08:44 PM
how to activate mod in smf 2.0, there is no basic features?
yeah, I installed this on 2.0b4 and I can't find where it turn it on now...
jvo,
I just installed it on 1.1.7 and it's working fine (you can see it here: http://argville.com/forum. You can't miss the big, bad, bright yellow box on top).
Because I'm not using the default theme I had to manually apply the chances to index.template.php in my custom theme. But other than that, piece of cake.
Great mod, very easy to place where ever you want and modify, thanks!
will be very useful have options for select the member groups to show the message ;) thx for mod
I'm uninstalling all mods and themes in order to start off fresh when I install RC1. However, when trying to uninstall this mod, I get asked for a code modification to 2 files prior to uninstalling:
Themes/default/languages/Modifications.english.php
Themes/default/languages/Help.english.php
I'm not real clear on exactly what modification I need to make to the code. I'll attach a cap of the modification I'm being asked to do, along with the files I'm being asked to modify.
you could, if you dont have a copy of the package on your PC, download it and use this package parser http://resourcez.biz/PackageParser/index.php to give you the actual uninstall edits
Excellent, thank you!
Babjusi left me in charge of his mods, so if anyone has an issue, please see my site where I can give better support.
Thanks! ;)
http://smf.houseofsmoky.com
Smoky, I need help and did not want to have to register for another site that I will probably only use this once.
I have been using this mod for quite some time. I modified it (described in this topic (http://www.simplemachines.org/community/index.php?topic=288667.msg1901810#msg1901810)) to suite my needs at the time. However, I have hired someone to help with the Admin duties, but they aren't very technologically savvy, so I don't want them to be an "admin" but would like them to have access to this mod. Is there a way to edit the mod to include membergroup based settings? I can do my own edits, just don't know what to edit.
sorry for the late response, but currently i am not supporting any of my mods.
i am not around and if you want help and you havent found it here, you will need to contact someone on my site that knows my mods.
i have found a life and i am enjoying the hell out of it.. and its for the best, since my grandmother died and i do not code at this moment, perhaps i will be back later..
thank you for understanding.
Smoky
I thought babjusi had control of the mod again anyway. ;)
Brilliant mod!
Feel free to see it in action on my site (http://www.radio-ninty.com) (TinyPortal v1.0 beta 4 / SMF 1.1.10)
Thanks, I was looking for this feature (Pop Ups are bad...)
Thank you!
I am running SMF2.0 RC1.2 with a custom theme. I attempted to install your mod using the package manager. It said it installed with no problem. However, the acp is not modified. In looking at this thread, I noticed that there was a lot of people that had the same problem with different themes. So, I modified the index.template.php as it says in your manual instructions. It still does not appear. The theme I am using is Xtheme2. It is a copy of default, with my modifications.
Will this mod support RC2?
@ Malkuth: you must add it again to any custom theme you are using.. remember to back up in case of mistakes.. for more help you can pm Babjusi as this is his mod..
@ sremick: try it and find out.. remember once again to back up your work before trying.. report any issues/success with this mod..
thank you! 8)
Quote from: SmokyBlue on November 12, 2009, 03:07:39 PM
@ sremick: try it and find out.. remember once again to back up your work before trying.. report any issues/success with this mod..
I don't actually run on SMF2 RC2. I'm on 1.1.10 and won't upgrade to RC2 until I've confirmed support of all the mods I depend on.
then i suggest to wait until the mod author, BABJUSI has the time to check things out and pronounces it as fit for the rc 2 as since you are still using the 1.1 series, you are talking a big leap from what you are accustomed to.. (big hint, go ahead and install a test forum and start getting used to the new layout)
i wish you good luck and if you need anything further, please post.
thanks! ;)
Great mod! i need it to work with dibermc. I see lots of talk about modifications to get this to work on custom themes but are there detailed directions anywhere?
Thanks again for the great mod.
Dillion - For adding mods to custom themes, the Source edits will be exactly as stated when you parse the package, just follow the Template edits as closely as you can, if you don't find an edit, find what it was editing, and then alter the code it adds to fit what you found.
Labradoodle-360