Modification of the code for user visits.

Go down

In progress Modification of the code for user visits.

Post by smurfavr on 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     -->
smurfavr
smurfavr
Active Poster

Male Posts : 1778
Reputation : 17
Language : Bulgarian

http://smurfa.bulgarianforum.net/

Back to top Go down

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

Post by TheCrow on 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.
TheCrow
TheCrow
Manager
Manager

Male Posts : 6131
Reputation : 706
Language : Greek, English
Location : Cyprus, Greece

https://www.inforumgr.com

Back to top Go down

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

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

@TheCrow I changed the code but nothing changed.
smurfavr
smurfavr
Active Poster

Male Posts : 1778
Reputation : 17
Language : Bulgarian

http://smurfa.bulgarianforum.net/

Back to top Go down

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

Post by Neptune- on 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;
  }
Neptune-
Neptune-
Forumember

Male Posts : 248
Reputation : 39
Language : French (10), English (8), CSS (5), HTML (4), Javascript (4)
Location : France

https://www.galaxie-series.net/

Back to top Go down

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

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

@Neptune-  I add this the code but nothing changed.
smurfavr
smurfavr
Active Poster

Male Posts : 1778
Reputation : 17
Language : Bulgarian

http://smurfa.bulgarianforum.net/

Back to top Go down

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

Post by pedxz on 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.
pedxz
pedxz
Forumember

Male Posts : 187
Reputation : 35
Language : Português
Location : Forumeiros

https://ajuda.forumeiros.com/u62843

Back to top Go down

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

Post by Neptune- on 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
Neptune-
Neptune-
Forumember

Male Posts : 248
Reputation : 39
Language : French (10), English (8), CSS (5), HTML (4), Javascript (4)
Location : France

https://www.galaxie-series.net/

Back to top Go down

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

Post by smurfavr on 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.
smurfavr
smurfavr
Active Poster

Male Posts : 1778
Reputation : 17
Language : Bulgarian

http://smurfa.bulgarianforum.net/

Back to top Go down

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

Post by pedxz on 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;
  }
pedxz
pedxz
Forumember

Male Posts : 187
Reputation : 35
Language : Português
Location : Forumeiros

https://ajuda.forumeiros.com/u62843

Back to top Go down

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

Post by smurfavr on 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.
smurfavr
smurfavr
Active Poster

Male Posts : 1778
Reputation : 17
Language : Bulgarian

http://smurfa.bulgarianforum.net/

Back to top Go down

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

Post by pedxz on November 2nd 2019, 11:38 am

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

Male Posts : 187
Reputation : 35
Language : Português
Location : Forumeiros

https://ajuda.forumeiros.com/u62843

Back to top Go down

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

Post by Neptune- on 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.
Neptune-
Neptune-
Forumember

Male Posts : 248
Reputation : 39
Language : French (10), English (8), CSS (5), HTML (4), Javascript (4)
Location : France

https://www.galaxie-series.net/

Back to top Go down

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

Post by smurfavr on 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
smurfavr
smurfavr
Active Poster

Male Posts : 1778
Reputation : 17
Language : Bulgarian

http://smurfa.bulgarianforum.net/

Back to top Go down

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

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

Working great with Firefox

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

Male Posts : 248
Reputation : 39
Language : French (10), English (8), CSS (5), HTML (4), Javascript (4)
Location : France

https://www.galaxie-series.net/

Back to top Go down

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

Post by brandon_g on 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.
brandon_g
brandon_g
Manager
Manager

Male Posts : 8674
Reputation : 781
Language : English
Location : USA

https://www.broadcastingduo.com

Back to top Go down

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

Post by smurfavr on 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
smurfavr
smurfavr
Active Poster

Male Posts : 1778
Reputation : 17
Language : Bulgarian

http://smurfa.bulgarianforum.net/

Back to top Go down

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

Post by SLGray on 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.
SLGray
SLGray
Administrator
Administrator

Male Posts : 46709
Reputation : 3275
Language : English
Location : United States

https://fmthemes.forumotion.com/

Back to top Go down

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

Post by SarkZKalie on 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
SarkZKalie
SarkZKalie
Support Moderator
Support Moderator

Male Posts : 1100
Reputation : 179
Language : English

https://www.rotavn.xyz/

Back to top Go down

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

Post by Neptune- on 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
Neptune-
Neptune-
Forumember

Male Posts : 248
Reputation : 39
Language : French (10), English (8), CSS (5), HTML (4), Javascript (4)
Location : France

https://www.galaxie-series.net/

Back to top Go down

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

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

Why is widget wider?
Modification of the code for user visits. RipSuAt
smurfavr
smurfavr
Active Poster

Male Posts : 1778
Reputation : 17
Language : Bulgarian

http://smurfa.bulgarianforum.net/

Back to top Go down

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

Post by Neptune- on 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
Neptune-
Neptune-
Forumember

Male Posts : 248
Reputation : 39
Language : French (10), English (8), CSS (5), HTML (4), Javascript (4)
Location : France

https://www.galaxie-series.net/

Back to top Go down

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

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

2. How to open a page in a new tab by clicking on the banner from the code?
smurfavr
smurfavr
Active Poster

Male Posts : 1778
Reputation : 17
Language : Bulgarian

http://smurfa.bulgarianforum.net/

Back to top Go down

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

Post by SLGray on 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.
SLGray
SLGray
Administrator
Administrator

Male Posts : 46709
Reputation : 3275
Language : English
Location : United States

https://fmthemes.forumotion.com/

Back to top Go down

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

Post by JosephD on 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 Upsers
JosephD
JosephD
New Member

Posts : 1
Reputation : 1
Language : English

https://help.forumotion.com

Back to top Go down

Back to top


 
Permissions in this forum:
You cannot reply to topics in this forum