Welcome Guest [Log In] [Register]
We hope you enjoy your visit.

You're currently viewing our forum as a guest. This means you are limited to certain areas of the board and there are some features you can't use. If you join our community, you'll be able to access member-only sections, and use many member-only features such as customizing your profile, sending personal messages, and voting in polls. Registration is simple, fast, and completely free.


Join our community!


If you're already a member please log in to your account to access all of our features:

Username:   Password:
Add Reply
Links in active members legend
Topic Started: Sep 15 2008, 01:19 AM (257 Views)
CaptainTsubasa
Member Avatar
Member
 *   *   *  
Hi.

Im using this active member legend code:

Code:
 
<script>/* Active Groups Legend (public version),By Godkillah of: */var groups=[];a=document.getElementsByTagName("td");for(i=0;i<a.length;i++){if(a[i].innerHTML.match(/Show detailed list by:/i) && a[i].className=="row4" && a[i].width=='95%'){aa=a[i].getElementsByTagName("div")[0].getElementsByTagName("a");for(ii=0;ii<aa.length;ii++){if(aa[ii].firstChild.getAttribute("gname")!=null){groups[aa[ii].firstChild.getAttribute("gname")]=aa[ii].innerHTML;name=aa[ii].innerHTML;while(name.match(/>(?!<)(.+?)<\//i)){name=RegExp.$1;}groups[aa[ii].firstChild.getAttribute("gname")]=groups[aa[ii].firstChild.getAttribute("gname")].split(name)[0]+aa[ii].firstChild.getAttribute("gname")+groups[aa[ii].firstChild.getAttribute("gname")].split(name)[1]}}a[i].innerHTML=a[i].innerHTML.replace("Show detailed list by:"," <span id='TehLegend' onclick='location.href=\"http://z3.invisionfree.com/UG_Net/index.php?act=idx\'>[ None ]</span><hr>Show detailed list by:");t=0;for(blah in groups){if(t==0){document.getElementById("TehLegend").innerHTML="";t++;}document.getElementById("TehLegend").innerHTML+="l "+groups[blah]+" l ";}}}</script>



My question is: how can I transform every active group into a link that shows the members list of that specific group??

PD: Don't want to use another active member legend code :)
Offline Profile Quote Post Goto Top
 
CaptainTsubasa
Member Avatar
Member
 *   *   *  
bump
Offline Profile Quote Post Goto Top
 
Cory
Member Avatar
Member
 *   *   *   *   *   *   *   *   *  
We would first need permission from godkillah to edit the code. However, since he was the original creator, you should request this from him.
Offline Profile Quote Post Goto Top
 
CaptainTsubasa
Member Avatar
Member
 *   *   *  
Where I can find him?
Offline Profile Quote Post Goto Top
 
Cory
Member Avatar
Member
 *   *   *   *   *   *   *   *   *  
You can PM or email him here from his profile if you'd like.
Offline Profile Quote Post Goto Top
 
1 user reading this topic (1 Guest and 0 Anonymous)
« Previous Topic · zIFBoards Support & Galleries · Next Topic »
Add Reply