vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.0 Beta Releases (https://vborg.vbsupport.ru/forumdisplay.php?f=34)
-   -   Geek Article System 3 - RC1 (https://vborg.vbsupport.ru/showthread.php?t=75795)

rlamego 02-06-2005 01:19 AM

Ok, last report of the evening before I'm off to the couch for some serious Battlestar Galactica new series marathon =)

My apologies if I'm posting something you already said it's broken but I kinda lost track of the bugs status.
1 - BREAK tag is case sensitive.;
2 - "Edit Article" from the Article Tools pull-down menu "doesn't work" (because no changes were made to the postings.php page)
3 - "Show the article sidebar" setting is ignored by the other options, so if it's set to NO and any of the others is set to YES, sidebar appears on the article pages.

And finally, one for the "things to do before releasing" list, remove or hide the break tag from the printthread.php version of the article.

TheComputerGuy 02-06-2005 02:28 AM

PHP Code:

Database error in vBulletin 3.0.6:

Invalid SQLINSERT INTO phrase (phraseidlanguageidvarnametextphrasetypeidVALUES (NULL'-1''geek_articles_article_tools''Article Tools''582')
mysql errorDuplicate entry 'geek_articles_article_tools--1-582' for key 2

mysql error number
1062

Date
Saturday 05th of February 2005 08:27:22 PM
Script
: [url]http://www.runaked.com/forums/admincp/gas3_install.php?do=installphrases[/url]
Referer: [url]http://www.runaked.com/forums/admincp/gas3_install.php?do=installdb[/url]
UsernameTheComputerGuy 

I get that when I try to install the phrases...

Killean 02-06-2005 03:45 AM

/forum/admincp/gas3_install.php

Line 74 there is a duplicate entry in the phrases array (entry number 18 is a duplicate of 2).
I removed the #18 line and decremented the array numbers.

If you have already gone through the process and got stopped by the error then do an uninstall and install again after you have made that correction in the file. ;)

TheComputerGuy 02-06-2005 04:55 AM

Installed Successfully....

http://www.runaked.com/forums/showthread.php?t=5061

Only problems were fixed with help from others.

The Geek 02-06-2005 08:59 AM

Updated package to 2-04
  • Fixed case sensitive pagebreak
  • Fixed a couple of layout problems in mozilla sidebars
  • Found a rogue phrase and fixed it
  • Fixed duplicate phrase in install
I will sort printthread later (fingers crossed - today)
Im not sure what is wrong with the edit article function - can anyone else elaborate?

To upgrade from previous packages:
Replace your functions_geekarticles file with the new one.
Run the install and uninstall the phrases and the templates
Run the install and install the phrases and templates.
Edit your show thread and find:
PHP Code:

$GAS_page_array explode($GAS_page_break_code$post['pagetext']); 

Replace with
PHP Code:

$GAS_page_array explode($GAS_page_break_codeprep_for_breaks(&$post['pagetext'])); 


nJoy (And thanks for everyones help!)

The Geek 02-06-2005 09:04 AM

Can everyone who has installed click INSTALL please? Otherwise you wont get notified of the updates.

Thanks

The Geek 02-06-2005 10:51 AM

update to 2.06

This version is to support printthread.
In the readme, there are printthread changes and there is a new template added 'GAS_printthreadbit'

To upgrade from 2-05:
Uninstall the templates, then re-install them
Do the canges in step 8 of the readme.

Only known issue to me at this stage is:

If comment count>0 but comment count<the preview count, the post number is a negative. This came up in private beta testing and I thought I had fixed it. Ill see if I can sort it this afternoon or tonight (its a pretty insignificant bug in the scheme of things)

Thanks

rlamego 02-06-2005 02:09 PM

Here's another issue with last package (which I believe is 6 but seems wrongly dubbed as 5).
In the vB options, setting "Show comments on last page?" to no, doesn't change a thing.
From what I can understand from the description (Do you want a 'preview' of comments on the last page of the articles?) this should remove all comments from the article's last page and put them in the comments page if set to "no", or show x number of comments in the last page of the article.

rlamego 02-06-2005 02:26 PM

As for the Edit Article bug, forget it. It was a template issue not related to GA.

xmitchx 02-06-2005 02:28 PM

Hi,

First off I'd like to tip my hat off to such a great hack :) Second, I found a typo

Step 8.6:
Quote:

// === GEEK ARTICLES step 8.6 ===
if ($GAS_is_article){
$post['pagetext'] = remove_all_breaks($post['pagetext']);
$template="GAS_printthreadbit";
}else{
$tempalte="printthreadbit";
}
// === /GEEK ARTICLES ===
The bold part should be $template :)


All times are GMT. The time now is 06:14 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.01003 seconds
  • Memory Usage 1,750KB
  • 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
  • (3)bbcode_php_printable
  • (1)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (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