Making the Xenagia *Forums* iPhone Friendly
In my last article I wrote about making the Xenagia Book Index iPhone Friendly, and in the process optimized much of our science-fiction, fantasy, and horror web site for iPhone usage. However, I left one section untouched: our forums.
In this article I’m going to talk about what was required for that final step: the creation of an iPhone skin for vBulletin.
vBulletin: Bane and Boon
Between our entertainment sites at Skotos, RPGnet, and Xenagia we’ve gone through at least three different forum software packages that I can remember. The latest, and the one that we’ve used for six years or so, is vBulletin. It’s generally outperformed its competitors, and though we’re constantly pushing the edge of its capabilities at our very large RPGnet site, it generally does as well as I’d expect a reasonably priced commercial package to do.
vBulletin is also very customizable. Sort of. There are literally hundreds of CSS entries, template files, and plugin hooks that you can work with to make your forum look like whatever you want. However, I think the sameness of most vBulletin sites speaks to how difficult that actually is. Although it’s nice to be able to change anything from how messages display to the look of your forum home page, it’s just about impossible to dig through the tens of thousands of lines of code to find what you want.
Most sites make simple CSS changes (mainly color modifications) and leave it at that. To make Xenagia iPhone friendly, unfortunately, I knew I needed to go further than this. There would be modifications to the CSS to make the forum pages more readable, but I knew that I also wanted to make changes to how pages some displayed, and that meant doing template work, which I didn’t look forward to.
To begin any major vBulletin work like this, you want to create a new style. That’s done through the “Style Manager” under the “Styles & Templates” menu item in the administrative control panel. You find your default style and then you make a new child style. This new style will thus inherit all the changes you’ve already made, but also allow you to make more changes for iPhone viewing.
And this is where the next problem reared its head: by making changes to a child you override the parent style. After creating my iPhone skin that meant that I now had a setup where some new changes to main Xenagia style wouldn’t be inherited (because the info was also modified in the child). At first I tried to get around this by only editing items that weren’t modified in the original style. Though that was a fine goal, I wasn’t able to stick with it, just because of some of the changes that had to be made.
The CSS Changes
The first goal was to make the site broadly readable, with most text being legible in portrait mode without zoom. Being a good iPhone Web Developer I first tried to do this via the “viewport” tag. However, much as I found was the case when I’ve tried to use the viewport tag before, it broke. Random page had randomly sized columns that were totally empty. I tried a few different viewport numbers before giving it up as worthless.
Which meant I then turned to CSS.
I spoke more extensively about this in my last article, so I won’t dwell too much on the CSS work I did. Basically, I increased the default sizes of various variables to make them easier to read when small.
In vBulletin this is all done through another Style Manager option. From the drag-down menu for your new iPhone child style you can find “Main CSS”. The first thing I did was crank up all my fonts. Anything that was 10pt became 14pt while anything that was 11px (about 8pt) became 13pt. The latter is still a bit small, but it was a compromise that was required to keep everything looking good. The other option I found to change was the “<select> Menus” CSS which I popped up to 125%.
Voila! Everything was now sized much better with just several minutes of work. If you don’t do anything else, this is a great way to quickly and easily improve iPhone accessibility to vBulletin. The downside is that it doesn’t look that great. Huge numbers of columns cut text down into bite-sized bits that eat up all your vertical real estate.
Fortunately I had a plan to resolve this too: deleting information.
Information Management & Template Changes
This is definitely not going to be for everyone, but I think an entirely valid strategy for iPhone optimization of web pages is the removal of some information from iPhone views. Generally you don’t want to remove information which genuinely displays useful content to your viewer, but removing less relevant information can make it that much easier for an iPhone viewer to actually read what’s important.
I removed two types of information in this stage:

