YAFLogo

wesohaire
  • wesohaire
  • 51.8% (Neutral)
  • YAF Forumling Topic Starter
17 years ago
Is there documentation anywhere on how to create your own theme? I'm new to YAF (but not new to modifying scripts/web apps). Can anyone give me a general overview on what to do? Also if you know if there's documentation on upgrading to the newest version (coming from v1.0.0) that would be helpful. Thanks!
Sponsor
guest
17 years ago
Unfortunately, I don't think there is any documentation. I've been searching for the same thing, but I'm just not finding it. So, I'm trying to come up with some, I'm taking one of the other theme and re-coding it and as I do so writing a sort of "How To" guide for it.

When I'm done with it, I'll share it ^_^

If anyone else has already done this, or knows of someone who has, please share with us 🙂 I love the yetanotherforum but its diffcult as hell to re-style it if you don't know what your doing!

newbie
  • newbie
  • 56% (Neutral)
  • YAF Forumling
17 years ago

Is there documentation anywhere on how to create your own theme? I'm new to YAF (but not new to modifying scripts/web apps). Can anyone give me a general overview on what to do? Also if you know if there's documentation on upgrading to the newest version (coming from v1.0.0) that would be helpful. Thanks!

wesohaire wrote:

You can change themes by edit file *.css and eidt picture in directory themes, so it easy ! What you see what you get ! :cheesy:
digioz
  • digioz
  • 54.2% (Neutral)
  • YAF Forumling
16 years ago
I just started looking at it myself, but this is probably one of the easiest theme system I have ever work with. :)

Here is how I did it:

1. Copy an existing "xml" template file in the "themes" folder (such as "yafpro.xml" ), and paste it in the same directory, renaming it to the theme name you want (something like "mytheme.xml" ).

2. Open the xml file in notepad or an xml editor, and change the following tag's attributes to your theme:


<Resources theme="mytheme" dir="mytheme">

3. Go through each image in the "BUTTONS", "ICONS", "SORT" and "VOTE" sections, and replace them with the name of images you wish to use for your theme.

4. Copy the "yafpro" folder, and rename it to the name you specified for the "dir" attribute above.

5. Open the file "theme.css" and change / replace the style sheet with the style sheet you wish to use for your theme.

6. Delete all existing images in the "mytheme" directory, and replace them with your own images.

7. Log in to the Admin section's Board Settings menu option and select your theme from the list of themes in the combo box.

That should do it!

Pete


Pete Soheil

DigiOz Multimedia

www.digioz.com 

digioz
  • digioz
  • 54.2% (Neutral)
  • YAF Forumling
16 years ago
lol ... after I made this post I finally came across the official documentation for creating themese here, which is pretty much the same thing as what I did:

http://wiki.yetanotherforum.net/YetAnotherForum%20-%20Basic%20Theme%20Design.ashx 

:)


Pete Soheil

DigiOz Multimedia

www.digioz.com 

test2005
16 years ago
Documentation is an option of the top menu!

:P


.....the man in black fled across the desert..........and the gunslinger followed.....