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] Invision Power Profile v1.25052014-jq1.9.1



Go to page : 1, 2, 3, 4  Next

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

1
Offline

  Tu Vil Amigo™

avatar
V.I.P. Member
V.I.P. Member
Description:

I'm going to share this tutorial, since I saw few forums has leaked this script of mine without copyrights

Invision power user panel converted for forumotion forums, mainly created for 15-tronos v3.

Installation steps:

- HTML
Put at end of overall_header following code:
http://pastebin.com/0NRhKVNG


- JAVASCRIPT
Add the following code in javascript and put it in all pages:

Code:
[panda=js]jQuery(document).ready(function(){
  jQuery.get('/profile?mode=editprofile&page_profil=avatars', function(data) {
      link = jQuery('.frm dl dd img', data).attr('src');
      if(link){
                            jQuery('#avatar').html('<center><a id="user_links" href="/profile?mode=editprofile&page_profil=avatars"><img src="'+link+'" alt="" class="user_photo" /></a></center>');
      }else{
        jQuery('#avatar').html('');
      }
  });
});



- How to import it?
Well, you'll need to have a custom menu or header bar where you can put code like this:
Code:
<a href="/profile?mode=editprofile&page_profil=preferences" onclick="jQuery('#perfil').fadeToggle(); return false;"> Profile</a>


Preview:




Powered by PunBB
Currently 0 users have thanked Tu Vil Amigo™ for this post:

2
Offline

  Guest

avatar
Guest
Awesome as always <3

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

3
Offline

  Guest

avatar
Guest
I like the simplicity of the tutorial and the way how it's written. Good job.

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

4
Offline

  Micul`Wji

avatar
Punbb Junior
Punbb Junior
that is cool

Powered by PunBB
Currently 0 users have thanked Micul`Wji for this post:

5
Offline

  LeePark

avatar
Punbb Rookie
Punbb Rookie
this is great since i am proud invision user

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

6
Offline

  ivan36

avatar
Punbb Rookie
Punbb Rookie
Super

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

7
Offline

  Michael_vx

avatar
Punbb Junior
Punbb Junior
looks good i will try it on my forum hope its work fine phpbb2

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

8
Offline

  Van-Helsing

avatar
★Moderator★
★Moderator★
Thank you

Powered by PunBB
Currently 0 users have thanked Van-Helsing for this post:

9
Offline

  KiNGphx

avatar
Punbb Guru
Punbb Guru
thank you its working on invision

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

10
Offline

  weasel

avatar
Punbb Rookie
Punbb Rookie
Nice , thank you .

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

11
Offline

  Abdalah tupe

avatar
Punbb Rookie
Punbb Rookie
Its looks good ^_^

Can me add icons before "Edit profile" or "My setting"...etc ?


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

12
Offline

  cool

avatar
Newbie
Newbie
thanks

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

13
Offline

  mhel1996

avatar
Newbie
Newbie
tnx for this

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

14
Offline

  MoiLulu

avatar
Punbb Rookie
Punbb Rookie
Thanks for this

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

15
Offline

  Forumotion

avatar
Punbb Rookie
Punbb Rookie
Thanks for sharing this tutorial.

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

16
Offline

  king of king

avatar
Newbie
Newbie
MoiLulu wrote:[link="/t483-javascript-invision-power-profile-v125052014-jq191#2930"]Thanks for this

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

17
Offline

  Lilium'

avatar
Punbb Rookie
Punbb Rookie
thank you

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

18
Offline

  xAlecsu

avatar
Newbie
Newbie
Lilium' wrote:[link="/t483p15-javascript-invision-power-profile-v125052014-jq191#2980"]thank you

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

19
Offline

  DaViD-DaViD

avatar
Pemanently Banned
Pemanently Banned
I have re-created a code!

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

20
Offline

  DaViD-DaViD

avatar
Pemanently Banned
Pemanently Banned
I have re-created a code!

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

21
Offline

  Sponsored content



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

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


Go to page : 1, 2, 3, 4  Next

Topic URL's

URL
BBcode
HTML

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