Welcome to the E-Blah Community!
We would like to welcome you to our community and invite you to register an account or login.
Being a registered member is important, as it gives you several advantages over the normal Guest status. After registering you will be able to download files and images, post messages, and access member-only portions of the forum - just to name a few. Registration is quick and simple, and only takes about a minute of your time.

E-Blah Community    Modifications    Mod Requests and Support  ›  Group Backgrounds Support Moderators: 10 Series Support Team
Users Browsing Forum
Cazbo and 1 Guests

Group Backgrounds Support  This thread currently has 4,425 views. Print
4 Pages « 1 2 3 4 » Recommend Thread
user
June 12, 2005, 1:04pm Report to Moderator Report to Moderator

confusion is healthy
Posts: 142
Gender: Male
Posts Per Day: 0.10
Reputation: 90.91%
Reputation Score: +10 / -1
Time Online: 1 days 6 hours 48 minutes
Location: Eugene, Oregon
Age: 52
Works great! It'll be even greater with the category and board backgrounds.  

I like the way it works across various themes.  

Getting a copy was interesting. I couldn't copy and past from the code window in the post.
The download opens in a browser window and then won't save as anything but an html page with tags in the mod code converted to special characters.

But I could copy in past from the browser window to notepad without loosing the tabs, then save the notepad copy with the mod name and upload ascii.


--
freeman

"As far as the laws of mathematics refer to reality, they are not certain, as far as they are certain, they do not refer to reality." --Einstein

Feel free to increase my reputation.
Logged Offline
Site Site Private Message Private message Reply: 15 - 45
Justin
June 12, 2005, 1:23pm Report to Moderator Report to Moderator

The E-Blah Developer
E-Blah Programmer
Posts: 15,070
Gender: Male
Posts Per Day: 6.55
Reputation: 93.40%
Reputation Score: +297 / -21
Time Online: 36 days 23 hours 14 minutes
Location: Tallassee, AL
Age: 22
Quoted from Opfer


Ah, now I understand. Any idea, how I could post it with the tabs working?



Yeah, that's it

Umm, and here goes a new version of the mod, now you can also set up a color, background, whatever for board moderators.



Actually, I'm about to try to fix that.  


I do installs for $25 and upgrades for $20.
Technical support is always free.

  Donate to E-Blah!  

My Websites: Revolution Reality (My Blog)  |  MinistryTalk.com  |  Portfolio

"But you, O Lord, are a compassionate and gracious God, slow to anger, abounding in love and faithfulness." — Psalm 86:15 NIV

Logged Offline
Site Site Private Message Private message Reply: 16 - 45
Opfer
June 12, 2005, 1:31pm Report to Moderator Report to Moderator

E-Blah Member
The Mod' King
Posts: 325
Gender: Male
Posts Per Day: 0.22
Reputation: 91.67%
Reputation Score: +11 / -1
Time Online: 2 days 3 hours 21 minutes
Location: Türkheim, Germany
Age: 20
Quoted from user
Works great! It'll be even greater with the category and board backgrounds.  


Yeah, I'm about to do that, but I have a german exam tomorrow so I can't do it today
Logged Offline
Site Site Private Message Private message Reply: 17 - 45
Justin
June 12, 2005, 1:39pm Report to Moderator Report to Moderator

The E-Blah Developer
E-Blah Programmer
Posts: 15,070
Gender: Male
Posts Per Day: 6.55
Reputation: 93.40%
Reputation Score: +297 / -21
Time Online: 36 days 23 hours 14 minutes
Location: Tallassee, AL
Age: 22
If you want, you can post the mod now.  Tabs are now fixed.  


I do installs for $25 and upgrades for $20.
Technical support is always free.

  Donate to E-Blah!  

My Websites: Revolution Reality (My Blog)  |  MinistryTalk.com  |  Portfolio

"But you, O Lord, are a compassionate and gracious God, slow to anger, abounding in love and faithfulness." — Psalm 86:15 NIV

Logged Offline
Site Site Private Message Private message Reply: 18 - 45
Opfer
June 12, 2005, 1:43pm Report to Moderator Report to Moderator

E-Blah Member
The Mod' King
Posts: 325
Gender: Male
Posts Per Day: 0.22
Reputation: 91.67%
Reputation Score: +11 / -1
Time Online: 2 days 3 hours 21 minutes
Location: Türkheim, Germany
Age: 20
Ok, there you go:

Code
<author="Opfer">
<modname="Member Group Background">
<version="1.2">
<boardversion="9">
<site="www.FreePerl.de.vu">
<desc="Inspired by Fiik">

<openfile="Languages/English.lng" writes="1">
<mod search="1">
30 => 'Color',
</mod end>
<mod write="1" action="2">
30 => 'Text-Color',
</mod end>
<openfile="Languages/English/Members.lng" writes="1">
<mod search="1">
$memtext[2] = 'Posts';
</mod end>
<mod write="1" action="2">
$memtext[2] = 'Posts';
$memtext[3] = 'Background Color';
$memtext[4] = 'Background Image';
</mod end>
<openfile="Code/Admin3.pl" writes="4">
<mod search="1">
    if($URL{'group'} ne 'Moderators') {
        $ebout .= <<"EOT";
   <tr id="postsdisabled">
    <td colspan="3" class="win">
     <table width="100%">
      <tr>
       <td width="200"><img src="$images/team.gif"> <b>$memtext[57]</b></td>
       <td colspan="2"><input type="checkbox" class="checkboxinput" value="1" name="team"$T{'1'}></td>
      </tr><tr>
       <td width="200"><b>$memtext[28]:</b></td>
       <td><input type="text" class="textinput" value='$permissions{$URL{'group'},'color'}' name="color" size="15" onChange="ColorPreview()"></td>
       <td align="center"><span id="colorpreview" class="win2" style="padding:5px"></span></td>
      </tr></table>
    </td>
   </tr>
EOT
    }
</mod end>
<mod write="1" action="2">
    $ebout .= <<"EOT";
   <tr id="postsdisabled">
    <td colspan="3" class="win">
     <table width="100%">
EOT
    if($URL{'group'} ne 'Moderators') {
        $ebout .= <<"EOT";
      <tr>
       <td width="200"><img src="$images/team.gif"> <b>$memtext[57]</b></td>
       <td colspan="2"><input type="checkbox" class="checkboxinput" value="1" name="team"$T{'1'}></td>
      </tr><tr>
       <td width="200"><b>$memtext[28]:</b></td>
       <td><input type="text" class="textinput" value='$permissions{$URL{'group'},'color'}' name="color" size="15" onChange="ColorPreview()"></td>
       <td align="center"><span id="colorpreview" class="win2" style="padding:5px"></span></td>
      </tr>
EOT
    }
    $ebout .= <<"EOT";
      <tr>
       <td width="200"><b>$memtext[3]:</b></td>
       <td><input type="text" class="textinput" value='$permissions{$URL{'group'},'bgcolor'}' name="bgcolor" size="15" onChange="ColorPreview()"></td>
       <td align="center"><span id="bgcolorpreview" class="win2" style="padding:5px"></span></td>
      </tr><tr>
       <td width="200"><b>$var{'30'}:</b></td>
       <td colspan="2"><input type="text" class="textinput" value='$permissions{$URL{'group'},'textcolor'}' name="textcolor" size="15" onChange="ColorPreview()"></td>
      </tr><tr>
       <td width="200"><b>$memtext[4]:</b></td>
       <td colspan="2"><input type="text" class="textinput" value='$permissions{$URL{'group'},'bgimg'}' name="bgimg" size="15"></td>
      </tr>
     </table>
    </td>
   </tr>
EOT
</mod end>
<mod search="2">
function ColorPreview() {
if(document.form.color.value == '') { valy = ''; } else { valy = document.form.color.value; }
document.getElementById('colorpreview').innerHTML = '<font color="'+valy+'">$memtext[180]</span>';
}
</mod end>
<mod write="2" action="2">
function ColorPreview() {
EOT
    if($URL{'group'} ne 'Moderators') {
        $ebout .= <<"EOT";
if(document.form.color.value == '') { valy = ''; } else { valy = document.form.color.value; }
document.getElementById('colorpreview').innerHTML = '<font color="'+valy+'">$memtext[180]</font>';
EOT
    }
    $ebout .= <<"EOT";
if(document.form.bgcolor.value == '') { valy = ''; } else { valy = document.form.bgcolor.value; }
document.getElementById('bgcolorpreview').style.background = valy;
if(document.form.textcolor.value == '') { valy = ''; } else { valy = document.form.textcolor.value; }
document.getElementById('bgcolorpreview').innerHTML = '<font color="'+valy+'">$memtext[180]</font>';
}
</mod end>
<mod search="3">
                if($FORM{'posts'} eq '' && $URL{'group'} ne 'Moderators') {
                    $newlines .= $FORM{'desc'} ? "desc = '$FORM{'desc'}'\n" : '';
                    $newlines .= $FORM{'color'} ? "color = '$FORM{'color'}'\n" : '';
                    $newlines .= $FORM{'team'} ? "team = '$FORM{'team'}'\n" : '';
                    $newlines .= $FORM{'accepting'} ? "accepting = '$FORM{'accepting'}'\n" : '';
                }
