Icy Phoenix

     
 

CUSTOMIZATION - How To Customize Some IP Basics

CUSTOMIZATION - How To Customize Some IP Basics

Article
Reply with quote    Download Post  
Post CUSTOMIZATION - How To Customize Some IP Basics 
 
How To Customize Some Icy Phoenix Basics

This guide will help you customize a few Icy Phoenix basics.

  1. How do I change the site logo in my website banner?
  2. What is a favicon and how do I change mine?
  3. How do I change the sender of the "Welcome" private message?
  4. How do I change my website keywords, description, and various other information?



How do I change the site logo in my website banner?

You can change the site logo in your website banner by replacing the current graphic with your own.  Depending on your template title, this is the path you would upload your new logo: /templates/YOUR_STYLE/images/YOUR_STYLE_IMG_FOLDER/sitelogo_small.png

If you are simply replacing the default sitelogo_small.png graphic, you should make sure your logo is of the same filetype.  Notice the current filetype is .png.

If you wish to change the logo to a different filetype such .gif, .jpg, .PNG, .bmp, etc., open: ip_root/templates/default/default.cfg.

FIND:

Code: [Download] [Hide] [Select]
$images['sitelogo'] = $current_template_images . 'sitelogo_small.png';


CHANGE: (change the logo name to your logo name)

Code: [Download] [Hide] [Select]
sitelogo_small.png



What is a favicon and how do I change mine?

 abfavicon

A favicon is a website icon that is displayed in a website's address bar.  This is a favorite of many webmasters because when their website is set as a favorite or bookmarked, their favicon will appear next to the bookmark name in a browser's bookmarks.  This allows visitors to easily find the bookmarked website they want to visit.  Many webmasters use standard or animated favicons.

If you don't already have a favicon, you can create a small, usually 16x16 icon in programs such as Microsoft Paint or Adobe Photoshop.  The favicon can be saved in .ico if you have the plugin for it in Adobe Photoshop.  If you don't have Adobe Photoshop, you can still create your favicon using Microsoft Paint.

Once you have created your .jpg, .gif, .png icon, you can convert it to an .ico file here.

Rename the file, if it hasn't been done already, to favicon.ico.  Make sure it keeps the .ico file extension.

Upload this image to ip_root/images/.  Overwrite the old favicon.ico file already on your server.  You should now clear your website cache and close all browser windows.  The new favicon should now be seen when visiting your website.


How do I change the sender of the "Welcome" private message?

If you have access to the website database, run this query:

Code: [Download] [Hide] [Select]
UPDATE phpbb_config SET config_value = '2' WHERE config_name = 'main_admin_id';


Be sure to change the number 2 with the user ID of the account you wish for it to be sent from.


How do I change my website keywords, description, and various other information?

OPEN: ip_root/language/YOUR_LANGUAGE/lang_main_settings.php.

Feel free to change anything in this file!





 
Chaotic - View user's profile Send private message  
Chaotic [ Sat 04 Apr, 2009 01:30 ]
Icy Phoenix is an open source project, you can show your appreciation and support future development by donating to the project.

Support us


CUSTOMIZATION - How To Customize Some IP Basics

Comments
Reply with quote    Download Post  
Post Re: [RC][DOC] How To Customize Some IP Basics 
 
Nice doc... wish that was available when I first started out..

   



 
DWho - View user's profile Send private message  
DWho [ Thu 23 Apr, 2009 10:28 ]
Reply with quote    Download Post  
Post Re: [RC][DOC] How To Customize Some IP Basics 
 
Chaotic wrote: [View Post]
[b]How do I change the sender of th...te message?[/b]

If you have access to the website database, run this query:

Code: [Download] [Hide] [Select]
UPDATE phpbb_config SET config_value = '2' WHERE config_name = 'main_admin_id';


Be sure to change the number 2 with the user ID of the account you wish for it to be sent from.

Just to clarify one thing...

In constants.php you should also edit this line:
Code: [Download] [Hide] [Select]
define('FOUNDER_ID', '2');




 
Mighty Gorgon - View user's profile Send private message  
Mighty Gorgon [ Sun 26 Apr, 2009 19:16 ]
Reply with quote    Download Post  
Post Re: [RC][DOC] How To Customize Some IP Basics 
 
The instructions weren't complete.

I If you want to add things to the h**p://***.freakybehavior.com/forum/ complete banner at the top, how do you do that?

I found the "top_header.png" and it repeats. But I want to change the middle part of the banner to read What's your Freak Song?TM at the top.
In this example, where the blue part of the banner at the top of the screen is located. How can I do that?

When I made a banner, the dimensions would only be 262x120. When I made it that size, it repeated. I changed the stylesheet to "no-repeat" and that didn't change anything.

HELP!!!



 
slowsoulz - View user's profile Send private message  
slowsoulz [ Wed 01 Jul, 2009 22:14 ]
Reply with quote    Download Post  
Post Re: [RC][DOC] How To Customize Some IP Basics 
 
slowsoulz wrote: [View Post]
...http://www.freakybehavior.com/forum/ ...


That site runs phpBB3 not Icy Phoenix
Please use the right section for your requests http://www.icyphoenix.com/viewforum.php?f=32



 
buldo - View user's profile Send private message  
buldo [ Wed 01 Jul, 2009 23:23 ]
Reply with quote    Download Post  
Post Re: [DOC] How To Customize Some IP Basics 
 
If we´re talking about IP 1.3.0.53

this is wrong

Code: [Download] [Hide]
  1. UPDATE phpbb_config SET config_value = '2' WHERE config_name = 'main_admin_id'; 


it should be

Code: [Download] [Hide]
  1. UPDATE ip_config SET config_value = '2' WHERE config_name = 'main_admin_id'; 




 
spydie - View user's profile Send private message  
spydie [ Thu 30 Jul, 2009 00:50 ]
Reply with quote    Download Post  
Post Re: [DOC] How To Customize Some IP Basics 
 
That depends what your table prefix is.

Maybe it's not phpBB_ or ip_...maybe it's lolwtf_...



 
Chaotic - View user's profile Send private message  
Chaotic [ Thu 30 Jul, 2009 08:49 ]
Reply with quote    Download Post  
Post Re: CUSTOMIZATION - How To Customize Some IP Basics 
 
Chaotic wrote: [View Post]
How do I change my website keywords, description, and various other information?[/url]

OPEN: ip_root/language/YOUR_LANGUAGE/lang_main_settings.php.

Feel free to change anything in this file!



When I changed this meta names and descriptions and look at the code of index page I saw only this
Code: [Download] [Hide] [Select]
<meta name="description" content="Форум профессиональных игроков в покер, турниры, обсуждения." />
<meta name="keywords" content="покер форум, пароли на фрироллы, фриролл вконтакте, фил хельмут, wsop, хенд, многостоловые турниры, nl holdem, сателлит, разборы рук, ребай турниры, сит-энд-гоу, stt турнир, хедз-ап, кеш игра, омаха, пот лимит, статьи по омахе, стратегия покера, покер румы онлайн, бездепозитные бонусы, супер бездеп, покерное видео, воды по мтт" />
<meta name="category" content="general" />

Why they not changing into russian letters? I edited lang_main_settings.php with notepad++ in original it was
$lang['Index'] = 'Покер форум';
$lang['Default_META_Keywords'] = 'покер форум, пароли на фрироллы, фриролл вконтакте, фил хельмут, wsop, хенд, многостоловые турниры, nl holdem, сателлит, разборы рук, ребай турниры, сит-энд-гоу, stt турнир, хедз-ап, кеш игра, омаха, пот лимит, статьи по омахе, стратегия покера, покер румы онлайн, бездепозитные бонусы, супер бездеп, покерное видео, воды по мтт';
$lang['Default_META_Description'] = 'Форум профессиональных игроков в покер, турниры, обсуждения.';




 
Edited by DWho, Mon 08 Feb, 2010 23:47: added code tags to make post easier to read
Ripley - View user's profile Send private message  
Ripley [ Mon 08 Feb, 2010 16:03 ]
Reply with quote    Download Post  
Post Re: CUSTOMIZATION - How To Customize Some IP Basics 
 
I guess the reason is that you are not using UTF-8 encoding and your lang files are not encoding using UTF-8.

First thing can be changed in lang_main_settings.php, second thing requires you to use an enhanced text editor, like the free PSPad for example (then you have to change your file encoding.).



 
Mighty Gorgon - View user's profile Send private message  
Mighty Gorgon [ Sun 14 Feb, 2010 12:54 ]
Reply with quote    Download Post  
Post Re: CUSTOMIZATION - How To Customize Some IP Basics 
 
Code: [Download] [Hide]
  1. <?php  
  2.      function encodeDir($dirname)  
  3.      {  
  4.          if( !is_dir( $dirname ) )  
  5.          {  
  6.              throw new InvalidArgumentException( 'The path `' . $dirname . '` is not existing' );  
  7.          }  
  8.          $dir = @opendir( $dirname );  
  9.          if( !$dir )  
  10.          {  
  11.              throw new InvalidArgumentException( 'The path `' . $dirname . '` cannot be opened' );  
  12.          }  
  13.          while( ( $file = @readdir( $dir ) ) !== false )  
  14.          {  
  15.              if( $file != '.' && $file != '..' )  
  16.              {  
  17.                  if( is_dir( $dirname . $file ) )  
  18.                  {  
  19.                      encodeDir( $dirname . $file );  
  20.                  }  
  21.                  else  
  22.                  {  
  23.                      $content = file_get_contents( $dirname . $file );  
  24.                      file_put_contents( $dirname . $file, utf8_encode( $contents ) );  
  25.                  }  
  26.              }  
  27.          }  
  28.          @closedir( $dir );  
  29.      }  
  30.  
  31.      encodeDir( '/' );  
Recursive utf8-encode function :).



 
Informpro - View user's profile Send private message  
Informpro [ Mon 15 Feb, 2010 08:54 ]
Reply with quote    Download Post  
Post Re: CUSTOMIZATION - How To Customize Some IP Basics 
 
Mighty Gorgon wrote: [View Post]
I guess the reason is that you are not using UTF-8 encoding and your lang files are not encoding using UTF-8.

First thing can be changed in lang_main_settings.php, second thing requires you to use an enhanced text editor, like the free PSPad for example (then you have to change your file encoding.).
Thank you for response, but when I translate other lang files in notepad++ they appear correct   The only problem is with main settings..
And when I paste russian text in smiley sreator it do not show letters correct too  

Informpro, should I paste this somewhere?



 
Ripley - View user's profile Send private message  
Ripley [ Thu 04 Mar, 2010 17:19 ]
Reply with quote    Download Post  
Post Re: CUSTOMIZATION - How To Customize Some IP Basics 
 
Which encoding you have for your current DB? UTF-8?

Smiley creator uses fonts and GD lib... not all fonts have russian chars and not all GD Libraries versions support TTF. I think that the only thing you can do is edit the core code by adding a Russian capable font to output the text.



 
Mighty Gorgon - View user's profile Send private message  
Mighty Gorgon [ Sun 14 Mar, 2010 09:57 ]
Reply with quote    Download Post  
Post Re: CUSTOMIZATION - How To Customize Some IP Basics 
 
Chaotic wrote: 



How do I change the sender of the "Welcome" private message?

If you have access to the website database, run this query:

Code: [Download] [Hide] [Select]
UPDATE phpbb_config SET config_value = '2' WHERE config_name = 'main_admin_id';


Be sure to change the number 2 with the user ID of the account you wish for it to be sent from.



how can I change the sender of the "Welcome" private message, without the new sender be main_admin?

example.
main_admin is Costa ID2
sender of the "Welcome" private message, to be MySite ID 300 (and can be a admin ths nick name without any problem, but not main admin)



 
Costa - View user's profile Send private message  
Costa [ Thu 13 May, 2010 14:57 ]
Reply with quote    Download Post  
Post Re: CUSTOMIZATION - How To Customize Some IP Basics 
 
Open includes/usercp_register.php and replace the user_id in this line:

Code: [Download] [Hide] [Select]
$privmsg_sender = $founder_id;




 
Mighty Gorgon - View user's profile Send private message  
Mighty Gorgon [ Tue 18 May, 2010 00:07 ]
Reply with quote    Download Post  
Post Re: CUSTOMIZATION - How To Customize Some IP Basics 
 
Thanks Luca  




edit

sorry for my ignorant
if ID user is 300 then the correct syntax is

Code: [Download] [Hide] [Select]
$privmsg_sender = 0_id;
??



 
Costa - View user's profile Send private message  
Costa [ Tue 18 May, 2010 00:12 ]
Display posts from previous:    

HideWas this topic useful?

Post new topic  Reply to topic  Page 1 of 2
Goto page 1, 2  Next
 




 


 

  cron