vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 2.x Full Releases (https://vborg.vbsupport.ru/forumdisplay.php?f=4)
-   -   Advance Online User Colours Per Style (https://vborg.vbsupport.ru/showthread.php?t=53962)

assassingod 06-06-2003 10:00 PM

Advance Online User Colours Per Style
 
Advance Online User colors Per Style

Author: assassingod

Description: This cool hack will let you choose online colors for usergroups per style. This is much more advance than the previous version and lets you add much more dynamic tags to your users online.

Original Hack: afterburner - Also, I asked and I am allowed to use his code.

To do: WOL and forumdisplay

Addons: https://vborg.vbsupport.ru/attachmen...chmentid=14965 (Add your own usergroup!)



Screenshots:
Editing Style 1
Style 1

Download:
https://vborg.vbsupport.ru/attachmen...&postid=405554

Tested on vB version:
2.3.0

If you use this hack please click the INSTALL button - thank you!



[high]Update: 27/6/2003 Added color legend, re-download and do step 4.[/high]

assassingod 06-07-2003 10:30 AM

Editing Style 1

assassingod 06-07-2003 10:31 AM

Style 1

Chris M 06-07-2003 10:37 AM

Nice;):)

Satan

Dean C 06-07-2003 11:40 AM

You could have released this as an update to your previous thread? :(

assassingod 06-07-2003 11:49 AM

This is a slightly different hack though. The other version requires little less hassle than this one. This one allows you to add any tags you wish, the other only allows you to change colour for a font tag.

N9ne 06-07-2003 12:07 PM

Yay you finally did it, was easy wasn't it? I gave you the idea though remember :p

assassingod 06-07-2003 05:10 PM

Yes, it was incredibly easy:p

Doing WOL and forumdisplay later tonight.

grog6 06-07-2003 05:23 PM

Hehe, I was thinking to a such hack during the afternoon, It's now released :)

Good job assassingod ;)

assassingod 06-07-2003 05:30 PM

Thanks Bastien:D:)

N9ne 06-07-2003 05:33 PM

So we can expect to see a mega-release of this hack in the near future with all member name places all together eh?

Memberlist, profile, postbit, small who's online forumhome list, last poster on forumhome and forumdisplay, forumdisplay thread starter, forumdisplay WOL, online.php, search results, calendar, userCP, just some places where there are usernames ;).

assassingod 06-07-2003 05:35 PM

Yes, yes you will.

Its not exactly hard:p;)

Dean C 06-07-2003 06:23 PM

Quote:

Today at 01:49 PM assassingod said this in Post #6
This is a slightly different hack though. The other version requires little less hassle than this one. This one allows you to add any tags you wish, the other only allows you to change colour for a font tag.
Its still basically the same idea....

assassingod 06-07-2003 06:25 PM

Well, I can't disagree, but I felt this was needed as a seperate hack as per the reasons I mentioned earlier.

ImportPassion 06-08-2003 04:03 AM

i take it this can only be used for the default usergroups and not new ones?

assassingod 06-08-2003 06:06 AM

That's correct.

iggy123 06-11-2003 06:37 PM

Is there any way of changing it to allow other usergroups - or altering the ones there that arent in the $highlightadmin groups

assassingod 06-11-2003 06:47 PM

You mean this hack working for other usergroups? It's easy really. Want any help just ask

impossible 06-13-2003 02:04 PM

Im sorry but i dont get this bit

Quote:

Step 3 (Most important step):
==This hack will not work if you dont do the following:

#1. Add an replacement named {admino} but leave 'Code to insert' blank
2. Add an replacement named {adminc} but leave 'Code to insert' blank
3. Add an replacement named {smodo} but leave 'Code to insert' blank
4. Add an replacement named {smodc} but leave 'Code to insert' blank
5. Add an replacement named {modo} but leave 'Code to insert' blank
6. Add an replacement named {modc} but leave 'Code to insert' blank
7. Add an replacement named {rego} but leave 'Code to insert' blank
8. Add an replacement named {regc} but leave 'Code to insert' blank

Could you explain what i have to do for this bit =/

EDIT i think i have found that i have to edit the styles, trying this now, then i have to find out how to change the formatting in the admin panel


Imp

assassingod 06-13-2003 02:19 PM

To add replacements;

Admin CP -> Replacments -> Add

Check the screenshot if you still aren't sure.

impossible 06-13-2003 02:40 PM

Thanks!!!

Imp

impossible 06-13-2003 04:04 PM

Okay, how would i add another group that i have made?

surely it aint as simple as adding

Quote:

makestyleeditor("goldo","Golden Color Opening Tag");
makestyleeditor("goldc","Golden Color Closing Tag");
and

Quote:

} else if (($mod["$userid"]) and $highlightadmin) {
$username = "{modo}$loggedin[username]{goldo}"; // Color for Mod

and one for goldc

Or is it?


Imp

iggy123 06-13-2003 05:41 PM

I would like to add a group which hasn't got admin rights - how would i go about doin that?

assassingod 06-13-2003 06:13 PM

In a little while, i'll make tutorial on how to add custom usergroup for this hack:)

iggy123 06-13-2003 07:35 PM

Quote:

Today at 08:13 PM assassingod said this in Post #24
In a little while, i'll make tutorial on how to add custom usergroup for this hack:)

Thnx

M4g!k 06-25-2003 07:59 AM

Hey! I've installed this, but now i cant find where to do all that stuff in my CP.

Can someone show me?

thanks for ya time.

-Magik

impossible 06-25-2003 01:56 PM

Quote:

06-13-03 at 04:19 PM assassingod said this in Post #20
To add replacements;

Admin CP -> Replacments -> Add

Check the screenshot if you still aren't sure.


Read the txt file, and add the part at the bottom in the place shown in the comment.


Imp

assassingod 06-25-2003 05:07 PM

Quote:

Today at 09:59 AM M4g!k said this in Post #26
Hey! I've installed this, but now i cant find where to do all that stuff in my CP.

Can someone show me?

thanks for ya time.

-Magik

Its under 'Styles', when you edit one:)

assassingod 06-25-2003 05:09 PM

Quote:

Today at 03:56 PM impossible said this in Post #27
Read the txt file, and add the part at the bottom in the place shown in the comment.


Imp

What do you mean?

Sam FT 06-26-2003 03:59 AM

I installed and reinstalled this hack and everytime I get this error when I go to edit the colors and tags.

Quote:

Fatal error: Call to undefined function: makestyleeditor() in ...forums/admin/style.php on line 128
And this is the line it is calling about:

Quote:

makestyleeditor("admino","Adminstrator Color Opening Tag");
I have all the php files edited right and I have added everyone of the replacement need. Running vb 2.3.0. Any ideas anybody?

assassingod 06-26-2003 01:53 PM

That code shouldnt be on line 128, 678 is correct.

Are you sure you are installing this correctly?

Sam FT 06-26-2003 04:54 PM

Quote:

Today at 09:53 AM assassingod said this in Post #31
That code shouldnt be on line 128, 678 is correct.

Are you sure you are installing this correctly?

I went back and open up the clean original non hacked style.php just to make sure. And what I found was that the line:

PHP Code:

doformfooter("Save Changes"); 

appears twice in the file. One on line 123 and the other on line 681. So I went back and edited the style.php file and move the code on the line 681 and now it works. Just a suggestion, you made want to say something about the line appearing twice in the instructions because most stupid people like me won't have known...:).

assassingod 06-26-2003 05:41 PM

Thanks for that, I wasnt aware that there was 2 doformfooters, thanks:)

Sam FT 06-26-2003 06:19 PM

Hey, I have also noticed that when I used the color tags..the color doesn't show up on WOL but does on the forum home. Is it supposed to be that way?

assassingod 06-26-2003 06:58 PM

I havent gotten around to writing the code for WOL and forumdisplay, but I can release it tomorrow:)

Sam FT 06-26-2003 07:07 PM

Quote:

Today at 02:58 PM assassingod said this in Post #35
I havent gotten around to writing the code for WOL and forumdisplay, but I can release it tomorrow:)
Oh that greats...I was just wondering if I did or didn't something.

assassingod 06-27-2003 07:47 PM

Added: Colour legend (check screenshot 2) added, re-download and do step 4.

To-do - WOL, forumdisplay and add your own usergroup.

Sam FT 06-28-2003 09:34 PM

Keeps getting better and better....

Sam FT 06-28-2003 09:43 PM

Hey assassingod I don't have

Quote:

$activeusers<br>
in my forumhome_loggedinusers template. Here is what mine is, it is the default template so I know it is good.

Quote:

<tr id="cat">
<td bgcolor="#336D95" background="https://vborg.vbsupport.ru/images/catagory_backing.gif" colspan="6"><a href="online.php?s=$session[sessionhash]"><normalfont color="#000000"><b>Currently Active Users</b></normalfont></a><normalfont color="#000000"><b>: $totalonline</b></normalfont></td>
</tr>
<tr>
<td bgcolor="#13486D" colspan="6"><smallfont>
<nobr>There are currently $numberregistered members and $numberguest guests on the boards.</nobr> |
<nobr>Most users ever online was $recordusers on $recorddate at $recordtime.</nobr><br>
$activeusers</smallfont></td>
</tr>
I am running version 2.30 if that helps.

assassingod 06-28-2003 09:56 PM

My fault, will sort in a minute


All times are GMT. The time now is 04:44 PM.

Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.

X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.01406 seconds
  • Memory Usage 1,819KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)bbcode_php_printable
  • (14)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (1)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (40)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • printthread_start
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete