Jump to content

(NB41) Social Count Fans

Featured Replies

Thanks for checking it out. I use that for now. 

I ran into that with my own blocks as well. It’s best to cover all three states: horizontal/vertical/NULL. In the IPS block templates the approach is usually to check for “vertical” and then have an {{else}} section, which both acts for horizontal and NULL. 

  • Replies 92
  • Views 7.5k
  • Created
  • Last Reply

Top Posters In This Topic

Most Popular Posts

  • newbie LAC
    newbie LAC

    It's a core issue and related with "orientation". applications/cms/sources/Blocks/Block.php public static function display( $block, $orientation=NULL ) When you use {block} tag you can't

  • newbie LAC
    newbie LAC

    Hello, Use the setting "Use background" Result What do you want to know? Some services work with API credentials only. Go to ACP - Plugins - (NB41) Social Count Fans

  • newbie LAC
    newbie LAC

    Hello, There is a bug in a plugin. I fixed founded bugs and I'll upload new version coming soon

Posted Images

  • Author
45 minutes ago, opentype said:

In the IPS block templates the approach is usually to check for “vertical” and then have an {{else}} section, which both acts for horizontal and NULL. 

My widget haven't layout for horizontal section. So I used 

		if ($this->orientation != 'vertical')
		{
			return '';
		}

It's a better for performance.

I think I'll add new setting for "Grid" style/theme

scfgrid.jpg.c6debd62cd1d977b4d86b7dc9c99bd2a.jpg

With horizontal it will looks like

scfgrid2.thumb.jpg.968ebbcd8030859d64f0dfece925338f.jpg

  • 4 weeks later...

Yeah for some reason the Youtube segment doesn't work for me. I have it pulled up, but it just says 0 subscribers.

https://forum.bluedrake42.com/

It even links to the right channel when I click on it. Not sure what is happening.

  • Author

Hello,

9 hours ago, Bluedrake42 said:

Yeah for some reason the Youtube segment doesn't work for me. I have it pulled up, but it just says 0 subscribers.

https://forum.bluedrake42.com/

It even links to the right channel when I click on it. Not sure what is happening.

Screenshot from your forum

youtube.thumb.jpg.291e4e67a92198ed646b15eb9a4bd5f5.jpg

Yeah sorry, I meant to follow up on this page. It started working after a few hours, not sure why.

Could I make a request to support Spotify for this plugin? I think that would fit nicely with this service.

Edit: and once again I am stupid... appears it is already supported. Let's just agree to ignore everything I say from now on haha

Edited by Bluedrake42

Well actually now... I'm having trouble getting the Spotify integration to work, and there is nothing mentioned for it in the help documentation. Why am I so inept?

I tried using this but it didn't work: spotify:user:johariofficial

Then this: johariofficial

Then I tried using the artist page URL: spotify:artist:7Bu90tRyNrQvmkf0Xqggfe

Then I tried just the number: 7Bu90tRyNrQvmkf0Xqggfe

Not sure how it works exactly...

Edit: I checked the XML code and it seems like I'm doing the right thing?

I mean this link resolves: https://api.spotify.com/v1/users/johariofficial

so I don't know why johariofficial doesn't work when I put that in?

Edited by Bluedrake42

  • Author
5 hours ago, Bluedrake42 said:

Well actually now... I'm having trouble getting the Spotify integration to work, and there is nothing mentioned for it in the help documentation. Why am I so inept?

It's my mistake. I forgot to add some data.

I'll update the plugin coming soon.

Ah, damn =/ let me know when it is working again!

  • Author
19 minutes ago, Bluedrake42 said:

Ah, damn =/ let me know when it is working again!

Uploaded new version. Please read help file how to configure spotify.

  • 1 month later...

Requests: Can we see the ability to use a gradient for the background added please?

Maybe even have a way of storing the default settings so we can quickly add the widget into other areas?

Question:

Would it be possible to display the count in IP.Pages, like an article or page?

examplesmc.png.98065105c41ce08bd289c28273c81e7e.png

Like this?

Great plugin Newbie.

  • Author

Hello,

18 hours ago, Joey_M said:

Requests: Can we see the ability to use a gradient for the background added please?

You can change background via css

18 hours ago, Joey_M said:

Maybe even have a way of storing the default settings so we can quickly add the widget into other areas?

Maybe I'll add default config on ACP plugin settings.

18 hours ago, Joey_M said:

Would it be possible to display the count in IP.Pages, like an article or page?

Not sure what you mean. I see counters only. Please make screenshot bigger

11 hours ago, newbie LAC said:

Maybe I'll add default config on ACP plugin settings.

That would be great! Making it centralized configured it would allow a much easier setup across the different community pages.

 

Previously I had tons of issues to setup the plugin but since the last update, it was super-easy and very intuitive, congrats newbie LAC on the great work!

  • 3 weeks later...
On 7/20/2017 at 8:34 AM, newbie LAC said:

You can change background via css

Would you be able to provide me an example based on Twitter please Newbie?

On 7/20/2017 at 8:34 AM, newbie LAC said:

 

Hello,

On 7/19/2017 at 1:51 PM, Joey_M said:

Requests: Can we see the ability to use a gradient for the background added please?

You can change background via css

On 7/19/2017 at 1:51 PM, Joey_M said:

Maybe even have a way of storing the default settings so we can quickly add the widget into other areas?

Maybe I'll add default config on ACP plugin settings.

Did you consider this? It would be a time saver.

On 7/20/2017 at 8:34 AM, newbie LAC said:

Not sure what you mean. I see counters only. Please make screenshot bigger

Basically I would like to display the counts inside a page, I aim to use this for an advertisement page.

  • Author

Hello,

4 minutes ago, Joey_M said:

Would you be able to provide me an example based on Twitter please Newbie?

1. Uncheck Custom background

2. Add in custom.css 

.nbSCF_social_twitter {
    background: #c5deea !important;
    background: -moz-linear-gradient(45deg, #c5deea 0%, #8abbd7 31%, #066dab 100%) !important;
    background: -webkit-linear-gradient(45deg, #c5deea 0%,#8abbd7 31%,#066dab 100%) !important;
    background: linear-gradient(45deg, #c5deea 0%,#8abbd7 31%,#066dab 100%) !important;
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#c5deea', endColorstr='#066dab',GradientType=1 ) !important;
}

Result

twitter.jpg.229be9f8c961bfbc1b54453a473b0a4f.jpg

12 minutes ago, Joey_M said:

Did you consider this? It would be a time saver.

On 20.07.2017 at 0:34 PM, newbie LAC said:

I added services only

scf.thumb.jpg.da47c77b0453b5356420b473bb2ef9d5.jpg

15 minutes ago, Joey_M said:

Basically I would like to display the counts inside a page, I aim to use this for an advertisement page.

Why you don't use widget on that page?

6 minutes ago, newbie LAC said:

Hello,

1. Uncheck Custom background

2. Add in custom.css 


.nbSCF_social_twitter {
    background: #c5deea !important;
    background: -moz-linear-gradient(45deg, #c5deea 0%, #8abbd7 31%, #066dab 100%) !important;
    background: -webkit-linear-gradient(45deg, #c5deea 0%,#8abbd7 31%,#066dab 100%) !important;
    background: linear-gradient(45deg, #c5deea 0%,#8abbd7 31%,#066dab 100%) !important;
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#c5deea', endColorstr='#066dab',GradientType=1 ) !important;
}

Result

twitter.jpg.229be9f8c961bfbc1b54453a473b0a4f.jpg

I added services only

scf.thumb.jpg.da47c77b0453b5356420b473bb2ef9d5.jpg

Why you don't use widget on that page?

Can I add this in beneath text within the page Newbie? That could be a workable solution.

Thanks

  • Author
1 minute ago, Joey_M said:

Can I add this in beneath text within the page Newbie? That could be a workable solution.

You can create Pages block based on my plugin. Then add in the page

{block="block_key"}

 

  • 3 weeks later...

So I want to change "Fans Love us" to "Total Fans"

Where can I do this? I found the references to the word key... but I can't figure out where the word key is itself.

  • Author
11 hours ago, Bluedrake42 said:

So I want to change "Fans Love us" to "Total Fans"

Where can I do this? I found the references to the word key... but I can't figure out where the word key is itself.

Hello,

It's lang string 

'nb_scf_widget_total' => '{!# [1:Fan][?:Fans]} Love us',

How to translate

Thanks <3 fixed

  • 2 weeks later...

@newbie LAC I'm experiencing issues with the default configuration via the ACP.

* I can't add text for the service name
* Once one custom colour has been used, you cannot use any other after and you can't delete the previous input.

  • Author
11 hours ago, Joey_M said:

@newbie LAC I'm experiencing issues with the default configuration via the ACP.

* I can't add text for the service name
* Once one custom colour has been used, you cannot use any other after and you can't delete the previous input.

Hello,

What did you do with settings?

csf.thumb.jpg.96a95f7f8635d859ce8dbac7a9b077c5.jpg

Ok. Something was changed in the last versions IPS. I need some time

No worries :)

  • Author
Just now, Joey_M said:

No worries :)

I made changes on your forum. Try now

6 hours ago, newbie LAC said:

I made changes on your forum. Try now

It's having issues with other services, the first is fine but if you change to Twitter, Instagram, YouTube etc it has the same issue as before.

  • Author
12 hours ago, Joey_M said:

It's having issues with other services, the first is fine but if you change to Twitter, Instagram, YouTube etc it has the same issue as before.

You mean when you add another?

Recently Browsing 0

  • No registered users viewing this page.