Previous Thread
Next Thread
Print Thread
Rate Thread
Page 1 of 3 1 2 3
#146112 08/10/2001 1:07 AM
Joined: Oct 2000
Posts: 215
Member
Member
Offline
Joined: Oct 2000
Posts: 215
I upgraded my hack for 6.1x as best as I could. I also did what little XHTML-izing I know. If someone could look over it for me and let me know what to change I'd appreciate it. (I'd prefer to be told what to change instead of having it changed for me, that way I learn more about it )

http://news.markeedragon.net/Ramirez/NameEffects.txt

I've got it installed and tested on beta 1.2 along with UBB Calendar, Who's Online, Integrated Polls, Last Reply By, CP Registration, ICQ/AIM Status, and View PM Info, all on Allen's XHTML template files. So there shouldn't be any conflicts with any of that stuff.

-----Edit-----

Updated to 2.0 pb3. Tested on 6.0.1.2. Users of pb2 will need to rehack all files except for cp_common.pl.

[ 11-11-2001: Message edited by: Ramirez ]


Ultimate Frisbee is good for you, it improves your symbolic logic skills.
Sponsored Links
Joined: Apr 2001
Posts: 39
Junior Member
Junior Member
Offline
Joined: Apr 2001
Posts: 39
cool hack
for ubb beta 1.2
serach for
"hr_color" => qq^$in{hr_color}^,
and add
"glow_admin_boolean" => qq^$in{glow_admin_boolean}^,
"glow_mod_boolean" => qq^$in{glow_mod_boolean}^,
"glow_member_boolean" => qq^$in{glow_member_boolean}^,
"glow_admin_glow_color" => qq^$in{glow_admin_glow_color}^,
"glow_mod_glow_color" => qq^$in{glow_mod_glow_color}^,
"glow_member_glow_color" => qq^$in{glow_member_glow_color}^,
"glow_admin_glow_strength" => qq^$in{glow_admin_glow_strength}^,
"glow_mod_glow_strength" => qq^$in{glow_mod_glow_strength}^,
"glow_member_glow_strength" => qq^$in{glow_member_glow_strength}^,
"glow_admin_text_boolean" => qq^$in{glow_admin_text_boolean}^,
"glow_mod_text_boolean" => qq^$in{glow_mod_text_boolean}^,
"glow_member_text_boolean" => qq^$in{glow_member_text_boolean}^,
"glow_admin_text_color" => qq^$in{glow_admin_text_color}^,
"glow_mod_text_color" => qq^$in{glow_mod_text_color}^,
"glow_member_text_color" => qq^$in{glow_member_text_color}^,

Joined: Mar 2000
Posts: 21,079
Likes: 3
I type Like navaho
I type Like navaho
Joined: Mar 2000
Posts: 21,079
Likes: 3
Nice work.... the best way to learn xhtml, I;ve found, is to read the basics, then trial and error it with the validator.

Basics:
  • Lower-case all tags -

    must be
  • Quote all parameters - align=center must be align="center"
  • Close all tags -
    must have a
  • For tags that don't have a close (
    , ,


Validate your code here: http://validator.w3.org/


- Allen wavey
- What Drives You?
Joined: Sep 2001
Posts: 85
Member
Member
Offline
Joined: Sep 2001
Posts: 85
An error has occured:

f:/path/path/path/path/Games/cgi-bin/cp_styles.cgi: syntax error at f:/path/path/path/path/Games/cgi-bin/cp_styles.cgi line 36, near "_mod_t"glow_admin_boolean""

(called by f:MEGACHRISALANTHEMELEEfinalfantasyGamescgi-bincp.cgi, 348)


I re-hacked cp_style and fixed that line but when i go into style templates i always get that error mad running 6.1 PB 1.4

Joined: Oct 2000
Posts: 215
Member
Member
Offline
Joined: Oct 2000
Posts: 215
Send me copies of all the files that are modified by this and I'll look them over.


Ultimate Frisbee is good for you, it improves your symbolic logic skills.
Sponsored Links
Joined: Jun 2001
Posts: 189
Member
Member
Offline
Joined: Jun 2001
Posts: 189
This hack works great for me on Beta 1.2!

Thanks!

