Good art is a taste, good design is an opinion.


Come as guest, stay as family.
Board Index

Come as guest, stay as family.


You are not connected. Please login or register

Foto

[Javascript] Move "Like" Button to post footer



View previous topic View next topic Go down Message [Page 1 of 1]

1
Offline

  Shadow

avatar
Administrator
Administrator


Tutorial: Move "Like" Button to post footer

Through the Javascript code you can change the position of the "Like" button function activated in the Admin control panel.


--> Tutorials, tips and tricks <--
Move "Like" Button to post footer



- Javascript:
Placement In topics
Code:
[panda=js]    $(function() {
        $("body").after("<style>.postmain iframe {margin-top: -25px !important; padding-bottom: 10px !important; padding-left: 10px !important;}</style>");
        $("p.crumbs iframe").detach().insertAfter('.post:eq(0) .postfoot');
    });


- Preview:





© PunBB Design


If you have any questions related to this topic create a topic with the following title:
Move "Like" Button to post footer

Powered by PunBB
Currently 0 users have thanked Shadow for this post:

2
Offline

  Michael_vx

avatar
Punbb Junior
Punbb Junior
Shadow wrote:[link="/t556-javascript-move-like-button-to-post-footer#3319"]


Tutorial: Move "Like" Button to post footer

Through the Javascript code you can change the position of the "Like" button function activated in the Admin control panel.


--> Tutorials, tips and tricks <--
Move "Like" Button to post footer



- Javascript:
Placement In topics
Code:
[panda=js]    $(function() {
        $("body").after("<style>.postmain iframe {margin-top: -25px !important; padding-bottom: 10px !important; padding-left: 10px !important;}</style>");
        $("p.crumbs iframe").detach().insertAfter('.post:eq(0) .postfoot');
    });


- Preview:





© PunBB Design


If you have any questions related to this topic create a topic with the following title:
Move "Like" Button to post footer
nice code and it would be better if you help me how to make it for phpbb2 thanks

Powered by PunBB
Currently 0 users have thanked Michael_vx for this post:

3
Offline

  Forumotion

avatar
Punbb Rookie
Punbb Rookie
Thanks for sharing this tutorial.

Powered by PunBB
Currently 0 users have thanked Forumotion for this post:

4
Offline

  Tiger000

avatar
Newbie
Newbie
good

Powered by PunBB
Currently 0 users have thanked Tiger000 for this post:

5
Offline

  redlover

avatar
Punbb Rookie
Punbb Rookie
Nice code brother , if you can add their id on it then thats more intersting

( Ex :-
Like : 3Likes
LIKE GIVEN BY :- username1 , username2 , username3 )

Powered by PunBB
Currently 0 users have thanked redlover for this post:

View previous topic View next topic Back to top Message [Page 1 of 1]


Topic URL's

URL
BBcode
HTML" />

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