Title: UD Subteam Manager
Description: Makes managing your UD team as easy as 1, 2, 3 from the UBB.classic Control Panel™.
You can add, delete and modify member profiles.
Adds a new page (link on bottom, next to your Homepage, Privacy Statement, Contact Us, etc.) which lists your UD team members.
You can also export your member list in HTML format.
Author: Idle
WWW:
www.iceware.net E-mail:
[email protected]Date: July 4th, 2002
Version: 1.1.0.4
Requirements: 6.3.0 or newer.
Compatibility: 6.3.0 and newer.
Tested On: 6.3.0.1
Credits: CTM for the original idea.
Stilgar for the original UBBDev Haxxor images.
Anyone else I may have forgot.
Download:
ZIP File
Awesome! I'll install this after I get some weird things on my UBB fixed...
~Jon
Me too, I think I'll start a UD forum etc. on my forum again.
Yeah... get rid of the weird things before adding more weird things.
Awesome, I'm installing it right now. You instructions refer to public_common.cgi as one of the modified files. It does point to the templates directory but it still might confuse some people.
Thanks for this hack, it's for a fantastic cause.
This appears to be missing from the vars_udst.cgi
$vars_udst{RankImgURL}
To fix it add this...
in cp_vars_udst.pl
find;
&RegField("Absolute Path: Rank Image Directory", "RankImgPath", "yes", "45", "120", "Typically this would be your UBB's NonCGIPath/UDRanks.", "$vars_udst{RankImgPath}");
after add;
&RegField("URL: Rank Image Directory", "RankImgURL", "yes", "45", "120", "Typically this would be your UBB's NonCGIURL/UDRanks.", "$vars_udst{RankImgURL}");
in vars_udst.cgi
find;
q!RankImgPath! => q!D:/Inetpub/wwwroot/devubb/noncgi/UDRanks!,
After add;
q!RankImgURL! => q!http://url.to.your/noncgi/UDRanks!,
Well, now the rank shows up in the CP for the member but in the members page the rank is a red x. If I look at the properties for the image the name is missing...I.E. I get the.url.com/noncgi/UDRanks/ and the .gif name is missing.
Pardon me for spamming this thread up but if I go to the UD members page and click on the UD members number it takes me to an error page saying that the member doesn't exist. I'm parsing through the code for a fix but I'm not a coder so it may take me awhile.
Okay, in public_subteam.pl...
find;
and replace with;
This will show the rank image on the UD members page.
Okay, two more things then I'll shut up;
1. when you enter the UBB member number you have to include the 0's or it won't link properly fron the UD members page and you have to clear the cache after updating a UD member in the CP or the changes don't show up.
I'm sorry about so many posts in this thread but I didn't know how else to get all these points across.
I can't understand what does this name="rankimg" thing mean
Anyhow, about 0's, instead just use &Do8Digit($variable)
Without that the image is a red x, and I found that code in one of his cp templates and it fixed it.
Yes! Finally, thanks for the great hack Idle... I think I'll wait till all the coding's cleared up before it use it...
Okay, after looking through more of the code can I offer some suggestions?
I don't think having the members UBB "number" on the UD team page makes very much sense. It seems that it would be better to have the persons public displayed name with a link to their profile.
How hard would it be to have this use a member file field so that the persons profile would be updated automatically and would show the haxxor gif?
And lastly, how about modifying it so that the topic page would automatically show the haxxor avatar under the members title?
If all of this could happen just by adding the member to the subteam via the control panel that would be great.
Just noticed, your missing a few "light" images. Most I see are dark.
I will install when code is fixed also.
Actually, the dark images are missing since they mostly all have dark text for light backgrounds. Hopefully we'll get an update soon.
Yeah, I really want this hack now.
*Waits*
Howdy everyone and thanks for the feedback!
My hard drive went to Hell on thursday morning, and I've been busy getting my things back in order since then.
So, excuse the lack of replies 'n stuff.
I'll have a look at this tomorrow, and hopefully fix everything mentioned in this thread and even add some of your nice suggestions.
You are truly 1337...thanks in advance for putting your time into this.
Agreed with TheX. This hack will be a success with the sub-teams.
If it can (we know it can) be modified to give the avatars, modify the members files, etc. then it might spark more interest in forming subteams.
Like the 6.2 version. Isn't that part of this one too?
Idle, any plans on a mhk? With the fixes, of course.
~Jon
quote:
Originally posted by JonNJapan:
Idle, any plans on a mhk? With the fixes, of course.
~Jon
I was planning on making a MultiHack, but I think I'll wait till we've got all the bugs squashed first...
If you're interested, I've got an MHK with all the fixes so far here:
[6.3.x] UD Sub-Team Manager
Note: Bear in mind that some of the instructions may be logged as erroneous, depending on which hacks you have installed on your UBB. To solve this, hack the files in question by hand instead.
Please tell me if you can see something wrong with the MultiHack...
Enjoy
Eh, can someone please port it into 6.1??? Thanks
I think I may just put the 6.2 one in (Like whats on UBBDev) Thats what I want.
Was there already a mod like this available for the 6.2.x series?
JonNJapan: No plans on MultiHack, I barely have enough time to support the text instructions, beside how much I fear MHK, sorry.
Sean: I might port it once I've sorted out all the glitches and eh... "random features", eheh.
Yeah, it's called Admin Set Picture.
This hack is more than Admin Set Picture... It also allows export of HTML which (in theory) allows for easy updates for your Sub-team's team pages, if you have them (example:
http://www.iphq.co.uk/teamiphq )
Idle: If you want to link to the MHP I made (linked to earlier on in this thread), go ahead
Well if it's more maybe he can incorpirate the two hacks into one.
I still think this is going to boost subteams by making it easy to implement.
I've fixed most of the bugs I've noticed so far, and those you've reported here.
Give me a day or two more before I update the files though, I'm literally drowning in work. :rolleyes:
Oh, and I'll have a look at that "Admin set picture" mod.
If your busy I can do the admin set picture and just give it to you, it's not that hard. Actually I'm sure it will work on 6.3 with no port.
Update! Phew...
I must've been sleeping when I wrote the cp_ud.cgi file, haven't seen such mess in a long time.
Cleaned up various parts, fixed others, minor changes here and there, etc.
If you're using the previous release, you'll probably get away with re-doing the cp_lib.cgi steps, and overwriting the previous files added by the mod.
-----------
Lord Dexter: I had a look at the admin set picture stuff. Can't say I'm really interested, but I got another idea to accomplish the same thing, which doesn't require as much editing of other UBB files, and wouldn't cause annoying profile problems when upgrading (in case of added/deleted profile fields and such).
I'll have a better look at it in a day or two.
I am probably just being stupid here. But what is a "UD Team"? I installed the hack, but cannot seem to find out why I need it. It is possible that I do not, but I do not even know what a UD Team is?
It is the United Devices subteam manager. It is the "help fight cancer" team that UBBDev has here, and you can find just under the announcements on the forum summary.
<----haxxor avatar.
Hmmmmmm Maybe this will work on 6.1. I will check.
Okay, I had to change things alittle but I'm uploading for 6.1 now. I'll give u the link in a minute.
The final Product does not work.
http://doublebassist.netfirms.com/images/hack.gif thats a screenshot! This is what the UBB looked like before and after I fixed it. Go to
http://snow.prohosting.com/gta3ps2/cgi-bin/bb/cgi/ultimatebb.cgi . Hey that was a fun experiment!
Yay, mine works. However it does not remember the rank picture when I assign to a user.
quote:
Originally posted by mrwebb:
I am probably just being stupid here. But what is a "UD Team"? I installed the hack, but cannot seem to find out why I need it. It is possible that I do not, but I do not even know what a UD Team is?
You installed a hack which you dont know what it does? How come?
If your not intrested Idle maybe I could port it if it needs porting and you can add it to your hack? I don't think it needs porting so people you can just install it and use it with it.
Idle, if you can't finish the hack cuz your busy, maybe you could pass the code onto someone else to finish it.
:kiss:
Lord Dexter: I don't mind though you port that mod, but I'm going for a different method to accomplish the same thing (which I'll include in the next update of this mod).
Laura_ubb: I'd prefer not. There's only one week left before I get my two weeks summer holidays, then I'll have plenty of time to spend on UBB.classic.
One week isn't so awfully long time. I'm sure most of you have waited longer for something.
Hell, I might even be able to squeese in an hour a day until friday, so I could even have something ready next weekend.
Well if it does the same thing that would be good, because thats what I really want out of this mod.
Hmm... didn't notice this
My admin set picture works fine on 6.3; just a different maxmemfields value. Use it in this if you want...
I've finished the rank sharing stuff, so you can see the member's UD rank (if he has any) in his regular UBB profile (CP and public).
Right now, I'm crushing some bugs before they hatch, so expect an update soon.
Update!
Current version 1.1.
Fixed bug where deleting member(s) from the "Manage Subteam" page wouldn't update the memberslist.cgi accordingly.
New feature per someone's request (sorry, I can't remember who and can't be bothered looking it up now):
Member's UD rank can be viewed from his UBB profile.
Install from scratch to avoid any problems.
The rank-image in the profiles isn't visible. After adding a member there is no image.
Checked your "UD Subteam Settings" in the Control Panel to see if the UD rank image directory matches yours, and the image names?
Update:
v1.1.0.2 -
Added a missing step for cp_lib.cgi,
fixed a typo in vars_wordlets_idle.cgi,
one or two more minor changes (replaced words with wordlets in cp_lib.cgi).
I installed and I get this error:
code:
Undefined subroutine &main::set_vars_udst called at /home/p/pt/pt-home/public_html/kosta2/serials/cp.cgi line 828
and line 828 is:
code:
[qb][/qb]
of this block
if (($ubb eq 'set_vars_udst') && ($status eq 'Administrator')) {
&GetOrPost("POST");
&set_vars_udst;
exit(0);
} #end set_vars_udst
Did you follow all the steps for cp_lib.cgi?
If so, you shouldn't get that error.
Else... PM or email me and we'll figure something out.
Well I redownloaded with your fixes that was applied to this. when I rehacked from the backup I got cp.ci aborted due to compiliation errors.
could this part of my hacks i have installed?
Sticky
backup
cosmedic links
Possibly, yeah.
You've got a new PM.
quote:
Originally posted by Idle:
Update!
Current version 1.1.
Fixed bug where deleting member(s) from the "Manage Subteam" page wouldn't update the memberslist.cgi accordingly.
New feature per someone's request (sorry, I can't remember who and can't be bothered looking it up now):
Member's UD rank can be viewed from his UBB profile.
Install from scratch to avoid any problems.
How about on the topic page? Can you make it appear there?
Yes, that's possible...
In ubb_lib_posting.cgi Find:
code:
$rating_line, $total_votes, $pm_link, %rate_list, $Avatar);
Replace With:
code:
[qb]$rating_line, $total_votes, $pm_link, %rate_list, $Avatar, $udrank_img, $udrank_alt);
[/qb]
Next Find:
code:
# do some cleaning---
$user_profile[6] =~ s/<.+?>//g;
$user_profile[6] =~ s/<.*//g; # delete unclosed HTML tags
Add After:
code:
[qb] # get assigned UD rank
RequireCode("$vars_config{CGIPath}/cp_ud.cgi");
@udmembers = &GetUDMembersListAsArray;
foreach $match (@udmembers) {
chomp($match);
($j, $un, $ubn) = split (/|/, $match);
next unless $ubn =~ $this_user_number;
if ($un ne '') {
@ud_user_profile = &OpenUDProfile($un);
($udrank_img, $udrank_alt) = &nice_ud_rank($ud_user_profile[2]);
} else {
$udrank_img = '';
$udrank_alt = '';
}
}
[/qb]
Next, open public_topic_page.pl (Templates) and Find:
code:
Replace With:
code:
[qb]$member_number
<img src="$udrank_img" alt="$udrank_alt" />
[/qb]
Haven't tested it, but that should be enough to get you going.
Alright, version 1.1.0.4 (sheesh) is here... Choose your weapon (Beyond Compare allowed!).
Thanks to TheX for the reminder, I knew I kept forgetting to add something. :rolleyes:
This time, upgrading users only need to follow the additional steps for ubb_lib_posting.cgi and public_topic_page.pl (Templates/JCTemplates).
Oh, and the new feature this time is UD rank image is displayed below the member's name on topic pages.
Enjoy!
Hi Idle.
I have just installed but it will not display the Rank on the topic pages OR in the profile. I even added all the extra code you have above and nothing.
Although then it will display a red cross with no url.
Any ideas?
AFAIK this hack adds to a special place, not topic page or profile.
UBBDev uses Dave2's hack, Images Set by Admin or something like that, with a few modifications...
BTW, if you're not part of Team UBBDev please don't use this hack, as the images are (c) ubbdev and the idea isn't copyrighted, but we still invented it
I'll try and find some time to update this mod this week.
Will probably make another set of instructions for 6.3.1, there's quite some difference.
If there are any other problems... let me know and I'll try to get rid of them, too.
United
Devices.
I'm not going into any copyrights mumbo-jumbo here, but noone forces you to use the images supplied with the addon.
You can make your own, if you prefer.
Also, as the subteam idea isn't copyrighted as LK pointed out, I don't see any obstacle in the way for one to create his own subteam for some other UD team.
Conclusion: You can use this addon without getting sued.
LK: This mod does actually add the person's UD rank to his profile, and is displayed in topics, below their user status.
ok next stupid question:
What is United Devices???
www.ud.com - Have a look at the projects.
Idle, I didn't mean subteam idea.. I meant the avatar idea.
and if I'll see it, or even worse: the images included, somewhere that isn't under team ubbdev I'll be really mad (and it's not good)
Ahh,
now I understand what you're getting at!
quote:
Originally posted by LK:
Idle, I didn't mean subteam idea.. I meant the avatar idea. and if I'll see it, or even worse: the images included, somewhere that isn't under team ubbdev I'll be really mad (and it's not good) So... the hack can be used but the images can't if you are not part of team ubbdev?
Exactly, but if you use even the hack with different images, though it's legal, don't expect to stay here for a while
hows it coming along Idle?
quote:
Originally posted by Laura_ubb:
Hi Idle.
I have just installed but it will not display the Rank on the topic pages OR in the profile. I even added all the extra code you have above and nothing.
Although then it will display a red cross with no url.
Any ideas?
I dont even get the red cross
any ideas?
*edit* On the ubb sub team members list I do get the bean, but not in posts. If you could point me to the file that impacts that Ill try to figure out what I did wrong and report back
public_topic_page.pl and ubb_lib_posting.cgi.
I just rewrote the instructions for UBB.classic 6.3.1.x, and noticed the problem.
You can get it from my web site (see signature).
After dinner, I'll crush the bug. I promise.
hmm went looking for it and you have 2 versions available for download.
Got problem...
http://cshock.ibboards.com/cgi-bin/ultimatebb.cgi?ubb=get_topic;f=1;t=000007
Take a look on this url!
JC_Alex has the UD Stats
But Alex_SdV doesn´t have and it´s showing!
HELP PLZ
Now I got this error
No such file or directory opening at cp_ud.cgi line 201.
I updated
Hrm... alright.
There are two versions indeed; one for 6.3.0.x, and other for 6.3.1.x.
I just finished the 6.3.1.x add-on, so now it displays the UD rank on topic pages and in the member's UBB profile as well.
Download for 6.3.1.x .
I will finish the one for 6.3.0.x later tonight, and test it.
Ramister: Please download the new version above and re-hack your board, it should work fine unless there are any conflicts with all the other add-ons you have installed on your board.
Sorry, one more update.
Now this should be working properly!
The instructions for 6.3.1.0 and 6.3.1.1 have been updated,
you can see the changes
here .
Direct download for 6.3.1.x .
Idle, it was working perfectly, but when I treid to add a new subteam member, it would not update her icon. I deleted her account to try again, and it deleted all accounts
Now when I try to recreate any account, it will not update the icon nor show the avatar
. I get the red x on the 'manage subteam' control panel interface.
I changed nothing. show me the error of my ways
thanks )
I will rehack today! If I got problems I will reply this topic
COuld u right a change file!!!!
Odd, least to say.
I'll try to squeeze it in my schedule this week.
more info on my issue. I add people and I am using the light icons, when I try to manage sub team, The user shows up with d_blue.gif at the top of the list, then 1-28, If I choose 1 I get the correct icon to the right, but when I click Save, no icon is present when I go to manage subteam (red x) and no avatar on posts. Ill try to rehack a 2nd time
*edited 10.6.02*
I rehacked virgin files and I got
this .
I checked the UD subteam settings and all the icons appear there
However when I go to Manage subteam, the icon defaults to the dark image (d_blue.gif) and I have all light ones picked
Almost as if the settings arent being carried over. (as if I had the vaguest idea what I was talking about
)