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 2.0 (lite) (https://vborg.vbsupport.ru/showthread.php?t=72825)

The Geek 12-12-2004 10:00 PM

Geek Article System 2.0 (lite)
 
This hack is a simple and effective (but lighter) version of the very popular Geek Article System 3.0 .
This is actually the first Geek Article System which I still support as it offers people who dont need all the whistles and bells of the larger version (multipage, sidebar, bylines) in a far simpler nutshell.

The key reason for me crating GAS was that I wanted my articles (I also use them as tutorials) to be searchable and reside within the Froums. So I made this simple hack. It may not be all singing and dancing, but I think it can moonwalk with the best of them.

Difficulty to install: A cinch
Time to install: ~5 minutes (if that)
Installer: yup

UPDATE v.2c (17/01/2004)
Fixed rouge phrase that didnt install right.

UPDATE v.2 (04/01/2004)
Removed some left over html in geek_postbit_article that was for my style. The extra HTML that was in there may wack out your layout a touch.
Added a missing phrase (geek_articles_rate_this_article)
Installs either English or French phrases (thanks to cclaerhout)

UPDATE V. 2 (03/01/2004)
Added 2 more templates: showthread and forumdisplay variants (though these are much more subtle... mostly phrase changes
Added a couple of buttons (comments and new article)
Grouped phrases into their own lot

UPDATE V. 1.5 (14/12/2004)
Creted a Zip file with installer and ReadMe
Phrased the postbit.
Thats about it.


nJoy

Snow 12-13-2004 06:57 AM

Great hack! I don't suppose there's a way to copy existing articles from vb3 articles or do the authors have to re-post them in the new forum? Also, can this hack be applied to an existing forum instead of creating a new forum?

The Geek 12-13-2004 07:48 AM

Quote:

Originally Posted by Snow
Great hack! I don't suppose there's a way to copy existing articles from vb3 articles or do the authors have to re-post them in the new forum? Also, can this hack be applied to an existing forum instead of creating a new forum?

Thanks Snow!
Sadly, there is no import facility from vB3 Articles.

And yes, you can apply this to any existing forum. You do not have to create a new forum ;)

nJoy

Snatch 12-13-2004 07:51 AM

Warning: Invalid argument supplied for foreach() in /var/www/html/includes/sessions.php on line 476

Unable to add cookies, header already sent.
File: /var/www/html/includes/sessions.php
Line: 476

*G* Cool Demo hihi

The Geek 12-13-2004 07:54 AM

Quote:

Originally Posted by Snatch
Warning: Invalid argument supplied for foreach() in /var/www/html/includes/sessions.php on line 476



Unable to add cookies, header already sent.
File: /var/www/html/includes/sessions.php
Line: 476

*G* Cool Demo hihi

? where are you getting that error ? There is no way this could produce that error!

mcyates 12-13-2004 09:40 AM

Quote:

Originally Posted by the nail geek
? where are you getting that error ? There is no way this could produce that error!

can the articles be transformed to rss or xml?

Snow 12-13-2004 10:32 AM

Quote:

Originally Posted by Snatch
Warning: Invalid argument supplied for foreach() in /var/www/html/includes/sessions.php on line 476



Unable to add cookies, header already sent.
File: /var/www/html/includes/sessions.php
Line: 476

*G* Cool Demo hihi

Did you use the cPanel editor to edit the files? It sometimes adds extra spaces at the end of the file which can cause that "unable to add cookies" error.

Snow 12-13-2004 10:43 AM

Quote:

Originally Posted by the nail geek
Thanks Snow!
Sadly, there is no import facility from vB3 Articles.

And yes, you can apply this to any existing forum. You do not have to create a new forum ;)

nJoy

Thanks :) I've got it working fine. I've just got a very minor problem which hopefully you could help me with. Because the background of the article title is dark and the usernames are using the colours defined for the usergroups, the usernames aren't showing up very well (see first screenshot). I tried adding color: #FFFFFF; to the span tag but a second span tag is being added with the username e.g.
HTML Code:

Written by <a href="member.php?u=5"><span style="color:#9900FF">SatCam</span></a>
. Is there a way to get the username in white text as in the vb3 articles hack (2nd screenshot)?

The Geek 12-13-2004 11:00 AM

Mycates: Just as much as any other forum can be (all it is is just a standard show thread with a substitute postbit to change the layout).

Snow: Huh, that table inherits the thead class from an encapulating <td> a few lines above. It looks like your thead css is that purple colour. You can either wrap your <span> in a new or different class, or the TD that the table resides in.

Not sure if this helps?!?

reteep 12-13-2004 11:02 AM

Would it be possible to convert existing (regular) Threads?


All times are GMT. The time now is 09:21 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.02400 seconds
  • Memory Usage 1,747KB
  • 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
  • (1)bbcode_html_printable
  • (5)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (2)pagenav_pagelink
  • (1)pagenav_pagelinkrel
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)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
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete