Go Back   vb.org Archive > vBulletin Modifications > Archive > vB.org Archives > vBulletin 3.0 > vBulletin 3.0 Full Releases
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools
Geek Article System 3.52 Details »»
Geek Article System 3.52
Version: 3.51, by The Geek The Geek is offline
Developer Last Online: Jan 2019 Show Printable Version Email this Page

Version: 3.0.7 Rating:
Released: 02-06-2005 Last Update: 08-02-2005 Installs: 410
DB Changes
 
No support by the author.

IMPORTANT:
Please note that I can no longer support this project. Primarily as it is designed for vb3.0.x and I no longer use that version (im obviously on vb3.5x ). There is a version for vb3.5 however its a commercial script. This project is left here for the community.
-----------------------
HowdA All.

The GAS3 system is a comprehensive article system that completely integrates into vB3.

News:
  • Updated 3/08/05 to version 3.53 for compatability with vb3.08
  • Updated 13/05/05 to version 3.52!!! Posts for 3.52 to integrate with GAL4.0 start here
History

Originally, I looked into other article systems to integrate with my forums but just got irritated over and over again as I found the other offering out there very limiting for my needs. I wanted to use my members usergroup permissions, the search facility (so when someone did a search for 'bob' both articles AND threads appeared on one page), I also wanted wysiwyg editing and vBs attachment system. Well, I accomplished 99% of my needs with the Geek Article System 2.0
Why 3.0? While the 2.0 was fine for my needs, many users began asking for a far more complex system that took the beauty of 2.0 and added popular features in the other article systems.

Here are the features in a nutshell:
  • Integrates 100% into vB. No importing forums or creating special groups. Simply mark forum as an 'Article' forum and instantly all threads become articles. Dont like it anymore? Simply remove the ID and the therads and forums go back to normal.
  • Whatever you can do in a thread or post, you can do with the GAS3 system (uploading attachments, smiles, BBcode, various editors, yadayadayada)
  • Adding on the above point: all the differing vB editors (wysiwyg, etc..), usergroup permissions (heck - anything you can set for a forum you can set in this - AND MORE!) why> because it is totally integrated!
  • Create multiple pages in your post by simply putting [BREAK] anywhere in your post.
  • The first thumbnail in an article substitutes the posters avatar (switchable via admincp)
  • Upload header images and have them auto resize
  • Choose header images from a global (or forum specific) gallery
  • Integrated article byline.
  • Synopsis - allows users to give a summary that appears on the new forumdisplay
  • New forumdisplay shows article header image and synopsis (if no synopsis then the first X amount of characters from the article is used)
  • Synopisis allows BBCode
  • Integrates with the Geek AutoLink system (optional)
  • Allows you to post as other users
  • Article sidebar that shows the article rating, your rating, the rating form, article tools, and article attachments (all toggable via admincp)
  • An auto installer/upgrader/uninstaller that makes all file edits for you!
  • A whole host of other tiddlybits that I wont bore you with
Special thanks goes to rlamego, peterska2, Snow, Gldtn, and Magic Spark for private Beta testing this for me. Couldnt of happened without them!

Change log
13.05.05 - updated to 3.52
All this does is update GAS for the GAL4.0 integration.
To update, simply replace your existing functions_geekarticles.php with the one in the latest package.

18.3.05 - updated to 3.51
This really just fixes a couple of mega minor bugs.
Added new default icon per forum functionality (see readme)
Wrote a real README.
Wrote a seperate 3.5x upgrade script. Users of 3.5x should run admincp/gas3_upgrade.php

16.3.05 - updated to 3.50
Loads of new features and a new installer that makes the file changes for you.
New forumdisplay
Uploading of images for your header
Synopsis box
yadayadayda

10.2.05 - updated to 3.02
Fixed typo in readme (step 2.6 referenced $articlebyline instead of $GAS_byline). This bug fixes the disappearing byline when editing an article.
To upgrade - edit your editpost template and search for $articlebyline then replace it with $GAS_byline

Importers
I have made an importer for v3articles. Technically speaking, you dont have to strictly have GAS3 installed to use the importer (though it is ideal). What it does is essentailly import v3articles, comments, ratings, and attachments into existing forums as new threads, replies, threadratings, and post attachments. The idea is that you install GAS3, create the forums to house your articles, and then import your existing v3articles into them (but as I said, you can simply import v3articles into normal forums without having GAS3 installed).
There is also a rollback feature in case you change your mind or experience a problem with the import. Your v3articles installation isnt touched. In fact, no v3articles are harmed in the process

Known issues:
  • none that I am aware of.
Demos: (note that I have a custom skin, so your results will be ever so slightly different)
http://www.thenailgeek.com/showthread.php?t=11287
http://www.thenailgeek.com/showthread.php?t=8801 - pages with comments (click View Comments to see comments only)


Difficulty - EASY
Time - about 5 minutes
File modifications? a few but now all done automatically for you

Change log:

Updated to 3.01 Feb 7th
Fixed a couple template errors and minor readme instructions


Instructions

Click install. I have busted my butt over the past few weeks to do this and all I ask is that you click install if you use it
  • Download the package and unzip.
  • Follow the README!
  • Ther installer does all the work for you
  • When done, go into your admncp, and adjust your settings
Troubleshooting:
  • No phrases after install? This happens a lot with many installers for some bizzare reason. All you have to do is do a phrase search for GAS_ , edit the phrase (dont change it), then save it. Bingo - all your phrases appear.
Also:

I would therefore backup your DB, your styles, and any of the files the README asks you to change.

nJoy

Show Your Support

  • This modification may not be copied, reproduced or published elsewhere without author's permission.

Comments
  #932  
Old 04-28-2005, 08:11 AM
memobug memobug is offline
 
Join Date: Jun 2002
Posts: 418
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Actually if you mean

[break={title for next section}] that would be great, and being able to insert a
[TOC] table of contents somewhere, (or everywhere!) with links to each of those titles would be da bomb. I actually don't care too much for numbers. They are useful in the navigation, but sometimes a title beats all. You have to "sell" the next page to keep the person reading.

Regards,

Matt
Reply With Quote
  #933  
Old 04-28-2005, 09:24 AM
rjordan's Avatar
rjordan rjordan is offline
 
Join Date: Sep 2004
Posts: 326
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
rjordan - are you sure you havent already run the install? It looks to me like those changes have already been done?
What I posted is copied straight out of the manual install instructions for steps 610-612. I did run the installer, it ran the template/phrase updates, i went through the manual installation process, and then I ran into multiple instances of the above code.
Reply With Quote
  #934  
Old 04-28-2005, 09:32 AM
The Geek's Avatar
The Geek The Geek is offline
 
Join Date: Sep 2003
Location: Behind you
Posts: 2,779
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by memobug
Actually if you mean

[break={title for next section}] that would be great, and being able to insert a
[TOC] table of contents somewhere, (or everywhere!) with links to each of those titles would be da bomb. I actually don't care too much for numbers. They are useful in the navigation, but sometimes a title beats all. You have to "sell" the next page to keep the person reading.

Regards,

Matt
That is what I mean - however I wont be looking to work on the next release until my other projects are completed. In the meantime - just use BBcode to do what you are after (well, at least with the break option )
Reply With Quote
  #935  
Old 04-28-2005, 09:32 AM
The Geek's Avatar
The Geek The Geek is offline
 
Join Date: Sep 2003
Location: Behind you
Posts: 2,779
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by rjordan
What I posted is copied straight out of the manual install instructions for steps 610-612. I did run the installer, it ran the template/phrase updates, i went through the manual installation process, and then I ran into multiple instances of the above code.
was this an upgrade or a new intall?
Reply With Quote
  #936  
Old 04-28-2005, 09:35 AM
rjordan's Avatar
rjordan rjordan is offline
 
Join Date: Sep 2004
Posts: 326
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

New install.

