Green Bay Packers Forum

Welcome to your Green Bay Packers Online Community!

Since 2006, PackersHome has been providing a unique experience for fans.
Your participation is greatly anticipated!
Login or Register.
4 Pages123>»
Options
Go to last post Go to first unread
Offline Pack93z  
#1 Posted : Thursday, May 19, 2011 10:25:26 AM(UTC)
Rank: Select Member

PackersHome NFL Pick'em - Bronze: 2012

United States
Joined: 3/16/2007(UTC)
Location: North Central Wisconsin
Applause Given: 436
Applause Received: 1,232
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. Blink
thanks Post received 1 applause.
Zero2Cool on 5/27/2011(UTC)
Offline Methodikal  
#2 Posted : Thursday, May 19, 2011 10:27:49 AM(UTC)
Rank: Registered

Joined: 5/17/2011(UTC)
Applause Given: 19
Applause Received: 6
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.
Offline Methodikal  
#3 Posted : Friday, May 20, 2011 5:21:00 PM(UTC)
Rank: Registered

Joined: 5/17/2011(UTC)
Applause Given: 19
Applause Received: 6
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. :)
Offline Pack93z  
#4 Posted : Wednesday, May 25, 2011 5:40:33 PM(UTC)
Rank: Select Member

PackersHome NFL Pick'em - Bronze: 2012

United States
Joined: 3/16/2007(UTC)
Location: North Central Wisconsin
Applause Given: 436
Applause Received: 1,232
Creating a custom Theme/Skin for YAF... (Some layout info there as well.. basic though.)

Quote:
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.
Offline Zero2Cool  
#5 Posted : Wednesday, May 25, 2011 6:20:42 PM(UTC)
Rank: Premier Member

Yahoo! NCAA March Madness - Gold: 2015Yahoo! Fantasy Football - Gold: 2009FleaFlicker Fantasy Football - Silver: 2010Yahoo! NCAA March Madness - Silver: 2011FleaFlicker Fantasy Football - Bronze: 2016ESPN NCAA March Madness - Bronze: 2010Yahoo! NCAA March Madness - Bronze: 2013

United States
Joined: 10/13/2006(UTC)
Location: Green Bay, WI
Applause Given: 2,489
Applause Received: 4,010
Quote:
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.yetanotherf...ow-do-I-make-a-skin.aspx



Edit, change ZIP to CSS
File Attachment(s):
theme.zip (19kb) downloaded 4 time(s).

You cannot view/download attachments. Try to login or register.
Offline Zero2Cool  
#6 Posted : Wednesday, May 25, 2011 6:26:37 PM(UTC)
Rank: Premier Member

Yahoo! NCAA March Madness - Gold: 2015Yahoo! Fantasy Football - Gold: 2009FleaFlicker Fantasy Football - Silver: 2010Yahoo! NCAA March Madness - Silver: 2011FleaFlicker Fantasy Football - Bronze: 2016ESPN NCAA March Madness - Bronze: 2010Yahoo! NCAA March Madness - Bronze: 2013

United States
Joined: 10/13/2006(UTC)
Location: Green Bay, WI
Applause Given: 2,489
Applause Received: 4,010
Offline Pack93z  
#7 Posted : Wednesday, May 25, 2011 6:42:42 PM(UTC)
Rank: Select Member

PackersHome NFL Pick'em - Bronze: 2012

United States
Joined: 3/16/2007(UTC)
Location: North Central Wisconsin
Applause Given: 436
Applause Received: 1,232
Got an file is corrupt error on the zip file..


On another note.. attachment button has been disabled again. :-k Attachments are back.. lol.
Pack93z attached the following image(s):
Error.jpg (18kb) downloaded 38 time(s).

You cannot view/download attachments. Try to login or register.
Offline Zero2Cool  
#8 Posted : Wednesday, May 25, 2011 6:56:44 PM(UTC)
Rank: Premier Member

Yahoo! NCAA March Madness - Gold: 2015Yahoo! Fantasy Football - Gold: 2009FleaFlicker Fantasy Football - Silver: 2010Yahoo! NCAA March Madness - Silver: 2011FleaFlicker Fantasy Football - Bronze: 2016ESPN NCAA March Madness - Bronze: 2010Yahoo! NCAA March Madness - Bronze: 2013

United States
Joined: 10/13/2006(UTC)
Location: Green Bay, WI
Applause Given: 2,489
Applause Received: 4,010
Pack93z said: Go to Quoted Post
Got an file is corrupt error on the zip file..


On another note.. attachment button has been disabled again. :-k Attachments are back.. lol.



did you change the file extension after you downloaded it?
Offline Zero2Cool  
#9 Posted : Thursday, May 26, 2011 6:32:51 PM(UTC)
Rank: Premier Member

Yahoo! NCAA March Madness - Gold: 2015Yahoo! Fantasy Football - Gold: 2009FleaFlicker Fantasy Football - Silver: 2010Yahoo! NCAA March Madness - Silver: 2011FleaFlicker Fantasy Football - Bronze: 2016ESPN NCAA March Madness - Bronze: 2010Yahoo! NCAA March Madness - Bronze: 2013

United States
Joined: 10/13/2006(UTC)
Location: Green Bay, WI
Applause Given: 2,489
Applause Received: 4,010
http://www.spencerdrager...nd-layout-customization/

Quote:
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 <YAF:Element> 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

pic
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.
Offline Pack93z  
#10 Posted : Thursday, May 26, 2011 6:36:29 PM(UTC)
Rank: Select Member

PackersHome NFL Pick'em - Bronze: 2012

