The forum of the forums
Would you like to react to this message? Create an account in a few clicks or log in to continue.

help in member list

2 posters

Go down

help in member list  Empty help in member list

Post by xRateD January 25th 2019, 5:33 pm

I want this list to appear in the member list page

help in member list  P_1120wyfsa1

the list show now in topics and the Homepage

code

Code:
$(function () {
          if (/\/u\d+/.test(location.pathname)) return;
 
          var wall = 1, // visitor messages tab
          stats = 1, // statistics tab
          attachments = 0, // attachments tab
          friends = 1, // friends tab
          contact = 1, // contact tab
          rpg = 0, // RPG tab
          close = 1, // close popup button
          avatar = 1; // display user avatar
 
          var a=document.getElementsByTagName('A');
          for(i=0;i<a.length;i++)if(/\/u\d+/.test(a[i].href))a[i].className=a[i].className+' profilePopup';
          $('.profilePopup:has(img)').removeClass('profilePopup');
 
          var userWall='',userStats='',userAttachments='',userFriends='',userContact='',userRpg='',userClose='',guestView=true;
          if(wall==1)userWall='<span class="propop_tab" id="propop_vm"></span>';if(stats==1)userStats='<span class="propop_tab" id="propop_stats"></span>';if(attachments==1)userAttachments='<span class="propop_tab" id="propop_attach"</span>';if(friends==1)userFriends='<span class="propop_tab" id="propop_friends"></span>';if(contact==1)userContact='<span class="propop_tab" id="propop_contact"</span>';if(rpg==1)userRpg='<span class="propop_tab" id="propop_rpg"</span>';if(close==1)userClose='<span class="propop_tab" id="close_popup" style="float:left;margin-top:-4px;"><img src="https://i.servimg.com/u/f39/17/71/84/72/entypo25.png" alt="اغلاق" /></span>';
 
          $('.profilePopup').click(function(){
            var UID=$(this).attr('href'),UNM=$(this).text(),SEL='#cp-main .panel, .forumline:has(#profile-advanced-details), .clear + #profile-advanced-details',LOAD='<div class="profileLoading" style="text-align:center;font-weight:bold;font-size:18px;">تحميل...</div>';
            $('body').append('<div id="profilefilter" style="position:fixed;top:0px;left:0px;right:0px;bottom:0px;background:url(https://i.servimg.com/u/f39/18/21/41/30/overla10.png);cursor:pointer;z-index:10;"></div><div id="profcont-container" style="background:#EEE;border:1px solid #CCC;top:20%;left:15%;right:15%;padding:4px;position:fixed;font-size:12px;border-radius:5px;z-index:50;"><div class="profile_popup_nav">'+userWall+'<span class="propop_tab" id="propop_profile"></span>'+userStats+userAttachments+userFriends+userContact+userRpg+userClose+'</div><a href="'+UID+'"><div id=""></div></a><div id="userprofile" style="height:400px;overflow-y:auto;">'+LOAD+'</div><span id="profileLinks"><a href="'+UID+'"></a><span id="interactionLinks"> • <a href="/privmsg?mode=post&u='+UID.replace(/.*?\/u/,'')+'">ارسل رساله خاصه</a><span id="vmLink"> • <a href="/privmsg?mode=post_profile&u='+UID.replace(/.*?\/u/,'')+'">Send VM</a></span><span style="float:right;"><a href="/profile?friend='+UNM.replace(/\s+/g,'+')+'&mode=editprofile&page_profil=friendsfoes">اضافة كصديق</a> • <a href="/profile?foe='+UNM.replace(/\s+/g,'+')+'&mode=editprofile&page_profil=friendsfoes"></a></span></span></div>');
 
            $('#userprofile').load(UID+SEL,function(){if($('#profcont-container #username').length&&_userdata.user_id==-1){$(this).html('<div class="profileLoading" style="text-align:center;font-weight:bold;font-size:18px;">عذرا .. ايها الزائر لاتستطيع مشاهدة هذه البيانات! :(</div>');guestView=false}});
            $('#propop_profile').addClass('activeTab');
            if (avatar == 1) $('#userAVA').load(UID+' #profile-advanced-right .module:first div img:first, .forumline td.row1.gensmall:first > img:first, .frm-set.profile-view.left dd img:first, dl.left-box.details:first dd img:first, .row1 b .gen:first img:first, .real_avatar img:first');
            loadPro('#propop_profile','');loadPro('#propop_vm','wall');loadPro('#propop_stats','stats');loadPro('#propop_friends','friends');loadPro('#propop_contact','contact');loadPro('#propop_rpg','rpg');loadPro('#propop_attach','attachments');
 
            if(wall==0)$('#vmLink').remove();
            if(!document.getElementById('logout'))$('#interactionLinks').remove();
            $('#profilefilter,#close_popup').click(function(){$('#profilefilter, #profcont-container').remove()});
            function loadPro(element, location){$(element).click(function(){if($(this).hasClass('activeTab')||guestView==false)return;$('#propop_profile,#propop_vm,#propop_stats,#propop_friends,#propop_contact,#propop_rpg,#propop_attach,#propop_close').removeClass('activeTab');$(this).addClass('activeTab');$('#userprofile').html(LOAD).load(UID+location+SEL)})}
            return false;
          });
        });
xRateD
xRateD
Forumember

Posts : 31
Reputation : 1
Language : EN, Ar, Ro

https://www.best-devs.net

Back to top Go down

help in member list  Empty Re: help in member list

Post by xRateD January 25th 2019, 7:03 pm

There is no help he guys?
xRateD
xRateD
Forumember

Posts : 31
Reputation : 1
Language : EN, Ar, Ro

https://www.best-devs.net

Back to top Go down

help in member list  Empty Re: help in member list

Post by SLGray January 25th 2019, 8:06 pm

Please don't double post. Your posts need to be separated by 24 hours before bumping. Please use the edit button, instead!
Please read our forum rules:  ESF General Rules


help in member list  Slgray10

When your topic has been solved, ensure you mark the topic solved.
Never post your email in public.
SLGray
SLGray
Administrator
Administrator

Male Posts : 51554
Reputation : 3524
Language : English
Location : United States

https://forumsclub.com/gc/128-link-directory/

Back to top Go down

Back to top

- Similar topics

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