|
Joined: Feb 2001
Posts: 78
Member
|
Member
Joined: Feb 2001
Posts: 78 |
I realize 6.3 has a place in each profile to add a custom title, however, thats alot of work to keep track if you use alot of them and change them frequently as I do. It needs to be all on one page so you can quickly scan all the titles and make changes. Im wondering if the previous custom title/ranks will be somehow brought back into this.
|
|
|
|
Joined: May 2001
Posts: 794
Content Queen
|
Content Queen
Joined: May 2001
Posts: 794 |
quote: Originally posted by WNxWakko: I realize 6.3 has a place in each profile to add a custom title, however, thats alot of work to keep track if you use alot of them and change them frequently as I do. It needs to be all on one page so you can quickly scan all the titles and make changes. Im wondering if the previous custom title/ranks will be somehow brought back into this.
On my test board, I just tried to install the JCT hack, and it worked--after I tweaked one hack in the ubb_lib_posting.cgi file (second step) with the Multihack file I have.
Since I had the hack installed before, all I did was upload the four files I modified:
cp.cgi ubb_lib_posting.cgi cp_common.pl public_topic_page.pl
Sue adwoff.com
|
|
|
|
Joined: Feb 2001
Posts: 78
Member
|
Member
Joined: Feb 2001
Posts: 78 |
Per a PM from Zildjin, decided to reply on this instead of in the PM, quote: Hello,
I saw your post in the URL below and I have the same problem. I need to be able to change large quantities of title's quickly and easily.
Have you found a hack for this for 6.3 ?
Jimbos custom rank/titles from 6.2 with some modifications works with 6.3. I dont make hacks so I dont exactly have a nice text file on porting it. It just works for me now, but it can be done.
I also noticed you have 0 posts. Why cant you reply to public messages with these questions?
|
|
|
|
Joined: Jun 2002
Posts: 16
Junior Member
|
Junior Member
Joined: Jun 2002
Posts: 16 |
I wouldnt mind the hack to allow users to create their own custom title. Is there one around, bare with me im new to this !
|
|
|
|
Joined: Jun 2001
Posts: 2,849
Spotlight Winner
|
Spotlight Winner
Joined: Jun 2001
Posts: 2,849 |
Click here and read the warnings. I am not a hack writer but this should work...
|
|
|
|
Joined: May 2001
Posts: 6,708
Member
|
Member
Joined: May 2001
Posts: 6,708 |
I just added a Custom title under the user title and Member can user define it. Similar to that but add $user_profile[16] undrr $user_status and make the field.
|
|
|
|
Joined: Jun 2002
Posts: 16
Junior Member
|
Junior Member
Joined: Jun 2002
Posts: 16 |
Safe cheers for that, will have a little play !
|
|
|
|
Joined: Jun 2002
Posts: 17
Junior Member
|
Junior Member
Joined: Jun 2002
Posts: 17 |
quote: Originally posted by XPerT.x: Click here and read the warnings. I am not a hack writer but this should work...
I am using XPerT.x's hack, but I want to limit the ability to have custom titles displayed to only members who have access to forum #6. I've tried changing:
if ($user_title ne "") {
to:
if (($user_title ne "") && ($user_permissions->has_permission("forum", "view", 6))) {
But that had no effect, people that were not members of Forum #6 still have their custom titles displayed in their posts.
I don't care if all members can add their custom titles in their profiles, but I only want the custom titles of members of forum #6 to be displayed when viewing posts.
I'm very new to hacking, so a little help would be appreciated, thanks.
|
|
|
|
Joined: Nov 2001
Posts: 1,704
Moderator / Da Masta
|
Moderator / Da Masta
Joined: Nov 2001
Posts: 1,704 |
Is your Forum 6 a "Team Meeting" of some sort, which only Mods and Admins are allowed to access? If so, try using:
if (($user_profile eq 'Moderator') || ($user_profile eq 'Administrator')) {
I'm also a newbie when it comes to hacking, so please make sure to back up public_topic_page.pl before editing it. :
|
|
|
|
Joined: Jun 2002
Posts: 17
Junior Member
|
Junior Member
Joined: Jun 2002
Posts: 17 |
Nope, they are regular members, not mods or admins.
Forum 6 is a private forum, we also have public forums and public only members and I don't want them to be able change their own titles.
|
|
|
|
Joined: May 2001
Posts: 1,042 Likes: 7
Moderator
|
Moderator
Joined: May 2001
Posts: 1,042 Likes: 7 |
quote: Originally posted by CTM: Is your Forum 6 a "Team Meeting" of some sort, which only Mods and Admins are allowed to access? If so, try using:
if (($user_profile eq 'Moderator') || ($user_profile eq 'Administrator')) {
I'm also a newbie when it comes to hacking, so please make sure to back up public_topic_page.pl before editing it. :
Um.. no. This is how it should go. if(($user_profile[8] eq 'Moderator') || ($user_profile[8] eq 'Administrator')) {
The 8th place is where the status lies
And Zildjin, try this,
if (($user_title ne "") && ($in{f} eq '6')) {
|
|
|
|
Joined: Jun 2002
Posts: 17
Junior Member
|
Junior Member
Joined: Jun 2002
Posts: 17 |
Thanks Brett, that worked well. 
|
|
|
|
Joined: Jun 2002
Posts: 17
Junior Member
|
Junior Member
Joined: Jun 2002
Posts: 17 |
quote: Originally posted by brett: And Zildjin, try this,
if (($user_title ne "") && ($in{f} eq '6')) {
I spoke too soon, this did not work. This bit of code only allows custom titles to be seen in forum 6.
Forum 6 is a private forum and I want the users of that forum only to have their custom titles shown. I want their titles shown in all of the forums though, not just in forum 6.
Any ideas anyone?
|
|
|
|
Joined: Jun 2002
Posts: 17
Junior Member
|
Junior Member
Joined: Jun 2002
Posts: 17 |
Ok I tried:
if (($user_title ne "") && ($user_profile[4] =~ m/6/)) {
Since the 4th place is the forum permission line.
This didn't work, but I am unsure how to do a match. The 4th place typically can look like this:
Write&10,6,12,9,8
What is the proper syntax to search for the '6'?
|
|
|
|
Joined: Nov 2001
Posts: 1,704
Moderator / Da Masta
|
Moderator / Da Masta
Joined: Nov 2001
Posts: 1,704 |
Uhh... That was quite careless of me. :rolleyes: Sorry bout that... :
|
|
|
|
Joined: Jun 2002
Posts: 17
Junior Member
|
Junior Member
Joined: Jun 2002
Posts: 17 |
Ok, after much messing around, I got it to work. It's ugly, but it works fine. if (($user_title ne "") && (($user_profile[8] eq 'Moderator') || ($user_profile[8] eq 'Administrator') || ((index($user_profile[4],6) > 0)))) { This ensures all mods, admins and members of forum 6 have their user definable custom title's displayed in all their posts. Good thing I don't have forum 16 or 26 or 36, etc. 
|
|
|
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.
|
|
Posts: 69
Joined: January 2001
|
|
Forums63
Topics37,575
Posts293,931
Members13,824
|
Most Online6,139 Sep 21st, 2024
|
|
Currently Online
Topics Created
Posts Made
Users Online
Birthdays
|
|
|
|