[ABD] Custom Title Mod 3.0.0

Any abandoned MODs will be moved to this forum.

WARNING: MODs in this forum are not currently being supported or maintained by the original MOD author. Proceed at your own risk.
Forum rules
IMPORTANT: MOD Development Forum rules

WARNING: MODs in this forum are not currently being supported nor updated by the original MOD author. Proceed at your own risk.
Lord Phobos
Registered User
Posts: 613
Joined: Tue May 18, 2004 11:41 pm

Re: [Beta] Custom Title Mod 3.0.0

Post by Lord Phobos » Mon May 25, 2009 2:20 pm

Still nothing.

With your changes, even users with permissions to ignore the limitations were not able to change the user title.
They keep to see the field, but changing it has not effect on the db.

Removing your changes, makes users with that permission able to change the user title with success.

But... I want users without permission to ignore limitations to be able to see the field if they have the correct number of posts.

Lord Phobos
Registered User
Posts: 613
Joined: Tue May 18, 2004 11:41 pm

Re: [Beta] Custom Title Mod 3.0.0

Post by Lord Phobos » Tue May 26, 2009 11:05 am

Why my users can see that field in the profile only if I give them the permission to ignore the limitations?

It is wrong something in the db or something went wrong with the permissions?

Please, please, PLEASE, someone help me to fix that. :(

Lord Phobos
Registered User
Posts: 613
Joined: Tue May 18, 2004 11:41 pm

Re: [Beta] Custom Title Mod 3.0.0

Post by Lord Phobos » Wed May 27, 2009 2:21 am

Update: no matter how I set the permissions, my users can't see the field in UCP.
Only me, as founder, can see the field in UCP, no matter what my individual or group permissions are.

Please, give me any clues to solve this nightmare. :|

Lord Phobos
Registered User
Posts: 613
Joined: Tue May 18, 2004 11:41 pm

Re: [Beta] Custom Title Mod 3.0.0

Post by Lord Phobos » Wed May 27, 2009 2:30 am

VERY weird thing, maybe the key of it all.

If I go to the ACP, and then get a random user... I can see setting its permissions that the two permissions for this mod are ok. "Yes".

BUT.

If I go to the bottom, to VIEW the assigned permission, and I pick the same user... It has got "NEVER" instead of "yes" on both permissions.

What may be causing this?

Lord Phobos
Registered User
Posts: 613
Joined: Tue May 18, 2004 11:41 pm

Re: [Beta] Custom Title Mod 3.0.0

Post by Lord Phobos » Wed May 27, 2009 2:50 am

And now, found this in my db:

Code: Select all

      117 u_title_edit 1 0 0 
      135 u_title_edit 1 0 0 
      137 u_title_edit 1 0 0 
      118 u_title_ignore_reqs 1 0 0 
      136 u_title_ignore_reqs 1 0 0 
      138 u_title_ignore_reqs 1 0 0 
The table is phpbb_acl_options.

It is normal there are three instances of this?
Can you check your db's, please?

User avatar
Stitch625
Registered User
Posts: 683
Joined: Wed Jun 20, 2007 3:38 pm
Location: Michigan
Contact:

Re: [Beta] Custom Title Mod 3.0.0

Post by Stitch625 » Wed May 27, 2009 6:25 am

Hi,
I am wondering does this mod add any load to the DB? How many queries does it run? Does it run a query on every page?

Lord Phobos
Registered User
Posts: 613
Joined: Tue May 18, 2004 11:41 pm

Re: [Beta] Custom Title Mod 3.0.0

Post by Lord Phobos » Wed May 27, 2009 12:42 pm

Bump, please.

Lord Phobos
Registered User
Posts: 613
Joined: Tue May 18, 2004 11:41 pm

Re: [Beta] Custom Title Mod 3.0.0

Post by Lord Phobos » Wed May 27, 2009 4:33 pm

A little frustrating...

User avatar
Stitch625
Registered User
Posts: 683
Joined: Wed Jun 20, 2007 3:38 pm
Location: Michigan
Contact:

Re: [Beta] Custom Title Mod 3.0.0

Post by Stitch625 » Wed May 27, 2009 4:41 pm

Lord Phobos wrote:A little frustrating...
Sure is. :roll: Hello?...taps on screen...is this thing on?

User avatar
RMcGirr83
Recognised Extension Developer
Posts: 21034
Joined: Wed Jun 22, 2005 4:33 pm
Location: Your display
Name: Rich McGirr
Contact:

Re: [Beta] Custom Title Mod 3.0.0

Post by RMcGirr83 » Wed May 27, 2009 4:52 pm

Lord Phobos wrote:And now, found this in my db:

Code: Select all

      117 u_title_edit 1 0 0 
      135 u_title_edit 1 0 0 
      137 u_title_edit 1 0 0 
      118 u_title_ignore_reqs 1 0 0 
      136 u_title_ignore_reqs 1 0 0 
      138 u_title_ignore_reqs 1 0 0 
The table is phpbb_acl_options.

It is normal there are three instances of this?
Can you check your db's, please?

IIRC, there should be only one of each in the database. Do a backup and delete two of them, then purge the ACP and see what happens.
Stitch625 wrote:Hi,
I am wondering does this mod add any load to the DB? How many queries does it run? Does it run a query on every page?
Looks like there are no additional queries made on the DB.
In times of change, learners inherit the earth, while the learned find themselves beautifully equipped to deal with a world that no longer exists - Eric Hoffer
Former Modifications/Extensions Team Member | My extensions
Appreciate the extensions/mods/support then buy me a beer
All requests for support via PM will be ignored

Lord Phobos
Registered User
Posts: 613
Joined: Tue May 18, 2004 11:41 pm

Re: [Beta] Custom Title Mod 3.0.0

Post by Lord Phobos » Wed May 27, 2009 6:20 pm

IT WORKED!!!!! :lol: :o

I finally, after desperate months, got to fix that terrible problem!!!! : :mrgreen: :mrgreen: :mrgreen:

I don't know how to thank you. Would you marry me?

User avatar
RMcGirr83
Recognised Extension Developer
Posts: 21034
Joined: Wed Jun 22, 2005 4:33 pm
Location: Your display
Name: Rich McGirr
Contact:

Re: [Beta] Custom Title Mod 3.0.0

Post by RMcGirr83 » Wed May 27, 2009 6:26 pm

Lord Phobos wrote:Would you marry me?
My wife may have a small problem with that. ;)

