PDA

View Full Version : Administrative and Maintenance Tools - Notices Criteria - Additional Conditions for Displaying a Notice


kh99
01-14-2012, 11:00 PM
What is it?
----------------------------
This mod adds new criteria that can be used to configure when a notice will be displayed or not. (These came from separate requests in the forums which I decided to release as one mod.)

1) Show notice only on one or more days of the week
2) Show notice for any style other than one selected style
3) Show notice only for specified threadids (in this case the notice will on display on the showthread and newthread pages).
4) Show notice if THIS_SCRIPT value is (or is not) in specified list of values
5) Show notice if user has been registered for more/less than a certain number of days
6) Show notice only during certain months
7) Show notice only when user is/is not browsing selected forums (this duplicates the functionality of the standard functions, but adds flexibility).

Installation:
----------------------------
Just import the product XML file from the Product Manager. The new criteria will appear when adding or editing a notice in the Notices Manager.


Notes:
1) Should work on 3.X and 4.X versions.
2) Since notices aren't shown on the register.php page, adding "register" for the "THIS_SCRIPT value is" option will not work. If you want to show notices on the register page, you must edit the navbar template and remove the check for THIS_SCRIPT != 'register'.


History:
----------------------------
1.2 (May 18, 2014)
Added forum selection
Added month selection
Added "less than" option to days registered

1.1 (Oct 4, 2012)
Added THIS_SCRIPT and Days Registered
Changed title of mod
Changed wording of "Day of Week" option

1.0 (Jun 14, 2012)
Added threadid criteria

0.95 (Jan 15, 2012)
Initial Release

Mr_Running
01-15-2012, 10:36 PM
Can not open file

kh99
01-15-2012, 10:44 PM
Can not open file

Oops, you're right, it was a rar file named .zip. Hopefully I've fixed it.

Thanks for letting me know.

Merjawy
01-15-2012, 11:56 PM
Installed

Thanks

mitch84
01-16-2012, 05:17 AM
great idea, thx

BlueCheri
01-16-2012, 05:22 AM
Tagged, very good idea

Thanx

dacho
01-16-2012, 05:13 PM
tagged and going to check it on my forum

mgurain
04-27-2012, 12:36 AM
This is what I was looking for since long long time , thank you very much kh99.

mgurain
05-23-2012, 10:32 PM
It's working on 4.2, but shouldn't this be upgraded ?

Regards,,

kh99
05-23-2012, 10:51 PM
It's working on 4.2, but shouldn't this be upgraded ?

Regards,,


As far as I know there's no reason to upgrade just for 4.2. You say it works - did something about notices change in 4.2? To be honest I haven't had the chance to download 4.2.0 yet.

Edit: I changed the version to 4.X.X, which it probably should have been all along.

djbaxter
05-24-2012, 12:42 AM
Works fine in 4,.2.0.

mgurain
05-24-2012, 05:34 AM
To test and confirm for people that it's compatible with 4.2 .

Boofo
05-24-2012, 06:12 AM
As far as I know there's no reason to upgrade just for 4.2. You say it works - did something about notices change in 4.2? To be honest I haven't had the chance to download 4.2.0 yet.

Edit: I changed the version to 4.X.X, which it probably should have been all along.

It works fine on 4.2.0, Kevin. The only mods that should have any issues are any Navbar mods, as far as I can see.

learning1234
05-24-2012, 07:18 AM
very nice idea, awesome work

mmllc
06-19-2012, 07:58 PM
Awesome... thanks!

zhai
07-04-2012, 09:01 PM
been waiting for this since vb3 ... I always feel the conditional options for notice are too few. Sometimes I had to make several rules just to invert it to meet my condition.

Simon Lloyd
08-06-2012, 06:53 PM
Kevin, could you possible add a criteria for "Is viewing script" so you can specifically show notices on forumhome, usercp....etc?

kh99
08-06-2012, 07:09 PM
Kevin, could you possible add a criteria for "Is viewing script" so you can specifically show notices on forumhome, usercp....etc?

