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

[Archived] Mouse-over profile information problem



Go to page : 1, 2  Next

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

1
Offline

  Cesar

Cesar
Punbb Junior
Punbb Junior
  • Description:
https://punbb-design.forumotion.com/t897-archived-issue-with-mouse-over-profile-2

 I'm having this problem too. How to get rid of image rank from this mouse-over?

  • Information:
Forum:wolffighterz.comVersion:PUNBB
Type:Errors in codeTags:Mouse-over,profile,information,problem

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

2
Offline

  Cesar

Cesar
Punbb Junior
Punbb Junior
bump. Very Happy

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

3
Offline

  Cesar

Cesar
Punbb Junior
Punbb Junior
bump..

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

4
Offline

  Van-Helsing

Van-Helsing
★Moderator★
★Moderator★
Hello Cesar,
Can you post your javascript for this function?

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

5
Offline

  FrOsTyXi

FrOsTyXi
V.I.P. Member
V.I.P. Member
Hello @Dark-Avenger I jus saw this issue and i am having the same problem here is mu script
Code:
jQuery(document).ready(function() {
        $('.tcr a[href*="/u"]').mouseover(function() {
            $(this).parents('strong').css('position', 'relative');
            $('.cp_geral').remove();
            $(this).parents('.tcr').css('overflow', 'visible');
            $(this).before('<a href="' + $(this).attr('href') + '"><div class="cp_geral" style="position:absolute;"><div class="cp_box"> <div class="cp_capa"> <div class="cp_capa-avatar"><img src="http://i.imgur.com/1rHWZUQ.gif" /></div> <div class="cp_capa-nick"> <strong>' + $(this).html() + '</strong> <span class="span_capa-nick"></span> </div> </div> <div class="cp_info"> <div class="cp_info-botoes"> <div class="cp_info-botoes-post"><strong></strong><span>posts</span></div> <div class="cp_info-botoes-rep"><strong></strong><span>reputation</span></div> <div class="cp_info-botoes-data"><strong></strong><span>join date</span></div> </div> </div> <div class="cp_icones"> <div class="cp_mp"><a href="/privmsg?mode=post&u=' + $(this).attr('href').replace('/u', '') + '">PM</a></div> <div class="cp_perfil"><a href="' + $(this).attr('href') + '">PROFILE</a></div> </div></div> </div></a>');
            $.get($(this).attr('href'), function(cps) {
                $('.span_capa-nick').html($('#profile-advanced-right .main-content.clearfix.center:eq(0)', cps).html());
                $('.cp_capa-avatar').html($('#profile-advanced-right .main-content.clearfix.center:eq(0)', cps).html());
                $('.cp_info-botoes-data strong').html($('#field_id-4 dd div', cps).html());
                $('.cp_info-botoes-post strong').html($('#field_id-6 dd div', cps).html());
                $('.cp_info-botoes-rep strong').html($('#field_id-14 dd div', cps).html());
            });
            $('.cp_geral').mouseleave(function() {
                $(this).remove();
            });
        });
    });

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

6
Offline

  Cesar

Cesar
Punbb Junior
Punbb Junior
Sure, here:
Code:
jQuery(document).ready(function() {
    $('.tcr a[href*="/u"]').mouseover(function() {
        $(this).parents('strong').css('position', 'relative');
        $('.cp_geral').remove();
        $(this).parents('.tcr').css('overflow', 'visible');
        $(this).before('<style>@import url("https://googledrive.com/host/0B3OkiMRv7LXpRTRTS01mLXJVRXc#icones-elegantes-Cepheus.css");</style><a href="' + $(this).attr('href') + '"><div class="cp_geral" style="position:absolute;"><div class="cp_box"> <div class="cp_capa"> <div class="cp_capa-avatar"><img src="http://i.imgur.com/1rHWZUQ.gif" /></div> <div class="cp_capa-nick"> <strong>' + $(this).html() + '</strong> <span class="span_capa-nick"></span> </div> </div> <div class="cp_info"> <div class="cp_info-botoes"> <div class="cp_info-botoes-post"><strong></strong><span>posts</span></div> <div class="cp_info-botoes-rep"><strong></strong><span>points</span></div> <div class="cp_info-botoes-data"><strong></strong><span>join date</span></div> </div> </div> <div class="cp_icones"> <div class="cp_mp"><a href="/privmsg?mode=post&u=' + $(this).attr('href').replace('/u', '') + '">PM</a></div> <div class="cp_perfil"><a href="' + $(this).attr('href') + '">PROFILE</a></div> </div></div> </div></a>');
        $.get($(this).attr('href'), function(cps) {
            $('.span_capa-nick').html($('profile-advanced-right .main-content.clearfix.center:eq(0)', cps).html());
            $('.cp_capa-avatar').html($('#profile-advanced-right .main-content.clearfix.center:eq(0)', cps).html());
            $('.cp_info-botoes-data strong').html($('#field_id-4 dd div', cps).html());
            $('.cp_info-botoes-post strong').html($('#field_id-6 dd div', cps).html());
            $('.cp_info-botoes-rep strong').html($('#field_id-13 dd div', cps).html());

        });

        $('.cp_geral').mouseleave(function() {
            $(this).remove();
        });



    });
});

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

