GideonTech.com Forums

  • August 19, 2017, 06:13:39 AM
  • Welcome, Guest
Please login or register.

Login with username, password and session length
Pages: 1 2 [3]   Go Down

Author Topic: Pretty name colours  (Read 21922 times)

RaDragon

  • Elite Modder
  • ****
  • Karma: +17/-2
  • Offline Offline
  • Posts: 5,639
  • Tee hee hee.
    • RaDragon.com
Re: Pretty name colours
« Reply #20 on: September 28, 2005, 01:18:44 PM »

Ra - i'll look into it.


Ooooh. Thanks!  :D
Logged

linear

  • Senior Modder
  • ***
  • Karma: +19/-0
  • Offline Offline
  • Posts: 645
  • cruel, inhumane or degrading
    • linear1 case mods
Re: Pretty name colours
« Reply #21 on: September 28, 2005, 04:46:59 PM »

SMF Membergroups have colors associated with them, including the post-based groups. edit membergroups in the admin panel.

Was there something needed besides that? That's out-of-the-box functionality. Modify the membergroup to see it.
« Last Edit: September 28, 2005, 04:48:31 PM by linear »
Logged

merlinicorpus

  • Global Moderator
  • Elite Modder
  • *****
  • Karma: +1341/-1341
  • Offline Offline
  • Posts: 4,655
  • One with the corn.
    • merliniworks
Re: Pretty name colours
« Reply #22 on: September 28, 2005, 06:04:11 PM »

SMF Membergroups have colors associated with them, including the post-based groups. edit membergroups in the admin panel.

Was there something needed besides that? That's out-of-the-box functionality. Modify the membergroup to see it.

Too easy.  We want Ed to recode at least 20% of the forum to make this work.
Logged

GideonX

  • Administrator
  • Elite Modder
  • *****
  • Karma: +93/-5
  • Offline Offline
  • Posts: 9,460
    • GideonTech.com
Re: Pretty name colours
« Reply #23 on: September 28, 2005, 07:27:55 PM »

SMF Membergroups have colors associated with them, including the post-based groups. edit membergroups in the admin panel.

Was there something needed besides that? That's out-of-the-box functionality. Modify the membergroup to see it.

I think Ra wants the pretty glow and shadow colors back in her name. It was a mod on the old phpBB forum.
Logged

GTF Gallery
4 8 15 16 23 42

linear

  • Senior Modder
  • ***
  • Karma: +19/-0
  • Offline Offline
  • Posts: 645
  • cruel, inhumane or degrading
    • linear1 case mods
Re: Pretty name colours
« Reply #24 on: September 28, 2005, 10:14:11 PM »

Ah, I wouldn't have ever seen that, not using a browser that has directX effects.</self-righteous>
Logged

linear

  • Senior Modder
  • ***
  • Karma: +19/-0
  • Offline Offline
  • Posts: 645
  • cruel, inhumane or degrading
    • linear1 case mods
Re: Pretty name colours
« Reply #25 on: September 28, 2005, 10:32:20 PM »

Alrighty then--in Themes/default/Display.template.php, find

Code: [Select]
// Show information about the poster of this message.
echo '
<table width="100%" cellpadding="5" cellspacing="0" style="table-layout: fixed;">
<tr>
<td valign="top" width="16%" rowspan="2" style="overflow: hidden;">
<b>', $message['member']['link'], '</b>
<div class="smalltext">';

and hack that to look more like

Code: [Select]
// Show information about the poster of this message.
    if ($message['member']['group'] == 'groupofpeoplethatglow') {
echo '
<table width="100%" cellpadding="5" cellspacing="0" style="table-layout: fixed;">
<tr>
<td valign="top" width="16%" rowspan="2" style="overflow: hidden;">
<span style="filter: Glow(color=red, strength=2); font: inherit;">', $message['member']['link'], '</span>
<div class="smalltext">';
} else {
echo '
<table width="100%" cellpadding="5" cellspacing="0" style="table-layout: fixed;">
<tr>
<td valign="top" width="16%" rowspan="2" style="overflow: hidden;">
<b>', $message['member']['link'], '</b>
<div class="smalltext">';
}

Not tested, YMMV, take only as directed, etc.

Logged
Pages: 1 2 [3]   Go Up
 

Page created in 0.062 seconds with 20 queries.