Oh, you mean like "THIS_SCRIPT == 'something'"? Yeah, that shouldn't be a problem. I'm kind of surprised that it's not there already.

Simon Lloyd
08-06-2012, 07:12 PM
Yep, excatly that, i didn't know whether it should be a dropdown of script names or whether a textarea to enter a script name, however this leaves it open to typo's and improper case so you'd get loads of "it's not working...." posts :)

kh99
08-06-2012, 07:25 PM
Right, but the problem with a list is that it wouldn't contain possible custom script values. I suppose I could have a dropdown and a text area for "other".

Edit: well, I just did a search and found nearly 100 THIS_SCRIPT values - That's quite a list to be choosing from, especially if you want to allow multiple selections. I might just have to go with a text field. But I suppose I could also accept the php file name and build an array to lookup the THIS_SCRIPT value, that way you wouldn't have to know it (which is probably a common problem for people who never look at the source code).

Simon Lloyd
08-06-2012, 07:39 PM
Most people don't really know the script name for what they are seeing on the screen which is why i thought a list would be good, i hear you on the custom script and agree that an either or situation should be employed either choose from the list or enter your script name.

Simon Lloyd
08-09-2012, 05:43 PM
Did you manage to start on the THIS_SCRIPT thing? :)

kh99
08-10-2012, 12:06 PM
Well, I could have that in there pretty quickly but I decided to work on that other thing we talked about via PM, to try to have them released at the same time (assuming I can get it to work). Then yesterday I had computer problems and didn't get anything done. Are you waiting for it?

Simon Lloyd
08-10-2012, 03:41 PM
Not in particular, although for some notices it would be really great to pinpoint where they will be shown, right now im just using an ad location with condition to show to certain usergroup in a certain area.

What we discussed will truly make the notification system perfect!

KGodel
10-02-2012, 03:21 AM
Hey kh99!

Just wondering if you could add in an option to this mod to check registration date, so like if user has been activate for X days/weeks/whatever. So I want a survey to automatically appear after a user has been registered for 2 weeks for feedback. Would that be too difficult?

kh99
10-02-2012, 04:20 PM
I will see what I can do. And I also just noticed that Simon asked for something months ago and I never got it done. :( So I'll try to put that in as well.

kh99
10-04-2012, 12:55 PM
Kevin, could you possible add a criteria for "Is viewing script" so you can specifically show notices on forumhome, usercp....etc?

Just wondering if you could add in an option to this mod to check registration date, so like if user has been activate for X days/weeks/whatever. So I want a survey to automatically appear after a user has been registered for 2 weeks for feedback. Would that be too difficult?


I've updated to version 1.1 with the above addtions (sorry Simon, no drop-down menu for THIS_SCRIPT values :( ).

Simon Lloyd
10-04-2012, 04:37 PM
Hey Kevin. thats good enough, i'll look at adding a dropdown of hardcoded common scripts (of course, like yourself it may never get donw as i have a ton of half finished mods - all with goo intentions though :) at least im not working two jobs any more so have a little more time!), if i do get round to it i'll mail it to you ;)

Simon Lloyd
10-04-2012, 04:54 PM
One thing Kevin, when i load your latest update (with overwrite) it kills the css on my site?

kh99
10-04-2012, 07:51 PM
One thing Kevin, when i load your latest update (with overwrite) it kills the css on my site?

Hmm...I don't see any problem when I use it here. I suppose if there was some kind of bug with the plugin that checks the criteria it could be causing an issue. Maybe you could check for a PHP error message?

So you didn't try to use any of the new features or anything, just installed the new one? Do you have any notices using any of the other features from this mod?

Simon Lloyd
10-04-2012, 08:56 PM
I didn't try any of the features and i wasn't already using any of your features, it didn't show any php errors (none in the log either), so i disabled it and all was well, reenabled it and no css on my site, but................... i found that after importing the product with overwrite and finding these problems that i couldn't change settings for anything unless the mod was disabled, so i uploaded an backup copy of my datastore table (because this has fixed stuff for me before) and hey presto! everything worked fine, i just edited a setting and a forum enabled the mod and all is well????

