Custom Title MOD (problem whit the tilte_install.php)

  Post new topicReply to topicPrintable Version
<< View previous topic View next topic >>
Share: Del.icio.us  Digg  Google  Spurl  Blink  Furl  Y! MyWeb  
#1   
Telli
Site Admin
Occupation: Self Employed
Age: 46
Gender: Male
Fav. Sports Team: Detroit Red Wings
Website:
Status: Offline
Joined: May 26, 2003
1.03 posts per day
Posts: 8089
Points: 494,440
   
You might have made a mistake in editing that file. Attach the mod instructions for that file and also the file itself in a zip.




_________________
The path of the righteous man is beset on all sides by the inequities of the selfish and the tyranny of evil men. Blessed is he, who in the name of charity and good will, shepherds the weak through the valley of darkness, for he is truly his brother's keeper and the finder of lost children. And I will strike down upon thee with great vengeance and furious anger those who would attempt to poison and destroy my brothers. And you will know my name is the Lord when I lay my vengeance upon thee. Ezekiel 25:17
Back to top Reply with quote
#2   
AalnyanIcestorm
CZ Super Newbie
 Codezwiz Site Donator
AalnyanIcestorm has been a member for over 19 year's 19 Year Member
usa.gif oregon.gif
Occupation: Web Design & Computer Consultant
Age: 61
Gender: Male
Website:
Status: Offline
Joined: Dec 30, 2004
0.01 posts per day
Posts: 81
Points: 7,351
  MSN Messenger 
I updated as the install.txt says. Had to run the ALTER stuff found in this thread and still find no place that it enables the custom titles. Nor editprofile allowing it to be edited.

Since I'm reading this I've attached the zip file that we are going from here. I think this would be nice to use but following the instructions given don't seem to net the results sought.



Attached Files
Customtitle.zip (7.51 KB, Downloaded: 5232 Time(s))



_________________
[ Register or login to view links on this board.]
Back to top Reply with quote
#3   re: Custom Title MOD (problem whit the tilte_install.php)
christianb
CZ Newbie
christianb has been a member for over 19 year's 19 Year Member
usa.gif arkansas.gif
Occupation: Admin, ISP tech support
Age: 49
Gender: Male
Website:
Status: Offline
Joined: Jan 30, 2005
0.00 posts per day
Posts: 5
Points: 428
   
Found the problem - fixed it. Thanks for all your help! icon_smile.gif

The problem had something to do with editing a line in usercp_register.php - it said to insert 'custom_title' => 'custom_title' after 'interests' => 'interests' but I didn't see anything about ) so I ignored it - moving that ) fixed it.

what I had:
'interests' => 'interests'), 'custom_title' => 'custom_title';


what it should have been:
'interests' => 'interests', 'custom_title' => 'custom_title');



Back to top Reply with quote
#4   re: Custom Title MOD (problem whit the tilte_install.php)
christianb
CZ Newbie
christianb has been a member for over 19 year's 19 Year Member
usa.gif arkansas.gif
Occupation: Admin, ISP tech support
Age: 49
Gender: Male
Website:
Status: Offline
Joined: Jan 30, 2005
0.00 posts per day
Posts: 5
Points: 428
   
Ever since I installed this mod, and I've not edited emailer.php at all, I've been getting this problem:

DEBUG MODE

Line : 238

File : emailer.php

which refers to:
235                // Did it work?
236                if (!$result)
237                {
238                        message_die(GENERAL_ERROR, 'Failed sending email :: ' . (($this->use_smtp) ? 'SMTP' : 'PHP') . ' :: ' . $result, '', __LINE__, __FILE__);
239                }
240
241                return true;



Back to top Reply with quote
#5   re: Custom Title MOD (problem whit the tilte_install.php)
christianb
CZ Newbie
christianb has been a member for over 19 year's 19 Year Member
usa.gif arkansas.gif
Occupation: Admin, ISP tech support
Age: 49
Gender: Male
Website:
Status: Offline
Joined: Jan 30, 2005
0.00 posts per day
Posts: 5
Points: 428
   
I believe I've found a workaround for this by changing my email settings on the Forums Admin Configuration panel. Since I've started the website, I've never had to use the SMTP Server for email - when I switched it - I started getting the email notifications again. I don't know why this happened, but it did.



Back to top Reply with quote
#6   
Creed
CZ Newbie
 Codezwiz Site Donator
Creed has been a member for over 19 year's 19 Year Member
uk.gif
Gender: Male
Status: Offline
Joined: Dec 20, 2004
0.00 posts per day
Posts: 4
Points: 1,558
   


Originally posted by 0utk4s7 @ Thu Feb 24, 2005 6:29 pm:



Originally posted by Telli @ 23/02/2005, 06:01:45:

That means the field already exists. See if the mod functions ok.

Donīt work icon_cry.gif
Can you give me the sql comand plz???

Sorry my english iīm portuguese

I see what you did, you copied all the sql commands in the install file and there are duplicate ones for different databases.
It should probably look more like this

ALTER TABLE nuke_users ADD COLUMN user_custom_title varchar(255) NULL;
ALTER TABLE nuke_users ADD COLUMN user_custom_title_status tinyint(1) default '0' not null;
INSERT INTO nuke_bbconfig (config_name, config_value) VALUES ('custom_title_days', 0);
INSERT INTO nuke_bbconfig (config_name, config_value) VALUES ('custom_title_posts', 0);
INSERT INTO nuke_bbconfig (config_name, config_value) VALUES ('custom_title_mode', 0);
INSERT INTO nuke_bbconfig (config_name, config_value) VALUES ('custom_title_maxlength', 45);



Back to top Reply with quote
Display posts from previous:      
Add To: Del.icio.us  Digg  Google  Spurl  Blink  Furl  Y! MyWeb  
<< View previous topic View next topic >>
Post new topicReply to topic

Jump to 
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You cannot download files in this forum