Lines 1089-1105 of my showthread.php:
Quote:
// load attachments
if ($thread['attach'])
{
$attachments = $DB_site->query("
SELECT filename, filesize, visible, attachmentid, counter, postid, IF(thumbnail_filesize > 0, 1, 0) AS hasthumbnail, thumbnail_filesize
FROM " . TABLE_PREFIX . "attachment
WHERE postid IN (-1" . $ids . ")
ORDER BY dateline
");
$postattach = array();
while ($attachment = $DB_site->fetch_array($attachments))
{
$postattach["$attachment[postid]"]["$attachment[attachmentid]"] = $attachment;
}
}

$posts = $DB_site->query("
Lines 1189-1206:
Quote:
if ($post['isdeleted'])
{
$template = 'postbit_deleted';
}
else
{
$template = 'postbit';
}
$postbits .= construct_postbit($post, $template);
if (!empty($parsed_postcache['text']) AND !$stopsaveparsed)
{
if (!empty($saveparsed))
{
$saveparsed .= ',';
}
$saveparsed .= "($post[postid], " . intval($thread['lastpost']) . ', ' . $parsed_postcache['images'] . ", '" . addslashes($parsed_postcache['text']) . "')";
}
Lines 1388-1402:
Quote:
if ($thread['attach'])
{
$postattach = array();
$attachments = $DB_site->query("
SELECT filename, filesize, visible, attachmentid, counter, postid, IF(thumbnail_filesize > 0, 1, 0) AS hasthumbnail, thumbnail_filesize
FROM " . TABLE_PREFIX . "attachment
WHERE postid IN (-1$ids)
");
while ($attachment = $DB_site->fetch_array($attachments))
{
$postattach["$attachment[postid]"]["$attachment[attachmentid]"] = $attachment;
}
}
// get list of usernames from post list
Lines 1603-1611:
Quote:
if ($threadedmode == 2) // hybrid display mode
{
$postbits .= construct_postbit($post, $template);
}
else // threaded display mode
{
$postbit = construct_postbit($post, $template);
if ($curpostid == $post['postid'])
And I wonder if the colored line in the last bit of code should be changed?
Reply With Quote
  #937  
Old 04-28-2005, 10:06 AM
The Geek's Avatar
The Geek The Geek is offline
 
Join Date: Sep 2003
Location: Behind you
Posts: 2,779
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

youve got something wacky going on with your code.

Your attachment fetching means that you are doing the same thing twice. I am not sure why you would have 2 almost identical blocks of code to fetch attachments (I am assuming its from an upgrade or other hack you have done) however it is causing you and additional query per showthread. CHeck against a new showthread to note the difference.

As for the postbits section of code:
If I remember right - you need to search for:
$template = 'postbit';
}
$postbits .= construct_postbit($post, $template);

which means that only the first block would come up with a match - so thats the one you want to replace.

HTHs
Reply With Quote
  #938  
Old 04-28-2005, 05:09 PM
rjordan's Avatar
rjordan rjordan is offline
 
Join Date: Sep 2004
Posts: 326
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I have verified that the unmodified showthread.php v3.0.7 has the lines duplicated as well. With that verified, which lines in steps 610-612 do I modify?
Reply With Quote
  #939  
Old 04-28-2005, 06:26 PM
The Geek's Avatar
The Geek The Geek is offline
 
Join Date: Sep 2003
Location: Behind you
Posts: 2,779
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by rjordan
I have verified that the unmodified showthread.php v3.0.7 has the lines duplicated as well. With that verified, which lines in steps 610-612 do I modify?
ah - gotcha. Your right.

Well - change them all. Thats what the auto installer would do. Technically you only need to change the sections in linear mode as it wont operate in hybrid or threaded mode. In other words you can just change the first instance or both. The second instances wont ever get called though.

hth's
Reply With Quote
  #940  
Old 04-30-2005, 01:55 AM
Kriminal's Avatar
Kriminal Kriminal is offline
 
Join Date: Dec 2004
Location: Buenos Aires
Posts: 32
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Well, I'm having a problem after install, and I can't be able to find a solution (maybe yo can help me)
I'm working with a fresh installation of vbulletin on localhost, and the first and only hack I've installed is GAS.
After installing, I went to forumshome and everything it's OK (nothing changes). But when I try to go into a forum, a blank page appears.
I looked for somebody having the similar problem, and you talked about reinstalling templates. I did it, but nothing new happens (I still have a blank page in forumdisplay)
Note that this happens at every forum, not just those set as "article forum"

I dont wanna to extends this description with every single step I tried, but believe me that I was trying to solve this by hours before asking; but I can't do it myself. I'm really want to install this hack in my forum, so if you have an idea, please help me.

At last, I want to sorry about my bad english.

Thank so much,

Kriminal
Reply With Quote
  #941  
Old 04-30-2005, 02:28 AM
memobug memobug is offline
 
Join Date: Jun 2002
Posts: 418
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Hmm. Maybe put the original showthread back temporarily. If that solves the problem, it might narrow down the issue to something in showthread.

Another possibility might be a badly formed forum list for articles in the admincp

Regards,

Matt

PS Your English is very good
Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 05:43 AM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2024, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.06105 seconds
  • Memory Usage 2,329KB
  • Queries Executed 25 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (8)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (6)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (4)pagenav_pagelinkrel
  • (11)post_thanks_box
  • (11)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (11)post_thanks_postbit_info
  • (10)postbit
  • (11)postbit_onlinestatus
  • (11)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.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/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.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
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete