Previous Thread
Next Thread
Print Thread
Rate Thread
Page 1 of 5 1 2 3 4 5
Joined: Sep 2000
Posts: 793
Member
Member
Offline
Joined: Sep 2000
Posts: 793
This hack adds 5 extra statuses, puts stars depending on a user's status and stuff you set in the CP. It also adds custom status capabilities.

A few notes:

*Make the fourth custom registration information box say "Custom Status"
*If anyone tries to make their status a higher rank than they are, i.e. a Member trying to make their status say "Administrator" it won't work - it changes their status to "Cheater!" (note - this is temporarily disabled)
*Custom status shows up in the posts, not the profile
*The information you enter for the status "Member" Only applies to the profile, NOT the posts!
*More features to be added as I make them...

The link: http://theultimagamers.hypermart.net/ubb6hacks/starstatus.txt


-DT
Sponsored Links
Joined: Mar 2001
Posts: 25
Junior Member
Junior Member
Offline
Joined: Mar 2001
Posts: 25
Wow, i've been waiting for this to come out of beta! Thanks a lot! Ill install it tomorrow and tell you how it went.


Why do you need my shoe number?? and when i try to resubmit i get a flood control.
Youve wasted 30 seconds of my life and i want them back!
Joined: Sep 2000
Posts: 793
Member
Member
Offline
Joined: Sep 2000
Posts: 793
Great, hope it goes well!


-DT
Joined: Jul 2000
Posts: 837
Member
Member
Offline
Joined: Jul 2000
Posts: 837
DarkTempler i just wanted to know if you was still planing to add MegaMod to this mod or not.

thanks for any info.

[ April 07, 2001: Message edited by: ClanKiller ]

Joined: Sep 2000
Posts: 793
Member
Member
Offline
Joined: Sep 2000
Posts: 793
Yes, I am.


-DT
Sponsored Links
Joined: Jul 2000
Posts: 837
Member
Member
Offline
Joined: Jul 2000
Posts: 837
ok cool thanks ill wait till then.

Joined: Apr 2001
Posts: 5
Junior Member
Junior Member
Offline
Joined: Apr 2001
Posts: 5
Whoohooo, it works perfectly on my UBB 6.02 eek
Feel free to take a look
Thanks for the great Mod laugh

Joined: Sep 2000
Posts: 793
Member
Member
Offline
Joined: Sep 2000
Posts: 793
You're welcome; glad you're enjoying it!


-DT
Joined: Apr 2001
Posts: 5
Junior Member
Junior Member
Offline
Joined: Apr 2001
Posts: 5
Is it also possible to implement the possibillity to alternate the stars or to put more filenames in the row ?
Something like this in the control panel
Code
code:
The 0 is just a number to indicate that there is a serie of filenames.

[ April 07, 2001: Message edited by: Booster ]

Joined: Jul 2000
Posts: 237
Member
Member
Offline
Joined: Jul 2000
Posts: 237
DT... i have 1 question...

are you really planning to make the ULTIMATE star/status hack with qasic?

Because i would like to have YOUR stars hack but HIS custom status...

or maybe let him include your stars hack in his hack?

Or maybe i can revove the part of your status hack and only keep the part of stars hack?

thanks for any help...


Sorry for my english... i speak french.

email:[email protected]
Sponsored Links
Joined: Sep 2000
Posts: 793
Member
Member
Offline
Joined: Sep 2000
Posts: 793
Booster- No, it's not possible, at least not yet. wink

Tyran- Yeah, I'd like to, but it's up to qasic. The way I'd like to do it is for him to finish his status part completely, then I take his coding and fully integrate my stars coding into it, leaving the best of both worlds.


-DT
Joined: Mar 2001
Posts: 4
Junior Member
Junior Member
Offline
Joined: Mar 2001
Posts: 4
nice hack, Dark Templar

