News:

Create A Forum Installed

Author Topic: [Request]A code to show the membergroup on the bottom of Forums. Legend:  (Read 33075 times)

0 Members and 1 Guest are viewing this topic.

Offline Wu_Zi_Mu

  • Newbie
  • *
  • Posts: 38
  • Karma: 1
    • View Profile

Badges: (View All)
Karma 10 Posts Level 2
As i have shown in many forums, there is something called " Legend : ". I would like to have a " Legend : " at my forums bottom which shows all the membergroups.

Share on Facebook Share on Twitter


Offline Wu_Zi_Mu

  • Newbie
  • *
  • Posts: 38
  • Karma: 1
    • View Profile

Badges: (View All)
Karma 10 Posts Level 2
Someone?  :-[

Offline ToxicBear

  • Newbie
  • *
  • Posts: 3
  • Karma: 0
    • View Profile

Badges: (View All)
Level 2 Combination Topic Starter
I need that too. Can anybody help?

Offline SWAT4SAMP

  • Newbie
  • *
  • Posts: 10
  • Karma: 0
    • View Profile

Badges: (View All)
Apple User Level 3 Linux User
Code: [Select]
<p style="text-align: center;"><strong class="gensmall">Legend :: <span style="color: #ff0000;">Administrators</span>,<span style="color: #0000ff;"> Global moderator</span>, <span style="color: #ff6600;">Premium Members</span></strong></p>

Put that in your footers
« Last Edit: May 20, 2015, 02:36:13 pm by SWAT4SAMP »

Offline Agent Moose

  • Newbie
  • *
  • Posts: 37
  • Karma: 12
  • Gender: Male
  • Miss me?
  • Location: South Carolina, United States
    • View Profile

Badges: (View All)
Linux User Mobile User Level 5
Re: [Request]A code to show the membergroup on the bottom of Forums. Legend:
« Reply #4 on: November 23, 2015, 03:26:07 am »
This code has been completed! :D  It's been awhile since I've done a code, but here ya are!
http://support.createaforum.com/5/(code)-hoverover-member-legend/
Code: [Select]
//Hint hint :)
if(/action=profile;u=(.*);sa=UserPage/i.test(location.href)){
var number = RegExp.$1;
var username = (smf_id_member !== "0") ? document.getElementById("upper_section").getElementsByTagName("li")[0].getElementsByTagName("span")[0].innerHTML : void(0);

 

Related Topics

  Subject / Started by Replies Last post
1 Replies
698 Views
Last post October 28, 2012, 01:35:55 pm
by terrel8125
1 Replies
877 Views
Last post November 04, 2012, 05:08:10 pm
by aIURbliS
0 Replies
1347 Views
Last post December 27, 2014, 12:08:08 pm
by discjocke09
0 Replies
821 Views
Last post November 23, 2015, 03:23:42 am
by Agent Moose
0 Replies
733 Views
Last post July 25, 2018, 01:16:38 pm
by guest5139