kh99
10-04-2012, 09:46 PM
Thanks for the reply. This is a pretty simple mod with only 2 plugins and a few phrases (and no install code or templates), and one of the plugins only runs if you're editing notices in the admincp, so it's hard to see how it would cause a problem like that - but of course you never know. :)

KGodel
10-07-2012, 12:36 AM
I've updated to version 1.1 with the above addtions (sorry Simon, no drop-down menu for THIS_SCRIPT values :( ).

Thank you so much kh99! You're always really helpful and this helped me a ton! Thanks for the hard work mate!

vauge
10-18-2012, 01:52 PM
Script 'register' does not appear to be working. Thanks!

vb4.2, vbSEO

kh99
10-18-2012, 02:16 PM
Script 'register' does not appear to be working. Thanks!

vb4.2, vbSEO

It turns out that the navbar template where notices are displayed has an "if THIS_SCRIPT != 'register'", so notices are never shown on the register page. But I can see how that's confusing for this mod, since it seems like you should be able to enter "register" and have it appear there.

Anyway, if you want you can edit your navabr template and take out the check for 'register'. Maybe I'll think about making a future version that can override that check if you specify 'register' for "THIS_SCRIPT value is", or at least have a warning of some kind on the description.

vauge
10-18-2012, 03:26 PM
It turns out that the navbar template where notices are displayed has an "if THIS_SCRIPT != 'register'", so notices are never shown on the register page. But I can see how that's confusing for this mod, since it seems like you should be able to enter "register" and have it appear there.

Anyway, if you want you can edit your navabr template and take out the check for 'register'. Maybe I'll think about making a future version that can override that check if you specify 'register' for "THIS_SCRIPT value is", or at least have a warning of some kind on the description.
Either way would be great - thanks for the reply and assistance. :)

RedTurtle
11-15-2012, 02:28 PM
Great mod, thanks so much Kevin!

A little off-topic but figured you may be able to help -- I have one "notice" like message that doesn't appear in Notices but rather in the navbar template. I am trying to prevent it from showing up on the register and login scripts.

I am trying to do this:

<vb:if condition="THIS_SCRIPT != 'register' OR 'login' OR 'someotherscript'">
my code here
</vb:if>

but it doesn't seem to work. Do I need to write THIS_SCRIPT for each page that I do it on? I know your mod allows multiple scripts to be defined in the notices manager and thought maybe you could shed some light on how I can do it inside my navbar template.

Thank you.

kh99
11-15-2012, 02:36 PM
You would want something like this:

<vb:if condition="THIS_SCRIPT != 'register' AND THIS_SCRIPT != 'login' AND THIS_SCRIPT != 'someotherscript'">
my code here
</vb:if>

RedTurtle
11-15-2012, 02:42 PM
Thank you Kevin! :)

I actually found one of your older posts and got this from it:


<if condition="!in_array(THIS_SCRIPT, array('register', 'login', 'someotherscript'))">
ad code
</if>

Thank you for the super quick response! :D

kh99
11-15-2012, 02:46 PM
Yeah, I was debating whether or not to post that method as well. :)

ArchAngelz
02-16-2013, 09:02 AM
Is it possible to have an additional criteria to have notices NOT display on specific forums/subforums. Currently there's a criteria to have notices displayed on a specific forum/subform but it cannot work to EXCLUDE certain subforums.

stator
03-05-2013, 01:01 PM
can you add option to show only on forumhome

kh99
03-05-2013, 02:48 PM
Is it possible to have an additional criteria to have notices NOT display on specific forums/subforums. Currently there's a criteria to have notices displayed on a specific forum/subform but it cannot work to EXCLUDE certain subforums.

Sorry I forgot to respond to your question. I'll look in to adding that.


can you add option to show only on forumhome

You should be able to do that now using a THIS_SCRIPT value of 'index' (without the quotes).

ArchAngelz
03-18-2013, 03:12 PM
Thanks! Will be looking forward to it.

Sorry I forgot to respond to your question. I'll look in to adding that.


By the way, is it possible to have this add-on also work for the "Advertisements" Section? Ads and Notices seem to be using simlar types of criteria so it will be great if this "additional" criteria can work for ads as well!

I am really hoping to be able to exclude notices and ads on certain subforums :)

kh99
03-18-2013, 03:20 PM
Thanks for reminding me - I'll look at it.

I remember noticing that ads looked similar and thinking that it might be adapted, then I thought that since I had never seen anyone ask about that, there must be no demand for it. But I'll look again. If the same hooks exist for the ad criteria, it should be simple.

ArchAngelz
03-20-2013, 03:22 PM
Great! That would really help me immensely!!! Looking forward to your good news!!

Thanks for reminding me - I'll look at it.

I remember noticing that ads looked similar and thinking that it might be adapted, then I thought that since I had never seen anyone ask about that, there must be no demand for it. But I'll look again. If the same hooks exist for the ad criteria, it should be simple.

ArchAngelz
03-31-2013, 02:06 PM
Keeping my fingers crossed on this.

kh99
03-31-2013, 02:08 PM
Yeah, sorry. Which is it that you're waiting for, the "not in this forum" or the ads?

ArchAngelz
04-01-2013, 04:14 PM
Actually both! However, "not in this forum" is more important as I am trying to exclude certain ads from certain forums; some of my ads are currently placed in notices boxes and some using the default ads. So doing the first is more important than the second (which is not really useful for me without the first) if you can do both, that will be the best of both worlds!

Thanks so very much for helping to look into this!

Yeah, sorry. Which is it that you're waiting for, the "not in this forum" or the ads?

ArchAngelz
04-14-2013, 09:46 AM
Don't mean to sound impatient, but just checking on the progress of this :) Am now facing some problems getting my ads to display the way we need it and this mod will really help us a lot!

kh99
04-14-2013, 09:55 AM
No problem. I was looking at it yesterday. There's a slight problem with using it for ads because although the same hooks are there, the condition checking doesn't work the same way, so I can't just use the same code.

Anyway, I'll see if I can get to it today. BTW, I don't mind adding ads to this mod, but unlike notices, I think you can handle any ad conditions you want by putting template <vb:if ... tags around the code in the ad manager (so if it's really holding you up, you don't need to wait for this).

ArchAngelz
04-25-2013, 12:02 PM
Thanks a lot for helping; I'm not really a programmer so am not quite sure how to use the vb if tags, especially when trying to exclude a particular subforum. Hope you can get it in; as I mentioned the exclusion of a particular forum is the more important one. Ads would be a nice add on :)

Simon Lloyd
04-25-2013, 06:01 PM
This thread will help you https://vborg.vbsupport.ru/showthread.php?t=215032 the actual condition you are looking for is<if condition="!in_array($forum['forumid'], array(1,2,3,6))">DO SOMETHING</if>notice the ! which makes this statement read:
if NOT in this array of forumid's then DO SOMETHING.

If you use it like this<if condition="in_array($forum['forumid'], array(1,2,3,6))">DO SOMETHING</if>Then unless the forumid is the same as one of those in the array then DO SOMETHING will NOT show

Digital Jedi
12-10-2013, 07:05 AM
I haven't had a chance to install this, but I'm going to once I get my existing modifications sorted out. By any chance, would you consider adding a notice that targets browser versions (notably versions of IE)?

kh99
12-10-2013, 07:25 PM
I could do that, if I can find patterns to match the user agent string for each version.

Simon Lloyd
12-10-2013, 09:01 PM
You really only need to turn strings on and off

For targeting IE Users:
<!--[if IE]>
Place Content here for Users of Internet Explorer.
<![endif]-->

For targeting all others:
<![if !IE]>
Place Content here for Users of all other Browsers.
<![endif]>

The Conditional Comments can only be detected by Internet Explorer, all other Browsers thread it as normal Comments.