United States
Joined: 3/16/2007(UTC)
Location: North Central Wisconsin
Applause Given: 436
Applause Received: 1,232
Hmm.. that posts looks so familiar. \:d/
Rss Feed 
Users browsing this topic
Guest
4 Pages123>»
Forum Jump
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.

Notification

Icon
Error


Fan Shout
Zero2Cool (55m) : There is no emphasis, it's just a little bit of info. Take it or leave it. No harm.
Smokey (59m) : Zero, I believe that you and some others place too much emphasis upon data. no harm intended.
Zero2Cool (1h) : It’s the 1st time since 1970 all 4 conference championship teams finished the regular season on winning streaks of 4+ games
TheKanataThrilla (1h) : Salt mine. Love it.
TheKanataThrilla (1h) : The refs kept that game close. We should have blown them out early.
DarkaneRules (1h) : Hyde and Gunter are special and I'm hopeful D Ran gets back to where he can be
mi_keys (1h) : That whole forum is a salt mine. It's beautiful.
Zero2Cool (1h) : Burnett's back up, Kentrell Brice lead team in tackles.
uffda udfa (6h) : Hilarious reading below. I like Carter. Only guy who gets it.
uffda udfa (6h) : http://boards.dallascowboys.com/topic/71647-so-we-are-supposed-to-believe/#entry3978081
uffda udfa (7h) : Great news.
Zero2Cool (11h) : Jordy has "legitimate hope" to play, per @RobDemovsky.
Zero2Cool (12h) : Packers had one call on defense if called, no issue, wans't called. I didn't watch OL so dunno. I watched WR's
Zero2Cool (12h) : Dallas OL had some holds weren't called and 2 defensive holds, not called.
uffda udfa (12h) : I think the Pi vs just a holding call is a legit complaint. Terrible call.
GoPack1984 (12h) : Dallas can't complain about the officials. They got away with so many defensive holding calls.
uffda udfa (12h) : Dallas radio postgame: Dallas wins 7 out of 10 times.
uffda udfa (12h) : Brice led Pack w/ 6 tackles including the hardest of the game.
uffda udfa (12h) : Post game show said same thing. Everyone wondering how it didn't stay left.
Zero2Cool (12h) : Tornado warning forces players, fans to stay put at AT&T Stadium
Zero2Cool (12h) : Skip:More I see winning FG, more I see a very weird thing: It hooked hard left, then straightened out. Obviously no wind. Like meant to be
Zero2Cool (12h) : @RealSkipBayless: More I see winning FG, more I see a very weird thing: It hooked hard left, then straightened out. Obviously no wind. Like
uffda udfa (12h) : I don't believe Dallas is better than us. When Aaron is on we're the best.
beast (12h) : The huddle penalty was an odd one. Without Burnett and Nelson.
uffda udfa (12h) : Cowboys radio team initially called Crosby GW NO GOOD. Lol.
DarkaneRules (13h) : we beat an arguably better team at their place without morgan burnett. still can't believe it
uffda udfa (13h) : Re emphasized we aren't the better team. Sour grapes are sweet to me.
uffda udfa (13h) : Complaining of PI call and huddle penalty.
uffda udfa (13h) : Dallas play by play guy said we aren't best team.
uffda udfa (13h) : NBC is off the air down here. This is an OTA broadcast signal.
uffda udfa (13h) : Tornado warnings in Dallas area. Sign of aPACKalypse to Cowboys fans.
uffda udfa (13h) : I agree with a Homer. That's true. It was actually 35 per Erin Andrews post game int.
Zero2Cool (13h) : @espnhomer 4th and 26 is dead replaced by 36 on 3rd and 20.
uffda udfa (13h) : Garrett said he'd never seen or heard of the 15 yard penalty huddle rule.
uffda udfa (13h) : *toe
Please sign in to use Fan Shout

2016 Packers Schedule
Sunday, Sep 11 @ 12:00 PM
at Jaguars
Sunday, Sep 18 @ 7:30 PM
at Vikings
Sunday, Sep 25 @ 12:00 PM
LIONS
Sunday, Oct 2 @ 12:00 AM
BYE
Sunday, Oct 9 @ 7:30 PM
GIANTS
Sunday, Oct 16 @ 3:25 PM
COWBOYS
Thursday, Oct 20 @ 7:25 PM
BEARS
Sunday, Oct 30 @ 3:25 PM
at Falcons
Sunday, Nov 6 @ 3:25 PM
COLTS
Sunday, Nov 13 @ 12:00 PM
at Titans
Sunday, Nov 20 @ 7:30 PM
at Redskins
Monday, Nov 28 @ 7:30 PM
at Eagles
Sunday, Dec 4 @ 12:00 PM
TEXANS
Sunday, Dec 11 @ 3:25 PM
SEAHAWKS
Sunday, Dec 18 @ 12:00 PM
at Bears
Saturday, Dec 24 @ 12:00 PM
VIKINGS
Sunday, Jan 1 @ 7:30 PM
at Lions

Think About It
Think About It

Recent Topics
9m / Green Bay Packers Talk / macbob

11m / Green Bay Packers Talk / MintBaconDrivel

36m / Green Bay Packers Talk / shield4life

1h / Green Bay Packers Talk / Zero2Cool

1h / Green Bay Packers Talk / Zero2Cool

2h / Around The NFL / Smokey

2h / Green Bay Packers Talk / DarkaneRules

3h / Green Bay Packers Talk / DarkaneRules

6h / Green Bay Packers Talk / Mucky Tundra

7h / Green Bay Packers Talk / beast

7h / Green Bay Packers Talk / uffda udfa

7h / Green Bay Packers Talk / uffda udfa

10h / Green Bay Packers Talk / nerdmann

10h / Fantasy Sports Talk / Smokey

11h / Green Bay Packers Talk / Zero2Cool


Packers Headlines