Menu

Disable flags

Help
Anonymous
2003-10-27
2012-09-14
  • Anonymous

    Anonymous - 2003-10-27

    Hi.
    I've searched and searched and searched but I cannot find out how you stop the flags from being displayed on the login page.

    Can you help ?
    Cheers
    Mick

     
    • Anonymous

      Anonymous - 2003-10-28

      I can't help you right now... but I can give you hope.  I found a way to get rid of the flags, but unfortunately I can not remember how nor can I find the page I printed out with the instructions.  I have to go eat dinner while it is hot so I cannot try to find the path back to the way I did it right now.  I will try to figure it out for you tomorrow.  Keep the faith it can be done.
      It has something to do with changing a setting in one of the files.  I know that does not help you right now, but I will figure it out for you tomorrow if no one has given you directions by the time I get to work on it again tomorrow. :)
      Marion
      http://cleos-corner.com/chat/phpMyChat.php3   

       
      • Anonymous

        Anonymous - 2003-10-28

        Find your index.lib.php3 file.  It should be located at Chat/lib/index.lib.php3.

        Once you find the index.lib.php3 file I highly recommend copying it and pasting into a word doc just as a backup incase you change something and it doesn't work out.  There are other things you can change in this file besides the flags. :)

        Well, back to the flags...
        In the index.lib.php3 file look for this string of words:

        // Display flags if necessary
                if (C_MULTI_LANG == 1) 

        The string of words are located near the end of the page after:
        <INPUT TYPE="hidden" NAME="Ver" VALUE="<?php echo($Ver); ?>">
        <INPUT TYPE="hidden" NAME="Form_Send" VALUE="1">
        <INPUT TYPE="hidden" NAME="L" VALUE="<?php echo($L); ?>">
        <INPUT TYPE="hidden" NAME="N" VALUE="<?php echo(C_MSG_NB); ?>">
        <INPUT TYPE="hidden" NAME="D" VALUE="<?php echo(C_MSG_REFRESH); ?>">

        <TABLE BORDER=0 CELLPADDING=3 CLASS="ChatTable">
        <TR CLASS="ChatCell">
            <TD ALIGN="CENTER" CLASS="ChatCell">
                <TABLE BORDER=0 CLASS="ChatTable">
                <?php

        Or, an easier way to find them is to click on "Edit" on your menu bar at the top of your Internet window and then clicking "Find on this page" and then putting the word "flag" into the pop up window.

        Once you have found the afore mentioned string of words change the "1" in (C_MULTI_LANG == 1) to "0"... or I imagine any other numeric value will do.  This should get rid of the flags.

        Let me know how it goes :)

         
    • Anonymous

      Anonymous - 2003-10-28

      Just a note:  If the value in the string is not a 1... don't worry.  That is my mess up.  That string (command) is looking for the value in another file.  Once I had gotten rid of my flags I was messing around with another file and I unknowingly changed the value that the comman was looking for and my flags popped back up.  I immediatly realized what I did and fixed the problem... but I can't remember which file I fixed. :)  Now I can't remember if the original value was a 0 or a 1. 
      The point here is that whatever value is in your file, be it a 1 or a 0, just change it.  That will get rid of the flags.
      I hope I have not confused you too much. I am new to this stuff myself.  The pros are probably laughing their rear-ends off reading my posts. :)

       
    • Anonymous

      Anonymous - 2003-10-28

      Cheers for the help.
      I'll give it a try

       
    • Anonymous

      Anonymous - 2003-10-28

      :)
      Just tried it. Cool thx.

       

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.