To target IE 6,7 etc.. You have to use "Greater Then" or "Lesser Than" in the If Statement. Like this.

Greater Then:
<!--[if gte IE 7]>
Place Content here for Users of Internet Explorer 7 or above.
<![endif]-->

Lesser Then:
<!--[if lt IE 6]>
Place Content here for Users of Internet Explorer 5 or lower.
<![endif]-->

You can do the same for other specific browsers like geko....etc

Digital Jedi
12-17-2013, 08:15 PM
Testing this now on 3.8.7, and it seems to work, with the exception that THIS_SCRIPT entries don't remain in the Admin CP when I reload the Notice. They work. And they appear to continue to working after saving. But if I edit that notice, I have to remember to put the script name back in.

If I might make another request, have you considered adding in NOT THIS_SCRIPT? I remember this coming in handy with another modification I had installed. If not, no biggie.

kh99
12-17-2013, 08:35 PM
Testing this now on 3.8.7, and it seems to work, with the exception that THIS_SCRIPT entries don't remain in the Admin CP when I reload the Notice. They work. And they appear to continue to working after saving. But if I edit that notice, I have to remember to put the script name back in.

That's strange. I just tried it and it seems to work. Do you have any other notices mods? What version of vb are you using?

If I might make another request, have you considered adding in NOT THIS_SCRIPT? I remember this coming in handy with another modification I had installed. If not, no biggie.

There should be a dropdown menu that lets you choose THIS_SCRIPT "is" or "is not" some value.

Digital Jedi
12-17-2013, 08:52 PM
Whoops! Didn't see that menu. I'm on 3.8.7 and have another Notices mod disabled. I'll uninstall it and see if that's the issue.

MaxLiao
02-11-2014, 07:59 AM
What would be the possibility of getting a Month of the Year option?

My coding skills are ... well, they are nonexistent. I tried to mess with the XML myself with much failure. :)

We have active users and we have semi-active users and I am trying to set up a "Notice of the Month." This way someone who logs in anytime in the month of June will see the notice, and can dismiss it at their leisure. When July comes around, I'll have a new notice for that month.

kh99
02-11-2014, 09:47 AM
What would be the possibility of getting a Month of the Year option?

My coding skills are ... well, they are nonexistent. I tried to mess with the XML myself with much failure. :)

We have active users and we have semi-active users and I am trying to set up a "Notice of the Month." This way someone who logs in anytime in the month of June will see the notice, and can dismiss it at their leisure. When July comes around, I'll have a new notice for that month.

Seems reasonable, I'll look in to it.

MaxLiao
02-11-2014, 02:28 PM
I appreciate it.

Thank you for the quick reply and the consideration.

Mickie D
04-21-2014, 10:20 AM
Brilliant thank you very much for sharing it with us.

Mick

kushal
04-22-2014, 11:47 AM
Thank you for the Mod. Can you also add the mod to show the notice for user who just registered?

kh99
04-22-2014, 10:08 PM
Thank you for the Mod. Can you also add the mod to show the notice for user who just registered?

I might be able to do something like check if the registration date is less than X days ago, if that will work for you.

Someone asked for something to be added quite a long time ago and unfortunately I never got around to it. But maybe I'll find some time now that you've reminded me.

kh99
05-18-2014, 08:05 PM
I finally got around to adding a couple things that were requested (one more than a year ago), so I apologize to those who waited. (See description for added features).

No bug fixes, so if you don't need the latest features there's no need to update.

Socialvb
06-02-2014, 09:21 AM
Add also "show to user registered on a x social group" this could be very good for advertising

jrw422dx
06-07-2014, 11:27 AM
Is it possible to have a setting for the notice to show up ONLY on the main page of the forum? I do not see a setting for that and would like that feature.

kh99
06-07-2014, 11:34 AM
Is it possible to have a setting for the notice to show up ONLY on the main page of the forum? I do not see a setting for that and would like that feature.

For that, I think you can use the THIS_SCRIPT option and enter "index" (without the quotes) as the value.