First I removed information that was only of interest to a newcomer to the site. For the Xenagia forums, this was the description of what each and every subforum on the site was for. For example the “Books” forum had two lines below the forum link which read: “Isaac Asimov, J.R.R. Tolkien, Stephen King.; Comic books and graphic novels too.” Clearly that type of signpost is useful for a first-time reader, but it’s not required for someone familiar with the site, and my general assessment is that if someone goes to the trouble of hitting your site on an iPhone, it’s because they’re already a fan.
Second I removed information that I felt wasn’t necessary to have a good experience at the site. Some of this information is definitely useful to some small degree, so it was overall a judgment call.
Here’s everything that came off:
- For the forum views I removed the thread and post columns, which served no real purpose except to show how popular our forums are (or aren’t). There was also a column which showed the last post for each forum, containing a thread title, a date, and an author. Though this was all useful, I wanted to cut the three lines these represented for each forum to two. I ended up removing the author line because I felt like it was the one least likely to encourage a reader to click through.
- For the thread views I removed the views column, which again I felt was something that only highlighted the popularity of the site (or thread) without giving the viewer real information. I left the replies column, which I felt was meaningful at this per-thread level, though I changed the title of the column from “Replies” to “Rep.” just to save some space. I also again mucked with the “Last Post” column. Here I had three entries: date, time, and last author. I really wanted to cut something to squeeze down this column size, and I ultimately decided on “time”. The forum software already shows whether a viewer has read something or not, so I figured that along with the date would give them enough of a guidepost to where they were. If I’d wanted to be more sophisticated I would have changed my listing to show the date for the last 24 hours, else the time, but that would have required digging even further into vBulletin.
- I opted not to change the messages view pages as all. Some of the text is a bit small in the message headers, but I decided to generally leave it. If I later modify anything, it’ll be to go back and make the author names larger.
This was all done via the aforementioned vBulletin templates. These are essentially chunks of HTML code interspaced with variables and links to other templates that are put together to create vBulletin pages. A listing of them can find in the Style Manager under “Edit Templates” for your new style.
forumhome_forumbit_level1_post, forumhome_forumbit_level1_nopost, forumhome_forumbit_level2_post, and forumhome_forumbit_level2_nopost were the four templates I edited to remove the forum descriptions.
The FORUM_DISPLAY and FORUM_HOME templates held the key to removing the thread and reply columns on the forum display pages (showing how obnoxiously things are divided up) as well as changing the word “Replies” to “Rep.” on and removing the “Views” column on the thread display pages.
A special template called forumhome_lastpostby is where I modified the “last post” element on the forum display, while threadbit is where I modified the “last post” element on the thread display.
Whew.
Conclusion
So that’s what was required to make the Xenagia vBulletin more iPhone friendly. The CSS is easy, but the template work is a pain–to the point where I’m not looking forward to digging through all those templates again to set RPGnet up similarly.
But if you want to do it youself, now you’ve got a thumbnail guide.
October 30th, 2007 at 7:16 pm
CHRISTMAS BONANZA| CHRISTMAS BONANAZA|| CHRISTMAS BONANZA|||
buy 3 phones get 1 free,buy 2 phones get 10% discount and buy 1 phone and get 10% discount shipping cost.the promo last till end of the year.
BUY BRAND NEW UNLOCKED CELL PHONES,MOBILE AND PDA PHONES,GAMES,LAPTOP,DIGITAL
CAMERA,GAMES,PLASMA TV.They are brand new and sealed in an original
company box with complete accessories and one year international
warrantee.
DO CONTACT US VIA……. boldsales@gmail.com
boldsales@hotmail.com
Nokia N97……$240USD
Nokia E90 COMMUNICATOR…….$250USD
Nokia N95(8gb)…….$220USD
Nokia N81(8GB)…….$200USD
Nokia N800….$200USD
Nokia E60…….$240USD
Nokia E65…….$250USD
Nokia n93i……$210USD
Nokia N93…….$190USD
Nokia N92…….$180USD
Nokia N83…….$160USD
Nokia N91…….$140USD
Nokia N90…….$170USD
Nokia N70…….$150USD
Nokia N71…….$155USD
Nokia N72…….$160USD
Nokia N73…….$165USD
Nokia N75…….$190USD
Nokia 8800 sirrocco…$180usd
Nokia 8800……$120USD
Nokia 8801……$125usd
Nokia 7710……$145USD
Nokia 7610……$120usd
Nokia 9300……$145USD
Nokia 9500……$170USD
sony Ericsson w960…..$300usd
sony Ericsson w910…..$290usd
Sony Ericsson K850…..$270usd
sony Ericsson w888…..$250usd
Sony Ericsson w580…..$220usd
sony Ericsson w660…..$240usd
Sony Ericsson K800i….$190usd
Sony Ericsson w610i….$140usd
Sony Ericsson W850…..$210usd
Sony Ericsson w900i….$140usd
sony Ericsson w700…..$130usd
sony Ericsson w600i….$125usd
sony Ericsson w950…..$160usd
Sony Ericsson p990i….$145usd
Sony Ericsson m600i….$175usd
APPLE iphone 8gb………..$250USD
APPLE iphone 4gb……….$200usd
HTC X7500……… $350usd
HTC S710…….. $330usd
HTC P350………. $300usd
HTC P3400……. $250usd
HTC P4350…… $200usd
HTC P3600…… $210usd
HTC P3300………… $150usd
HTC S620…….. $170usd
HTC S310……… $190usd
HTC TYTN……….. $210usd
HTC MT EOR……. $190usd
ETEN GLOFIISH X800….$200usd
ETEN GLOFIISH M700……$190usd
ETEN GLOFIISH X500…..$170usd
ETEN M550……… $180usd
ETEN G500+…….. $170usd
ETEN M600+………$150usd
ETEN G500……… $160usd
ETEN M600……… $140usd
ETEN M500……… $140usd
ETEN P300B……… $160usd
ETEN P300……… $150usd
ETEN P700……….. $180usd
Asus P535……. $190usd
Asus P525……… $180usd
Asus P505……… $160usd
Asus Z810….. $200usd
Asus V85……. $150USD
Asus V75…. $130USD
02 XDA atom ife…… $200
02 Xda Zinc……… $190
02 Xda Drphite……… $190
02 Orbit…………. $180
02 cosmo……….. $150
02 Xda Stealth…….. $160
02 Xda Exec……… $140usd
02 Xda II mini……… $140
02 Xda IIs………. $150
PALM TREO PHONES
Treo 750……………..$250usd
Treo 700p……………$200usd
Treo 700wx……………$190usd
NEXTEL PHONES
Nextel i930………$130usd
Nextel i870………$120usd
Nextel i860………$110usd
SIDEKICK PHONES
SIDEKICK 2……………..$100USD
SIDEKICK 3……………..$150USD
SIDEKICK 4……………..$200USD
I-MATE JASJER…………..$90USD
Qtek pHONES
Qtek s110…..$190usd
Qtek s100…..$180USD
Qtek 9090…..$185USD
Qtek 8020…..$195USD
Qtek 8010…..$160USD
Qtek 2020i….$200USD
Qtek 2020…..$190usd
Qtek 8080…..$120usd
Qtek 8060…..$130usd
Qtek 1010…..$120usd
Qtek 7070…..$210usd
Samsung E840……………$280USD
Samsung U600……………$250USD
Samsung U700……………$270USD
Samsung D800……………$140USD
Samsung D820……………$130USD
Samsung D500……………$110usd
Samsung d600……………$120usd
IPODS
Apple 30 GB iPod Vidoe…………$140 USD
Apple 60 GB iPod Vidoe…………$180 USD
GAMES
Ps3………………$220 usd
Ps2 ……………..$160 usd
Nintendo wii………..$240Usd
X box premium console …………$200USD
TomTom GO 910 Portable GPS Navigation…….$200USD
TomTom GO 710 Portable GPS Navigation……$180USD
DIGITAL CAMERA
CANON EOS-1D Mark II-N 8 Megapixel Digital….$900
Canon EOS-5D Digital , 12.8 Megapixels…….$500
Canon XH A1 1.67MP 3CCD Camcorder with 20x Optical Zoom…$850
Canon XL2 3CCD MiniDV Camcorder w/20x Optical Zoom……$800
Canon XL1 Digital Camcorder Kit…………………$600
Canon EOS 1D Mark II N 8.2MP Digital SLR Camera….$850
Canon Camera Kit 1234B002…………$350
Canon EOS 30D Digital SLR Camera & Canon….$400
NEW PIONEER CDJ-1000 MP3 MK3 PLAYER……..$450
NEW PIONEER CDJ-800 MP3 MK3 PLAYER ………$320
NEW PIONEER CDJ-800 MP3 MK2 PLAYER ………$280
NEW PIONEER DJM 1000…$700
NEW PIONEER DJM 800…..$600
NEW PIONEER DJM 600….$500
NEW Pioneer DVJ-X1 DVD …………………$700
PLASMA TV
JVC 52-Inch BRAND NEW PLASMA TV …….$600
42 inch LG-42PC3D HDTV Plasma………$550
42 Inch HD TV Flat Panel Plasma Television……….$450
Sharp AQUOS LC-65D90U 65″ 1080p …………….$1500
Sharp AQUOS LC-52D62U 52″ 1080p…………..$850
Sharp LC37D43U 37-inch AQUOS LCD Flat Panel HDTV ….$500
DO CONTACT US VIA……. boldsales@gmail.com
boldsales@hotmail.com