![]() |
NJAquaman - Notices THIS_SCRIPT Criteria
1 Attachment(s)
What: A Product To Give you THIS_SCRIPT Criteria for Notices.
WORKS WITH ..!!! 4.0.x Install: 1) Navigate to ACP > Plugins & Products > Manage Products > Add/Import Product 2) Install the "NJAquaman - Notices THIS_SCRIPT Criteria" Product. 3) Navigate to Notices > Add New Notice 4) At the Bottom you can determine to show on certain page with the THIS_SCRIPT defined 5) To Define THIS_SCRIPT go to any "PHP" file on you forum and download and open it you will see something like this "define('THIS_SCRIPT', 'profile'); " . The "profile" is the THIS_SCRIPT name and thats what your going to use for the Notice is you want it to show, on that page. The Way this works is when you Create Notice you may only show it on a php page of your choice . Say you want to put the notice only on the Profile page. So you check THIS_SCRIPT code in the member.php and it says "member". Then put the "member" in the field that is given when creating a notice. Now it will only show up on the memer.php/profile pages. All other Criteria will also work when this is enabled. If all You wanted Not on THIS_SCRIPT Download This Version - NJAquaman - Notices THIS_SCRIPT Criteria (NOT THIS_SCRIPT) Demo: Attachment 109053 DONT FORGET TO CLICK INSTALL __________________________________________________ ______________ Change Log v1.1 - 01/04/10 - Added the Not THIS_SCRIPT Version (KALL) __________________________________________________ ______________ |
Can we get a better explanation? Also a screen shot of it in use would be nice as well.
|
Basically it looks like when you download this it adds the criteria for Notices. Right now the way you do Notices is...interesting. Like you have to say the those who see it are NOT of Group X, etc. One thing I've noticed is that there is NO CHOICE for "Let Everyone See This Notice"!
So if I'm reading this right, picking this criteria says, "Let every see this if this script is this script." Which mean everyone sees it. It could just as well be labeled "Show to Everyone" but this works, too. |
So I could use this notice and say if profile fieldx isn't met show? As I have a mandatory profile field on my forum.
|
Can we have an screenshot or a demo site? I have no idea yet as what this exactly does.
Thanks :) |
Quote:
Quote:
Quote:
Quote:
The Way this works is when you Create Notice you may only show it on a php page of your choice . Example >> Say you want to put the notice only on the Profile page. So you check THIS_SCRIPT code in the member.php and it says "member". Then put the "member" in the field that is given when creating a notice. Now it will only show up on the memer.php/profile pages. All other Criteria will also work when this is enabled. Example2 >> Say You Want it to only display in the CMS. You use "vbcms" as the THIS_SCRIPT code when making a Notice. Then it will only show on the CMS. If you have any more question Please ask, i will be Glad to help! This is a simple Mod so i suggest trying it out !! Then you may click install later! Thanks |
I would install if this had a "this script is NOT" :)
That would be wonderful. Thanks! |
I love being wrong. :(
I can see how this could be useful, though. If only I used notices more... |
Quote:
PHP Code:
PHP Code:
|
Quote:
This is Great thanks KALL! |
What if I want to show something everywhere except on this one scripts page.
|
Quote:
|
great idea!
it would be great if both scripts were combined, with a radio button option 'this_script' or 'not this_script'. or if one could even run them at the same time (with the obvious caveat). but it kicks ass in any case. one great use for this is 'helpful tips' on various pages. great work mate. |
Great mod! This offers a simple way to reach the folks you need to in a simple way. Installed!
|
This is a great mod - simple yet very effective.
Two requests though:
|
I can confirm that this working on 3.8.5 rather nicely. Beats the built in Arcade Announcement that comes with ibProArcade. http://www.cogonline.net/forums/arcade.php
|
Quote:
confirmed working on 3.8.x |
could you make one for advertising which comes with vbulletin?
|
Works with 4.1.10.... thanks
|
It's working on 4.2, but shouldn't this be upgraded ?
Regards,, |
nice mod! reserved for later use. very important actually... Thanks :)
|
All times are GMT. The time now is 04:53 PM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|