Pack93z
  • Pack93z
  • Select Member Topic Starter
13 years ago
Sometime when you have time.. post your vision on the skin design for this site.. maybe if I have some free time I will play with it and see what I can come up with.. something to make it less... pale white. 😲
"The oranges are dry; the apples are mealy; and the papayas... I don't know what's going on with the papayas!"
Methodikal
13 years ago
Haha, shit, I forgot about that. I got so wrapped up in pushing things over, lol.

I'll hand draw some stuff and through it up on photoshop. I do like the stuff that's offered. Oh and it's EASY to make a test website too. I'm excited about that.
Something funny.
UserPostedImage
Methodikal
13 years ago
I'd like to make it clear, the template/theme/skin you currently see for the entire site and forum's is NOT final. It will take quite a long time to get the theme layout I desire, and then skin it to my liking. Yes, that's dictator talk. 🙂
Something funny.
UserPostedImage
Pack93z
  • Pack93z
  • Select Member Topic Starter
13 years ago
Creating a custom Theme/Skin for YAF ... (Some layout info there as well.. basic though.)

Skinning YetAnotherForum is kind of self evident. Just copy an existing theme folder and XML file from the themes folder. All there is to it is a theme.css file in the folder (and a bunch of images) and the settings in the XML file. Done.



Can you dump out the theme.css and let me take a peak at it.. see what is all involved in it.
"The oranges are dry; the apples are mealy; and the papayas... I don't know what's going on with the papayas!"
Zero2Cool
13 years ago

