[Released] Simple Custom User Titles

MODs and Styles for phpBB3.

To post your MOD or style, go to the STG MOD Manager
Forum rules
Go to http://startrekguide.com/mods to submit your MOD or style

Re: [Released] Simple Custom User Titles

Postby chaoskreator » 26 May 2010, 14:01

Fixed.
User avatar
chaoskreator    
Commander
Commander
 
Posts: 716
Joined: 02 Feb 2009, 22:05
Location: NC
Gender: Male
phpBB Knowledge: 7


Re: [Released] Simple Custom User Titles

Postby maxxxdavid » 26 May 2010, 14:32

I get the same error with the non-admin account.

and get this with the admin account:

SQL ERROR [ mysqli ]

Column 'user_custom_title' cannot be null [1048]

SQL

UPDATE phpbb_users SET user_custom_title = NULL, user_icq = '', user_aim = '', user_msnm = '', user_yim = '', user_jabber = '', user_website = '', user_from = '', user_occ = 'Admin', user_interests = '', user_notify_type = '0', user_mood = '20', user_birthday = ' 0- 0- 0' WHERE user_id = 2

BACKTRACE

FILE: includes/db/mysqli.php
LINE: 163
CALL: dbal->sql_error()

FILE: includes/ucp/ucp_profile.php
LINE: 404
CALL: dbal_mysqli->sql_query()

FILE: includes/functions_module.php
LINE: 507
CALL: ucp_profile->main()

FILE: ucp.php
LINE: 321
CALL: p_master->load_active()
maxxxdavid    
Cadet I
Cadet I
 
Posts: 11
Joined: 25 May 2010, 16:11
Gender: Male
phpBB Knowledge: 5

Re: [Released] Simple Custom User Titles

Postby chaoskreator » 26 May 2010, 16:15

Hmmm... it's working perfectly fine with my test forum. Let me re-package everything.
User avatar
chaoskreator    
Commander
Commander
 
Posts: 716
Joined: 02 Feb 2009, 22:05
Location: NC
Gender: Male
phpBB Knowledge: 7

Re: [Released] Simple Custom User Titles

Postby maxxxdavid » 26 May 2010, 16:28

Thank you. Would you suggest I re-edit all the files? Or just run the install.php?
maxxxdavid    
Cadet I
Cadet I
 
Posts: 11
Joined: 25 May 2010, 16:11
Gender: Male
phpBB Knowledge: 5

Re: [Released] Simple Custom User Titles

Postby chaoskreator » 26 May 2010, 16:31

Completely remove everything and re-install. There were some problems with the file edits. It may work correctly after you do.
User avatar
chaoskreator    
Commander
Commander
 
Posts: 716
Joined: 02 Feb 2009, 22:05
Location: NC
Gender: Male
phpBB Knowledge: 7

Re: [Released] Simple Custom User Titles

Postby maxxxdavid » 26 May 2010, 16:36

TY, will try again, as you suggested.

*Confirmed working. TY again for the prompt replies.
maxxxdavid    
Cadet I
Cadet I
 
Posts: 11
Joined: 25 May 2010, 16:11
Gender: Male
phpBB Knowledge: 5

Re: [Released] Simple Custom User Titles

Postby chaoskreator » 26 May 2010, 16:54

No problem. Glad you got it working.
User avatar
chaoskreator    
Commander
Commander
 
Posts: 716
Joined: 02 Feb 2009, 22:05
Location: NC
Gender: Male
phpBB Knowledge: 7

Re: [Released] Simple Custom User Titles

Postby maxxxdavid » 27 May 2010, 12:50

Just a few questions/requests:

-Anyway to increase the number of characters? Maybe an option for unlimited?
-Can you include an option where the Admin through the ACP can view/alter the custom title?
I attempted to add all the edits from "includes/ucp/ucp_profile.php" to "includes/acp/acp_users.php", but got no love.
-The custom names aren't showing up on the threads, it only shows up in a members profile. Any idea why?
Thanks
maxxxdavid    
Cadet I
Cadet I
 
Posts: 11
Joined: 25 May 2010, 16:11
Gender: Male
phpBB Knowledge: 5

Re: [Released] Simple Custom User Titles

Postby chaoskreator » 27 May 2010, 21:14

You should be able to increase the character limit by changing 15 in the edit for ucp_profile_profile_front.html:

Code: Select all
<dd><input type="text" name="user_custom_title" id="user_custom_title" maxlength="15" value="{CUSTOM_TITLE}" class="inputbox" /></dd>


I was thinking of adding admin stuff, but I've got a couple other things I have to finish up before I get version 2 out.

As for it not showing in the topics, I'm not sure. I've installed on two forums so far and it works fine. How did you install? Manually or AutoMOD?
User avatar
chaoskreator    
Commander
Commander
 
Posts: 716
Joined: 02 Feb 2009, 22:05
Location: NC
Gender: Male
phpBB Knowledge: 7

Re: [Released] Simple Custom User Titles

Postby maxxxdavid » 30 May 2010, 11:10

Thanks, that edit helped increase the character limit.

As far as the installation, I did it manually.

I'll be waiting for version 2. =)
maxxxdavid    
Cadet I
Cadet I
 
Posts: 11
Joined: 25 May 2010, 16:11
Gender: Male
phpBB Knowledge: 5

PreviousNext

Return to phpBB3 Customizations

Who is online

Users browsing this forum: Bingbot, YandexBot and 25 guests