Glad to help.
In times of change, learners inherit the earth, while the learned find themselves beautifully equipped to deal with a world that no longer exists - Eric Hoffer
Former Modifications/Extensions Team Member | My extensions
Appreciate the extensions/mods/support then buy me a beer
All requests for support via PM will be ignored

User avatar
Stitch625
Registered User
Posts: 683
Joined: Wed Jun 20, 2007 3:38 pm
Location: Michigan
Contact:

Re: [Beta] Custom Title Mod 3.0.0

Post by Stitch625 » Fri May 29, 2009 8:22 pm

Hi,
Was just playing around with this mod on my test board and I think I found a bug. If you have the mod set to activate for the user at 10 posts or whatever, he goes and adds a custom title and it all works fine, but if you go back to the ACP and increase the post count to anything greater than the users post count once they have chosen a custom title, the custom title does not go away. It remains in tact. Shouldn't his/her original rank title come back until they reach the required post count and the custom title field be removed from the users profile fields?

EDIT: It does remove the field from the users profile but the custom title remains shown throughout the board

The-Lord
Registered User
Posts: 103
Joined: Thu Jan 31, 2008 12:13 pm

Re: [Beta] Custom Title Mod 3.0.0

Post by The-Lord » Fri May 29, 2009 11:15 pm

Thanks. Will test it out on my test board. :)

alf007
Registered User
Posts: 36
Joined: Sun Mar 13, 2005 5:46 pm
Location: France (78)

Re: [Beta] Custom Title Mod 3.0.0

Post by alf007 » Sun May 31, 2009 3:34 pm

neo4u wrote:ok enabled debug in the cofig.php and got this:

Code: Select all

[phpBB Debug] PHP Notice: in file /includes/ucp/ucp_pm_viewmessage.php on line 179: Undefined index: custom_title
[phpBB Debug] PHP Notice: in file /includes/functions.php on line 3865: Cannot modify header information - headers already sent by (output started at /includes/functions.php:3208)
[phpBB Debug] PHP Notice: in file /includes/functions.php on line 3867: Cannot modify header information - headers already sent by (output started at /includes/functions.php:3208)
[phpBB Debug] PHP Notice: in file /includes/functions.php on line 3868: Cannot modify header information - headers already sent by (output started at /includes/functions.php:3208)
[phpBB Debug] PHP Notice: in file /includes/functions.php on line 3869: Cannot modify header information - headers already sent by (output started at /includes/functions.php:3208)
Any ideas anyone?
Got this problem too, for a user without custom title defined.
I find out the correction:

In includes/ucp/ucp_pm_viewmessage.php
Find:

Code: Select all

if (!empty($user_row['user_custom_title']))
Insert before:

Code: Select all

	$user_row['custom_title'] = '';
That's all.

Locked

Return to “[3.0.x] Abandoned MODs”