Jump to content

hi timan~: ) i have a request about news page! : )


Recommended Posts

VB news CMS 1.3 install done ; )

thanks timan~ : )

could u teach me this aqua-soft news css style and templates edit code? ; )

and i have a question!!

i'd like to be good programmer? designer? like u...

how many computer languages and tools u use? u do?

for example .. php,asp,java,html,css,photoshop,linux....etc..

thanks ; )

Link to post

Well, I'm only decent at html/css and photoshop. Everything else I suck at sadly, I can't program worth crap, but I can work around php,js, all that stuff.

Heres the template we use for the main page, it should of been included in the skin, but might not of been exported correctly.

You will have to tweak the html a little bit, its made for aqua-soft so the links might need updating.

Tempalte - vbnewscms_articlelist

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en">
<head>
$headinclude
<title>$vboptions[bbtitle] - News</title>
</head>
<body id="newsbody">
$header
$navbar
<table cellpadding="0" cellspacing="0" border="0" width="100%" class="alt2">
<tr valign="top">
<td class="alt1" id="news-col">
$vbnewscms_sectionhead
$vbnewscms_articlebit
<div align="center" style="padding-bottom:5px"><a href="http://www.aqua-soft.org/board/archive/index.php?f-88.html">« News Archive »</a></div>
</td>
<td id="news-sidebar">
<div style="width:200px;">
<ul>
<li id="sb-forums"><a href="http://www.aqua-soft.org/board/">Aqua-Soft Forums</a></li>
<li id="sb-recent">
<a href="search.php?do=getnew">Recent Forum Posts</a>
<ul class="borderbottom2">
<script type="text/javascript" src="external.php?type=js"></script>
<script type="text/javascript">
<!--
for (var i = 0; i < 10; i++) {
document.write('<li><a href="showthread.php?t=' + threads[i]['threadid'] + '">' + threads[i]['title'].substring(0, 25) + '</a></li>');
}
//-->
</script>
</ul>
</li>
</ul>
</div>
<div align="center" class="pad8all">
Google AD Here
</div>
</td>
</tr>
</table>
$footer
</body>
</html>

Link to post

<div>
<h3><a href="showthread.php?t=$news[threadid]" title="$news[title]">$news[title]</a></h3>
<div class="news-postedon"><span title="$news[postusername]">Posted on $news[date]</span> · <a href="$vboptions[bburl]/newreply.php?$session[sessionurl]do=newreply&t=$news[threadid]" title="$vbphrase[vbnews_replyto]$news[title]">Discuss ($news[replycount])</a></div>
<div class="news-post">$news[pagetext]
$endoftext</div>
<div class="hr" style="clear:both;"></div>
</div>

My fault, thought I had it in the first post.

Link to post
  • 3 months later...
Heres the template we use for the main page, it should of been included in the skin, but might not of been exported correctly.

You will have to tweak the html a little bit, its made for aqua-soft so the links might need updating.

Hi Timan,

Any chance you can post a newer version of those two templates? Saves having to reinvent the wheel, as I like your style with the icons in the sidebar, and the more minimalist style of the article presentation on the main vbnews page.

Thanks.

Link to post
×
×
  • Create New...