|
Page 1 of 2
|
Chaotic
Joined: January 2008
Posts: 1369
Location: Georgia
|
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.
- How do I change the site logo in my website banner?
- What is a favicon and how do I change mine?
- How do I change the sender of the "Welcome" private message?
- 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:
$images['sitelogo'] = $current_template_images . 'sitelogo_small.png';
CHANGE: (change the logo name to your logo name)
What is a favicon and how do I change mine?
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:
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!
____________ | Icy Phoenix ColorizeIt! |
Bipolar Disorder - Not good for you and definitely not good for everyone else.
|
#1 Sat 04 Apr, 2009 01:30 |
|
Sponsors
|
Icy Phoenix is an open source project, you can show your appreciation and support future development by donating to the project.
|
|
DWho
Joined: August 2006
Posts: 1307
Location: hampshire
|
Re: [RC][DOC] How To Customize Some IP Basics
Nice doc... wish that was available when I first started out..
____________ Mods and themes for Icy Phoenix 1.3
IcyPhoenix UK is off-line permanently due to lack of time to update mods.
if anyone is interested in my templates I will upgrade them to Icy 2.0.
|
#2 Thu 23 Apr, 2009 10:28 |
|
Mighty Gorgon
Luca Libralato
Joined: August 2006
Posts: 7192
Location: Borgo San Michele
|
Re: [RC][DOC] How To Customize Some IP Basics
[b]How do I change the sender of th...te message?[/b]
If you have access to the website database, run this query:
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:
define('FOUNDER_ID', '2');
____________ Luca
SEARCH is the quickest way to get support.
Icy Phoenix ColorizeIt - CustomIcy - HON
|
#3 Sun 26 Apr, 2009 19:16 |
|
slowsoulz
Joined: November 2008
Posts: 4
|
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!!!
|
#4 Wed 01 Jul, 2009 22:14 |
|
buldo
Joined: August 2006
Posts: 474
Location: Borgo San Michele
|
Re: [RC][DOC] How To Customize Some IP Basics
That site runs phpBB3 not Icy Phoenix
Please use the right section for your requests http://www.icyphoenix.com/viewforum.php?f=32
____________ ~~~ Andrea ~~~
User #379756 on Linux Counter
"If you can't apt-get something, it isn't useful or doesn't exist!!"
|
#5 Wed 01 Jul, 2009 23:23 |
|
spydie
Joined: December 2008
Posts: 1796
Location: In the Boxes
|
Re: [DOC] How To Customize Some IP Basics
If we´re talking about IP 1.3.0.53
this is wrong
- UPDATE phpbb_config SET config_value = '2' WHERE config_name = 'main_admin_id';
it should be
- UPDATE ip_config SET config_value = '2' WHERE config_name = 'main_admin_id';
____________ Out of Order
|
#6 Thu 30 Jul, 2009 00:50 |
|
Chaotic
Joined: January 2008
Posts: 1369
Location: Georgia
|
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_...
____________ | Icy Phoenix ColorizeIt! |
Bipolar Disorder - Not good for you and definitely not good for everyone else.
|
#7 Thu 30 Jul, 2009 08:49 |
|
Ripley
Joined: October 2009
Posts: 76
Location: Ufa
|
Re: CUSTOMIZATION - How To Customize Some IP Basics
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
<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 |
#8 Mon 08 Feb, 2010 16:03 |
|
Mighty Gorgon
Luca Libralato
Joined: August 2006
Posts: 7192
Location: Borgo San Michele
|
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.).
____________ Luca
SEARCH is the quickest way to get support.
Icy Phoenix ColorizeIt - CustomIcy - HON
|
#9 Sun 14 Feb, 2010 12:54 |
|
Informpro
Joined: October 2008
Posts: 1110
Location:
|
Re: CUSTOMIZATION - How To Customize Some IP Basics
-
<?php
-
function encodeDir($dirname)
-
{
-
if( !is_dir( $dirname ) )
-
{
-
throw new InvalidArgumentException( 'The path `' . $dirname . '` is not existing' );
-
}
-
$dir = @opendir( $dirname );
-
if( !$dir )
-
{
-
throw new InvalidArgumentException( 'The path `' . $dirname . '` cannot be opened' );
-
}
-
while( ( $file = @readdir( $dir ) ) !== false )
-
{
-
if( $file != '.' && $file != '..' )
-
{
-
if( is_dir( $dirname . $file ) )
-
{
-
encodeDir( $dirname . $file );
-
}
-
else
-
{
-
$content = file_get_contents( $dirname . $file );
-
file_put_contents( $dirname . $file, utf8_encode( $contents ) );
-
}
-
}
-
}
-
@closedir( $dir );
-
}
-
-
encodeDir( '/' );
Recursive utf8-encode function :).
|
#10 Mon 15 Feb, 2010 08:54 |
|
Ripley
Joined: October 2009
Posts: 76
Location: Ufa
|
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.).
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?
|
#11 Thu 04 Mar, 2010 17:19 |
|
Mighty Gorgon
Luca Libralato
Joined: August 2006
Posts: 7192
Location: Borgo San Michele
|
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.
____________ Luca
SEARCH is the quickest way to get support.
Icy Phoenix ColorizeIt - CustomIcy - HON
|
#12 Sun 14 Mar, 2010 09:57 |
|
Costa
Joined: August 2009
Posts: 175
Location: Athens Hellas
|
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:
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)
|
#13 Thu 13 May, 2010 14:57 |
|
Mighty Gorgon
Luca Libralato
Joined: August 2006
Posts: 7192
Location: Borgo San Michele
|
Re: CUSTOMIZATION - How To Customize Some IP Basics
Open includes/usercp_register.php and replace the user_id in this line:
$privmsg_sender = $founder_id;
____________ Luca
SEARCH is the quickest way to get support.
Icy Phoenix ColorizeIt - CustomIcy - HON
|
#14 Tue 18 May, 2010 00:07 |
|
Costa
Joined: August 2009
Posts: 175
Location: Athens Hellas
|
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
??
|
#15 Tue 18 May, 2010 00:12 |
|
|
Page 1 of 2
|
Was this topic useful?
Was this topic useful?
Link this topic |
URL |
|
BBCode |
|
HTML |
|
Similar Topics
Similar Topics
You cannot post new topics You cannot reply to topics You cannot edit your posts You cannot delete your posts You cannot vote in polls You cannot attach files You can download files You cannot post calendar events
|
|
|
|