The forum of the forums
Welcome to the Official Support Forum of Forumotion!

To take full advantage of everything offered by our forum, please log in if you are already a member, or join our community if you've not yet.



Create a free forum like this one.

announcement bot

View previous topic View next topic Go down

Solved announcement bot

Post by darkgoku on October 20th 2014, 11:04 am

how would i make a announcement bot for very important stuff


Last edited by darkgoku on October 20th 2014, 11:31 am; edited 1 time in total

darkgoku
Forumember

Posts : 340
Reputation : 3
Language : English

Back to top Go down

Solved Re: announcement bot

Post by Mati on October 20th 2014, 11:06 am

What you mean can you explain a bit more please.

Mati
Active Poster

Posts : 1873
Reputation : 281
Language : || HTML || CSS || jQuery ||
Location : At the Gym

http://elite-gaming.forumotion.net/

Back to top Go down

Solved Re: announcement bot

Post by darkgoku on October 20th 2014, 11:12 am

on this post i used a code i found but it will not change the name of the bot http://academyofeca.forumotion.com/t1-test123334444444

darkgoku
Forumember

Posts : 340
Reputation : 3
Language : English

Back to top Go down

Solved Re: announcement bot

Post by Mati on October 20th 2014, 11:15 am

Can you post the code here so we can change the name.

Mati
Active Poster

Posts : 1873
Reputation : 281
Language : || HTML || CSS || jQuery ||
Location : At the Gym

http://elite-gaming.forumotion.net/

Back to top Go down

Solved Re: announcement bot

Post by darkgoku on October 20th 2014, 11:18 am

[list=linenums]
[*]$(function() {
[*]var p = {
[*]post: $('.post')[0],
[*]date: $('.posthead').first().find('h2').html(),
[*]announce: 'Ad code here!',//Enter the code beside the advertising
[*]member: 'Bot',//Define Name of a Bot
[*]imagem: 'http://i.imgur.com/tdaNexK.jpg',//Picture of the Bot
[*]message: '1000',//Total Number of Post
[*]register: 'Always',//Date Registred
[*]location: 'Anúncio'//Location
[*]};
[*]$(p.post).after('
[*]<div id="ann" class="post">
[*]<div class="postmain">
[*]<div class="posthead">
[*]  <h2>'+p.date+'</h2>
[*]</div>
[*]    <div class="postbody">
[*]          <div class="user">
[*]                <div class="user-ident">
[*]                  <h4 class="username">
[*]                    <strong>'+p.membro+'</strong>
[*]                  </h4>
[*]                    <div class="user-basic-info">
[*]                      <img src="'+p.imagem+'" alt="">
[*]                        <br>Advertisement<br>
[*]                    </div>
[*]                </div>
[*]<div class="user-info">
[*]<span class="label"><span>Messages</span>: </span>'+p.message+'<br>
[*]<span class="label"><span>Date Registered</span>: </span>'+p.register+'<br>
[*]<span class="label"><span>Location</span>: </span>'+p.location+'<br>
[*]</div>
[*]        </div>
[*] <div class="post-entry">
[*]  <div class="entry-content">
[*]      '+p.announce+'
[*]  </div>
[*]  </div>
[*]</div>
[*]<div class="postfoot"></div>
[*]</div>');
[*]$('#ann').find('h2').find('strong').html('#ADS');
[*]});
[/list]

darkgoku
Forumember

Posts : 340
Reputation : 3
Language : English

Back to top Go down

Solved Re: announcement bot

Post by Mati on October 20th 2014, 11:24 am

Please copy the current code or link me to the thread you got the code from also use code tag next time.

Mati
Active Poster

Posts : 1873
Reputation : 281
Language : || HTML || CSS || jQuery ||
Location : At the Gym

http://elite-gaming.forumotion.net/

Back to top Go down

Solved Re: announcement bot

Post by darkgoku on October 20th 2014, 11:27 am

i fixed it thanks for the help tho

darkgoku
Forumember

Posts : 340
Reputation : 3
Language : English

Back to top Go down

Solved Re: announcement bot

Post by Mati on October 20th 2014, 11:28 am

I'm glad you fixed it Smile

Mati
Active Poster

Posts : 1873
Reputation : 281
Language : || HTML || CSS || jQuery ||
Location : At the Gym

http://elite-gaming.forumotion.net/

Back to top Go down

Solved Re: announcement bot

Post by Ange Tuteur on October 20th 2014, 2:52 pm

As no solution was given, I'll garbage this topic.

Ange Tuteur
Forumaster

Male Posts : 13021
Reputation : 2684
Language : EN10, FR5
Location : Pennsylvania

http://fmdesign.forumotion.com

Back to top Go down

View previous topic View next topic Back to top


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