vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.0 Full Releases (https://vborg.vbsupport.ru/forumdisplay.php?f=33)
-   -   Geek Article System: Large Titles over Articles (https://vborg.vbsupport.ru/showthread.php?t=93666)

yoyoyoyo 08-04-2005 10:00 PM

Geek Article System: Large Titles over Articles
 
[ADDON] GEEK ARTICLE SYSTEM: Large Titles over Articles
version 1.1
by yoyoyoyo
(using ideas gleaned from Zachery and Kall)

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 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:
Code:

$poll
BEFORE add:
Code:

<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:
Code:

<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:
Code:

$forumbits
</table>
<br />
<!-- / sub-forum list  -->
</if>

AFTER add:
Code:

<div style="font-size: 200%; text-align: center;"><b>$foruminfo[title]</b></div>
FIND:
Code:

<if condition="$show['forumslist']">
BEFORE add:
Code:

<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 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 :)


All times are GMT. The time now is 07:32 AM.

Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.

X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.01079 seconds
  • Memory Usage 1,718KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (7)bbcode_code_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (3)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • printthread_start
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete