Exclude One Link for Select Few IP Addresses

Hello, I just created a new Muse internal website for my organization. I have been asked to exclude one certain link off my homepage for a select few IP addresses (Servers). Support tells me that this is possible, but they are not allowed to help, and I was told I need to post to this. So yeah that is what I am needing to do. Help would be much appreciated!
Thanks In Advance
Matt

Hi Matt,
You first need to find the IP of the client for which you need to implement some server side coding for example php and then hide the link if the client's IP matches the one in the list. This is just an example code below.
<script>
     <?php
          //Include all the IPs that you need to hide the link for here
          $ip_list = array('1.1.1.1','2.2.2.2','3.3.3.3');
          $hide_link = false;
          if(isset($_SERVER['HTTP_X_FORWARDED_FOR'])) {
               if(in_array((string)$_SERVER['HTTP_X_FORWARDED_FOR'],$ip_list)) {
                    $hide_link = true;
          } else if(isset($_SERVER['REMOTE_ADDR'])) {
                         if(in_array((string)$_SERVER['REMOTE_ADDR'],$ip_list)) {
                              $hide_link = true;
          if($hide_link) {
               echo "var hide_link = true";
     ?>
     if (typeof hide_link != 'undefined') {
          document.getElementById("id" /*Type the id assigned to the link here inside quotes*/).style.display = 'none';
</script>
- Abhishek Maurya
Message was edited by: Abhishek Maurya

Similar Messages

  • How to Use COLUMN NOPRINT - need to exclude one column from Select *

    Dear Friends,
    I need to exclude one column from a SELECT * query. Everytime the column data type is BLOB, I dont' want it to be part of my SELECT. After googling I found some info about NOPRINT but it doesn't seem to be working in my case. May be I am using it incorreclty.
    COLUMN FILE_DESC NOPRINT
    SELECT * FROM FILES;
    Where FILE_DESC is of BLOB datatype.Can I use it in my SELECT or it has to be used in Dynamic SQL? Is there any other option to achieve this?
    Thanks in advance.

    Hi,
    COLUMN FILE_DESC NOPRINT
    affects all queries in the same SQL*Plus session (unless you cancel it with a COLUMN FILE_DESC PRINT command.)  It doesn't matter if those queries are static or dynamic.  As mentioned before, COLUMN is a SQL*Plus command.  If you using a different front end, then it may have a different way to hide specific output columns.
    Did you have a poroblem when you tried it?  Post a complete test script that the people who want to help you can use to re-create the problem and test their ideas.
    See the forum FAQ: https://forums.oracle.com/message/9362002

  • In table view, how to add one button for selecting page?

    Hi Experts,
    In the OBIEE 11.1.1.6, we have one uncommon requirement that customers want to randomly select actual page to view expected data in table view.
    For example:
    We make use of some columns to create one report in table view, and set 'Rows per Page' equal to '5',
    if this report contains 60 rows, it will have 12 pages, so customers want to select sepcial page number to view the some data. Is it possible to implement this requirement? Maybe we should write JS code.
    Note: Below table view, it has four buttons: First Row, Previous Row, Next Row and Display (500) rows in per page. So we want to add one button to select per page.
    We look at orgnial codes in WebBrowse, but do not know the following codes derive from which JS file.
    Could you please tell me how to find this file?
    <td class="TapeDeckCell"><img class="TapeDeckImage" onclick="" onkeypress="" src="res/s_blafp/viewui/pivot/first_dis.png" title="" alt="" ><img class="TapeDeckImage" onclick="" onkeypress="" src="res/s_blafp/viewui/pivot/previous_dis.png" title="" alt="" ><img class="TapeDeckImageEna" onclick="PTRowScroll('saw_5083_b','5','5', event)" onkeypress="PTRowScroll('saw_5083_b','5','5', event)" src="res/s_blafp/viewui/pivot/next_ena.png" tabIndex="0" onmouseover="PTTD(event, 'res/s_blafp/viewui/pivot/next_ovr.png');" onmouseout="PTTDO(event)" onmousedown="PTTD(event, 'res/s_blafp/viewui/pivot/next_dwn.png');" title="Next 5 Rows" alt="Next 5 Rows" ><img class="TapeDeckImageEna" onclick="*PTRowScroll*('saw_5083_b','-1)', event)" onkeypress="PTRowScroll('saw_5083_b','-1)', event)" src="res/s_blafp/viewui/pivot/showallrows_ena.png" tabIndex="0" onmouseover="PTTD(event, 'res/s_blafp/viewui/pivot/showallrows_ovr.png');" onmouseout="PTTDO(event)" onmousedown="PTTD(event, 'res/s_blafp/viewui/pivot/showallrows_dwn.png');" title="Display maximum (500) rows per page" alt="Display maximum (500) rows per page" > <Span class="TapeDeckRecords">Rows 1 - 5</Span></td>

    Hi Kobe,
    Thanks for listening me.
    I agree 11g have some issues unlike 10g. I've tried the same by creating a measure rcount(1) and name it as Page in RPD. I just pulled column Page in pivot table section 'Pivot Table Prompts' it is working but this may not answer your requirements.
    I would suggest to use the column in Prompt and go by between operator to allow user to select the rows between.
    In the report make Page as prompted.
    If you are okay with this can look forward to tweak it further, like values in the prompt multiple of 5 or 10s some thing like that.
    let me know updates on the same.

  • Hotkey shortcut for selecting url in address bar to type new url?

    Hi, is there a shortcut hotkey for selecting all of the url in a browser window in oder to quickly type a new address, etc?
    Thanks
    (For example, rather than move the cursor up to an address such as http://www.apple.com is there a key combination I can use to select the entire address so I can type in a new url, such as pixar.com ?)
    Sorry if this is so basic.....

    oceanbluesky,
    Use (⌘ + L)
    ;~)

  • Link for selection screen

    I am able to determine the link for a report.  How can I determine the link for the selection screen which is to be presented before the query is run?
    The query is web based.  Thanks

    HI,
    At the end of your query link add &variable_screen=X.
    Now exexcute this link it will pop up the selection screen.
    Regds,
    Shashank

  • Send me one link for module pool programming !

    Send me the link Where i can get the screen shots step by step to create a simple module pool programming !

    hi,
    pls Go through this link for module pool programming
    http://www.allsaplinks.com/dialog_programming.html
    http://sap.mis.cmich.edu/sap-abap/abap09/
    http://www.sapdevelopment.co.uk/dialog/dialoghome.htm
    http://help.sap.com/saphelp_webas630/helpdata/en/9f/db9cdc35c111d1829f0000e829fbfe/content.htm
    http://sap.mis.cmich.edu/abap-00/
    http://www.allsaplinks.com/files/using_table_in_screen.pdf
    http://help.sap.com/saphelp_46c/helpdata/en/08/bef2dadb5311d1ad10080009b0fb56/content.htm
    http://www.sapgenie.com/links/abap.htm
    http://help.sap.com/saphelp_nw04/helpdata/en/c9/5472fc787f11d194c90000e8353423/frameset.htm
    http://www.sapdevelopment.co.uk/dialog/dialoghome.htm
    http://help.sap.com
    http://www.sapgenie.com/abap/example_code.htm
    http://help.sap.com/saphelp_47x200/helpdata/en/52/670ba2439b11d1896f0000e8322d00/frameset.htm
    http://www.allsaplinks.com/dialog_programming.html
    http://www.sapbrain.com/TUTORIALS/default.html
    http://www.sappoint.com/abap/spmp.pdf
    http://sappoint.com/abap.html
    http://www.sap-img.com/abap.htm
    http://sap.ittoolbox.com/code/archives.asp?i=10&t=450&a=t
    http://www.sapdevelopment.co.uk/dialog/dialoghome.htm
    http://www.sap-img.com/abap/
    http://www.sapdevelopment.co.uk/dialog/dialoghome.htm
    http://www.sap-img.com/
    http://www.sappoint.com/faq/faqdiapr.pdf
    http://www.allsaplinks.com/dialog_programming.html
    Reward Points if usefull
    Regards
    Fareedas

  • One SOLUTION for "self assigned IP address"

    Hello there, dealing with the nasty issue of "self assigned IP address" has been my latest two days nightmare, I tried lots and lots of solutions I read in forums here and there without getting to a point.
    I started this post because I want to post here a solution that really worked for me and I haven't seen it posted over the web.
    I don't remember where but I saw the comment that WEP encryption by the router is not very mac compatible as opposed to WPA. So a while ago when I entered my router home screen (Thomson TG585 v7) I saw the option to enable WPA-PSK encryption and went for it, I can tell you it inmediatelly got me online and till now my airport wireless conection is working perfectly.
    I'm not any mac/web guru and maybe I'm stepping some technical details but I want to share this tip with all of you because I know it can be a really nasty problem that one of the gat dam "self assigned IP address" and this may help somebody else. ;-)
    Best regards
    Luis Erantzcani

    Great tip Luis, thanks!

  • Time Capsule update not working for a few MAC addresses

    Whenever I update the Timed Access Schedule list of MAC addresses, some of the Wireless MAC Addresses I include go back to unlimited access ("Everyday" "all day") after a while.
    In other words, the "update" list configuration is accepted and works for some time; but the filter applied to some of the MAC addresses simply stop working after a while; therefore, those MAC addresses go back to the status of unrestricted access.
    This is happening consistently and I am not being able to program some MAC addresses in my local network to follow the schedule I wish (i.e., accessing the network only within previously specified.
    Has anyone experienced such a problem? Is that a bug? Any hints on how to solve this?

    colinb85 wrote:
    For some reason, all of a sudden my ethernet is not working on my time capsule. My wireless is running fine, but my xbox and tv box are not getting any connection. This does not make any sense to me.
    Does anyone know what may cause such an issue?
    If you restart the TC does it work again?
    Check the connectivity leds on both ends if possible.. certainly each port on the TC has small, micro small LED.. is it green when you are plugged in??
    You will need to connect a computer and attempt to ping the TC.. see if it passes packets.
    How old is the TC? The model number from the rubber foot please.. A1xxx
    And also if you can check the log from a computer if there are any issues.

  • CS3 target="_blank" not working on this one link for me.

    If you care to view the page, it is the little 'click here' link that I cannot seem to get to open in a new page.  Please advise.
    http://friesenequipment.com/servicespecials.html

    <span class="style45"><a href="pdfs/Binder2.pdf" target"_blank"><u>Click
                          here</u></a></span
    Funny that it does not seem to be appearing like that in DW.

  • Select few records

    Friends
    Lets think we have a custom table with fields A, B, C and which stores customers in it. I have to write a program which should display all the customers on the output screen(Somthing like grid list) from there enduser will pick few customers and only those customers needs to be changed.
    So can some one give me sample code for displaying the customers in grid  list and also need to have access for selecting few out of them for change mode.
    Cheers
    Satya

    Hi,
    My answer is probably to late to satisfy your request but we had to implemente a similar report.
    For your information I have based my application from the SAP program BALVBT01. "ALV using GRID Objects(Methods) on a screen".
    Regards

  • Connection dropping for a few minutes randomly, reoccuring issue for months now

    So my Too long, didn't read I'll just post now: Is there anyway to speak directly to an elevated support technician? I'm tired of having to spend half an hour each time I call just to get to someone who can tell me to do more than just reset the modem/router, and that they are sending a signal, and that they are "changing some settings" on the modem. And here is my full story: In december I moved into a different apartment. They hooked everything up, things worked ok for about 2 weeks. Then I would get this issue where my gateway would drop connection out of nowhere. The Power light would stay on, but the DS and Online lights would go off, and then come back on a few minutes later. This became a consistent thing (a few times a day, ranging from internet being out for 30 seconds to an hour).  I called, they brought a new modem, worked for about a day, same issue again. I called again. They brought another modem. Worked for a day, same issue again. I called again. They came out, this time they changed the coaxel running to the modem from the outside. Worked for about a day, same issue again. I called again. They came out, guy checked the signals and all that, put a new splitter on, checked the box outside that is attached to the apartment building, that goes to the powerline on the street. He updated some wiring that was in there. This worked for about a few weeks! success I thought. A few weeks later, same problem. This time a tech comes, says he remembers being here (He was the guy that came out for the initial install) and said he'd put in a work order for a truck to check the lines on the street. He didn't even bother checking any of my equipment because he knew it wasn't my stuff.  Well this seemed to do the trick, or so I thought. I never actually got a call or email or anything that the truck came, so I just assumed the truck came and they checked the lines on the powerline because my internet was finally stable for a month. And then yesterday. The. Same. problem. Comes. Back.  I call, and for now the 5th or 6th time, I have to go through their resetting script, even though I clearly state my issues, what has been tried, that they determined it wasn't my equipment and got a truck to check the lines on the powerline, and they IGNORE ALL THAT AND DO THE SAME THING WE'VE ALREADY DONE, SEVERAL TIMES. I am thoroughly, thoroughly upset at this point. I don't know what to do. All I want, is internet that doesn't cut out randomly, for more then 3 or 4 weeks. I can understand it cutting out "once in awhile", maybe one time for a few minutes every few weeks. I'd be happy with that at this point even. But I pay 180 dollars for my tv and internet package. This is UNACCEPTABLE.  Is there a different number I can call, or someone I can write to? I need to know how to get this issue looked at by the proper personnel, or have them taking it more seriously then just checking things one time and being done with it. 

    I experienced the same problems for a month or more. I was as frustrated as you sound. In fact, I told them that the only new package (Evidently they are required to try to get you to upgrade your service when you call for problem resolution) I was interested in was ATT U-Verse. (Grin). I was very frustrated. I took additonal steps. I ran a seperate Coaxial cable across the floor of my house to disprove the "House wiring is bad" theory. I bought a new modem myself because mine was a year or two old. And who am I? They may have been correct. And yet my trouble continued. Finally, after some very angry calls to some poor ladies and men in some unknown country, I was finally contacted by somone in my local service area (South Florida) last night. "Tech 1" came out and replaced my sevice line from the pole to the house. He was still not satisfied with the signal, so he passed it on to the next level. An hour later "Tech 2" showed up and adjusted some settings he could only access by going up in the air. I will say this, and hopefully not jinx myself, that my modem connects instantly now. Both of these men were professional, they answered my questions. They worked hard, it is 90 degrees today. Both of these men told me that they would monitor my connection status throughout the next week. My major complaint now is "Why did it take so long to get help"? Once I got through to the "Front Line" things got better really fast. All of this work was accomplished today, Sunday, by cheerful, friendly people who helped me. If anyone from Comcast/Xfinity monitors this, please, commend the two techs who came to help me today. Another good thing might be to dispatch these people sooner, rather than put an electronics technician like myself, through that same script over and over again for a #%#$%^ month. Yes I have the cable connected, Yes it is plugged into my computer, no there is no router, hardwired not wireless.  By all means send a refresh signal. You can't see my modem, well my modem sees you!

  • Exclude one field from Logical Database's dynamic selection screen

    Hi Guru,
    I have a requirement to amend a program to exclude the document number field (bsik-belnr) from the dynamic selection-screen of the logical database KDF(Vendor Database) so that the program will not filter according to the document number.
    I have use the below syntax in my zprogram.
      selection-screen exclude select-options: doc-no.
    However I get syntax error "The addition EXCLUDE is only allowed in INCLUDE DBKDFSEL".
    Please advice.
    Best Regards,
    Fung

    The selection part of the logical database defines input fields for selecting data.
              The runtime environment displays these on the selection screen when you run an executable program linked to the logical database.
              Include called DB<ldbname>SEL.
            SELECTION-SCREEN BEGIN OF VERSION ver TEXT-xxx.
                                                                    SELECTION-SCREEN EXCLUDE ... .
                                                    SELECTION-SCREEN END OF VERSION ver.
    Defines a selection screen version (with a three-character name ver ). Between BEGIN OF VERSION and END OF VERSION , you can exclude selection screen objects for the version ver , i.e. remove them from the selection screen with SELECTION-SCREEN EXCLUDE.
              SELECTION-SCREEN DYNAMIC SELECTIONS FOR TABLE dbtab
    If one of these tables is active in the report (i.e. it is declared under TABLES or lies somewhere on the path from the root of the database hierarchy to a table declared with TABLES ), a pushbutton called 'Dynamic selections' appears on the selection screen.

  • HT2486 the photos that I add to address book will only be there for a few seconds after I close the edit button. Either they go away completely or they a very small portion of the actual photo

    the photos that I add to address book will only be there for a few seconds after I close the edit button. Either they go away completely or they are very small portion of the actual photo

    Frank, thanks for your note.  I wrote "COMPLETED" because I had gone to a lot of effort to get the content of the book precisely as I wanted it. I would fully expect to see my level of effort and care matched by functional competence in Aperture 3 to render the book the way I created it.  Too much to ask?
    And yes, I upgraded the Aperture 2 Library first.  [Not ALL my tens of 000s of pix, because I use Lightroom selectively for photo editing. But Yes to the Aperture 2 Library.]  That step took a number of minutes, but seemed to work fine (no error messages of any kind).
    Then I opened the existing book project in Aperture 3, which followed some "magic-box" process that took a minute or so.  As I said, when that step was done, by all appearances the book was ready to submit for printing - until I examined the photos a little more closely.  You did see the blurry example I included, didn't you? That is what each and every photo looks like.
    Text-box content appears to have been rendered pertectly, for the record (including captions).
    So, ... is this result something you have heard of before?  Do you know of a one-step solution?  Or am I looking at an extended picture-by-picture fix?

  • Selecting individual email addresses for Mail inbox

    Hi everyone,
    Does anyone know if there is a way on Mail for it to not download all your email's but be able to select certain email addresses that you want to recieve email from?

    I reckon they should probably either make an app or put it in one of the updates so that you have this option otherwise people will get loads of emails that they don't actually want, like me. I'm expecting a few emails from select people that are quite important and I don't want my phone downloading a new bit of junk email every 5 seconds. Oh well, guess I just have to live with that for now

  • I designed my social media buttons. How do I add the link to each one. For example: How do I add my Facebook link to my face book button on my muse site?

    I designed my social media buttons. How do I add the link to each one. For example: How do I add my Facebook link to my facebook button on my muse site?

    Hello,
    Please select the button that you have created and go to hyperlink tab and add the facebook page URL there.
    Please take a look at the screenshot below.
    Regards
    Vivek

Maybe you are looking for

  • Changes to chart are not saved

    Hi, I open a query in BEx Analyzer, change the chart into a donut, and save it as a workbook. I close the workbook and open the workbook again. The chart is back of the 'bar'type, the donut has disappeared. How can I save the donut? or other layout I

  • How do I correct the silverlight application storage error to watch netflix movies?

    I get a Silverlight application storage error when attempting to watch an instant netflix movie. Following instructions of error message does not correct. Instant movies play properly with Explorer - but not Firefox.

  • Urgent!!!! regarding report output

    i have a requirement such that, i need report without top of page..but headers needed to be in the printout in all pages.......pls gv ur suggestions. thanks

  • PSE8 - Need help with bizarre selection problem with spot healing and clone tools

    In using clone stamp and spot healing brush--. When I Alt click for my sample I get entire image---acting as if I'm moving a layer---whether I'm working on a single or multi-layer image.  This is PSE8 3 gig ram windows ----Lenovo Core II duo  P8400 

  • Sun Java Directory Server 5.2 x86 download

    I'm trying to find a copy of the x86 version of the Sun Java Directory Server compressed archive for Solaris.  I'm trying to build out a test system for some old software, and I only have a copy of the Sparc version of ldap.  I've tried using the cur