Welcome! Login or register.
News Item Creation How-To

Provided you've given the proper permissions, the following will provide you with a simple tutorial on making a front-page news item (and also making it look nice).

First we need to host the images we'll be displaying on the front page. The way we do that is to upload them using the web-site's interface, copy the random URL it generates for the image, and then create the post.

1. Click "Administrator Console," Choose "Hosted Files."

2. Choose "Add Files"
-Browse to the file you wish to use and upload it.

3. You'll be brought back to a page displaying all of the files we have hosted. The most recent file should be the one you just uploaded. Click the "LINK" to your image, and then copy that image URL out of the address-bar. The URL will be something similar to: http://s.guildomatic.com/28482/host/be/bee7dc6d4027fd40f3da105c93acf2a1.jpg

4. From the menu at the right, in Administrator Console choose "News Add."

5. Type in your title, and make sure you switch from BBCODE to HTML. Use a tag similar to this for posting your image. (If the image is too large, it looks bad on the front page.) Also, feel free to simply cut and paste what I have below, and then just paste in your image file links.

<p><a href="http://s.guildomatic.com/28482/host/be/bee7dc6d4027fd40f3da105c93acf2a1.jpg" target="_blank">

<img src="http://s.guildomatic.com/28482/host/be/bee7dc6d4027fd40f3da105c93acf2a1.jpg" align=middle width=710 height=442></a></p>

Here's the entire code I used for this post. This should give you a quick idea of the formatting involved.


<p><center>
<a href="http://s.guildomatic.com/28482/host/be/bee7dc6d4027fd40f3da105c93acf2a1.jpg" target="_blank">
<img src="http://s.guildomatic.com/28482/host/be/bee7dc6d4027fd40f3da105c93acf2a1.jpg" align=middle width=710 height=442></a>
</center></p>

<p>Pretty interesting night, really. Nobody could get into TK, we kept getting an error about "not being able to spawn a new instance..."</p>

<p>So, we decided to give Hyjal a shot, and killed Rage on our 2nd try. </p>

<p>Not bad, guys!</p>

6. Make sure you click on the checkbox for "Active" if you want to display this item on the main page of the website. The main-page will only show the last two news items.

Bonus
Since we use HTML for the main posts, it breaks guildomatic's built-in bbcode [ item ] links. SADFACE!

So, here is a workaround...


<a class="q4" href="http://www.wowhead.com/?item=40631"><b>[Crown of the Lost Conqueror]</b></a>

Will yield: Crown of the Lost Conqueror.

If you want to link items, you can insert that code in. Simply browse to the item at WowHead, and paste in its link. The nice thing, too, is that WoWhead's items are always more updated than the ones the guildomatic site uses, anyway.

Also note that "q4" pertains to the quality (and hence the color) of the item. 3= Superior, 4 = Epic, 5=legendary.

Some of the newer news-items I've been posting have been embedding video, here is the HTML for this post.


<center>
<!-- VZAAR START --><div id="vzaar_media_player"><object width="710" height="442"><param name="allowScriptAccess" value="always"></param>
<param name="allowFullScreen" value="true"></param><param name="movie" value="http://vzaar.com/videos/24020.swf"></param>
<param name="wmode" value="transparent"></param>
<embed src="http://vzaar.com/videos/24020.swf" type="application/x-shockwave-flash" wmode="transparent" width="710" height="442" allowScriptAccess="always" allowFullScreen="true" flashvars="border=none">
</embed></object></div><!-- VZAAR END -->
</center>

<center><p>
<a href="http://files.filefront.com/13665885" target='_blank'>Download</a> |
<a href="http://files.filefront.com/13651090 " target="_blank">Codec</a> |
<a href="http://s.guildomatic.com/28482/host/29/292dd06e3a8c36a9d3493ef3e7474083.mp4">iPhone</a> |
<a href="http://wowwebstats.com/p4a4gvgagqqsu?s=345490-411521" target='_blank'>Webstats</a> |
<a href="http://s.guildomatic.com/28482/host/83/838efd5980f6a3f69da299749872755f.jpg" target='_blank'>Screenshot</a>
</p></center>

<p>
<hr size="5" align="center" width="710" color="#244266">
</p>

<p>
Raiding a few short, we decided against XT-002 Deconstructor tonight, and instead decided to try our hand with Razorscale.
Our last attempt ended up being our best attempt, and we conquered the encounter rather cleanly considering our numbers (and DC problems).
</p>

Last modified by Agilurso at 05/08/2009 10:52 AM.
Originally created at 04/21/2009 11:44 AM.
Powered by Guildomatic