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
Members legend link
Topic Started: Sep 6 2008, 11:06 PM (411 Views)
CaptainTsubasa
Member Avatar
Member
 *   *   *  
Hi.

I just added to my board an active users legend code. This is it:

Code:
 
<script>/* Active Groups Legend (public version),By Godkillah of:z3.invisionfree.com/UG_Net & phantom-designs.net */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:","Active groups Legend: <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+="["+groups[blah]+"] ";}}}</script>



Now, I dont know if this can be done: Is there a way for making the member legend a link to go to the panel that shows what the users of that specific group are doing??[/i]
Edited by CaptainTsubasa, Sep 6 2008, 11:16 PM.
Offline Profile Quote Post Goto Top
 
cvn-tv-dip
Member
 *   *   *   *   *   *  
Can you repost your code in the [ code ] tag? I think the [ i ] part in your code is acting like a BB code when it's not supposed to.

Note: I mean from where you got it, not from the post.
Edited by cvn-tv-dip, Sep 6 2008, 11:16 PM.
Offline Profile Quote Post Goto Top
 
CaptainTsubasa
Member Avatar
Member
 *   *   *  
This is the link:

http://if.invisionfree.com/topic/345652/1/#new
Offline Profile Quote Post Goto Top
 
cvn-tv-dip
Member
 *   *   *   *   *   *  
I see. Now, what page are you referring to by the panel? Do you mean a page for each specific user or a page describing all users of that group? Can you link to it?
Offline Profile Quote Post Goto Top
 
CaptainTsubasa
Member Avatar
Member
 *   *   *  
Sure.

http://if.invisionfree.com/online/?g=4

Offline Profile Quote Post Goto Top
 
cvn-tv-dip
Member
 *   *   *   *   *   *  
Ah, but see, that's for a Zetaboard. In IF it doesn't show the actions of the individual users. It simply shows who is in which group, their post count, and when they joined.

Also, I tried this code and it seems to support <span> for user group color, but not <a href> for URL, which is probably what you would need to accomplish this. So you'll need to ask the code creator or request a code that can do this, since it's not part of what the existing code does.

By the way, I honestly think, by the things you've been requesting here recently, that a Zetaboard may be better suited for you. For instance, it has this feature built-in.
Edited by cvn-tv-dip, Sep 6 2008, 11:44 PM.
Offline Profile Quote Post Goto Top
 
CaptainTsubasa
Member Avatar
Member
 *   *   *  
Ok man, thanks anyway!
Offline Profile Quote Post Goto Top
 
Cory
Member Avatar
Member
 *   *   *   *   *   *   *   *   *  
As a response to your PM:

This code seems to be the one you're in search of.
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