This has probably been done before, but I just figured it out. Go to the cp, and in registration settings, set the first custom field to say Custom Title. Then, in the template Public_Topic_Page.pl find:
$user_status
Right below that, add:
$user_profile[16]
That's it.
Note: if you used custom field 2, you must change the 16 to 17. If you used 3, you must use 18, and so on.
Registered: 05/25/01
Posts: 6503
Loc: Melbourne, Australia
I use Jimbo's Custom rank hack for my UBB, because I don't want everyone having Custom titles but the good thing about this mod (Dark Templers) is that it doesn't get rid of the normal status you might set.
I checked it out. But not exactly what I need. It has too many extra options and such. This hack is simple, and i'm sure there should be some line there to disable the field for regular users. Because if it's disabled from "My Profile" they wont have any other place to modify it.
something like "Admin (true) Everybody Else (false)"
Ok, I have come up with several ideas of how to make them only settable in the cp profile, but I have not tried them out yet. I think the best way to do it is to add it add a new field for it in the profile, but only put the input for it in the cp profile page and not the page where the user edits their profile section. Once I figure out how to do that I'll test it and then post it here.
Registered: 05/25/01
Posts: 6503
Loc: Melbourne, Australia
Quote:
quote:
Good idea, What you need to do is to add the $user_profile[16] in the CP profiles, so It will appear in the CP, Then what you need to do is select "Do not even display this field as an option." when you enter the Custom title in the Custom fields in your Registration settings. It might not work but thats the way I see it.
Ok this seems to be a lot harder then I expected. Lord Dextor, that would only display the custom title, not a text area to enter them. And if add a text area, the cp wouldn't know what to do with it. I have to manually add a new field into it, seperate from the custom fields in the cp, and then only put the text area for it in the cp. Does anyone know where I would add the new field?
And for The Fonz, you can use html. For example, you could put the link code there and advertise your website, put the img code into the box to use an image, or just bold, italicise, or underline text.