Joined: May 2001
Posts: 6,708
Member
Member
Offline
Joined: May 2001
Posts: 6,708
Great hack, I'll try installing it soon. smile

Joined: Sep 2001
Posts: 19
Junior Member
Junior Member
Offline
Joined: Sep 2001
Posts: 19
Ramirez, could you possibly give me some info about adding glows to Megamoderators?

Or can I just copy the mod parts, and rename them all to megamod?

I would appreciate any info you can supply.

I'm still currenty using 6.05.


What can I say?
My work is just tres excellent!
[UBB Novice]
Joined: Sep 2001
Posts: 85
Member
Member
Offline
Joined: Sep 2001
Posts: 85
got it working smile

Joined: Mar 2001
Posts: 7,394
LK Offline
Admin / Code Breaker
Admin / Code Breaker
Offline
Joined: Mar 2001
Posts: 7,394
Another important thing in XHTML is to not minimize any value, like in your hack there are:
Code
code:
It should be
Code
code:
The first part, 'checked="checked"', is that minimizing part...

And btw, very nice hack smile

[ 09-20-2001: Message edited by: LK ]

Sponsored Links
Joined: Oct 2000
Posts: 215
Member
Member
Offline
Joined: Oct 2000
Posts: 215
StealthAngel and V00D00, glad you got the hack working.

Excellent, you should be able to just copy, paste, and modify the code for moderators, though I'd have to look at it more to really say for sure. I don't have the text file where I am, so I can't say right now. I will probably be integrating MegaMod support before the full release since I like MegaMod myself.

LK, I don't completely understand why I need to change the checked part. Could you possibly point me to a website or something that explains the minimizing variables part really well? And, thanks for the compliment but I have to credit Freakscene, too, he helped me a lot. He and I have talked about integrating a whole lot of other text features like Shadow before the final version. I'll have to talk to him about that soon. I'll also make sure it's all XHTML-ized smile


Ultimate Frisbee is good for you, it improves your symbolic logic skills.
Joined: Sep 2001
Posts: 15
Junior Member
Junior Member
Offline
Joined: Sep 2001
Posts: 15
Ramirez:

How do you make the glow go diagonal (from start to down-left)?

Like on ZeldaGlitches ?

Cause that looks really cool!

I already got your hack installed, just tell me what I need to change & make me a happy man. smile

Joined: Oct 2000
Posts: 215
Member
Member
Offline
Joined: Oct 2000
Posts: 215
That looks like he's using a shadow effect. That will be an option in the final version, but it's not in there right now.


Ultimate Frisbee is good for you, it improves your symbolic logic skills.
Joined: Sep 2001
Posts: 15
Junior Member
Junior Member
Offline
Joined: Sep 2001
Posts: 15
Okay thanks.

I will ask him then. smile

Joined: Jun 2001
Posts: 729
Coder
Coder
Offline
Joined: Jun 2001
Posts: 729
#############################
## cp_styles.cgi (UBB Script)
#############################

##
## FIND *TWO TIMES!*:
##

print FILE qq!hr_color => q^$in{hr_color}^,n!;

This line does not exit in my ubb6.1 beta1.4 Nor did the line from the above post.

What did I do wrong?

Joined: Oct 2000
Posts: 215
Member
Member
Offline
Joined: Oct 2000
Posts: 215
In beta 1.4, the correct line is:
Quote
quote:
As for the other line, which line are you referring to?


Ultimate Frisbee is good for you, it improves your symbolic logic skills.
Joined: Oct 2001
Posts: 33
Junior Member
Junior Member
Offline
Joined: Oct 2001
Posts: 33
how can i make this work with Mega Mod hack?

Joined: Oct 2000
Posts: 215
Member
Member
Offline
Joined: Oct 2000
Posts: 215
I'm going to be looking at that next week. It shouldn't be difficult and I've had people mention sending me the updates to make it MegaMod compatible. I'll be updating this for 2.1 next week and will be adding a few more text effects and getting it MegaMod compatible too.


Ultimate Frisbee is good for you, it improves your symbolic logic skills.
Joined: Apr 2001
Posts: 240
Member
Member
Offline
Joined: Apr 2001
Posts: 240
cool, i look forward to it. smile

Joined: Oct 2000
Posts: 215
Member
Member
Offline
Joined: Oct 2000
Posts: 215
Ok, I've got 6.1.0.2 running now so I'll be working on doing what I said I was doing before smile


Ultimate Frisbee is good for you, it improves your symbolic logic skills.
Joined: Apr 2001
Posts: 240
Member
Member
Offline
Joined: Apr 2001
Posts: 240
yay! laugh

Joined: May 2001
Posts: 1,042
Likes: 7
Moderator
Moderator
Offline
Joined: May 2001
Posts: 1,042
Likes: 7
I'm about to update the megamod hack to make it compatible to older and other hacks such as the stars/status.

If your going to use the megamod integration, I haven't seen this hack code sorry. Use this:

($profile[8] eq 'MegaModerator')

not

($profile[8] eq 'Megamoderator')

Sorry. The next megamod upgrade will fix a big bug; so you'll need it.

[ 10-30-2001: Message edited by: raiyan ]

Joined: Oct 2000
Posts: 215
Member
Member
Offline
Joined: Oct 2000
Posts: 215
Will do, thanks for the info.


Ultimate Frisbee is good for you, it improves your symbolic logic skills.
Joined: Oct 2000
Posts: 215
Member
Member
Offline
Joined: Oct 2000
Posts: 215
Alright, I went through and updated everything for 6.1.0.2. I also added options for Shadow, Drop Shadow, and Blur effects in addition to the existing Glow and Text Color effects.

Modificiation has been renamed to Name Effects since that's more descriptive now smile

This is very untested right now, so proceed at your own risk. Once I get this version debugged I'll proceed to adding Megamod support, which shouldn't be too difficult. I just want to make sure the base code is working first.


Ultimate Frisbee is good for you, it improves your symbolic logic skills.
Joined: Oct 2000
Posts: 215
Member
Member
Offline
Joined: Oct 2000
Posts: 215
I installed it on my board and it seems to be working fine. I'm going to be working on getting rid of extraneous fields and fixing an aesthetics issue in the CP. Other than that, it should be safe to try out now smile

http://news.markeedragon.net/Ramirez/NameEffects.txt


Ultimate Frisbee is good for you, it improves your symbolic logic skills.
Joined: Oct 2000
Posts: 215
Member
Member
Offline
Joined: Oct 2000
Posts: 215
Ok, file updated to get minimize number of fields needed in the style template. Uploading the changed file now.


Ultimate Frisbee is good for you, it improves your symbolic logic skills.
Joined: Oct 2000
Posts: 215
Member
Member
Offline
Joined: Oct 2000
Posts: 215
Lookie, another post by me smile

I've made a megamod version now. I don't have megamod installed yet, but they were really simple changes to make it compatible. You can download the megamod compatible beta here:

http://news.markeedragon.net/Ramirez/NameEffects_megamod.txt


Ultimate Frisbee is good for you, it improves your symbolic logic skills.
Joined: Apr 2001
Posts: 240
Member
Member
Offline
Joined: Apr 2001
Posts: 240
Thanks Ramirez, I'll check it out. smile

Joined: Apr 2001
Posts: 214
Member
Member
Offline
Joined: Apr 2001
Posts: 214
Maybe an upgrade version for those who had your old hack up?

Joined: Apr 2001
Posts: 214
Member
Member
Offline
Joined: Apr 2001
Posts: 214
Actually it was an easy upgrade, code's basically the same cept for a few minor changes. This was even easier to install than the first version when we emailed each other, god knows how many times... Works Great!!

Oh one more thing... what am I suppose to put in for mod effect direction when it only accepts 3 characters?

www.wrathofdragonclaw.org/cgi-bin/ultimatebb.cgi

Joined: Oct 2000
Posts: 215
Member
Member
Offline
Joined: Oct 2000
Posts: 215
Sorry, direction is a number from 1-360, like degrees. If someone has the old text file I might put together upgrade instructions, but I modified my text file so I don't have anything to compare against tipsy


Ultimate Frisbee is good for you, it improves your symbolic logic skills.
Joined: Apr 2001
Posts: 214
Member
Member
Offline
Joined: Apr 2001
Posts: 214
i might have it somewhere... i think hehe i'll email it to ya if i find it...

