Previous Thread
Next Thread
Print Thread
Rate Thread
Page 2 of 3 1 2 3
Joined: Apr 2001
Posts: 218
Member
Member
Offline
Joined: Apr 2001
Posts: 218
Yay, mine works. However it does not remember the rank picture when I assign to a user. frown

Sponsored Links
Joined: Jun 2002
Posts: 121
Member
Member
Offline
Joined: Jun 2002
Posts: 121
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?


I Cannot Support Ubb Via ICQ or MSN.
Not because I dont want to its just I cant. tipsy
Joined: Jun 2001
Posts: 2,849
Spotlight Winner
Spotlight Winner
Offline
Joined: Jun 2001
Posts: 2,849
Good question.

Joined: May 2001
Posts: 6,708
Member
Member
Offline
Joined: May 2001
Posts: 6,708
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.

Joined: Apr 2001
Posts: 218
Member
Member
Offline
Joined: Apr 2001
Posts: 218
Idle, if you can't finish the hack cuz your busy, maybe you could pass the code onto someone else to finish it.

smile
:kiss:

Sponsored Links
Joined: Sep 2001
Posts: 379
Member
Member
Offline
Joined: Sep 2001
Posts: 379
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. wink

Joined: May 2001
Posts: 6,708
Member
Member
Offline
Joined: May 2001
Posts: 6,708
Well if it does the same thing that would be good, because thats what I really want out of this mod.

Joined: Dec 2001
Posts: 699
Member
Member
Offline
Joined: Dec 2001
Posts: 699
Hmm... didn't notice this tipsy

My admin set picture works fine on 6.3; just a different maxmemfields value. Use it in this if you want...

Joined: Sep 2001
Posts: 379
Member
Member
Offline
Joined: Sep 2001
Posts: 379
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.

Joined: Sep 2001
Posts: 379
Member
Member
Offline
Joined: Sep 2001
Posts: 379
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.

Sponsored Links
Joined: Dec 2000
Posts: 371
Member
Member
Offline
Joined: Dec 2000
Posts: 371
The rank-image in the profiles isn't visible. After adding a member there is no image.

Joined: Sep 2001
Posts: 379
Member
Member
Offline
Joined: Sep 2001
Posts: 379
Checked your "UD Subteam Settings" in the Control Panel to see if the UD rank image directory matches yours, and the image names?

Joined: Sep 2001
Posts: 379
Member
Member
Offline
Joined: Sep 2001
Posts: 379
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).

Joined: May 2001
Posts: 10
Junior Member
Junior Member
Offline
Joined: May 2001
Posts: 10
I installed and I get this error:

Quote
code:
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]
Code
&set_vars_udst;
[/qb]
of this block
Code
if (($ubb eq 'set_vars_udst') && ($status eq 'Administrator')) {
&GetOrPost("POST");
&set_vars_udst;
exit(0);
} #end set_vars_udst

Joined: Sep 2001
Posts: 379
Member
Member
Offline
Joined: Sep 2001
Posts: 379
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.

Joined: May 2001
Posts: 10
Junior Member
Junior Member
Offline
Joined: May 2001
Posts: 10
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

Joined: Sep 2001
Posts: 379
Member
Member
Offline
Joined: Sep 2001
Posts: 379
Possibly, yeah.

You've got a new PM. wink

Joined: May 2001
Posts: 6,708
Member
Member
Offline
Joined: May 2001
Posts: 6,708
Quote
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?

Joined: Sep 2001
Posts: 379
Member
Member
Offline
Joined: Sep 2001
Posts: 379
Yes, that's possible...

In ubb_lib_posting.cgi Find:
Quote
code:
Code
$rating_line, $total_votes, $pm_link, %rate_list, $Avatar);

Replace With:
code:
[qb]
Code
$rating_line, $total_votes, $pm_link, %rate_list, $Avatar, $udrank_img, $udrank_alt);
[/qb]
Next Find:
Quote
code:
Code
			# do some cleaning---
$user_profile[6] =~ s/<.+?>//g;
$user_profile[6] =~ s/<.*//g; # delete unclosed HTML tags

