Help With Lang_rules.php »  Show posts from    to     

Icy Phoenix


Old Support Topics - Help With Lang_rules.php



darkone [ Thu 15 Mar, 2007 21:25 ]
Post subject: Help With Lang_rules.php
Hey Everyone

This is working fine for me I just want some advice or if someone can point me to a document on how to add/change some things. Here is what I want to be able to do:

- Change fonts
- Have certain rules always expanded so you don't have to click on it
- Inserting blank lines '<br>'
- Make it possible to either increase the icon to expand or be able to make the entire title clickable to expand

Thanks

-D1-


darkone [ Fri 16 Mar, 2007 14:39 ]
Post subject: Re: Help With Lang_rules.php
Anyone have any ideas on how I do some of things stated in the post above?

Thanks

-D1-


Shaythong [ Fri 16 Mar, 2007 15:12 ]
Post subject: Re: Help With Lang_rules.php
Manually edit: languages/yourlang/lang_rules.php


lom hill [ Fri 16 Mar, 2007 15:40 ]
Post subject: Re: Help With Lang_rules.php
darkone wrote: [View Post]
Hey Everyone

This is working fine for me I just want some advice or if someone can point me to a document on how to add/change some things. Here is what I want to be able to do:

- Change fonts
- Have certain rules always expanded so you don't have to click on it
- Inserting blank lines '<br>'
- Make it possible to either increase the icon to expand or be able to make the entire title clickable to expand

Thanks

-D1-



I also have this problem...



Shaythong wrote: [View Post]
Manually edit: languages/yourlang/lang_rules.php



This one I don't work ...

another solution?


darkone [ Fri 16 Mar, 2007 19:13 ]
Post subject: Re: Help With Lang_rules.php
I manually rewrote all of my rules so that I did. For Example this is what I would like to do just want to know if its possible or if I have to edit a different file for it to happen:

Code: [Hide] [Select]
$faq[] = array('File Types Allowed', '8. These file types are allowed to be linked or uploaded on this website:
Archive: zip, rar, tar
Pictures: jpg, gif, png
Audio: mp3, wav
Video: avi, mpg, mov, rm');


Now in its present form it will display all on one line (basically it won't look like above). How do I make it so it shows up like this? I tried using like '<br>' and it causes errors.

Any ideas?

-D1-


lom hill [ Fri 16 Mar, 2007 21:22 ]
Post subject: Re: Help With Lang_rules.php
darkone wrote: [View Post]
I manually rewrote all of my rules so that I did. For Example this is what I would like to do just want to know if its possible or if I have to edit a different file for it to happen:

Code: [Hide] [Select]
$faq[] = array('File Types Allowed', '8. These file types are allowed to be linked or uploaded on this website:
Archive: zip, rar, tar
Pictures: jpg, gif, png
Audio: mp3, wav
Video: avi, mpg, mov, rm');


Now in its present form it will display all on one line (basically it won't look like above). How do I make it so it shows up like this? I tried using like '<br>' and it causes errors.

Any ideas?

-D1-



I also have this problem...

Any ideas?

Lom' Hill



brandsrus [ Fri 16 Mar, 2007 21:26 ]
Post subject: Re: Help With Lang_rules.php
Have done this code change by andrea75 ?

http://www.icyphoenix.com/viewtopic.php?p=10202#p10202


Shaythong [ Fri 16 Mar, 2007 22:01 ]
Post subject: Re: Help With Lang_rules.php
I'll try this on my site.


darkone [ Sat 17 Mar, 2007 13:44 ]
Post subject: Re: Help With Lang_rules.php
Finally figured it out last night

Here is an example:

Code: [Hide] [Select]
$faq[] = array('7. Uploadable File Types and file sizes', 'The following file types are allowed to be uploaded or linked:<br /><br />
Graphic Files: .png, .jpg, .jpeg, .gif, .bmp, .tiff<br />
Video Files: .avi, .mov, .mpg, .mpeg, .rm<br />
Audio Files: .mp3<br />
Document Files: .doc, .ppt, .xls, .txt, .pdf<br />
Compressed Files: .zip, .tar, .rar, .gz, .gzip.<br /><br />
The file sizes have been set on the system if you exceed them it will deny your upload. If it is something you really want uploaded just notify the admin or moderator and we will see what we can do.');


I was forgetting that / in the <br> command that made all the difference. Damn feel dumb now.




Powered by Icy Phoenix