UBB.Dev
Thanks to Freakscene and everyone who installed it while it was Beta. I guess this is finished now since I haven't heard any problems with it in a long time. It's tested up to 6.04f on a Win2K box.

#############################################
#############################################
###
### HACK NAME: Glowing Names
###
### VERSION: 1.0 06/14/01 - tested on UBB 6.04f
###
### AUTHORS: Ramirez ([email protected])
### &
### Freakscene
###
### -Inspired by and based on the hack by:
### -Arobas ([email protected])
###
### THANKS TO:
### -Freakscene for doing all the CP stuff and a lot of
### the documentation
### -Mightymod for helping me troubleshoot an error and
### giving me the idea on how to fix the 'RadioFieldHyp'
### problem.
###
### FEATURES:
### -Admin assignable custom glow colors, glow strengths,
### and text colors for the names of admins, mods, and
### members within a thread.
### -Admin, Mod, and Member colors and strengths can all
### be set independently
### -Toggles to Enable or Disable glow color and text
### color on each individual status.
### -If Disabled, custom text colors are used
### -Each style can have unique settings
### -Compatible w/ the UBB Cache
###
### PROBLEMS & CONCERNS:
### -No idea if it's mod perl compliant. Can someone
### test it and find out please?
### -I don't use Netscape and don't know if these tags
### work in it. Can someone test please?
###
### VERSION HISTORY
### 1.0
### -Declared Final
### .03 Beta
### -Fixed documentation to install a missing subroutine
### if you did not have UBB Hypercells by Freakscene
### installed
###
### .02 Beta
### -Changed status check to look at actual status in
### member profile rather than title. Should be more
### compatible with other mods and better all around.
###
### .01 Beta
### -Initial Release
###
#############################################
#############################################

Notice the stuff at the bottom; I need help testing please! If you have any problems with it, suggestions for improvement, or info on the things I stated I need help with, post here or email me.

Here's what your CP should look like when you're done. Make sure you have all the radio buttons set to Enable.

[Linked Image]

Here's the doc:

http://news.markeedragon.net/Ramirez/Glowing_Names.txt
I'm only doing MHX files for now since I don't like the current version of SHW.

Multihack
If you don't have Hypercells installed:
http://news.markeedragon.net/Ramirez/Glowing_Names.mhx
If you do have Hypercells installed:
http://news.markeedragon.net/Ramirez/Glowing_Names_After_Hypercells.mhx

[ June 22, 2001 03:57 PM: Message edited by: Ramirez ]
I'll try it out and get in touch once I'm done laugh
litte q on this hack...

how exactly do members get to choose what they want their username's glow as?
Users don't get to choose with this hack. I'm in favor of admins controlling everything, so admins pick the stuff on this hack laugh Individual users do not have custom glow colors in this, you can just setup one color for all members, another color for all mods, and a third color for all admins. Your glow color is based on your status.
I tried the hack with Multi hack, after i configure it, and then go back to view, it doesnt save the info and just leave blank spaces.. ( thhe script i used was the one with NO Hypercell )
Ramirez - I installed the MHX version (with HyperCells installed) and got the same results as Raichu Babai.

The problem is that the second batch of these

Quote
quote:
were not added in cp_styles.cgi.

add those and it will work perfectly smile
Finally someone with support for hypercells! I love it! Thx guys!

Add the stuff freakscene mentioned above and it works GREAT!

[ June 15, 2001 03:45 PM: Message edited by: ChAoS-X ]
Mine had the print statements in cp_styles. Hrmmmmm mind boggling huh hehehe
MHX files updated. Thanks again Freakscene laugh
Quote
quote:
It is added twice wink

Yer Welcome Ramirez laugh
Very nice job!
kewl added those print statement and now the set color sticks... Only thing now is to get them to glow =( I tried resetting the cache, still no go =(

Im sorry if im being a pain =(
i can not get this mod to work for me all i get is an error this is the error i am geting.
Content-type: text/html
Software error:
Undefined subroutine &main::RadioFieldHyp called at /home/public_html/ubb/Templates/cp_vars_style.pl line 37.
For help, please send mail to the webmaster ([email protected]), giving this error message and the time and date of the error.
never mind i just forgot to upload cp_common.pl
thanks anyways it works good.
where can i get multihack from

never mind i got it

[ June 16, 2001 06:50 PM: Message edited by: mcvybe ]
When using glow, I get a extra line space (blank) below the user's name, with text color no extra space. It's not critical, but it is driving me nutz. eek

Any chance of merging the 2 features to allow for custom text and glow color together? (without the space :o)
Where on the control panel am i suppose to be able to configure this? The style settings, or something sorry, i'm new to this, and as for the auto-install files, do i need to install them both, or just one based on what i've previously installed? Thanx ahead of time!
Quote
quote:
Not being a pain at all smile What browser are you using? Do you have a link to your board that I can look at?
Quote
quote:

You just need to install one of them depending on if you have hypercells installed. It's really cool, so I suggest installing it first anyways. After you install this hack, you go to your style settings and you'll have more settings than before where you can set this up.
Im using IE 6. My site is at www.wrathofdragonclaw.org/cgi-bin/ultimatebb.cgi .. Thanks again for your time .=)
Sounds like a cool hack, I'll try install it. smile
Raichu Babai, if you could, email me a copy of the following files:
  • cp_vars_style.pl
  • cp_add_new_template.pl
  • cp_common.pl
  • cp_styles.cgi
  • public_topic_page.pl
Also, could you verify for me that the style you have glowing names setup on is the one that is used for all the forums?

Email me at [email protected]
I am getting this error in my CP when I try to edit my template, but I can't edit it.

Undefined subroutine &main::StrengthRow called at /home/thedarkl/public_html/ubb/Templates/cp_vars_style.pl line 39.

line 39
-------
&RadioFieldHyp ("Enable Admin Custom Text Color?", "glow_admin_text_boolean", "yes", "Enable or Disable Custom Text Color for Admins.", "$vars_style{glow_admin_text_boolean}", "1|Enable Admin Custom Text Color.%%2|Disable Admin Custom Text Color.");


What is wrong?
Thanks again for your time and help on this. I just sent you the email =)

thanks again... By far the best support for a hack to date =)
Quote
quote:
It sounds like you used the wrong autoinstall or the wrong directions. You are missing the RadioFieldHyp subroutine, which is installed with Hypercells. If you accidentally used the instructions for Glowing Names after Hypercells, but don't have hypercells installed, you'll get this error. Go back over your hack to verify you used the right instructions.
Quote
quote:
I never received your email. There may be a problem with that email account, so try sending it to:

[email protected]
ok sent it to new addy =)
MHX and Text files updated to fix a small bug on using moderator custom text and glow colors. I took away the SHW files because I don't feel like redoing them from scratch, sorry smile Look at the first post in this thread for links.

To upgrade, replace the large block of if statements in public_topic_page.pl
ccan you guys help me,i wanted this hack but i cant find any of the .pl files, like on the very first one cp_vars_styles.pl i dont have any .pl files for my ubb, ive got ubb 6.04f, does it work on this version? thanks in advance
I can't get this hack to work, no matter what.
The mhx link doesn't work anymore, and no matter how many times that code is enterd (once or twice), I still am having the same problem as the others.

How exactly did you guys get this mod to work??
Quote
quote:
They are in your templates directory, which is in the non-cgi directory.
Quote
quote:
The links seem to be working for me, have you tried them again recently? Also, if you still can't get them to work, email me your public_topic_page.pl file and I'll see what I can do.

[email protected]
Just saying Thanks!!! I got it up & running first time around, and even added in global support for MegaModerators!

Thanks again!
i just installed it, but my member names dont show up...at all

i THINK i know the problem, but not sure...


in public_topic_page.pl:
Code
code:

well, i got like 6 instances of $show_public_name and replaced them all with %glowing_name.....

im not sure if this is a problem, but help is appreciated..thanks

..::|-Peace-|::..
Yes, that is where the problem would be. There should be one line that consists of only that one part "$show_public_name" You only want to replace it on that one line. The other instances are setting the $glowing_name value based on $show_public_name, so you need to leave those instances alone. You'll also notice that any other instances of $show_public_name, other than the one line, are parts of code I just had you hack in, so I probably wouldn't have you add code, then go back and change it later in the hack laugh If you can't get it to work, email the public_topic_page.pl file to me at:
[email protected]

For other people that have emailed me, I've been kind of busy, but will try to go through your stuff tomorrow.
Quote
quote:
I had the same problem, here's what I did to fix it:

In public_topic_page.pl find this:



$glowing_name



$user_status

It's kinda in the middle. Delete the
so that it reads:



$glowing_name


$user_status


Clear yer cache and you should be done. This worked for me, but beware that I'm far from a Perl master
wink
I sent ya the file a week ago.. Find the bug?
thanx for the hack
Quote
quote:
Sweet works fine for me. That is a nightmare the extra space especially on long threads.

