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
+4
tikky
Neptune-
TheCrow
smurfavr
8 posters

    Modification of the code for user visits.

    smurfavr
    smurfavr
    Active Poster


    Male Posts : 1881
    Reputation : 22
    Language : Bulgarian

    In progress Modification of the code for user visits.

    Post by smurfavr October 26th 2019, 12:44 pm

    1. How to make a banner of the code size 88x31, because it is currently 100x42.
    2. How to open a page in a new tab by clicking on the banner from the code?
    Code:
    <!--     Begin ShinyStat Code     --><script type="text/javascript" src="//codice.shinystat.com/cgi-bin/getcod.cgi?USER=smurfavr"></script><noscript><h6><a href="http://www.shinystat.com"> <img src="//www.shinystat.com/cgi-bin/shinystat.cgi?USER=smurfavr" alt="Counter free" style="border:0px" /></a></h6> </noscript>  
             <!--     End ShinyStat Code     -->
    TheCrow
    TheCrow
    Manager
    Manager


    Male Posts : 6916
    Reputation : 795
    Language : Greek, English

    In progress Re: Modification of the code for user visits.

    Post by TheCrow October 26th 2019, 1:38 pm

    Hello @smurfavr,

    Try replacing your code with this one:
    Code:
    <!--     Begin ShinyStat Code     --><script type="text/javascript" src="//codice.shinystat.com/cgi-bin/getcod.cgi?USER=smurfavr"></script><noscript><h6><a href="http://www.shinystat.com" target="_blank"> <img src="//www.shinystat.com/cgi-bin/shinystat.cgi?USER=smurfavr" alt="Counter free" style="width:88px;height:31px;border:0px" /></a></h6> </noscript>  
     Â        <!--     End ShinyStat Code     -->

    This should fix your problem here.

    TC.
    smurfavr
    smurfavr
    Active Poster


    Male Posts : 1881
    Reputation : 22
    Language : Bulgarian

    In progress Re: Modification of the code for user visits.

    Post by smurfavr October 26th 2019, 2:26 pm

    @TheCrow I changed the code but nothing changed.
    Neptune-
    Neptune-
    Forumember


    Female Posts : 496
    Reputation : 104
    Language : French (10), English (8), CSS (5), HTML (4), Javascript (4)
    Location : Scotland, UK

    In progress Re: Modification of the code for user visits.

    Post by Neptune- October 27th 2019, 8:07 pm

    Hello,

    Just add this to your CSS

    Code:
    img[src*="shinystat.com/cgi-bin/shinystat.cgi"] {
      width: 88px;
      height: 31px;
      }
    smurfavr
    smurfavr
    Active Poster


    Male Posts : 1881
    Reputation : 22
    Language : Bulgarian

    In progress Re: Modification of the code for user visits.

    Post by smurfavr October 29th 2019, 11:17 am

    @Neptune-  I add this the code but nothing changed.
    tikky
    tikky
    Forumember


    Posts : 922
    Reputation : 160
    Language : 🇵🇹

    In progress Re: Modification of the code for user visits.

    Post by tikky November 1st 2019, 10:06 am

    Hello @smurfavr,
    Change the code to:
    Code:
    <!--    Begin ShinyStat Code    --><script type="text/javascript" src="//codice.shinystat.com/cgi-bin/getcod.cgi?USER=smurfavr"></script><noscript><h6><a href="http://www.shinystat.com" target="_blank" rel="noopener"> <img src="//www.shinystat.com/cgi-bin/shinystat.cgi?USER=smurfavr" alt="Counter free" style="border:0px; height: 31px!important; width: 88px!important;" /></a></h6> </noscript> 
            <!--    End ShinyStat Code    -->


    Cordially,
    pedxz.
    Neptune-
    Neptune-
    Forumember


    Female Posts : 496
    Reputation : 104
    Language : French (10), English (8), CSS (5), HTML (4), Javascript (4)
    Location : Scotland, UK

    In progress Re: Modification of the code for user visits.

    Post by Neptune- November 1st 2019, 11:09 am

    smurfavr wrote:@Neptune-  I add this the code but nothing changed.

    I tested it of course before posting it there, so i know it works
    smurfavr
    smurfavr
    Active Poster


    Male Posts : 1881
    Reputation : 22
    Language : Bulgarian

    In progress Re: Modification of the code for user visits.

    Post by smurfavr November 1st 2019, 11:32 am

    Neptune- wrote:
    smurfavr wrote:@Neptune-  I add this the code but nothing changed.

    I tested it of course before posting it there, so i know it works

    I'm telling you the truth and I'm not lying to you.


    pedxz wrote:Hello @smurfavr,
    Change the code to:
    Code:
       
           


    Cordially,
    pedxz.

    Did not work. My version is phpbb2.
    tikky
    tikky
    Forumember


    Posts : 922
    Reputation : 160
    Language : 🇵🇹

    In progress Re: Modification of the code for user visits.

    Post by tikky November 1st 2019, 4:56 pm

    Sorry, use my code and change what @Neptune- sent to
    Code:
    img[src*="shinystat.com/cgi-bin/shinystat.cgi"] {
     Â height: 31px!important;
     Â width: 88px!important;
     Â }
    smurfavr
    smurfavr
    Active Poster


    Male Posts : 1881
    Reputation : 22
    Language : Bulgarian

    In progress Re: Modification of the code for user visits.

    Post by smurfavr November 2nd 2019, 11:34 am

    pedxz wrote:Sorry, use my code and change what @Neptune- sent to
    Code:
    img[src*="shinystat.com/cgi-bin/shinystat.cgi"] {
     Â height: 31px!important;
     Â width: 88px!important;
     Â }

    I added the code in CSS but no change.
    tikky
    tikky
    Forumember


    Posts : 922
    Reputation : 160
    Language : 🇵🇹

    In progress Re: Modification of the code for user visits.

    Post by tikky November 2nd 2019, 11:38 am

    Where are you using the code? Widget? Can you pass the forum url?
    Neptune-
    Neptune-
    Forumember


    Female Posts : 496
    Reputation : 104
    Language : French (10), English (8), CSS (5), HTML (4), Javascript (4)
    Location : Scotland, UK

    In progress Re: Modification of the code for user visits.

    Post by Neptune- November 2nd 2019, 11:45 am

    pedxz wrote:Sorry, use my code and change what @Neptune- sent to
    Code:
    img[src*="shinystat.com/cgi-bin/shinystat.cgi"] {
     Â height: 31px!important;
     Â width: 88px!important;
     Â }

    I placed html part in a forum description, and the css without !important tags and it worked

    @smurfavr
    Never said you were lying. Just said my css had been tested (on a phpbb2 forum).
    Just meant if it doesn't work for you, we miss some additional info or you made something wrong.
    smurfavr
    smurfavr
    Active Poster


    Male Posts : 1881
    Reputation : 22
    Language : Bulgarian

    In progress Re: Modification of the code for user visits.

    Post by smurfavr November 2nd 2019, 2:51 pm

    Neptune- wrote:


    I placed html part in a forum description, and the css without !important tags and it worked

    @smurfavr
    Never said you were lying. Just said my css had been tested (on a phpbb2 forum).
    Just meant if it doesn't work for you, we miss some additional info or you made something wrong.

    I don't know why it doesn't work for me.




    pedxz wrote:Where are you using the code? Widget? Can you pass the forum url?


    Where are you using the code? Widget? Yes
    Can you pass the forum url?[/quote] http://smurfa.bulgarianforum.net
    Neptune-
    Neptune-
    Forumember


    Female Posts : 496
    Reputation : 104
    Language : French (10), English (8), CSS (5), HTML (4), Javascript (4)
    Location : Scotland, UK

    In progress Re: Modification of the code for user visits.

    Post by Neptune- November 2nd 2019, 4:03 pm

    Working great with Firefox

    Modification of the code for user visits. Smurfw10
    brandon_g
    brandon_g
    Manager
    Manager


    Male Posts : 10113
    Reputation : 923
    Language : English
    Location : USA

    In progress Re: Modification of the code for user visits.

    Post by brandon_g November 3rd 2019, 2:47 pm

    Hello,

    I checked your forum on both Firefox and Chrome and the images do appear as 88x31 on both according to the inspector element.

    Modification of the code for user visits. Banner12Modification of the code for user visits. Banner11

    If it is not re sizing for you, try clearing the cache in your browser, as that could maybe be why it is not working for you.

    -Brandon



    Modification of the code for user visits. Brando10
    Remember to mark your topic Modification of the code for user visits. Solved15 when a solution is found.
    General Rules | Tips & Tricks | FAQ | Forgot Founder Password?

    Modification of the code for user visits. Scre1476
    Team Leader
    Review Section Rules | Request A Review | Sticker Points
    smurfavr
    smurfavr
    Active Poster


    Male Posts : 1881
    Reputation : 22
    Language : Bulgarian

    In progress Re: Modification of the code for user visits.

    Post by smurfavr November 3rd 2019, 10:05 pm

    I have cleared the browser cache but how is it not working.

    In the picture I showed how the widget stretched as the banner was bigger.
    Modification of the code for user visits. RipSuAt

    The photo shows that the banner is 100x42
    Modification of the code for user visits. XZNzo5P
    SLGray
    SLGray
    Administrator
    Administrator


    Male Posts : 51554
    Reputation : 3523
    Language : English
    Location : United States

    In progress Re: Modification of the code for user visits.

    Post by SLGray November 4th 2019, 12:37 am

    When I check the image's info, I also get the correct dimensions.
    Modification of the code for user visits. Untitl13



    Modification of the code for user visits. Slgray10

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


    Male Posts : 1443
    Reputation : 220
    Language : English

    In progress Re: Modification of the code for user visits.

    Post by SarkZKalie November 4th 2019, 4:21 am

    It's show 88 x 31 pixels in my end too (scaled smaller by a CSS)



    Modification of the code for user visits. Sarkzk10
    Neptune-
    Neptune-
    Forumember


    Female Posts : 496
    Reputation : 104
    Language : French (10), English (8), CSS (5), HTML (4), Javascript (4)
    Location : Scotland, UK

    In progress Re: Modification of the code for user visits.

    Post by Neptune- November 4th 2019, 8:15 am

    Of course if you download it, you will get a 100x42.

    CSS doesn't change physically the image, just how it displays.

    However you can see button has the same display size than that one Modification of the code for user visits. Bgtop810. Which is a 88*31 button
    smurfavr
    smurfavr
    Active Poster


    Male Posts : 1881
    Reputation : 22
    Language : Bulgarian

    In progress Re: Modification of the code for user visits.

    Post by smurfavr November 4th 2019, 2:27 pm

    Why is widget wider?
    Modification of the code for user visits. RipSuAt
    Neptune-
    Neptune-
    Forumember


    Female Posts : 496
    Reputation : 104
    Language : French (10), English (8), CSS (5), HTML (4), Javascript (4)
    Location : Scotland, UK

    In progress Re: Modification of the code for user visits.

    Post by Neptune- November 4th 2019, 2:37 pm

    Because obviously 2 pictures 88px width is too much.

    Just enlarge the widget column or shorten both pictures to 75px for example
    smurfavr
    smurfavr
    Active Poster


    Male Posts : 1881
    Reputation : 22
    Language : Bulgarian

    In progress Re: Modification of the code for user visits.

    Post by smurfavr November 4th 2019, 2:50 pm

    2. How to open a page in a new tab by clicking on the banner from the code?
    SLGray
    SLGray
    Administrator
    Administrator


    Male Posts : 51554
    Reputation : 3523
    Language : English
    Location : United States

    In progress Re: Modification of the code for user visits.

    Post by SLGray November 4th 2019, 7:53 pm

    You can have the banners on different lines, not next to each other.



    Modification of the code for user visits. Slgray10

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


    Posts : 1
    Reputation : 1
    Language : English

    In progress Re: Modification of the code for user visits.

    Post by JosephD November 13th 2019, 6:00 am

    Free Banner Maker Make 88x31 Buttons Online there are many styles each of which can be customized you can choose the fonts, sizes, colors, drop shadows and positions with 4 lines of ad copy Removed!
    TheCrow
    TheCrow
    Manager
    Manager


    Male Posts : 6916
    Reputation : 795
    Language : Greek, English

    In progress Re: Modification of the code for user visits.

    Post by TheCrow November 17th 2019, 7:35 pm

    JosephD wrote:Free Banner Maker Make 88x31 Buttons Online there are many styles each of which can be customized you can choose the fonts, sizes, colors, drop shadows and positions with 4 lines of ad copy Removed!

    @JosephD Please do not redirect the members to links other than free sites. The link you have posted have been removed.



    Modification of the code for user visits. Thecro10
     Forum of the Forums

    Forumotion Rules | Tips & Tricks |
    FAQ | Did you forget your password?



    *** The Support Forum will never ask you for your email or password, so please do not post them anywhere! ***
    No support via PM!

      Current date/time is November 11th 2024, 10:45 pm