Jump to content
  • 0
Sign in to follow this  
Alexandru2k19

Serverul de discord in sidebar

Question

7 answers to this question

Recommended Posts

  • 1

Cauta codul 

{{if $announcements = \IPS\core\Announcements\Announcement::loadAllByLocation( 'sidebar' ) AND ( ( isset( \IPS\Output::i()->sidebar['contextual'] ) && trim( \IPS\Output::i()->sidebar['contextual'] ) !== '' ) OR ( isset( \IPS\Output::i()->sidebar['widgets']['sidebar'] ) && count( \IPS\Output::i()->sidebar['widgets']['sidebar'] ) ) )}}
			{template="announcementSidebar" group="global" app="core" params="$announcements"}
		{{endif}}

Si editeaza-l cu asta:

 <iframe src="https://discordapp.com/widget?id=[ID-U DE LA SERVERUL TAU]&theme=dark" width="350" height="500" allowtransparency="true" frameborder="0"></iframe>
		{{if $announcements = \IPS\core\Announcements\Announcement::loadAllByLocation( 'sidebar' ) AND ( ( isset( \IPS\Output::i()->sidebar['contextual'] ) && trim( \IPS\Output::i()->sidebar['contextual'] ) !== '' ) OR ( isset( \IPS\Output::i()->sidebar['widgets']['sidebar'] ) && count( \IPS\Output::i()->sidebar['widgets']['sidebar'] ) ) )}}
			{template="announcementSidebar" group="global" app="core" params="$announcements"}
		{{endif}}

 

  • Thanks 1

Share this post


Link to post
Share on other sites
  • 0
41 minutes ago, shadyfx said:

http://invision-virus.com/forum/index.php/files/file/2643-sidebar-discord-server/ - daca vrei ceva frumos facut de baietii de la puffysticks.
https://blog.discordapp.com/add-the-discord-widget-to-your-site-d45ffcd718c6 - un topic de ajutor facut de cei de la discord.

 

Cu acel link pe care l-au făcut cei de la discord,am găsit codul pe serverul meu de discord,dar unde îl introduc?

Share this post


Link to post
Share on other sites
  • 0
1 hour ago, shadyfx said:

Cauta codul 


{{if $announcements = \IPS\core\Announcements\Announcement::loadAllByLocation( 'sidebar' ) AND ( ( isset( \IPS\Output::i()->sidebar['contextual'] ) && trim( \IPS\Output::i()->sidebar['contextual'] ) !== '' ) OR ( isset( \IPS\Output::i()->sidebar['widgets']['sidebar'] ) && count( \IPS\Output::i()->sidebar['widgets']['sidebar'] ) ) )}}
			{template="announcementSidebar" group="global" app="core" params="$announcements"}
		{{endif}}

Si editeaza-l cu asta:


 <iframe src="https://discordapp.com/widget?id=[ID-U DE LA SERVERUL TAU]&theme=dark" width="350" height="500" allowtransparency="true" frameborder="0"></iframe>
		{{if $announcements = \IPS\core\Announcements\Announcement::loadAllByLocation( 'sidebar' ) AND ( ( isset( \IPS\Output::i()->sidebar['contextual'] ) && trim( \IPS\Output::i()->sidebar['contextual'] ) !== '' ) OR ( isset( \IPS\Output::i()->sidebar['widgets']['sidebar'] ) && count( \IPS\Output::i()->sidebar['widgets']['sidebar'] ) ) )}}
			{template="announcementSidebar" group="global" app="core" params="$announcements"}
		{{endif}}

 

Si unde il editez?Unde pun acel cod pe care mi l-ai dat?

1 hour ago, shadyfx said:

Cauta codul 


{{if $announcements = \IPS\core\Announcements\Announcement::loadAllByLocation( 'sidebar' ) AND ( ( isset( \IPS\Output::i()->sidebar['contextual'] ) && trim( \IPS\Output::i()->sidebar['contextual'] ) !== '' ) OR ( isset( \IPS\Output::i()->sidebar['widgets']['sidebar'] ) && count( \IPS\Output::i()->sidebar['widgets']['sidebar'] ) ) )}}
			{template="announcementSidebar" group="global" app="core" params="$announcements"}
		{{endif}}

Si editeaza-l cu asta:


 <iframe src="https://discordapp.com/widget?id=[ID-U DE LA SERVERUL TAU]&theme=dark" width="350" height="500" allowtransparency="true" frameborder="0"></iframe>
		{{if $announcements = \IPS\core\Announcements\Announcement::loadAllByLocation( 'sidebar' ) AND ( ( isset( \IPS\Output::i()->sidebar['contextual'] ) && trim( \IPS\Output::i()->sidebar['contextual'] ) !== '' ) OR ( isset( \IPS\Output::i()->sidebar['widgets']['sidebar'] ) && count( \IPS\Output::i()->sidebar['widgets']['sidebar'] ) ) )}}
			{template="announcementSidebar" group="global" app="core" params="$announcements"}
		{{endif}}

 

Gata,am gasit,esti cel mai tare,multumesc foarte mult

Share this post


Link to post
Share on other sites
  • 0
2 hours ago, shadyfx said:

Cauta codul 


{{if $announcements = \IPS\core\Announcements\Announcement::loadAllByLocation( 'sidebar' ) AND ( ( isset( \IPS\Output::i()->sidebar['contextual'] ) && trim( \IPS\Output::i()->sidebar['contextual'] ) !== '' ) OR ( isset( \IPS\Output::i()->sidebar['widgets']['sidebar'] ) && count( \IPS\Output::i()->sidebar['widgets']['sidebar'] ) ) )}}
			{template="announcementSidebar" group="global" app="core" params="$announcements"}
		{{endif}}

Si editeaza-l cu asta:


 <iframe src="https://discordapp.com/widget?id=[ID-U DE LA SERVERUL TAU]&theme=dark" width="350" height="500" allowtransparency="true" frameborder="0"></iframe>
		{{if $announcements = \IPS\core\Announcements\Announcement::loadAllByLocation( 'sidebar' ) AND ( ( isset( \IPS\Output::i()->sidebar['contextual'] ) && trim( \IPS\Output::i()->sidebar['contextual'] ) !== '' ) OR ( isset( \IPS\Output::i()->sidebar['widgets']['sidebar'] ) && count( \IPS\Output::i()->sidebar['widgets']['sidebar'] ) ) )}}
			{template="announcementSidebar" group="global" app="core" params="$announcements"}
		{{endif}}

 

Dar cand ma uit la un topic,apare si acolo,imi poti spune cum sa fac sa apara doar pe pagina principala si nu langa topicuri?

https://imgur.com/a/kVz5eYP

Edited by Alexandru2k19

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

  • Recently Browsing   0 members

    No registered users viewing this page.

×