</mod end>
<mod write="3" action="2">
                if($FORM{'posts'} eq '') {
                    if($URL{'group'} ne 'Moderators') {
                        $newlines .= $FORM{'desc'} ? "desc = '$FORM{'desc'}'\n" : '';
                        $newlines .= $FORM{'color'} ? "color = '$FORM{'color'}'\n" : '';
                        $newlines .= $FORM{'team'} ? "team = '$FORM{'team'}'\n" : '';
                        $newlines .= $FORM{'accepting'} ? "accepting = '$FORM{'accepting'}'\n" : '';
                    }
                    $newlines .= $FORM{'bgcolor'} ? "bgcolor = '$FORM{'bgcolor'}'\n" : '';
                    $newlines .= $FORM{'textcolor'} ? "textcolor = '$FORM{'textcolor'}'\n" : '';
                    $newlines .= $FORM{'bgimg'} ? "bgimg = '$FORM{'bgimg'}'\n" : '';
                }
</mod end>
<mod search="4">
    if($URL{'group'} ne 'Moderators') { $nomod = "ColorPreview();"; }
</mod end>
<mod write="4" action="2">
    $nomod = "ColorPreview();";
</mod end>
<openfile="Code/MessageDisplay.pl" writes="2">
<mod search="1">
        $homepage = ($userset{$user}->[19] && $userset{$user}->[20]) ? qq~<a href="$userset{$user}->[20]" title="$userset{$user}->[19]">$img{'site'}</a>$msp2~: '';
</mod end>
<mod write="1" action="2">
        $homepage = ($userset{$user}->[19] && $userset{$user}->[20]) ? qq~<a href="$userset{$user}->[20]" title="$userset{$user}->[19]">$img{'site'}</a>$msp2~: '';
        if($permissions{$membergrp{$user},'bgcolor'} || $permissions{$membergrp{$user},'bgimg'}) { $bg = "background: $permissions{$membergrp{$user},'bgcolor'} url('$permissions{$membergrp{$user},'bgimg'}');" }
        else { $bg = '' }
        if($permissions{$membergrp{$user},'textcolor'}) { $col = "color: $permissions{$membergrp{$user},'textcolor'};" }
        else { $col = '' }
        if($bg || $col) { $style = qq~style="$bg $col"~ }
        else { $style = ''; }
</mod end>
<mod search="2">
<td class="win2" width="180" valign="top"><span class="smalltext">$mprofile</span></td>
<td class="win2" height="100%" valign="top">
</mod end>
<mod write="2" action="2">
<td class="win2" width="180" valign="top" $style><span class="smalltext">$mprofile</span></td>
<td class="win2" height="100%" valign="top">
</mod end>
<openfile="Code/MemberPanel.pl" writes="2">
<mod search="1">
<td class="win" width="200" valign="top"><span class="smalltext">$memberstat</span></td>
</mod end>
<mod write="1" action="2">
<td class="win" width="200" valign="top" $style><span class="smalltext">$memberstat</span></td>
</mod end>
<mod search="2">
    $title = "$profiletxt[93] $userset{$viewuser}->[1]";
</mod end>
<mod write="2" action="2">
    $title = "$profiletxt[93] $userset{$viewuser}->[1]";
    if($permissions{$membergrp{$viewuser},'bgcolor'} || $permissions{$membergrp{$viewuser},'bgimg'}) { $bg = "background: $permissions{$membergrp{$viewuser},'bgcolor'} url('$permissions{$membergrp{$viewuser},'bgimg'}');" }
    else { $bg = '' }
    if($permissions{$membergrp{$viewuser},'textcolor'}) { $col = "color: $permissions{$membergrp{$viewuser},'textcolor'};" }
    else { $col = '' }
    if($bg || $col) { $style = qq~style="$bg $col"~ }
    else { $style = ''; }
</mod end>
<openfile="Code/PM.pl" writes="2">
<mod search="1">
<td class="win2" width="180" valign="top"><span class="smalltext">$mprofile</span></td>
</mod end>
<mod write="1" action="2">
<td class="win2" width="180" valign="top" $style><span class="smalltext">$mprofile</span></td>
</mod end>
<mod search="2">
    $homepage = ($userset{$tof}->[19] && $userset{$tof}->[20]) ? qq~<a href="$userset{$tof}->[20]" title="$userset{$tof}->[19]">$img{'site'}</a>$msp2~: '';
</mod end>
<mod write="2" action="2">
    $homepage = ($userset{$tof}->[19] && $userset{$tof}->[20]) ? qq~<a href="$userset{$tof}->[20]" title="$userset{$tof}->[19]">$img{'site'}</a>$msp2~: '';
    if($permissions{$membergrp{$tof},'bgcolor'} || $permissions{$membergrp{$tof},'bgimg'}) { $bg = "background: $permissions{$membergrp{$tof},'bgcolor'} url('$permissions{$membergrp{$tof},'bgimg'}');" }
    else { $bg = '' }
    if($permissions{$membergrp{$tof},'textcolor'}) { $col = "color: $permissions{$membergrp{$tof},'textcolor'};" }
    else { $col = '' }
    if($bg || $col) { $style = qq~style="$bg $col"~ }
    else { $style = ''; }
</mod end>


Umm, there is just one more thing: Why does the code box make the forum page that broad? I mean, it has a scrollbar at the bottom, so it could use it

Oh, and thanks for fixing this

Revision History (1 edits)
Opfer  -  June 12, 2005, 1:44pm
Logged Offline
Site Site Private Message Private message Reply: 19 - 45
Justin
June 12, 2005, 2:01pm Report to Moderator Report to Moderator

The E-Blah Developer
E-Blah Programmer
Posts: 15,070
Gender: Male
Posts Per Day: 6.55
Reputation: 93.40%
Reputation Score: +297 / -21
Time Online: 36 days 23 hours 14 minutes
Location: Tallassee, AL
Age: 22
I know, I was working on it.  I now just have it at a set size of 750px.  heh  I can't figure out why percents won't work.  I hate CSS sometimes.  


I do installs for $25 and upgrades for $20.
Technical support is always free.

  Donate to E-Blah!  

My Websites: Revolution Reality (My Blog)  |  MinistryTalk.com  |  Portfolio

"But you, O Lord, are a compassionate and gracious God, slow to anger, abounding in love and faithfulness." — Psalm 86:15 NIV

Logged Offline
Site Site Private Message Private message Reply: 20 - 45
user
June 12, 2005, 2:44pm Report to Moderator Report to Moderator

confusion is healthy
Posts: 142
Gender: Male
Posts Per Day: 0.10
Reputation: 90.91%
Reputation Score: +10 / -1
Time Online: 1 days 6 hours 48 minutes
Location: Eugene, Oregon
Age: 52
No kidding!

HTML was suppose to be this real flexible mark up language. The big point that always came down was to build web pages that can expand and contract, use as few absolutes as possible.

Then came css. Everyone was suppose to get on board. It was going to open new doors and reduce work load. But, unless you put in hours of tinkering to keep parts of the page from jumping all over the place, the one thing css does almost automatically is render very inflexible pages.


--
freeman

"As far as the laws of mathematics refer to reality, they are not certain, as far as they are certain, they do not refer to reality." --Einstein

Feel free to increase my reputation.
Logged Offline
Site Site Private Message Private message Reply: 21 - 45
Opfer
June 12, 2005, 3:05pm Report to Moderator Report to Moderator

E-Blah Member
The Mod' King
Posts: 325
Gender: Male
Posts Per Day: 0.22
Reputation: 91.67%
Reputation Score: +11 / -1
Time Online: 2 days 3 hours 21 minutes
Location: Türkheim, Germany
Age: 20
Oh I see, just tried it out, and it went all crazy

But the way it is now just looks fine.
Logged Offline
Site Site Private Message Private message Reply: 22 - 45
Opfer
November 25, 2005, 9:33am Report to Moderator Report to Moderator

E-Blah Member
The Mod' King
Posts: 325
Gender: Male
Posts Per Day: 0.22
Reputation: 91.67%
Reputation Score: +11 / -1
Time Online: 2 days 3 hours 21 minutes
Location: Türkheim, Germany
Age: 20
Another updated version for Platinum 9.4.

The first file is for people using only the english language pack and the second one for people using the english and the german language pack.



This post contains attachments; to download them you must login.

Logged Offline
Site Site Private Message Private message Reply: 23 - 45
Martin
November 25, 2005, 5:34pm Report to Moderator Report to Moderator

I love E-Blah
10 Series Support Team
Posts: 4,558
Gender: Male
Posts Per Day: 3.16
Reputation: 98.60%
Reputation Score: +211 / -3
Time Online: 35 days 19 hours 17 minutes
Location: UK
Age: 50
And a little mod to Opfer's mod.  (Hope you don't mind Opfer)

This one allows you to change the background color, text color or adding a background image to the board ID only. (root catagory) seperately from the sub cats. It also incorporates changing the above for the sub cats also but you can choose what area you wish to change, just the title, just the sub cat or both.

Can be seen/tested here:  http://www.warlock.4you.za.org/blah94/Blah.pl

admin
Warl0ck



This post contains attachments; to download them you must login.




Martin's Reputation: Increase
Logged Offline
Site Site Private Message Private message Reply: 24 - 45
Opfer
November 26, 2005, 5:22am Report to Moderator Report to Moderator

E-Blah Member
The Mod' King
Posts: 325
Gender: Male
Posts Per Day: 0.22
Reputation: 91.67%
Reputation Score: +11 / -1
Time Online: 2 days 3 hours 21 minutes
Location: Türkheim, Germany
Age: 20
No, I don't mind you changing my mods

But it seems you're in the wrong thread, this here is Member Group Background Support.

And I don't really get what the mod is doing, is it just removing the "Color 2" Input Box for cats and subcats and not displaying anything on subcats when they are displayed like boards or is there something else?
Logged Offline
Site Site Private Message Private message Reply: 25 - 45
Martin
November 26, 2005, 6:19am Report to Moderator Report to Moderator

I love E-Blah
10 Series Support Team
Posts: 4,558
Gender: Male
Posts Per Day: 3.16
Reputation: 98.60%
Reputation Score: +211 / -3
Time Online: 35 days 19 hours 17 minutes
Location: UK
Age: 50
oops.  This is your Board and Category Background Colors mod.

All I done was split the Title background from the Catagory background so now you can just change the Title background on it's own or set both Title and Category backgrounds.



Martin's Reputation: Increase
Logged Offline
Site Site Private Message Private message Reply: 26 - 45
Opfer
November 26, 2005, 6:41am Report to Moderator Report to Moderator

E-Blah Member
The Mod' King
Posts: 325
Gender: Male
Posts Per Day: 0.22
Reputation: 91.67%
Reputation Score: +11 / -1
Time Online: 2 days 3 hours 21 minutes
Location: Türkheim, Germany
Age: 20
Ah, I see, thanks for the information.
Logged Offline
Site Site Private Message Private message Reply: 27 - 45
Opfer
December 4, 2005, 3:36pm Report to Moderator Report to Moderator

E-Blah Member
The Mod' King
Posts: 325
Gender: Male
Posts Per Day: 0.22
Reputation: 91.67%
Reputation Score: +11 / -1
Time Online: 2 days 3 hours 21 minutes
Location: Türkheim, Germany
Age: 20
I just want to say, that the version release for Platinum 9.4 will still work with Platinum 9.5.

And I want to thank Justin for the great member group engine. Everything is just made so that I can easily add properties to the member groups. That way, this mod is the one that I have to spend the least time to make it compatible with a new version of eblah. Basically, one version would work for P9, P9.2, P9.4, and P9.5 except for the complete change of the url-system in P9.4.

So thank you
Logged Offline
Site Site Private Message Private message Reply: 28 - 45
ThunderBucks.com
December 9, 2005, 5:27am Report to Moderator Report to Moderator
E-Blah Member
Posts: 168
Posts Per Day: 0.15
Time Online: 3 days 21 hours 51 minutes
Is this mod compatible with version 9.5 ? Because after I upgraded it stopped working??
Logged Offline
Private Message Private message AIM AIM YIM YIM Reply: 29 - 45
4 Pages « 1 2 3 4 » Recommend Thread
Print

E-Blah Community    Modifications    Mod Requests and Support  ›  Group Backgrounds Support