The forum of the forums

Would you like to react to this message? Create an account in a few clicks or log in to continue.
The forum of the forums
3 posters

    Unknown Link

    DarkGlow
    DarkGlow
    Forumember


    Male Posts : 629
    Reputation : 92
    Language : English | Hebrew | Arabic
    Location : Israel

    Solved Unknown Link

    Post by DarkGlow August 30th 2012, 9:03 pm

    Hi,

    A link is appearing at top of my forums for no apparent reason, I've changed the theme, yes. The CSS was reset and set to a new one, I copied my previous CSS and pasted it in the new CSS (ofc not ALL of it, just the ones I wanted). Then this started to appear; when the guest logs in, it disappears with the login function, I just want a fix. I want that link to disappear. Thanks.

    Unknown Link 5vqes8

    Also, there's one more thing, the text in my posts is always black, I tried to change everything in the CSS and colors tab which is next to it, but it kinda caused other stuff. For example, the moderators color should be red on my forums, however, some are now red and white. I've used the following code:

    Code:
    body{
    color: #FFFFFF !important;
    }

    If I could get a clean answer to that, I'd be grateful as well.

    Thanks.

    EDIT; ugh one more thing Wink

    One of the forum titles (under category) has changed from its original theme color (red) to white. I believe it's due to the code I'm using above. I might need a solution for this.
    DarkGlow
    DarkGlow
    Forumember


    Male Posts : 629
    Reputation : 92
    Language : English | Hebrew | Arabic
    Location : Israel

    Solved Re: Unknown Link

    Post by DarkGlow September 1st 2012, 1:09 am

    bump, this doesn't seem to be hard for support moderators or above. so please

    Wink
    SLGray
    SLGray
    Administrator
    Administrator


    Male Posts : 51555
    Reputation : 3524
    Language : English
    Location : United States

    Solved Re: Unknown Link

    Post by SLGray September 1st 2012, 3:30 am

    That is not a link. It is part of the code you added.



    Unknown Link Slgray10

    When your topic has been solved, ensure you mark the topic solved.
    Never post your email in public.
    DarkGlow
    DarkGlow
    Forumember


    Male Posts : 629
    Reputation : 92
    Language : English | Hebrew | Arabic
    Location : Israel

    Solved Re: Unknown Link

    Post by DarkGlow September 1st 2012, 3:38 am

    slg wrote:That is not a link. It is part of the code you added.

    I highly doubt.

    On my former theme, that link wasn't appearing, however after I changed the theme and put my CSS back, it appeared.

    Nera for sure knows, considering she guided about the login function. So if you could let her know, I'd be grateful.
    SLGray
    SLGray
    Administrator
    Administrator


    Male Posts : 51555
    Reputation : 3524
    Language : English
    Location : United States

    Solved Re: Unknown Link

    Post by SLGray September 1st 2012, 3:43 am

    Take a look and make sure that the code is posted correctly.




    Unknown Link Slgray10

    When your topic has been solved, ensure you mark the topic solved.
    Never post your email in public.
    DarkGlow
    DarkGlow
    Forumember


    Male Posts : 629
    Reputation : 92
    Language : English | Hebrew | Arabic
    Location : Israel

    Solved Re: Unknown Link

    Post by DarkGlow September 1st 2012, 2:02 pm

    Hi,

    Is this a joke right now? Seriously.

    I've re-done everything from the scratch and I'm one hundred percent sure I've done every single step accordingly.

    Now guess what, link didn't disappear and now guests can NOT see the login function, only registered users CAN. It appears for registered users instead of guests.

    Also, yes; I've added the code in the templates among triggers, I've re-added, re-done, and re-tried everything.

    How can someone explain this? Is all of this happening just because I changed the theme?
    EDIT; I've found this in my template:

    Code:

      background="{T_BODY_BACKGROUND}" bgcolor="{T_BODY_BGCOLOR}" text="{T_BODY_TEXT}" link="{T_BODY_LINK}" vlink="{T_BODY_VLINK}">
       <!-- BEGIN hitskin_preview -->
       <div id="hitskin_preview" style="display: block;">
          <h1><img src="http://2img.net/i/fa/hitskin/hitskin_logo.png" alt="" /> Hit<em>skin</em>.com</h1>
          <div class="content">
             <p>
                {hitskin_preview.L_THEME_SITE_PREVIEW}
                <br />
                <span>{hitskin_preview.U_INSTALL_THEME}<a href="http://{hitskin_preview.U_RETURN_THEME}">{hitskin_preview.L_RETURN_THEME}</a></span>
             </p>
          </div>
       </div>
    <!-- END hitskin_preview -->

    Might it be the reason for that link appearing on top or what?
    DarkGlow
    DarkGlow
    Forumember


    Male Posts : 629
    Reputation : 92
    Language : English | Hebrew | Arabic
    Location : Israel

    Solved Re: Unknown Link

    Post by DarkGlow September 2nd 2012, 8:15 pm

    hmmmmmmmmmmmmmmmmmmmmmmmmmm

    Not sure if Nera checked this, but she might know the answer, I want her to post if she at least knows. If you could call/get her here, I'd be grateful.

    Also; she blocked players from sending PM's.
    DarkGlow
    DarkGlow
    Forumember


    Male Posts : 629
    Reputation : 92
    Language : English | Hebrew | Arabic
    Location : Israel

    Solved Re: Unknown Link

    Post by DarkGlow September 3rd 2012, 9:19 pm

    I've just found out why the link appeared, it's due to that CSS code I posted above:

    Code:
    body{
    color: #FFFFFF !important;
    }

    Also, it's the reason for other forums and titles getting the white color. I've removed !important; and it fixed almost everything other than the link, it appeared in white due to that code containing 'body'. So not only the text in posts was colored white, also few other stuff (link is one of them).

    Therefore, I just need a code that changes the text in posts to white, I have it set as black for some reason, the text color is white in my settings, however it's black. I want a code for a white color text in posts, please.

    Is there another code or is it just
    Code:
    body{
    color: #FFFFFF !important;
    }
    ?

    Thanks in advance.
    nextlevelgaming
    nextlevelgaming
    Forumember


    Male Posts : 989
    Reputation : 38
    Language : English|CSS|HTML5|javascript|
    Location : New York

    Solved Re: Unknown Link

    Post by nextlevelgaming September 3rd 2012, 11:25 pm

    the link you are getting in your slider is caused by a code issue. within tables, if you close it correctly it will go away and then ceasing the issue you are having. Check the code that you must insert at the <body
    DarkGlow
    DarkGlow
    Forumember


    Male Posts : 629
    Reputation : 92
    Language : English | Hebrew | Arabic
    Location : Israel

    Solved Re: Unknown Link

    Post by DarkGlow September 4th 2012, 12:57 am

    This is what's after <body (of course what I added for the login function):

    Code:
    <!-- BEGIN switch_user_logged_out -->
          <!-- Login --><div id="toppanel">
      <div id="panel">
          <div class="content clearfix">
            <div class="left">
                <h1>Welcome to Our Official Website!</h1>
                <h2>The Home of Sworn Police Officers.</h2>     
                <p class="grey">Please login or register now! Thank you</p>
                <h2>Benefits of Registering?</h2>
                <p class="grey">You'll be permitted to view and post in various sections on our official website! You'll gain further rights.</p>
            </div>
            <div class="left">
                <center><h1>Login</h1></center>
    <form class="c3" action="/login.forum" method="post">
    <table class="c2" border="0" cellpadding="3" cellspacing="1">
    <tbody>
    <tr>
    <td align="right" width="45%">Username:</td>
    <td><input name="username" size="25" maxlength="40" class="c1" type="text"></td>
    </tr>
    <tr>
    <td align="right">Password:</td>
    <td><input name="password" size="25" maxlength="32" class="c1" type="password"></td>
    </tr>
    <tr align="center">
    <td colspan="2">Log me on automatically each visit: <input name="autologin" checked="true" type="checkbox"></td>
    </tr>
    <tr align="center">
    <td colspan="2"><input class="mainoption" name="login" value="Log in" type="submit"> <input name="redirect" type="hidden" value="/h1-redirect-page"></td>
    </tr>
    </tbody>
    </table>
    </form>
            </div>
            <div class="left right">
                <form action="#" method="post">
                  <h1>Not a member yet? Register!</h1> 
    <br>       
                  <center><a href="/register">Click here to Register now!</a></center>
                                        <center> You will be Redirected to the Login Page</center>

                </form>
            </div>
          </div>
      </div> <!-- /login --> 

        <!-- The tab on top --> 
      <div class="tab">
          <ul class="login">
              <li class="left"> </li>
              <li>Hello Guest!</li>
            <li class="sep">|</li>
            <li id="toggle">
                <a id="open" class="open" href="#">Log In | Register</a>
                <a id="close" style="display: none;" class="close" href="#">Close Panel</a>       
            </li>
              <li class="right"> </li>
          </ul>
      </div> <!-- / top -->
     
    </div> <!--panel -->
              <!-- END switch_user_logged_out -->

    I can't exactly determine what forces the link to appear, what about you?
    nextlevelgaming
    nextlevelgaming
    Forumember


    Male Posts : 989
    Reputation : 38
    Language : English|CSS|HTML5|javascript|
    Location : New York

    Solved Re: Unknown Link

    Post by nextlevelgaming September 4th 2012, 1:03 am

    hey man give me a link to your website. it looks like aside from that script, you may have erase something. Just let me take a look and let you know really quick. I have this same login perspective and well its not doing it to my site. Ill look quick for ya
    DarkGlow
    DarkGlow
    Forumember


    Male Posts : 629
    Reputation : 92
    Language : English | Hebrew | Arabic
    Location : Israel

    Solved Re: Unknown Link

    Post by DarkGlow September 4th 2012, 1:06 am

    Ok, here's my site:

    http://lspd-gov.sampforum.net/

    You should know that the login function is disabled for registered users and enabled for guests, so that link appears for guests when the login function pops up.
    nextlevelgaming
    nextlevelgaming
    Forumember


    Male Posts : 989
    Reputation : 38
    Language : English|CSS|HTML5|javascript|
    Location : New York

    Solved Re: Unknown Link

    Post by nextlevelgaming September 4th 2012, 1:20 am

    found your error. Firstly is this the only thing you have done in the overall header? if so go back to default! then go and find the body. what happened was you placed the code inside your body tags. and orginally this what your body looked like
    Code:
    <body background="http://i49.tinypic.com/16kxn7.jpg" bgcolor="#000000" text="#ffffff" link="#0063f7" vlink="#0063f7">
    so right after
    Code:
    vlink="{T_BODY_VLINK}">
    add your code.

    Code:
    <!--
     Login --><div id="toppanel"><div id="panel"><div class="content clearfix"><div class="left"><h1>Welcome to Our Official Website!</h1><h2>The Home of Sworn Police Officers.</h2>      <p class="grey">Please login or register now! Thank you</p><h2>Benefits of Registering?</h2><p class="grey">You'll be permitted to view and post in various sections on our official website! You'll gain further rights.</p></div><div class="left"><center><h1>Login</h1></center><form class="c3" action="/login.forum" method="post"><table class="c2" border="0" cellpadding="3" cellspacing="1"><tbody><tr><td align="right" width="45%">Username:</td><td><input name="username" size="25" maxlength="40" class="c1" type="text"></td></tr><tr><td align="right">Password:</td><td><input name="password" size="25" maxlength="32" class="c1" type="password"></td></tr><tr align="center"><td colspan="2">Log me on automatically each visit: <input name="autologin" checked="true" type="checkbox"></td></tr><tr align="center"><td colspan="2"><input class="mainoption" name="login" value="Log in" type="submit"> <input name="redirect" type="hidden" value="/h1-redirect-page"></td></tr></tbody></table></form></div><div class="left right"><form action="#" method="post"><h1>Not a member yet? Register!</h1>  <br>        <center><a href="/register">Click here to Register now!</a></center><center> You will be Redirected to the Login Page</center></form></div></div></div><!--
     /login --><!--
     The tab on top -->  <div class="tab"><ul class="login"><li class="left"> </li><li>Hello Guest!</li><li class="sep">|</li><li id="toggle"><a id="open" class="open" href="#">Log In | Register</a><a id="close" style="display: none;" class="close" href="#">Close Panel</a>        </li><li class="right"> </li></ul> </div><!--
     / top --></div><!--
    panel -->

    also if you want it to hide to logged in users use these between that code.

    Code:
    <!-- BEGIN switch_user_logged_out -->
    <!-- END switch_user_logged_out -->

    begin should be before <!-- login --> and the END will be right after <!-- panel --> hoppe this helps you my friend
    DarkGlow
    DarkGlow
    Forumember


    Male Posts : 629
    Reputation : 92
    Language : English | Hebrew | Arabic
    Location : Israel

    Solved Re: Unknown Link

    Post by DarkGlow September 4th 2012, 1:33 am

    Wink

    Thank you, the link has finally gone away. I'm extremely grateful for that.

    Does anyone have a code to change the text color in posts now? lol
    nextlevelgaming
    nextlevelgaming
    Forumember


    Male Posts : 989
    Reputation : 38
    Language : English|CSS|HTML5|javascript|
    Location : New York

    Solved Re: Unknown Link

    Post by nextlevelgaming September 4th 2012, 1:35 am

    lol no problem my friend. It takes a little time and someone who stands by you and takes the process slowly. now post text that's easy my friend go to CSS and find
    Code:
    .postdetails{
        font-size : 9px;
        color : #cccccc;
        }
    .postbody{
        font-size : 12px;
        line-height: 18px}
    a.postlink:link{
        text-decoration: none;
        color : #33aaff }
    a.postlink:visited{
        text-decoration: none;
        color : #ff9900;
        }
    a.postlink:active{
        text-decoration: none;
        color : #bbbbbb;
        }
    a.postlink:hover{
        text-decoration: underline;
        color : #ff0000}

    and mess around with that a little to your liking
    DarkGlow
    DarkGlow
    Forumember


    Male Posts : 629
    Reputation : 92
    Language : English | Hebrew | Arabic
    Location : Israel

    Solved Re: Unknown Link

    Post by DarkGlow September 4th 2012, 1:40 am

    I don't really have that in CSS, so I'll just steal that code Cool

    I'm a bit confused; is it postdetails or postbody to change the text color? Postbody does not have a color option though.
    nextlevelgaming
    nextlevelgaming
    Forumember


    Male Posts : 989
    Reputation : 38
    Language : English|CSS|HTML5|javascript|
    Location : New York

    Solved Re: Unknown Link

    Post by nextlevelgaming September 4th 2012, 1:43 am

    details i'm sure will work. try it out add a vibrant color and see if it changes what you want
    DarkGlow
    DarkGlow
    Forumember


    Male Posts : 629
    Reputation : 92
    Language : English | Hebrew | Arabic
    Location : Israel

    Solved Re: Unknown Link

    Post by DarkGlow September 4th 2012, 1:47 am

    Everything worked out. Great thanks to you.

    This may be locked & moved.
    nextlevelgaming
    nextlevelgaming
    Forumember


    Male Posts : 989
    Reputation : 38
    Language : English|CSS|HTML5|javascript|
    Location : New York

    Solved Re: Unknown Link

    Post by nextlevelgaming September 4th 2012, 1:48 am

    Good going my friend. I'm glad to assist you. If you ever need help, make a topic, and PM me with link and i'll help ya
    DarkGlow
    DarkGlow
    Forumember


    Male Posts : 629
    Reputation : 92
    Language : English | Hebrew | Arabic
    Location : Israel

    Solved Re: Unknown Link

    Post by DarkGlow September 4th 2012, 1:50 am

    How cute.
    nextlevelgaming
    nextlevelgaming
    Forumember


    Male Posts : 989
    Reputation : 38
    Language : English|CSS|HTML5|javascript|
    Location : New York

    Solved Re: Unknown Link

    Post by nextlevelgaming September 4th 2012, 1:51 am

    ???
    DarkGlow
    DarkGlow
    Forumember


    Male Posts : 629
    Reputation : 92
    Language : English | Hebrew | Arabic
    Location : Israel

    Solved Re: Unknown Link

    Post by DarkGlow September 4th 2012, 1:52 am

    nextlevelgaming wrote:???

    LOL.

    I didn't mean anything. Thanks for the help once again. Cool
    nextlevelgaming
    nextlevelgaming
    Forumember


    Male Posts : 989
    Reputation : 38
    Language : English|CSS|HTML5|javascript|
    Location : New York

    Solved Re: Unknown Link

    Post by nextlevelgaming September 4th 2012, 1:53 am

    no problem
    SLGray
    SLGray
    Administrator
    Administrator


    Male Posts : 51555
    Reputation : 3524
    Language : English
    Location : United States

    Solved Re: Unknown Link

    Post by SLGray September 4th 2012, 3:29 am

    Topic Solved & Locked



    Unknown Link Slgray10

    When your topic has been solved, ensure you mark the topic solved.
    Never post your email in public.

      Current date/time is November 14th 2024, 1:48 pm