PDA

View Full Version : Geek Article System: Large Titles over Articles


yoyoyoyo
08-04-2005, 10:00 PM
[ADDON] GEEK ARTICLE SYSTEM: Large Titles over Articles
version 1.1
by yoyoyoyo
(using ideas gleaned from Zachery (https://vborg.vbsupport.ru/member.php?u=18025) and Kall (https://vborg.vbsupport.ru/member.php?u=54299))

TEMPLATES TO EDIT: 2 (GAS_showthread & GAS_forumdisplay)
NUMBER OF EDITS: 3
LEVEL OF DIFFICULTY: simple/beginner
TIME: Less than 5 minutes

This addon to the GEEK ARTICLE SYSTEM (https://vborg.vbsupport.ru/showthread.php?t=75916) will display a large title over the article, and the name of the category over each article category and also the name of the article system over the article system itself. (SEE SCREENSHOTS BELOW)

1) In your GAS_showthread template (1 change):

find:
$poll
BEFORE add:
<div style="font-size: 200%; text-align: center;"><b>$thread[title]</b></div>
<br />If you want to have the Article category and also the name of the article appear (like this: Article Category: Article Title) then use this code instead:<div style="font-size: 200%; text-align: center;"><b>$foruminfo[title]: $thread[title]</b></div>
Save the template.

2) In your GAS_forumdisplay template (2 changes):

find:
$forumbits
</table>
<br />
<!-- / sub-forum list -->
</if>
AFTER add:
<div style="font-size: 200%; text-align: center;"><b>$foruminfo[title]</b></div>
FIND:
<if condition="$show['forumslist']">
BEFORE add:
<div style="font-size: 200%; text-align: center;">$foruminfo[title]</div>
<br />
Save the template.

That's it!

Screenshots are attached. (Note: I have stripped away alot of features in VB and also in the Geek article system, so please ignore stuff that is missing such as thread rating, and "last post by" column- this hack does not remove those - just look at the lovely large titles and ignore the rest :D)

Please click INSTALL (https://vborg.vbsupport.ru/vborg_miscactions.php?do=installhack&threadid=93666) if you find this useful!

VERSION CHANGES:
1.1: added the optional ability to have the Article Category appear before the Article title, like this: Article Category: Article Title

yoyoyoyo
08-05-2005, 11:22 AM
UPDATE: version 1.1
added the optional ability to have the Article category appear before the Article title, like this: Article Category: Article Title

Nutz
08-31-2005, 01:45 PM
Thanks :)