Actually, you can only create "theme", not "skin". If you want to create theme, , you need to create subforlder in '/themes' directory (e.g. '/themes/mytheme'Wink, then create xml file for your theme directly in themes directory (e.g. 'mytheme.xml'Wink. In xml file, you'll define name and directory in one of first nodes (you must point yaf to directory you just created for theme files).

Best way how to do this is copy some existing theme and change it's files. Basically, you need to change that xml file in themes root. It's structure quite self-explanatory, but don't hesitate to ask if there is something unclear



http://forum.yetanotherforum.net/yaf_postst4367_How-do-I-make-a-skin.aspx 



Edit, change ZIP to CSS  theme.zip You have insufficient rights to see the content.
UserPostedImage
Pack93z
  • Pack93z
  • Select Member Topic Starter
13 years ago
Got an file is corrupt error on the zip file..


On another note.. attachment button has been disabled again. 🤔 Attachments are back.. lol.  Error.jpg You have insufficient rights to see the content.
"The oranges are dry; the apples are mealy; and the papayas... I don't know what's going on with the papayas!"
Zero2Cool
13 years ago

Got an file is corrupt error on the zip file..


On another note.. attachment button has been disabled again. 🤔 Attachments are back.. lol.

Originally Posted by: Pack93z 




did you change the file extension after you downloaded it?
UserPostedImage
Zero2Cool
13 years ago
http://www.spencerdrager.com/2010/05/13/yetanotherform-yaf-themeing-and-layout-customization/ 

YetAnotherForum (YAF — pronounce “laugh”) is a forum package based on ASP.NET (C#) and Microsoft SQL Server. It has tons of features and functionality, and it use my , but when tasked with customizing it… well, that can be not quite so easy.
Creating a custom Theme/Skin for YAF

Skinning YetAnotherForum is kind of self evident. Just copy an existing theme folder and XML file from the themes folder. All there is to it is a theme.css file in the folder (and a bunch of images) and the settings in the XML file. Done.
Modifying the Layout of YAF

For as easy as changing the theme of YAF is, changing the actual layout is a time-consuming and involved process. And there are a few things which are not as evident from quick google searches or examining the code. So take a lesson from me and save yourself hours of time.


1. You cannot easily remove elements by commenting out the C#

Almost any main you try to comment out will trigger errors when you try to compile due to dependent blocks elsewhere. And the source of the errors may not always be apparent. You may be able to fix those errors, but chances are it will not be worth your effort. This is a pain because depending on what you want to do you may want to eliminate some elements from showing. This may be typical for ASP.NET, but coming from PHP it prevented a learning curve. Many things you may want to remove can be removed by changing BoardSettings. (See next tip)


2. YafContext.Current.BoardSettings are stored in the database

Once you start investigating the depths of the page and class files of YAF, you will eventually start noticing how many part of the board are in hide/show if blocks based on a value of YafContext.Current.BoardSettings.[something]. Other parts of the forum look to these settings for things.

I can’t tell you how many searches I made trying to find what file BoardSettings are stored in. I still don’t know if there is a file with defaults. I didn’t find it despite much searching.

These settings can be changed in the database under the Registry table. Easy peasy? I got thrown off because many of the settings are not in the table. If they are not in the table, you will have to insert a row. The “value” field is a string, so numbers and boolean values are stored just as their string equivalent. i.e. a true value can be stored as the string “true”.

3. The logical structure of the code is as follows

This may seem elementary, but I’m new to ASP.NET and working with modifying larger(ish) packages. It would have been helpful to me to have a diagram or even just a quick explanation of the layout of what calls what. YAF file structure diagram

UserPostedImage
As you can see, any single page may reference a dozen or two files. This can be a serious pain, as those .cs files in the YAF.Controls.dll are in my experience, very tedious to edit. I didn’t realize I neede the SRC version until I realized I could not access TopicLine.cs, which is necessary to change how the single line each topic is displayed as when you look at a single forum.

And to be clear: There are many more pages, controls, and elements within Controls.dll that aren’t shown here. Also, there may be some exceptions to the hierarchy shown here.


4. CSS Class names do not always describe what they refer to

With class names like .header1, .header1Title, and .rightItem, it is not always easy to tell what element these CSS classes are referring to. This can be particularly challenging when you want to edit what they are referred to and you can’t locate which source file the element it is referring to spawns in. This is more of a heads up than an actual tip.
Enjoy, and Contribute

That’s all the tips I have for you today about YetAnotherForum. In my one-day’s experience with them, I found it to be a little frustrating, however now that I am more familiar with it I feel more confident in the likelihood I would be able to switch things up more rapidly. I hope these tips help other newbies trying to do what I was doing.

If you have any tips/tricks of your own you’d like to contribute, please feel free to share and comment.


UserPostedImage
Pack93z
  • Pack93z
  • Select Member Topic Starter
13 years ago
Hmm.. that posts looks so familiar. 🖐
"The oranges are dry; the apples are mealy; and the papayas... I don't know what's going on with the papayas!"
Fan Shout
Mucky Tundra (2h) : Or ties, but let's be real here
Mucky Tundra (2h) : Other scenario was Falcons+Rams losses
Mucky Tundra (2h) : Needed a Falcons loss for a Seahawk loss to clinch
buckeyepackfan (2h) : Am I wring in saying if Tge Vikings beat The Seahawks, The Packers clinch?
Mucky Tundra (21-Dec) : Agreed; you stinks
Zero2Cool (21-Dec) : I'm not beating anyone. I stinks.
Mucky Tundra (21-Dec) : rough injury for tank dell. guy can't catch abreak
beast (21-Dec) : So far the college playoffs have sucked... One team absolutely dominates the other
beast (21-Dec) : Well even if you weren't positive towards a guy, you wouldn't nessarily want to tell the media that (if they don't know about it)
Martha Careful (21-Dec) : I think MLF want Love to look past the end half issues, and feel good about his play. Our coaches generally keep a very positive tone.
beast (21-Dec) : I think a great running game will do that for most QBs
packerfanoutwest (21-Dec) : Coach Matt LaFleur has said quarterback Jordan Love is playing the best football of his career.
beast (21-Dec) : Oh, that's how you keep beating buckeye, with cheating
Zero2Cool (20-Dec) : There is a rule that if your name starts with 'b' you lose 15 points. Hey, I don't make the rules, I just enforce them!
wpr (20-Dec) : and then there is Beast. Running away with it all.
beast (20-Dec) : As of tonight, 3 way tie for 2nd in Pick'em, that battle is interesting!
beast (20-Dec) : Lions vs Vikings could be the main last game as it could determine division winners or #1 vs #2 seed
Mucky Tundra (20-Dec) : Or if KC needs to win for the #1 seed
Mucky Tundra (20-Dec) : Right now it looks like the only prime worthy games are Det-Minny and KC-Denver (if Denver can clinch a wild card spot)
Mucky Tundra (20-Dec) : The entirety of week 18 being listed as flex is weird
Zero2Cool (19-Dec) : Matt LaFleur today says unequivocally "Ted Thompson had nothing to do with the drafting of Jordan Love."
Zero2Cool (19-Dec) : Apparently, the editing is what pieces comments together. That Ted thing ... fake news.
Zero2Cool (19-Dec) : LaFleur "opportunity that Ted Thompson thought was too good to pass up"
Zero2Cool (19-Dec) : Jordan Love pick was Ted Thompson's idea.
Mucky Tundra (19-Dec) : Kyle Shanahan on signing De'Vondre Campbell as a FA last offseason: “We obviously made a mistake.”
packerfanoutwest (19-Dec) : Alexander’s last season with GB
Martha Careful (18-Dec) : if I were a professional athlete, I would probably look to see who the agent is for Kirk Cousins and then use him
beast (18-Dec) : $100 million fully guaranteed Kirk Cousins gets benched for rookie
Mucky Tundra (18-Dec) : a lower case b
Mucky Tundra (18-Dec) : The real lie is how beast capitalized his name in his message while it's normally spelled with
packerfanoutwest (18-Dec) : haha that's a lie
beast (17-Dec) : Despite what lies other might tell, Beast didn't hate the Winter Warnings, it felt refreshing to Beast for some reason.
Zero2Cool (17-Dec) : whiteout uniforms in general are pretty lame and weak. NFL greed at it's worst
Martha Careful (17-Dec) : The Viking uniforms, the whiteout uniforms specifically absolutely suck
beast (17-Dec) : Thanks Zero2Cool, looks a lot better now
beast (17-Dec) : Seems like someone has a crush on me, can't stop talking about me
Zero2Cool (17-Dec) : Should be gooder now. The forum default theme went to goofy land.
Zero2Cool (17-Dec) : What the hell
packerfanoutwest (17-Dec) : yeah beast hates the Winter Warning Unies
Mucky Tundra (16-Dec) : Okay I'm glad to know it's not just something happening to me lol
Mucky Tundra (16-Dec) : Zero, did you copy the Packers uniforms from last night and white out the board?
beast (16-Dec) : Oh crap, is the board going to the Winter Warning Uniforms too?!? It's all white on white right now!
Zero2Cool (16-Dec) : WR Odell Beckham Jr is officially a free agent after clearing waivers.
Zero2Cool (16-Dec) : Packers are 6th in sacks.
Zero2Cool (16-Dec) : RB David Montgomery will undergo season-ending knee surgery.
Mucky Tundra (16-Dec) : Dan Campbell on onside kick with 12 minutes left: In hindsight, wish I didn’t do that
Zero2Cool (16-Dec) : They have that whole 12th man thing so ...
Zero2Cool (16-Dec) : Of the times we've played there, I just can't recall hearing our fans.
wpr (16-Dec) : Well done jdlax. Well done.
wpr (16-Dec) : I think more likely to be Pack fans that live in the area.
Please sign in to use Fan Shout
2024 Packers Schedule
Friday, Sep 6 @ 7:15 PM
Eagles
Sunday, Sep 15 @ 12:00 PM
COLTS
Sunday, Sep 22 @ 12:00 PM
Titans
Sunday, Sep 29 @ 12:00 PM
VIKINGS
Sunday, Oct 6 @ 3:25 PM
Rams
Sunday, Oct 13 @ 12:00 PM
CARDINALS
Sunday, Oct 20 @ 12:00 PM
TEXANS
Sunday, Oct 27 @ 12:00 PM
Jaguars
Sunday, Nov 3 @ 3:25 PM
LIONS
Sunday, Nov 17 @ 12:00 PM
Bears
Sunday, Nov 24 @ 3:25 PM
49ERS
Thursday, Nov 28 @ 7:20 PM
DOLPHINS
Thursday, Dec 5 @ 7:15 PM
Lions
Sunday, Dec 15 @ 7:20 PM
Seahawks
Monday, Dec 23 @ 7:15 PM
SAINTS
Sunday, Dec 29 @ 12:00 PM
Vikings
Saturday, Jan 4 @ 11:00 PM
BEARS
Recent Topics
2h / Green Bay Packers Talk / Mucky Tundra

2h / Green Bay Packers Talk / Zero2Cool

23h / Green Bay Packers Talk / packerfanoutwest

19-Dec / Green Bay Packers Talk / Zero2Cool

19-Dec / Random Babble / Zero2Cool

18-Dec / Green Bay Packers Talk / beast

17-Dec / Green Bay Packers Talk / wpr

17-Dec / Featured Content / Zero2Cool

16-Dec / Green Bay Packers Talk / beast

16-Dec / Green Bay Packers Talk / Martha Careful

16-Dec / Green Bay Packers Talk / beast

16-Dec / Feedback, Suggestions and Issues / Mucky Tundra

16-Dec / Green Bay Packers Talk / Zero2Cool

16-Dec / Green Bay Packers Talk / Zero2Cool

16-Dec / Green Bay Packers Talk / Zero2Cool

Headlines
Copyright © 2006 - 2024 PackersHome.com™. All Rights Reserved.