Add After:
code:
[qb]
Code
	# 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:
Quote
code:
Code
$member_number



Replace With:
code:
[qb]
Code
$member_number


<img src="$udrank_img" alt="$udrank_alt" />

[/qb]
Haven't tested it, but that should be enough to get you going.

Joined: Sep 2001
Posts: 379
Member
Member
Offline
Joined: Sep 2001
Posts: 379
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!

Joined: Apr 2001
Posts: 218
Member
Member
Offline
Joined: Apr 2001
Posts: 218
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?

Joined: Mar 2001
Posts: 7,394
LK Offline
Admin / Code Breaker
Admin / Code Breaker
Offline
Joined: Mar 2001
Posts: 7,394
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 wink

Joined: Sep 2001
Posts: 379
Member
Member
Offline
Joined: Sep 2001
Posts: 379
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. smile

Joined: Dec 2000
Posts: 151
Member
Member
Offline
Joined: Dec 2000
Posts: 151
ehh what is "UD" ???

Joined: Sep 2001
Posts: 379
Member
Member
Offline
Joined: Sep 2001
Posts: 379
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. wink

LK: This mod does actually add the person's UD rank to his profile, and is displayed in topics, below their user status.

Joined: Dec 2000
Posts: 151
Member
Member
Offline
Joined: Dec 2000
Posts: 151
ok next stupid question:

What is United Devices???

Joined: Sep 2001
Posts: 379
Member
Member
Offline
Joined: Sep 2001
Posts: 379
www.ud.com - Have a look at the projects. wink

Joined: Mar 2001
Posts: 7,394
LK Offline
Admin / Code Breaker
Admin / Code Breaker
Offline
Joined: Mar 2001
Posts: 7,394
Idle, I didn't mean subteam idea.. I meant the avatar idea. tipsy 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) wink

Joined: Sep 2001
Posts: 379
Member
Member
Offline
Joined: Sep 2001
Posts: 379
Ahh, now I understand what you're getting at! wink

Joined: Apr 2001
Posts: 218
Member
Member
Offline
Joined: Apr 2001
Posts: 218
Quote
quote:
Originally posted by LK:
Idle, I didn't mean subteam idea.. I meant the avatar idea. tipsy 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) wink
So... the hack can be used but the images can't if you are not part of team ubbdev?

Joined: Mar 2001
Posts: 7,394
LK Offline
Admin / Code Breaker
Admin / Code Breaker
Offline
Joined: Mar 2001
Posts: 7,394
Exactly, but if you use even the hack with different images, though it's legal, don't expect to stay here for a while wink

Joined: Apr 2001
Posts: 218
Member
Member
Offline
Joined: Apr 2001
Posts: 218
hows it coming along Idle?

Joined: Aug 2002
Posts: 97
Member
Member
Offline
Joined: Aug 2002
Posts: 97
Quote
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 frown 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 smile

Joined: Sep 2001
Posts: 379
Member
Member
Offline
Joined: Sep 2001
Posts: 379
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. wink

Joined: Aug 2002
Posts: 97
Member
Member
Offline
Joined: Aug 2002
Posts: 97
hmm went looking for it and you have 2 versions available for download. confused

Joined: Oct 2001
Posts: 28
Junior Member
Junior Member
Offline
Joined: Oct 2001
Posts: 28
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

Joined: Oct 2001
Posts: 28
Junior Member
Junior Member
Offline
Joined: Oct 2001
Posts: 28
Now I got this error

No such file or directory opening at cp_ud.cgi line 201.

I updated

Joined: Sep 2001
Posts: 379
Member
Member
Offline
Joined: Sep 2001
Posts: 379
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.

Joined: Oct 2001
Posts: 28
Junior Member
Junior Member
Offline
Joined: Oct 2001
Posts: 28
Ok i will try

Joined: Sep 2001
Posts: 379
Member
Member
Offline
Joined: Sep 2001
Posts: 379
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 .

Page 2 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
Posts: 70
Joined: January 2007
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
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)