PDA

View Full Version : vBulletin Custom Buttons



I D3stroy I
July 17th, 2010, 17:40
How do i add Custom Buttons Such add i want to add "Play Now" Button Next to User CP One but how do i?

Version - vBulletin 3.8.6

If you don't understand then I'll post an Picture what i mean ;)

Smudge
July 17th, 2010, 18:30
What is this 'button' going to do sir?

I D3stroy I
July 17th, 2010, 18:43
You Click it then it'll take you to an Page like 'index.php?Webclient' < Then it'll run the Webclient Page ;)

Smudge
July 17th, 2010, 19:01
So you make a basic custom button in CSS. You need to make a seperate CSS class in the forum theme css; design it however you like via the css then simply add a HTML button with a link to the area and set the class to the custom one you created. Quite simple; i.e.



.customButton {
border: thin #000000;
background: #999333;
color: #FFFFFF;
width: 125px;
height: 40px;
}



<a href="Only the registered members can see the link."><input name="play_now" type="button" class="customButton" id="play_now" value="Play Now" /></a>

I D3stroy I
July 17th, 2010, 19:04
Which File Do i add them To I ain't good with PHP lol...

Smudge
July 17th, 2010, 19:07
Which File Do i add them To I ain't good with PHP lol...

This isn't PHP my friend. HTML and CSS - You can either add them to you're main forum theme css or create a seperate css document. If you add me on MSN I'll help you out - robert@scouse-fm.net

Friss
July 17th, 2010, 19:19
All you need to do is edit the navbar template (Under Navigation) in the mange templates option in the Admin CP

Just search for the other buttons and you can insert it where you want it to be.