User:D3vcho: Difference between revisions From Online Manual

Jump to: navigation, search
mNo edit summary
 
(13 intermediate revisions by 2 users not shown)
Line 1: Line 1:
==Why Is My New Thread Indicator Missing==
When using a language other than English, the new thread indicator might be missing. This is because you have installed a custom theme after installing a language. This will cause the indicator to be missing in the new theme.


== How to use Advanced Profile Fields ==
To solve this problem, in your forum's directory, go to ''Themes > Your current theme > English'' and copy the two files ''(index.php and new.gif)''. Return to your theme's folder and create a folder (if it has not yet been created) and name it according to the language that your forum is using. For example, if you are using Spanish_es UTF-8, create a folder and name it ''"spanish_es-utf8"''. Finally, paste the two files into the folder.


'''NOTE:''' If you want more information about '''Advanced Profile Fields''', how to enable them and what it is, please check [[Features and Options#Profile Fields|Profile Fields]].
If you want the indicator to be displayed in your preferred language, you can make your own indicator and place it in the folder you created previously (in this case '' spanish_es-utf8'') within your theme's images folder and name it ''"new.gif"''.
 
== Adding a text Profile Field ==
We are going to learn how to add a simple profile field, just with text. Once you have the ''Advanced Profile Fields'' option enabled, navigate to: ''Admin > Configuration > Features and Options... > Profile Fields''. At the bottom of the page you will see the '''Custom Profile Fields''' box. Click the "New Field" button.
 
Fill in the '''Name:''' and '''Description:''' fields according to the Profile Field you want to add. When you arrive to the '''Choose Placement:''' field, be sure it is marked as ''"Standard (with title)"'' or ''"Above Signature"''. It will be displayed at the end of the poster information section or above the user's signature depending on the option selected. You can fill in the rest of fields as requires the use of the Profile Field.
 
== Adding an icon as Profile Field ==
We already know how to add a simple Profile Field to our forum. Now, we are going to learn how to display a Profile Field as an icon, for example, to add someone to Skype by directly clicking an icon.
 
Again, navigate to the adding a custom profile field page as mentioned before. Fill in the '''Name:''' and '''Description:''' fields according to the Profile Field you want to add. hen you arrive to the '''Choose Placement:''' field, be sure it is marked as "With Icons". It will be displayed next to the '''Profile''', '''Email''' and '''PM''' icons in the poster information.
Now, we will have to put some HTML code to make the action with the button. Search the field '''Show Enclosed Within Text (Optional):'''. With this field we are going to use what the user entered in the field to make the action.
 
The variables that we can use are: '''{INPUT}''', '''{SCRIPTURL}''', '''{IMAGES_URL}''' and '''{DEFAULT_IMAGES_URL}'''. You can see for what is used each one of them by clicking the interrogation sign next to the '''"Show Enclosed Within Text (Optional):"''' text.
 
The code to add in the box is: <code><a href="http://website.com/{INPUT}"><img src="{DEFAULT_IMAGES_URL}/icon.gif" alt="{INPUT}" /></a></code>
Now, you can edit the code according to your needs:
'''*#''' Edit '''http://website.com/{INPUT}''' depending on what you want to do. If you want to add someone to skype by clicking the icon, then, you should replace it with <code>'''skype:{INPUT}'''</code>. If you want to redirect to the user's Twitter profile, then add: <code>'''http://twitter.com/{INPUT}'''</code>
'''*#''' Edit '''{DEFAULT_IMAGES_URL}''' depending on: If you are using the default forum theme, use '''{DEFAULT_IMAGES_URL}''' but if not, then use '''{IMAGES_URL}'''. This will find the URL to the images directory in your current theme.
'''*#''' Edit '''icon.gif''' according to the name of the icon you want to add.

Latest revision as of 15:20, 12 August 2016

Why Is My New Thread Indicator Missing

When using a language other than English, the new thread indicator might be missing. This is because you have installed a custom theme after installing a language. This will cause the indicator to be missing in the new theme.

To solve this problem, in your forum's directory, go to Themes > Your current theme > English and copy the two files (index.php and new.gif). Return to your theme's folder and create a folder (if it has not yet been created) and name it according to the language that your forum is using. For example, if you are using Spanish_es UTF-8, create a folder and name it "spanish_es-utf8". Finally, paste the two files into the folder.

If you want the indicator to be displayed in your preferred language, you can make your own indicator and place it in the folder you created previously (in this case spanish_es-utf8) within your theme's images folder and name it "new.gif".



Advertisement: