Jump to content
  • 0

Serverul de discord in sidebar


Alexandru2k19

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

steam // anilist // spotify

Link to comment
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?

Link to comment
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

Link to comment
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
Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Answer this question...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.