CUSTOMIZATION - How To Customize Some IP Basics »  Show posts from    to     

Icy Phoenix


Documentation And How To - CUSTOMIZATION - How To Customize Some IP Basics



Chaotic [ Sat 04 Apr, 2009 01:30 ]
Post subject: 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: [Hide] [Select]
$images['sitelogo'] = $current_template_images . 'sitelogo_small.png';


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

Code: [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: [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!



DWho [ Thu 23 Apr, 2009 10:28 ]
Post subject: Re: [RC][DOC] How To Customize Some IP Basics
Nice doc... wish that was available when I first started out..



Mighty Gorgon [ Sun 26 Apr, 2009 19:16 ]
Post subject: 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: [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: [Hide] [Select]
define('FOUNDER_ID', '2');


slowsoulz [ Wed 01 Jul, 2009 22:14 ]
Post subject: Re: [RC][DOC] How To Customize Some IP Basics
The instructions weren't complete.

I If you want to add things to the http://www.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!!!


buldo [ Wed 01 Jul, 2009 23:23 ]
Post subject: 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


spydie [ Thu 30 Jul, 2009 00:50 ]
Post subject: Re: [DOC] How To Customize Some IP Basics
If we´re talking about IP 1.3.0.53

this is wrong

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


it should be

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


Chaotic [ Thu 30 Jul, 2009 08:49 ]
Post subject: 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_...


Ripley [ Mon 08 Feb, 2010 16:03 ]
Post subject: 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: [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'] = 'Форум профессиональных игроков в покер, турниры, обсуждения.';


Mighty Gorgon [ Sun 14 Feb, 2010 12:54 ]
Post subject: 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.).


Informpro [ Mon 15 Feb, 2010 08:54 ]
Post subject: Re: CUSTOMIZATION - How To Customize Some IP Basics
Code: [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 :).


Ripley [ Thu 04 Mar, 2010 17:19 ]
Post subject: 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?


Mighty Gorgon [ Sun 14 Mar, 2010 09:57 ]
Post subject: 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.


Costa [ Thu 13 May, 2010 14:57 ]
Post subject: 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: [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)


Mighty Gorgon [ Tue 18 May, 2010 00:07 ]
Post subject: Re: CUSTOMIZATION - How To Customize Some IP Basics
Open includes/usercp_register.php and replace the user_id in this line:

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


Costa [ Tue 18 May, 2010 00:12 ]
Post subject: 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: [Hide] [Select]
$privmsg_sender = $300_id;
??


Informpro [ Tue 18 May, 2010 11:41 ]
Post subject: Re: CUSTOMIZATION - How To Customize Some IP Basics
No, it's
Code: [Hide]
  1. $privmsg_sender = 300; 
(why search hard solution when it's easy ? lol).


Costa [ Tue 18 May, 2010 11:45 ]
Post subject: Re: CUSTOMIZATION - How To Customize Some IP Basics
LoL...
nice and Thanks


calx44 [ Mon 13 Dec, 2010 20:43 ]
Post subject: Re: CUSTOMIZATION - How To Customise Page.
Hi, I have searched the forum and have not found a topic that deals with this, i may have missed it. I would like to know if there is a way, and if there is how to do it, of editing the overall page using html.

I have reasonable html knowledge, although i am not an expert, and I would like to create the effect muck like this page:http://boards.mpora.com/forums/, so that the forum is effectively part of my existing website. I would like to have my own header with logo and links and a side column with some links and advertising in it, much like the home page of my website www.windsurfblog.org .

Can I do it by somehow editing the code for the page that appears if you view the source code in the browser?
Can I somehow embed the code within that of my existing site?
Can I change the format of the existing PHP files in some way? or any other suggestions?

Many thanks and i hope this all made sense.
Regards
Callum


mort [ Tue 14 Dec, 2010 23:54 ]
Post subject: Re: CUSTOMIZATION - How To Customize Some IP Basics
You can use the existing CMS to do just about everything you are asking about. And in particular, creating something like this. http://boards.mpora.com

The /CMS/*.tpl files ARE html and can be edited with any script or mark-up you wish either through ADMIN or manually.

Read the documentation section on "How to create a new page" (Or something like that?)

And then open your questions in a NEW thread.

By the way - Your site looks absolutely AWFUL using higher resolutions above what you have "fixed" it at, it also contains 163 Warnings of poorly applied or missing mark-up that should be fixed if it's ever going to be suitable for all browsers.



calx44 [ Thu 23 Dec, 2010 21:12 ]
Post subject: Re: CUSTOMIZATION - How To Customize Some IP Basics
hi, thanks for that mate

I'll try it out. You mention errors and about resolution, how do i see these errors and how do i sort out the resolution problems? because as i say, i'm not an expert in html, i can just about make an ok lokking site, i have updated it a bit.www.windsurfblog.org

thanks, regards,

callum.




Powered by Icy Phoenix