Joined: Sep 2000
Posts: 11
Junior Member
Junior Member
Offline
Joined: Sep 2000
Posts: 11
is it possible to have the user name glow and change each time the status changes..?

Joined: Sep 2000
Posts: 793
Member
Member
Offline
Joined: Sep 2000
Posts: 793
Yea, its possible; I'll consult the creator of the glow hack to find out if he'd be willing to contribute some code (and of course, be added to the creators list for this hack) to make this hack even better!


-DT
Joined: Feb 2000
Posts: 41
Member
Member
Offline
Joined: Feb 2000
Posts: 41
I'm trying to remove this hack. I installed it a couple of weeks ago. I'm moving my board to a new server and something isn't working. Infopop is trying to help me, but I have to remove the hacks first.

Anyways, I removed everything. Then I went to reopen the board and and I couldn't update the misc settings, it said I had not completed the required fields and it listed all the custom status fields???

Any ideas??

thanks

Joined: Sep 2000
Posts: 793
Member
Member
Offline
Joined: Sep 2000
Posts: 793
You undoubtedly missed some cp_lib.cgi coding; the verification array.


-DT
Joined: Apr 2001
Posts: 28
Junior Member
Junior Member
Offline
Joined: Apr 2001
Posts: 28
i get this error when installing on 6.03. Ive tried it several times and get the same error message when trying to access cp.cgi!

Error including required files: syntax error at D:htmlubb/cp_lib.cgi line 828, near "tle", "" syntax error at D:htmlubb/cp_lib.cgi line 915, near "P>" "use" not allowed in expression at D:htmlubb/cp_lib.cgi line 915, near "not " syntax error at D:htmlubb/cp_lib.cgi line 915, near " " Compilation failed in require at D:htmlubbcp.cgi line 51. Make sure these files exist, permissions are set properly, and paths are set correctly.

Any Suggestions?

Please help frown

[ April 08, 2001: Message edited by: AdamG ]

Joined: Apr 2001
Posts: 28
Junior Member
Junior Member
Offline
Joined: Apr 2001
Posts: 28
It says the error is between lines 828 and 915, so here are lines 820 - 930


sub set_vars_misc {
local(*FILE);

$CurrentTab = qq%$vars_wordlets_cp{misc_settings}%;
&CPHeader; &CPFooter;

#validate
my @ValidateArray = ("BBStatus", "BBClosedMessage", "MemberMinimum", "AdminTitle", "ModeratorTitle", "MemberTitle", "Member1Title", "Member2Title", "Member3Title", "Member4Title", "Member5Title", "Member1Posts", "Member2Posts", "Member3Posts", "Member4Posts", "Member5Posts", "JrMemberTitle", "JrMemberPosts", "NewbieTitle", "NewbieStarNum", "JrMemberStarNum", "MemberStarNum", "Member1StarNum", "Member2StarNum", "Member3StarNum", "Member4StarNum", "Member5StarNum", "ModeratorStarNum", "AdminStarNum", "NewbieStarURL", "JrMemberStarURL", "MemberStarURL", "Member1StarURL", "Member2StarURL", "Member3StarURL", "Member4StarURL", "Member5StarURL", "ModeratorStarURL", "AdminStarURL", "Censor", "EditOption", "IP", "EnglishSubjectCheck", "edit_public_names", "FloodCheck", "use_cache", "FloodCheckSpan", "EditWording");tle", "Censor", "EditOption", "IP", "EnglishSubjectCheck", "edit_public_names", "FloodCheck", "use_cache", "FloodCheckSpan", "EditWording");
&Validate(@ValidateArray);

# set/clean the vars ------------
my $FloodCheckSpan = &SmallClean($in{FloodCheckSpan});
my $censorwords = &SmallClean($in{censorwords});
my $BBClosedMessage = &SmallClean($in{BBClosedMessage});
my $AdminTitle = &LimitReturns($in{AdminTitle});
my $ModeratorTitle = &LimitReturns($in{ModeratorTitle});
my $MemberTitle = &LimitReturns($in{MemberTitle});
my $JrMemberTitle = &LimitReturns($in{JrMemberTitle});
my $NewbieTitle = &LimitReturns($in{NewbieTitle});
my $JrMemberPosts = &LimitReturns($in{JrMemberPosts});
my $Member1Title = &LimitReturns($in{Member1Title});
my $Member2Title = &LimitReturns($in{Member2Title});
my $Member3Title = &LimitReturns($in{Member3Title});
my $Member4Title = &LimitReturns($in{Member4Title});
my $Member5Title = &LimitReturns($in{Member5Title});
my $Member1Posts = &LimitReturns($in{Member1Posts});
my $Member2Posts = &LimitReturns($in{Member2Posts});
my $Member3Posts = &LimitReturns($in{Member3Posts});
my $Member4Posts = &LimitReturns($in{Member4Posts});
my $Member5Posts = &LimitReturns($in{Member5Posts});
my $NewbieStarNum = &LimitReturns($in{NewbieStarNum});
my $JrMemberPosts = &LimitReturns($in{JrMemberPosts});
my $JrMemberStarNum = &LimitReturns($in{JrMemberStarNum});
my $MemberStarNum = &LimitReturns($in{MemberStarNum});
my $Member1StarNum = &LimitReturns($in{Member1StarNum});
my $Member2StarNum = &LimitReturns($in{Member2StarNum});
my $Member3StarNum = &LimitReturns($in{Member3StarNum});
my $Member4StarNum = &LimitReturns($in{Member4StarNum});
my $Member5StarNum = &LimitReturns($in{Member5StarNum});
my $ModeratorStarNum = &LimitReturns($in{ModeratorStarNum});
my $AdminStarNum = &LimitReturns($in{AdminStarNum});
my $NewbieStarURL = &LimitReturns($in{NewbieStarURL});
my $JrMemberPosts = &LimitReturns($in{JrMemberPosts});
my $JrMemberStarURL = &LimitReturns($in{JrMemberStarURL});
my $MemberStarURL = &LimitReturns($in{MemberStarURL});
my $Member1StarURL = &LimitReturns($in{Member1StarURL});
my $Member2StarURL = &LimitReturns($in{Member2StarURL});
my $Member3StarURL = &LimitReturns($in{Member3StarURL});
my $Member4StarURL = &LimitReturns($in{Member4StarURL});
my $Member5StarURL = &LimitReturns($in{Member5StarURL});
my $ModeratorStarURL = &LimitReturns($in{ModeratorStarURL});
my $AdminStarURL = &LimitReturns($in{AdminStarURL});
$MemberTitle = &SmallClean($MemberTitle);
$JrMemberTitle = &SmallClean($JrMemberTitle);
$AdminTitle = &SmallClean($AdminTitle);
$ModeratorTitle = &SmallClean($ModeratorTitle);
$NewbieTitle = &SmallClean($NewbieTitle);
$JrMemberPosts = &SmallClean($JrMemberPosts);
$Member1Title = &SmallClean($Member1Title);
$Member2Title = &SmallClean($Member2Title);
$Member3Title = &SmallClean($Member3Title);
$Member4Title = &SmallClean($Member4Title);
$Member5Title = &SmallClean($Member5Title);
$Member1Posts = &SmallClean($Member1Posts);
$Member2Posts = &SmallClean($Member2Posts);
$Member3Posts = &SmallClean($Member3Posts);
$Member4Posts = &SmallClean($Member4Posts);
$Member5Posts = &SmallClean($Member5Posts);
$NewbieStarNum = &SmallClean($NewbieStarNum);
$JrMemberStarNum = &SmallClean($JrMemberStarNum);
$MemberStarNum = &SmallClean($MemberStarNum);
$Member1StarNum = &SmallClean($Member1StarNum);
$Member2StarNum = &SmallClean($Member2StarNum);
$Member3StarNum = &SmallClean($Member3StarNum);
$Member4StarNum = &SmallClean($Member4StarNum);
$Member5StarNum = &SmallClean($Member5StarNum);
$ModeratorStarNum = &SmallClean($ModeratorStarNum);
$AdminStarNum = &SmallClean($AdminStarNum);
$NewbieStarURL = &SmallClean($NewbieStarURL);
$JrMemberStarURL = &SmallClean($JrMemberStarURL);
$MemberStarURL = &SmallClean($MemberStarURL);
$Member1StarURL = &SmallClean($Member1StarURL);
$Member2StarURL = &SmallClean($Member2StarURL);
$Member3StarURL = &SmallClean($Member3StarURL);
$Member4StarURL = &SmallClean($Member4StarURL);
$Member5StarURL = &SmallClean($Member5StarURL);
$ModeratorStarURL = &SmallClean($ModeratorStarURL);
$AdminStarURL = &SmallClean($AdminStarURL);
$BBClosedMessage = &LimitReturns($BBClosedMessage);
$censorwords = &LimitReturns($censorwords);


#check censor words for parentheses!
if ($censorwords =~ m/(,|(|)|]|[)/) {
&StandardHTML("ERROR

We cannot process this request because you have a censor word list that includes at least one illegal character. You may not use any of the following characters in your censor word list:

, ( ) [ ]
");
}

# write to file!
open (FILE, ">$vars_config{VariablesPath}/vars_misc.cgi") or die("Unable to open vars_misc.cgi file for writing.");
&lock;
print FILE qq!%vars_misc = (n!;
print FILE qq!ReplyQuote => "$in{ReplyQuote}",n!;
print FILE qq!BBStatus => "$in{BBStatus}",n!;
print FILE qq!BBClosedMessage => q~$BBClosedMessage~,n!;
print FILE qq!censorwords => q~$censorwords~,n!;
print FILE qq!MemberMinimum => "$in{MemberMinimum}",n!;
print FILE qq!AdminTitle => q~$AdminTitle~,n!;
print FILE qq!ModeratorTitle => q~$ModeratorTitle~,n!;
print FILE qq!MemberTitle => q~$MemberTitle~,n!;
print FILE qq!JrMemberTitle => q~$JrMemberTitle~,n!;

Hope this help u solve the problem!

Joined: Sep 2000
Posts: 793
Member
Member
Offline
Joined: Sep 2000
Posts: 793
The problem lies in this bit of coding:

#check censor words for parentheses!
if ($censorwords =~ m/(,|(|)|]|[)/) {
&StandardHTML("ERROR

We cannot process this request because you
have a censor word list that includes at least one illegal character. You may
not use any of the following characters in your censor word
list:

, ( ) [ ]
");
}


-DT
Joined: Apr 2001
Posts: 28
Junior Member
Junior Member
Offline
Joined: Apr 2001
Posts: 28
Is that the fixed coding, or is that just the location of the problem?

Joined: Sep 2000
Posts: 793
Member
Member
Offline
Joined: Sep 2000
Posts: 793
That's where the coding is messed up...probably that coding was separated by line breaks in your file; in your text editor, remove those returns between all the lines of

&StandardHTML("ERROR

We cannot process this request because you
have a censor word list that includes at least one illegal character. You may
not use any of the following characters in your censor word
list:

, ( ) [ ]
");


-DT
Joined: Apr 2001
Posts: 28
Junior Member
Junior Member
Offline
Joined: Apr 2001
Posts: 28
Ok, thnx!

Im gonna go try it out now, ill post back in 10 min!

Joined: Apr 2001
Posts: 28
Junior Member
Junior Member
Offline
Joined: Apr 2001
Posts: 28
Sh*t!

Didnt fix my problem, i get the same error!

Joined: Sep 2000
Posts: 793
Member
Member
Offline
Joined: Sep 2000
Posts: 793
Ahh...found it.

>>>Find:

my @ValidateArray = ("BBStatus", "BBClosedMessage", "MemberMinimum", "AdminTitle", "ModeratorTitle", "MemberTitle", "Member1Title", "Member2Title", "Member3Title", "Member4Title", "Member5Title", "Member1Posts", "Member2Posts", "Member3Posts", "Member4Posts", "Member5Posts", "JrMemberTitle", "JrMemberPosts", "NewbieTitle", "NewbieStarNum", "JrMemberStarNum", "MemberStarNum", "Member1StarNum", "Member2StarNum", "Member3StarNum", "Member4StarNum", "Member5StarNum", "ModeratorStarNum", "AdminStarNum", "NewbieStarURL", "JrMemberStarURL", "MemberStarURL", "Member1StarURL", "Member2StarURL", "Member3StarURL", "Member4StarURL", "Member5StarURL", "ModeratorStarURL", "AdminStarURL", "Censor", "EditOption", "IP", "EnglishSubjectCheck", "edit_public_names", "FloodCheck", "use_cache", "FloodCheckSpan", "EditWording");tle", "Censor", "EditOption", "IP", "EnglishSubjectCheck", "edit_public_names", "FloodCheck", "use_cache", "FloodCheckSpan", "EditWording");

>>>Replace with:

my @ValidateArray = ("BBStatus", "BBClosedMessage", "MemberMinimum", "AdminTitle", "ModeratorTitle", "MemberTitle", "Member1Title", "Member2Title", "Member3Title", "Member4Title", "Member5Title", "Member1Posts", "Member2Posts", "Member3Posts", "Member4Posts", "Member5Posts", "JrMemberTitle", "JrMemberPosts", "NewbieTitle", "NewbieStarNum", "JrMemberStarNum", "MemberStarNum", "Member1StarNum", "Member2StarNum", "Member3StarNum", "Member4StarNum", "Member5StarNum", "ModeratorStarNum", "AdminStarNum", "NewbieStarURL", "JrMemberStarURL", "MemberStarURL", "Member1StarURL", "Member2StarURL", "Member3StarURL", "Member4StarURL", "Member5StarURL", "ModeratorStarURL", "AdminStarURL", "Censor", "EditOption", "IP", "EnglishSubjectCheck", "edit_public_names", "FloodCheck", "use_cache", "FloodCheckSpan", "EditWording");

You had replaced it wrong somehow when you installed it.

EDIT: took off those code tags...this got too wide

[ April 08, 2001: Message edited by: Dark Templar ]


-DT
Joined: Apr 2001
Posts: 28
Junior Member
Junior Member
Offline
Joined: Apr 2001
Posts: 28
Sweet!

Its all workin good now!

Thank for the help Dark Templar! laugh

Joined: Sep 2000
Posts: 793
Member
Member
Offline
Joined: Sep 2000
Posts: 793
No problem, no problem at all!


-DT
Joined: Apr 2001
Posts: 77
Member
Member
Offline
Joined: Apr 2001
Posts: 77
Dark Templar
When i install your Star/Status Hack then it dont work
when the members post more then i have say in the Miscellaneous Settings then the status dont change by the members profile and by the topic or reply.
i work with ubb 6.02.
Please help me
P.S: And the hack when i instal it then the text off the status and stars in Miscellaneous Settings are bigger then the other txt of Miscellaneous Settings.
and what do you mean with this????
Make the fourth custom registration information box say "Custom Status"
must i also put a vink on something then when i make the fourth custom box??

Joined: Apr 2001
Posts: 5
Junior Member
Junior Member
Offline
Joined: Apr 2001
Posts: 5
When i install it, my Flag Hack ****ed and now its shows the url of the flag image.
=-My Furom-= .
user name: user
pass: user
please help!! wink

Joined: Feb 2001
Posts: 13
Junior Member
Junior Member
Offline
Joined: Feb 2001
Posts: 13
I installed the stars hack with no problem at all !

I tried to install the falg hack and it didn't work !

I think they are incompatible with each other . Thats the extent of my knoledge on this and most other subjects .

Joined: Sep 2000
Posts: 793
Member
Member
Offline
Joined: Sep 2000
Posts: 793
I'll have a look at the flag hack to tell you what the deal is with that.


-DT
Joined: Mar 2001
Posts: 25
Junior Member
Junior Member
Offline
Joined: Mar 2001
Posts: 25
Is this hack working on 6.04?

And also I have a question: I dont want to hack my board very much untill i get a version that i will keep for a time. So is 6.04 stable and good, or should I wait for 6.05/6.1 or something? Any help appriciated.


Why do you need my shoe number?? and when i try to resubmit i get a flood control.
Youve wasted 30 seconds of my life and i want them back!
Joined: Sep 2000
Posts: 793
Member
Member
Offline
Joined: Sep 2000
Posts: 793
There's no reason it shouldn't work on 6.0.4 Nicolai. And it depends on how you want to do things, whether or not to hack the current one or wait for the next one. There will be quite a few versions released in the next few months, as they fix bugs. It's really up to you how you want to do it.


-DT
Joined: Feb 2001
Posts: 283
Member
Member
Offline
Joined: Feb 2001
Posts: 283
I added this hack to my board...I am administrator with 6.0.4 and everything worked alright except the users can't make their own custom status...the box is there in the profile...but when I test the status it still says like "Mr. President" and not my Custom status....what did I miss, or what did I do wrong..

Thanks for this gr8 hack!

Patrick

Joined: Sep 2000
Posts: 793
Member
Member
Offline
Joined: Sep 2000
Posts: 793
It should look like this:

Username
Status because of posts
Custom Status (if there is one)

If what you're wanting is for Custom Status to replace the post status, I'll document that addon tomorrow.


-DT
Joined: Dec 2000
Posts: 62
Member
Member
Offline
Joined: Dec 2000
Posts: 62
Are there any changes to the code in version 4.52 to 4.53?
Just used beyond compare and compared the old text.file from version 4.52(i use) and the new text.file to version 4.53,but i can't se any changes to the code.

So i guess there is no reason for me to upgrade to version 4.53 wink
Anyway thanks for this great hack that works like i charme on my ubb6.03 smile

Joined: Apr 2001
Posts: 17
Junior Member
Junior Member
Offline
Joined: Apr 2001
Posts: 17
gr8 will install right away smile

Joined: Feb 2001
Posts: 283
Member
Member
Offline
Joined: Feb 2001
Posts: 283
Mine still does not work Dark Templar...I added the hack...but the Custom Status does not show up at all....does this only effect new members? Or what.?

Joined: Dec 2000
Posts: 62
Member
Member
Offline
Joined: Dec 2000
Posts: 62
Quote
quote:
Are you sure you added the "Custom Status" to your Custom Registration Field # 4: in your Registration Settings?

Joined: Apr 2001
Posts: 41
Member
Member
Offline
Joined: Apr 2001
Posts: 41
I'm sorry, but at the end of the hack (YES! I did install and find everything properly) It says upload the stars folder, I don't have a stars folder...

Joined: Sep 2000
Posts: 793
Member
Member
Offline
Joined: Sep 2000
Posts: 793
Patrick: cali3d took the words right outta my mouth

cali3d: Code is unchanged, directions are modified however so people understand just what the "Member" status is.

Seven of Nine: the directions right above that line say:
Quote
quote:
Unzip and upload the folder. laugh

EDIT: Silly thing put [/quote] in the URL.


-DT
Page 1 of 5 1 2 3 4 5

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
isaac
isaac
California
Posts: 1,157
Joined: July 2001
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)