Joined: Jun 2001
Posts: 189
Member
Member
Offline
Joined: Jun 2001
Posts: 189
I'm having a rather unusual problem.

I'm not really even sure if it's because of your hack or not, but it seems the most likely.

Sometimes the name of the poster doesn't show, or it shows the WRONG name...it's REALLY REALLY weird.

Here's a link to one that just doesn't show at all. Fuzion Tek

Joined: Apr 2001
Posts: 240
Member
Member
Offline
Joined: Apr 2001
Posts: 240
i have the same problem as the poster above.

Joined: Nov 2001
Posts: 11
Junior Member
Junior Member
Offline
Joined: Nov 2001
Posts: 11
Quote
quote:
That's what i get when i select to DISABLE colors for mods and members...so how do I fix this error?

[ 11-03-2001: Message edited by: DBZFanCentral.com ]

Joined: Apr 2001
Posts: 214
Member
Member
Offline
Joined: Apr 2001
Posts: 214
Hrmmm I ran it on 7 different machines with freemem running. Only times I see problems like the ones mentioned above is when im low on system resources. I could be wrong.. still fooling around with it

Joined: Apr 2001
Posts: 214
Member
Member
Offline
Joined: Apr 2001
Posts: 214
i think low system memory is causing your browser to not show the effects. I beeen testing this for the last hour or so.

Joined: Jun 2001
Posts: 189
Member
Member
Offline
Joined: Jun 2001
Posts: 189
LoL, if it's one thing I'm NOT, it's low on system resources smile

Joined: Apr 2001
Posts: 240
Member
Member
Offline
Joined: Apr 2001
Posts: 240
It's something to do with MegaMods...

Joined: Oct 2000
Posts: 215
Member
Member
Offline
Joined: Oct 2000
Posts: 215
V00D00, I looked at the source for the page you sent me and found this for the one that didn't show:
Quote
quote:
And this for the one that did show:
Quote
quote:
As you can see, it is leaving a blank line in the HTML instead of putting the appropriate line in. Have you tried clearing the cache, rebuilding stat files and all that jazz to see if it is something random or something that happens to the same post everytime? Also, is there any pattern, like it always happening to the same person or anything like that? Do you have megamods installed?

Raichu, do you mean you think it is when the server is low on memory, or the client? The client being low on memory really shouldn't affect this I wouldn't think. Do you have megamods installed?

ZoneX, did you remove megamods and the problem went away?

DBZFanCentral, I suspect you missed something in the code, but I've been away from this hack for so long that I can't say exactly where to look off the top of my head smile Email me the files that are edited by the hack and I'll look over them and make sure they all look right.


Ultimate Frisbee is good for you, it improves your symbolic logic skills.
Page 1 of 3 1 2 3

Link Copied to Clipboard
Donate Today!
Donate via PayPal

Donate to UBBDev today to help aid in Operational, Server and Script Maintenance, and Development costs.

Please also see our parent organization VNC Web Services if you're in the need of a new UBB.threads Install or Upgrade, Site/Server Migrations, or Security and Coding Services.
Recommended Hosts
We have personally worked with and recommend the following Web Hosts:
Stable Host
bluehost
InterServer
Visit us on Facebook
Member Spotlight
Gizmo
Gizmo
Portland, OR, USA
Posts: 5,833
Joined: January 2000
Forum Statistics
Forums63
Topics37,573
Posts293,925
Members13,849
Most Online5,166
Sep 15th, 2019
Today's Statistics
Currently Online
Topics Created
Posts Made
Users Online
Birthdays
Top Posters
AllenAyres 21,079
JoshPet 10,369
LK 7,394
Lord Dexter 6,708
Gizmo 5,833
Greg Hard 4,625
Top Posters(30 Days)
Top Likes Received
isaac 82
Gizmo 20
Brett 7
WebGuy 2
Morgan 2
Top Likes Received (30 Days)
None yet
The UBB.Developers Network (UBB.Dev/Threads.Dev) is ©2000-2024 VNC Web Services

 
Powered by UBB.threads™ PHP Forum Software 8.0.0
(Preview build 20221218)