7
Offline

  Van-Helsing

Van-Helsing
★Moderator★
★Moderator★
Hello,
Is it solved?

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

8
Offline

  FrOsTyXi

FrOsTyXi
V.I.P. Member
V.I.P. Member
Dark-Avenger wrote:[link="/t958-mouse-over-profile-information-problem#6338"]Hello Cesar,
Can you post your javascript for this function?

@Dark-Avenger Solved? No not at all it seems we both posted our script as requested.

Regards

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

9
Offline

  Cesar

Cesar
Punbb Junior
Punbb Junior
How can this be solved if no one gave a solution?

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

10
Offline

  Cesar

Cesar
Punbb Junior
Punbb Junior
Bump.

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

11
Offline

  Van-Helsing

Van-Helsing
★Moderator★
★Moderator★
Hello,
Do you want to remove the profile field rank from this mouseover hovering?
Can you post a screenshot about what exactly you need?

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

12
Offline

  FrOsTyXi

FrOsTyXi
V.I.P. Member
V.I.P. Member
@Dark-Avenger [Archived] Mouse-over profile information problem Captur11

I think this explains it all.

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

13
Offline

  Van-Helsing

Van-Helsing
★Moderator★
★Moderator★
Hello @FrOsTyXi,
Can you tell what is the number of field_id for the rank field?
Try this javascript:
Code:

        jQuery(document).ready(function() {
                $('.tcr a[href*="/u"]').mouseover(function() {
                    $(this).parents('strong').css('position', 'relative');
                    $('.cp_geral').remove();
                    $(this).parents('.tcr').css('overflow', 'visible');
                    $(this).before('<a href="' + $(this).attr('href') + '"><div class="cp_geral" style="position:absolute;"><div class="cp_box"> <div class="cp_capa"> <div class="cp_capa-avatar"><img src="http://i.imgur.com/1rHWZUQ.gif" /></div> <div class="cp_capa-nick"> <strong>' + $(this).html() + '</strong> </div> </div> <div class="cp_info"> <div class="cp_info-botoes"> <div class="cp_info-botoes-post"><strong></strong><span>posts</span></div> <div class="cp_info-botoes-rep"><strong></strong><span>reputation</span></div> <div class="cp_info-botoes-data"><strong></strong><span>join date</span></div> </div> </div> <div class="cp_icones"> <div class="cp_mp"><a href="/privmsg?mode=post&u=' + $(this).attr('href').replace('/u', '') + '">PM</a></div> <div class="cp_perfil"><a href="' + $(this).attr('href') + '">PROFILE</a></div> </div></div> </div></a>');
                    $.get($(this).attr('href'), function(cps) {
                        $('.span_capa-nick').html($('#profile-advanced-right .main-content.clearfix.center:eq(0)', cps).html());
                        $('.cp_capa-avatar').html($('#profile-advanced-right .main-content.clearfix.center:eq(0)', cps).html());
                        $('.cp_info-botoes-data strong').html($('#field_id-4 dd div', cps).html());
                        $('.cp_info-botoes-post strong').html($('#field_id-6 dd div', cps).html());
                        $('.cp_info-botoes-rep strong').html($('#field_id-14 dd div', cps).html());
                    });
                    $('.cp_geral').mouseleave(function() {
                        $(this).remove();
                    });
                });
            });

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