jrw422dx
06-07-2014, 05:43 PM
KH99 thanks a bunch that is what I was looking for :D :up:

KGodel
08-22-2014, 02:25 AM
Hey kh99. I wonder if it would be possible to check against custom profile fields (at least ones that are drop-down menus). I might try to look into it or manually add the one I want based on the plugins you made, but figured it might be helpful for others too. ^^

kh99
08-22-2014, 09:32 AM
Hey kh99. I wonder if it would be possible to check against custom profile fields (at least ones that are drop-down menus). I might try to look into it or manually add the one I want based on the plugins you made, but figured it might be helpful for others too. ^^

Yeah, I could do that. But I think this mod already does that: https://vborg.vbsupport.ru/showthread.php?t=281087

I haven't tried it to see if it works with mine, but I think it should.

EasyEazy
08-23-2014, 02:03 PM
Installed and working great.

Please could we have an option much the same as the calander in vBulletin where we can get it to display like a recurring event. So options such as Daily, Weekly, Monthly then every x amount of days?

Thanks for the mod btw. Great work.

EasyEazy
09-07-2014, 08:16 PM
Wouldn't mind paying for the update?

kh99
09-08-2014, 10:32 AM
Wouldn't mind paying for the update?

I'm sorry I didn't reply to your previous post. It's already possible to have daily, weekly, or monthly announcements using the "Day of week is" or "Month is" options. When you say "Every X days", do you mean "today and every x days from now on" or something like that? I'm not familiar with calendar events.

EasyEazy
09-08-2014, 03:20 PM
I'm sorry I didn't reply to your previous post. It's already possible to have daily, weekely, or monthly announcements using the "Day of week is" or "Month is" options. When you say "Every X days", do you mean "today and every x days from now on" or something like that? I'm not familiar with calendar events.

Yes that exactly what I mean. On the calendar you can set a reoccurring event with the options

Daily then set it every X amount of days
Weekly then option to set it say every 2 weeks on a set day
Monthly then set which day of the month or the first/second/third/fourth days of the month
And finally the same for yearly.

Im more looking at the weekly option on a set day if that is doable.

Fields
09-09-2014, 09:08 AM
Great, I was looking for this!
Works without any problems under vB 4.2.2.

German translation attached :)

EasyEazy
09-26-2014, 12:06 AM
Any update on this?

KGodel
10-18-2014, 06:00 PM
Hey KH, any way to add/update the usergroup settings? I'd like to show a notice to all usergroups except x,y, and z. The only way to do this is to make a lot of the same notices for each group I do want to show it to (upward of 15+). Would be a great feature to add! ^^

BasilFawlty
11-23-2014, 09:38 PM
Hey KH, any way to add/update the usergroup settings? I'd like to show a notice to all usergroups except x,y, and z. The only way to do this is to make a lot of the same notices for each group I do want to show it to (upward of 15+). Would be a great feature to add! ^^

Along those lines, I was just trying to figure a way to set a notice that would only be seen by members of a certain group. (I'm not talking about user group, I mean a user-created group). I have a group that is by invite only (e.g., group.php?groupid=XX) and I'd like to put notices there that are ONLY seen by members viewing that group (which means that they are members of that group). I could not see how to do that with the current options available).

kh99
11-24-2014, 03:48 AM
Any update on this?


Hey KH, any way to add/update the usergroup settings? I'd like to show a notice to all usergroups except x,y, and z. The only way to do this is to make a lot of the same notices for each group I do want to show it to (upward of 15+). Would be a great feature to add! ^^

Sorry guys, I guess I missed your posts. I haven't had time to work on the "weekly" thing, sorry. The group thing seems like it shouldn't be very hard so I'll look at that (maybe you've figured out something else by now, but I can add it in any case).

Along those lines, I was just trying to figure a way to set a notice that would only be seen by members of a certain group. (I'm not talking about user group, I mean a user-created group). I have a group that is by invite only (e.g., group.php?groupid=XX) and I'd like to put notices there that are ONLY seen by members viewing that group (which means that they are members of that group). I could not see how to do that with the current options available).

