Current time: 05-24-2012, 11:35 PM Hello There, Guest! (LoginRegister)


Post Reply 
 
Thread Rating:
  • 0 Votes - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
[Tuturial HTML&CSS] Creating a News Bar
04-05-2010, 11:26 PM (This post was last modified: 04-05-2010 11:31 PM by Legendary.)
Post: #1
[Tuturial HTML&CSS] Creating a News Bar
Well before everything you need to have the MyBB or other type of system installed on your server.

Tuturial for myBB;

The bars that I teach to make are indeed gloss makes available here on the forum, but I am not going to gloss but without gloss, you can see here in the index.php page.

Go to - > AdminCP/Templates&Style/Style/*Your Theme*/global.css/Edit Stylesheet: Advanced Mode

(now go to the bottom of the page and add the following lines)

Code:
.alerta {
    background: #FFF6BF;
    border-top: 2px solid #FFD324;
    border-bottom: 2px solid #FFD324;
    text-align: center;
    margin: 10px auto;
    padding: 5px 20px;
}

.noticia {
    background: #ADCBE7;
    border-top: 2px solid #0F5C8E;
    border-bottom: 2px solid #0F5C8E;
    text-align: center;
    margin: 10px auto;
    padding: 5px 20px;
}

.analise {
    background: #D6ECA6;
    border-top: 2px solid #8DC93E;
    border-bottom: 2px solid #8DC93E;
    text-align: center;
    margin: 10px auto;
    padding: 5px 20px;
}

Save ...
Now -> AdminCP / Templates & Style / Templates / * your theme * /Index templates/index

Add These codes codes before "forum tag";


Code:
<p class="alerta"><strong>Alerta:</strong> CONTEUDO .</p>

<p class="noticia"><strong>Notícia:</strong> - CONTEUDO .</p>

<p class="analise"><strong>Analise: </strong> - CONTEUDO .</p>

Note if they want instead of copying the code to use this global.css which use the "p class" ..


Code:
<style type="text/css"> .alerta { background: #FFF6BF; border-top: 2px solid #FFD324; border-bottom: 2px solid #FFD324; text-align: center; margin: 10px auto; padding: 5px 20px;} .noticia { background: #ADCBE7; border-top: 2px solid #0F5C8E; border-bottom: 2px solid #0F5C8E; text-align: center; margin: 10px auto; padding: 5px 20px;} .analise{ background: #D6ECA6; border-top: 2px solid #8DC93E; border-bottom: 2px solid #8DC93E; text-align: center; margin: 10px auto; padding: 5px 20px;}</style>

And it will word, feedback please.
Are functional; http://www.forum.moviemania-pt.com/misc.php?page=teste
As in this tutorial;

Code:
<style type="text/css"> .alerta { background: #FFF6BF;
border-top: 2px solid #FFD324; border-bottom: 2px solid #FFD324;
text-align: center; margin: 10px auto; padding: 5px 20px;} .noticia {
background: #ADCBE7; border-top: 2px solid #0F5C8E; border-bottom: 2px
solid #0F5C8E; text-align: center; margin: 10px auto; padding: 5px
20px;} .analise{ background: #D6ECA6; border-top: 2px solid #8DC93E;
border-bottom: 2px solid #8DC93E; text-align: center; margin: 10px
auto; padding: 5px 20px;}</style>


<p class="alerta"><strong>Alerta:</strong> CONTEUDO .</p>
<p class="noticia"><strong>Notícia:</strong> - CONTEUDO .</p>
<p class="analise"><strong>Analise: </strong> - CONTEUDO .</p>

Outcome:
[Image: 2gv7urm.png]

[Image: mybbsig.php]
Visit this user's website Find all posts by this user
Quote this message in a reply
04-05-2010, 11:55 PM
Post: #2
RE: [Tuturial HTML&CSS] Creating a News Bar
I think this belongs in the 'User Submitted Tutorials' section. Good tut though.

I'm Robert Picard
Visit this user's website Find all posts by this user
Quote this message in a reply
04-06-2010, 12:19 AM
Post: #3
RE: [Tuturial HTML&CSS] Creating a News Bar
As above. Wrong section, great guide Smile

[Image: wcif6r.jpg][Image: 2qktaox.jpg]
Find all posts by this user
Quote this message in a reply
04-06-2010, 12:43 AM
Post: #4
RE: [Tuturial HTML&CSS] Creating a News Bar
Posts have to be approved before they can go in the tutorials section so it's ok to post them here then ask to have them moved.

There also is already a tutorial on this in the wiki http://wiki.mybboard.net/index.php/Help:Latest_News_Bar
But any way, this one might be clearer to some people.

Need help? Have you seen this?
Find all posts by this user
Quote this message in a reply
04-06-2010, 01:19 PM
Post: #5
RE: [Tuturial HTML&CSS] Creating a News Bar
@TimB, "latest news bar" ist equalt to mime, and i post in general and i reported xD

And i can upldate this tut to News Bar with gloss efect, you can see it in my website
http://www.forum.moviemania-pt.com

[Image: mybbsig.php]
Visit this user's website Find all posts by this user
Quote this message in a reply
05-16-2010, 01:38 AM
Post: #6
RE: [Tuturial HTML&CSS] Creating a News Bar
Hey,


When I'm at thepart where I go to the index, I cant find 'forum tag'. Any help?

Like My Snowboarding Company's Facebook page
Visit this user's website Find all posts by this user
Quote this message in a reply
05-17-2010, 06:09 PM
Post: #7
RE: [Tuturial HTML&CSS] Creating a News Bar
Good tutorial but Im using a mod for this .

[Image: donation_drive_sig.png]

Albania people here .
Find all posts by this user
Quote this message in a reply
05-17-2010, 10:43 PM
Post: #8
RE: [Tuturial HTML&CSS] Creating a News Bar
Could you link me to the mod please?

Like My Snowboarding Company's Facebook page
Visit this user's website Find all posts by this user
Quote this message in a reply
08-03-2010, 11:25 AM
Post: #9
RE: [Tuturial HTML&CSS] Creating a News Bar
forum tag?

[Image: mybbsig.php]
Visit this user's website Find all posts by this user
Quote this message in a reply
04-01-2011, 11:19 AM
Post: #10
RE: [Tuturial HTML&CSS] Creating a News Bar
This user has been denied support. This user has been denied support.
good work man

www.worldsat-forum.com/forum
jameel_225@yahoo.com
jameel_225@hotmail.com
Find all posts by this user
Quote this message in a reply
Post Reply 


Forum Jump:


User(s) browsing this thread: 1 Guest(s)

Contact Us | MyBB | Return to Top | Return to Content | Lite (Archive) Mode | RSS Syndication