14
Offline

  FrOsTyXi

FrOsTyXi
V.I.P. Member
V.I.P. Member
[Archived] Mouse-over profile information problem Captur36

@Dark-Avenger That was close it removed the rank under the username but what i would like to remove is the rank image, the rank is fine just the rank image and i checked for a profile field and there is not one as far as i see

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

15
Offline

  Van-Helsing

Van-Helsing
★Moderator★
★Moderator★
Hello @FrOsTyXi,

I found those three profile field in js but I can't locate debug the code because you are using the IPB Profile js and I cant locate the field ids. Furthermore the rank is not displayed in members profile to locate it.

Code:

$('.cp_info-botoes-data strong').html($('#field_id-4 dd div', cps).html());
$('.cp_info-botoes-post strong').html($('#field_id-6 dd div', cps).html());
$('.cp_info-botoes-rep strong').html($('#field_id-14 dd div', cps).html());

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

16
Offline

  Cesar

Cesar
Punbb Junior
Punbb Junior
And? We can not find a solution?

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

17
Offline

  FrOsTyXi

FrOsTyXi
V.I.P. Member
V.I.P. Member
Seems not the rank is a special rank it's the same on all forum it's not a custom profile field nor a normal profile field.

here yet again another image [Archived] Mouse-over profile information problem Captur37

That is where the rank image comes from, now can this be removed from the script so the rank image is not seen, the rank itself is fine but the image has to go.

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

18
Offline

  Cesar

Cesar
Punbb Junior
Punbb Junior
Bump.

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

19
Offline

  Shadow

Shadow
Administrator
Administrator
Try this one

Code:
[panda=js]jQuery(document).ready(function() {
        $('.tcr a[href*="/u"]').mouseover(function() {
            $(this).parents('strong').css('position', 'relative');
            $('.cp_geral').remove();
            $(this).parents('.tcr').css('overflow', 'visible');
            $(this).before('<a href="' + $(this).attr('href') + '"><div class="cp_geral" style="position:absolute;"><div class="cp_box"> <div class="cp_capa"> <div class="cp_capa-avatar"><img src="http://i.imgur.com/1rHWZUQ.gif" /></div> <div class="cp_capa-nick"> <strong>' + $(this).html() + '</strong> <span class="span_capa-nick"></span> </div> </div> <div class="cp_info"> <div class="cp_info-botoes"> <div class="cp_info-botoes-post"><strong></strong><span>posts</span></div> <div class="cp_info-botoes-rep"><strong></strong><span>reputation</span></div> <div class="cp_info-botoes-data"><strong></strong><span>join date</span></div> </div> </div> <div class="cp_icones"> <div class="cp_mp"><a href="/privmsg?mode=post&u=' + $(this).attr('href').replace('/u', '') + '">PM</a></div> <div class="cp_perfil"><a href="' + $(this).attr('href') + '">PROFILE</a></div> </div></div> </div></a>');
            $.get($(this).attr('href'), function(cps) {
                $('.span_capa-nick').html($('#profile-advanced-right .main-content.clearfix.center:eq(0)', cps).html());
                $('.cp_capa-avatar').html($('#profile-advanced-right .main-content.clearfix.center:eq(4)', cps).html());
                $('.cp_info-botoes-data strong').html($('#field_id-4 dd div', cps).html());
                $('.cp_info-botoes-post strong').html($('#field_id-6 dd div', cps).html());
                $('.cp_info-botoes-rep strong').html($('#field_id-14 dd div', cps).html());

            });

            $('.cp_geral').mouseleave(function() {
                $(this).remove();
            });



        });
    });

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

20
Offline

  Cesar

Cesar
Punbb Junior
Punbb Junior
GIve me 2 days so I can test it. I have some problems with my PC and I can not access it.

Powered by PunBB
Currently 0 users have thanked Cesar 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 2]


Go to page : 1, 2  Next

Topic URL's

URL
BBcode
HTML

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