Are you talking about social groups? I can look in to that.

VanFenix
12-04-2014, 02:49 AM
Are you able to add in a way for us to show a notice ONLY if they are on a specific page.
I would like to have my notice only appear if people are viewing the activity.php page.
Is that at all possible?

Thank you for your great work!

ozzy47
12-04-2014, 09:05 AM
Sure, as per this. :)
4) Show notice if THIS_SCRIPT value is (or is not) in specified list of values

Master Of Unive
12-06-2014, 06:14 PM
I think the most needed feature is to allow selecting multiple usergroups for viewing notice.

kh99
12-06-2014, 06:34 PM
I think the most needed feature is to allow selecting multiple usergroups for viewing notice.

You know, I think someone had that covered in a different mod, but I guess it's gone now. I can't even find that user's account. He was one of those people who liked to leave and remove everything, to make some point I guess, and then come back later. I guess he left again. Or else I'm not searching for the right thing.

In any case, I can add that. I'm trying to make some time to actually work on some updates I promised long ago.

kh99
12-06-2014, 06:48 PM
OK, I was wrong, pretty much about everything. I was thinking about this mod: https://vborg.vbsupport.ru/showthread.php?t=281087 and I couldn't find it because I was searching for the wrong thing, I couldn't find the member because I forgot he changed his user name, and that mod doesn't allow selecting multiple usergroups anyway. :(

Master Of Unive
12-07-2014, 06:28 AM
You know, I think someone had that covered in a different mod, but I guess it's gone now. I can't even find that user's account. He was one of those people who liked to leave and remove everything, to make some point I guess, and then come back later. I guess he left again. Or else I'm not searching for the right thing.

Hah, more like me xD.

My members have just reported that they could see notices in a hidden forum. Of course they couldn't access that forum, but the notices were still there.
Imo this must be a bug for criteria "user is browsing forum".

All those standard criterias will not work, only multi select for usergroups may do.

kh99
12-07-2014, 07:38 AM
Hah, more like me xD.

My members have just reported that they could see notices in a hidden forum. Of course they couldn't access that forum, but the notices were still there.
Imo this must be a bug for criteria "user is browsing forum.

I'll check on that.

Master Of Unive
12-07-2014, 08:09 AM
I'll check on that.

Just to clarify, the "user is browsing forum" I mentioned is default criteria of vbulletin, I haven't tested your mod.
I'll give it a try when I'm home.

Edit: Done a quick setup and same error happened.

kh99
12-07-2014, 08:11 AM
Just to clarify, the "user is browsing forum" I mentioned is default criteria of vbulletin, I haven't test your mod.
I'll give it a try when I'm home.

Oh, OK, I was thinking that was probably true since my mod works the same way as the default criteria.

ProfC
06-03-2015, 08:56 PM
I have a quick question: how would I get a notice to only display on the (forum) index page?

Thank you in advance :)

kh99
06-03-2015, 09:15 PM
I have a quick question: how would I get a notice to only display on the (forum) index page?

Thank you in advance :)

You should be able to do it by putting "index" (without the quotes) for the THIS_SCRIPT value.

ProfC
06-04-2015, 12:21 PM
Awesome, thank you. I'll give it a go later today ^^

JesWhite
02-07-2016, 09:29 AM
You should be able to do it by putting "index" (without the quotes) for the THIS_SCRIPT value.
i i like this addon but i wan to use this addon
www.vbulletin.org/forum/showthread.php?t=245240 (https://vborg.vbsupport.ru/showthread.php?t=245240)

or i want to this addon's feature on your addon.
there is a but for quick reply option on this addon. if i activate addon and after that i want to send post i have blank page problem...

maybe you want to add quickreply option... really need this option vbulletin...::(
and another option must be ....
this options is usergroups option...
vbulletin's default is only one group and only one exclude group...

if you add to list of usergroup and if we check to want to show notice addon will perfect for me ..

if i want to add a notice to quick edit quickreply i must change 4-5 templete changes...
thanks for your supports..