Home  | FAQ  | Search  | Memberlist  | Usergroups  | Register  | Profile  | Log in  | Log in for your private messages
Blog name

 
Post new topic   Reply to topic    myWebland Forum Index -> Support
View previous topic :: View next topic  
Author Message
altinmas
Newbie


Joined: 12 Jun 2006
Posts: 4

PostPosted: Mon Jun 12, 2006 5:09 pm    Post subject: Blog name Reply with quote

How can we add the blog name while installing the script ?
I see and $myblogname code at the settings.php , but I want to write to db and giving the name before install the script.
Best regards.
Back to top
View user's profile Send private message
sean
Site Admin


Joined: 14 Jul 2004
Posts: 671

PostPosted: Tue Jun 13, 2006 1:01 pm    Post subject: Reply with quote

This will take quite a fair amount of work & I dont think i can do that at the moment
Back to top
View user's profile Send private message Send e-mail
altinmas
Newbie


Joined: 12 Jun 2006
Posts: 4

PostPosted: Tue Jun 13, 2006 11:34 pm    Post subject: Ok. Reply with quote

Sorry I'm not a php coder (I familiar with asp) My solution:



Changes for 2.1.4 :

setting.php

kill the or delete $myblogname = " ....."


addition to wizard.php (217)

<tr>
<td align="right">myblogname : </td>
<td ><input type="text" name="myblogname" value="" /></td>
</tr>


AND addition to wizard.php (245)

$myblogname = (!empty($HTTP_POST_VARS['myblogname'])) ? $HTTP_POST_VARS['myblogname'] :'';


AND addition to (257)

$config_data .= '$myblogname = \'' . $myblogname . '\';' . "\n";


Best regards.
Back to top
View user's profile Send private message
sean
Site Admin


Joined: 14 Jul 2004
Posts: 671

PostPosted: Tue Jun 13, 2006 11:38 pm    Post subject: Reply with quote

Yeah but you need to modify the tables, has create a function to put the blog name from the table & include the extracted db info to files that needed that.. not just what you siad below
Back to top
View user's profile Send private message Send e-mail
altinmas
Newbie


Joined: 12 Jun 2006
Posts: 4

PostPosted: Tue Jun 13, 2006 11:42 pm    Post subject: no db change Reply with quote

No: It writes to config.php like timezone or table_prefix.
Back to top
View user's profile Send private message
sean
Site Admin


Joined: 14 Jul 2004
Posts: 671

PostPosted: Wed Jun 14, 2006 1:13 am    Post subject: Re: Blog name Reply with quote

altinmas wrote:
but I want to write to db and giving the name before install the script.
Best regards.


?? I thought above is what you want ????????
Back to top
View user's profile Send private message Send e-mail
Display posts from previous:   
Post new topic   Reply to topic    myWebland Forum Index -> Support All times are GMT
Page 1 of 1

 
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
TNX?

Error. Page cannot be displayed. Please contact your service provider for more details. (32)




Powered by phpBB © 2001, 2005 phpBB Group
Contact Us