New Affiliates code [phpBB3 only]

View previous topic View next topic Go down

avatar
[PD]Aleecs
Member
Member
Forum Posts : 7
Member Since : 2013-01-02
View user profile

Post[PD]Aleecs on 2/1/2013, 7:00 am

Welcome to this tutorial codinghelp.org members Very Happy !I will show you a code , to add affiliates on the footer of the forum Very Happy .

First : Add this code in ACP ~> Modules ~> Javascript management ~> Create a new code Javascript ~> Add this code :

Spoiler:
Code:
jQuery(document).ready(function() {
jQuery('#page-footer').before('
<span class="partners"><a href="#">IceFrog</a></span><span class="partenerii"><a href="#">IceFrog</a></span><span class="partners"><a href="#">IceFrog</a></span><span class="partners"><a href="#">IceFrog</a></span><span class="partners"><a href="#">IceFrog</a></span>
');
});

Second : Add this code in ACP ~> Display ~> Pictures and Colours ~> Colours ~> CSS Style Sheets ~> Add this code :

Spoiler:
Code:
    .partners {
    border: 2px solid #E4E4E4;
    border-radius: 4px;
    background: whiteSmoke;
    position: relative;
    bottom: 3px;
    font-family: Italic;
    font-size: 8px;
    padding: 3px;
    box-shadow: 0px 1px 0px white inset;
    text-shadow: 0px 1px 0px white;
    margin-right: 3px;}

That`s all Very Happy

Best regards ,
[PD]Aleecs .

View previous topic View next topic Back to top

Create an account or log in to leave a reply

You need to be a member in order to leave a reply.

Create an account

Join our community by creating a new account. It's easy!


Create a new account

Log in

Already have an account? No problem, log in here.


Log in

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