Nice one.
Sorry, I've been in Oregon for a while. I'll be looking at them all tonight, 100% sure smile I'll also see if I can put that part in to get rid of the extra space.
Sent you a email with These files

cp_vars_style.pl
cp_add_new_template.pl
cp_common.pl
cp_styles.cgi
public_topic_page.pl

Havein same probs as Raichu... eek
There's a MegaMod hack. A MegaMod is a rank I have seen at many boards, and it is one who moderates over all boards.

Ramirez, it isn't very difficult, but I made this hack MegaMod compatible. Do you mind if I upload a version of this hack, more of an add on to make it MegaMod compatible.

If you mind, I won't. If you don't mind, I'll link you to the add on. I know it isn't much, but I've seen people who've wanted this.
Ok, I've replied to everyone in my email. If you didn't get a reply, email me again. Your email may have accidentally gone out with the junk mail tipsy I'm working on updating the Multihack and manual install files to get rid of the extra break (Thanks jadams :)) and make sure they are right, since multiple people seem to be having the same problems.

ZoneX, you can post it as an addon or we can try to put them together in my install file. Whatever is fine with me smile
Trying to put them into your install file may not work, because if people don't have the MegaMod hack, they'll get errors. But, I could make one that is my addon incorporated into your hack, and you could post a link to it saying "Use this version if you want this glow hack with MegaMod compatibility or something."

Whatever you want, it's your hack.

Thanks. smile
I installed this hack and a few people said they couldn't read the names while most said it looked awesome. Anyone else get complaints about it making the names unreadable?
hello,

i've installed this great hack, and it works fine on IE 5.0

But... i've tryed on IE 5.5 and netscape 4.x and it doesn't show the names (it appears blank) and with opera it appears normally without any colour.... is there any incompatibily with this browsers?


tks
I know it has problems in Netscape. It should just show them as normal names though, like Opera does. IE 5.5 should work fine, I use that. There may be something slightly wrong in your code that is slipping by in IE5, but the others are catching it. Send me your public_topic_page.pl file and I'll look at it. Also send me a URL to your boards.
please check mail and PM's wink


Regards
I'm having a similar problem that was aready mentioned. The settings won't save after I enter them. Do you want me to e-mail the files to you? What do I do?!? Please help
confused confused confused
If your settings aren't saving, it's a problem in your cp_styles file. You can either check it manually against the install text document, or send me the file by email and I can fix it pretty quick.
I e-mailed you the file at the address listed in yur profile.
Okay gang here is the deal. I tried installing the hack via the MHX file originally (Without hypercells). No dice, Apparently what the mhx file is doing is changing all instances of $show_public_name with $glowing_name in public_topic_page.pl . Also the other error resides in the public_topic_page.pl as well. Per Jadams do the following

Find :
Code
code:


Replace With:
Code
code:

By completing that step you will get your user titles back. I was going to adjust this in the MHX myself however it seems to be locked. You might want to update the MHX Ramirez. In the meantime anyone who is still having errors i would suggest you manually install the hack and make Jadams adjustment above.

[ August 05, 2001: Message edited by: Hellbent ]

[ August 05, 2001: Message edited by: Hellbent ]
I know i am a little slow but i cannot even get it to display at all in the settings CP but i know it's there cos when i try to up date the settings it says that i did not complete all fields ie.first glowing colour!!

it just ain't there please help going mad

swipe!!!
"Undefined subroutine &main::hr_color called at /www/varsh.gangsters.org/ubb3/styles/vars_style_1.cgi line 1." What's going on with this?
I also recieve this error as well:

[Tue Oct 9 20:55:51 2001] cp.cgi: Undefined subroutine &main::hr_color called at /www/varsh.gangsters.org/ubb3/styles/vars_style_1.cgi line 1.
Compilation failed in require at /www/varsh.gangsters.org/cgi-bin/ubb3/cp_styles.cgi line 173.
Hi, and thx for a good hack. I got a problem, and i hope it`s somebody ho can help me. My problem is, i just installed the hach (with hypercells, with the mhx file) and when i go in and set up the settings right i press update. But... It dosen`t save the setting !! Somebody help me here ?!?

......
I see the problem is on the top too, so i do as the other.. send the files to you in mail. Hope you can help.. plz smile

[ 10-11-2001: Message edited by: Cybernova ]
I'll look at all of these later this weekend.
TheSixthChild and Swipecard, send me the files I listed earlier in the thread and I'll try to fix them for you.
Is there a way guys, I want to have ONLY certain members names with a diff color. Can this be done?
What do I need to modify and can someone post the codes.
UBB ver 6.1.0.2
© UBB.Developers