Previous Thread
Next Thread
Print Thread
Rate Thread
#191166 05/12/2002 3:41 PM
Joined: Feb 2001
Posts: 78
Member
Member
Offline
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.

Sponsored Links
#191167 05/13/2002 2:14 AM
Joined: May 2001
Posts: 794
Content Queen
Content Queen
Offline
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
#191168 06/11/2002 5:51 PM
Joined: Feb 2001
Posts: 78
Member
Member
Offline
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?

#191169 06/12/2002 12:33 PM
Joined: Jun 2002
Posts: 16
Junior Member
Junior Member
Offline
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 !

#191170 06/12/2002 9:07 PM
Joined: Jun 2001
Posts: 2,849
Spotlight Winner
Spotlight Winner
Offline
Joined: Jun 2001
Posts: 2,849
Click here and read the warnings. I am not a hack writer but this should work...

Sponsored Links
#191171 06/13/2002 2:30 AM
Joined: May 2001
Posts: 6,708
Member
Member
Offline
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.

#191172 06/13/2002 6:34 AM
Joined: Jun 2002
Posts: 16
Junior Member
Junior Member
Offline
Joined: Jun 2002
Posts: 16
Safe cheers for that, will have a little play !

#191173 06/28/2002 10:49 AM
Joined: Jun 2002
Posts: 17
Junior Member
Junior Member
Offline
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.

#191174 06/28/2002 1:16 PM
Joined: Nov 2001
Posts: 1,704
CTM Offline
Moderator / Da Masta
Moderator / Da Masta
Offline
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. :

#191175 06/28/2002 1:22 PM
Joined: Jun 2002
Posts: 17
Junior Member
Junior Member
Offline
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.

Sponsored Links
#191176 06/28/2002 1:24 PM
Joined: May 2001
Posts: 1,042
Likes: 7
Moderator
Moderator
Offline
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 wink

And Zildjin, try this,

if (($user_title ne "") && ($in{f} eq '6')) {

#191177 06/28/2002 3:31 PM
Joined: Jun 2002
Posts: 17
Junior Member
Junior Member
Offline
Joined: Jun 2002
Posts: 17
Thanks Brett, that worked well. smile

#191178 07/02/2002 10:33 AM
Joined: Jun 2002
Posts: 17
Junior Member
Junior Member
Offline
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?

#191179 07/02/2002 11:32 AM
Joined: Jun 2002
Posts: 17
Junior Member
Junior Member
Offline
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'?

#191180 07/02/2002 12:14 PM
Joined: Nov 2001
Posts: 1,704
CTM Offline
Moderator / Da Masta
Moderator / Da Masta
Offline
Joined: Nov 2001
Posts: 1,704
Uhh... That was quite careless of me. :rolleyes: Sorry bout that... :

#191181 07/02/2002 1:56 PM
Joined: Jun 2002
Posts: 17
Junior Member
Junior Member
Offline
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. wink


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
AllenAyres
AllenAyres
Texas
Posts: 21,079
Joined: March 2000
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)