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.5 RC2 (https://vborg.vbsupport.ru/showthread.php?t=78031)

gldtn 03-14-2005 04:05 PM

Quote:

Originally Posted by Allan
thank you for this hack, it is superb Geek :)

PS: I have a prob, I obtains a white page in "forumdisplay" (category)

can you provide a link so we can see? Also I would suggest to go manually thru the changes of forumdisplay.php and make sure everything is correct.

The Geek 03-14-2005 04:06 PM

Gldtn: Im looking into this right now.

Allan - Thanks! White pages are usually down to either a missing template or a file edit mistake. Is the forumdisplay blank regardless of the forumid - or just when you go to an 'article' forum?

Allan 03-14-2005 04:47 PM

@Gldtm: nop, I have to install it in localhost, but I will check the changes make in the forumdisplay.php

@The Geek: veiled, I have remakes the installation of the file manually "forumldisplay.php" is that does not have anything to change, I always obtains a white page, yes, I put a forumid well.

ps: tested with IE et Firefox (vBulletin3.0.7)

I have to install the version 1.04, which file php or other changed please ?

The Geek 03-14-2005 04:56 PM

Hey Allan - Im not sure if I follow you 100% - If you get a blank page regardless of the forum you are in - then check forumdisplay for the following code:
PHP Code:

eval('print_output("' fetch_template($GAS_setting['rt_template']) . '");'); 

above it try putting this:
PHP Code:

echo("###$GAS_setting[rt_template]###"); 

And see what it spits out.

Gldtm- I simply cant reproduce your problem! Can anyone else verify? Can you at least PM me a step by step process of what you are doing to reproduce the problem and give me a test account to go try it myself?

Allan 03-14-2005 05:01 PM

which step please ?

because I have just remade manually the change of the file "forumdisplay.php", and of step 200 to 208, one does not find the 2 lines that you a post shows me higher :surprised:

Allan 03-14-2005 05:11 PM

afflicted, veiled, I have to find:
Code:

eval('print_output("' . fetch_template($GAS_setting['rt_template']) . '");');
and i'm add abode :
Code:

echo("###$GAS_setting[rt_template]###");
and it is similar, page blank :(

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

will be able you to say exactly which file one be to change in the version 1.50 please ?

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
(20:46)
veiled, I have just reinstalled vBulletin 3.0.7 locally and I have also to install your last version (1.50) and similar, white page ...

shiva 03-14-2005 10:51 PM

Well, have to say I'm quite pleased with this, once I got it working, though I am now finding my members are a bit confused about the difference between a byline, a Synopsis and the actual editor to post the main article. Before you comment on the intellegance level of my members, we are all older guys, who didn't have computers to play with when we were young, so we get confused easily.

To be honest, they hate change. So, I have a couple questions and some ideas, based on what I've seen so far:

1. What's the template used for the fields for posting, I think a line explaining what each field does would help people.
2. Is there a way to not have bylines? I've noticed it stretches the header image down on my forum with my themes
3. On the listing for the synopsis, it cuts off the amount of characters automatically, is there a way to change it?
4. OR... instead of having the synopsis, having the system instead display as a option the first 100 or whatever characters of the post instead. Like how VBA CMPS news pages do it, and would be a lot simplier especially if we are using that new vb3articles convertor of yours (Besides, I already had someone post and not bother with bylines and synopsis) Also, maybe a read more link at the forum board listing at the bottom of each synopsis would be nice.
5. I love the way it displays, but I noticed there's a space on the left menu at the top, and I think it would look a bit better if the header image for the article rating etc be in line with the first line in the article. Is there a way to set a different CSS code for the background color there? I would like to play a bit with that left menu, add some stuff, so which template would that be?

Really top notch though, and it's nice to have it so intergrated with the forum system, but these are just suggestions for future versions.

uae 03-15-2005 04:09 AM

So far so good, waiting for the final release.

**Clicked Install**

The Geek 03-15-2005 06:07 AM

Hey Shiva....

Excellent points.
1- its called GAS_article_options
2- Just comment the byline field out of the above template. Then no one can enter them.
3- The cut off point for synopsis is the field size (255). If enough people want - I suppose I can make it a blob field or you can do that yourself. Then edit GAS_article_options and change the length.
4- Ill have to look into that. I know what you mean though... the synopsis box was a specific requested feature that was seperate from the article. Let me mull it over.
5- Can you give me a screenie of what you mean?

Thanks guys!

shiva 03-15-2005 07:36 AM

First off:

My main article page

:)

will make the changes and see what happens, getting braver every day...

The space is marked (can't miss it) but is very apparent on one theme, the others are okay, weird, as all 3 themes are extremepixel themes.

The left menu should be a slightly different color, just to make it slightly more apparent, and set a nice color contrast. I believe that the main posting field would be set to alt1 in the CSS, the left menu would then be a different class, but it also occured to me that it would be theme specific as well. Is the code for that in GAS_article_options as well?

I think having the ability to just put out the first characters of a post is rather handy, to be honest, that's all I did with my articles so far, just copy and paste in the first few lines. I'm Lazy... :)

The Geek 03-15-2005 10:02 AM

Quote:

Originally Posted by shiva
First off:

My main article page

:)

will make the changes and see what happens, getting braver every day...

The space is marked (can't miss it) but is very apparent on one theme, the others are okay, weird, as all 3 themes are extremepixel themes.

The left menu should be a slightly different color, just to make it slightly more apparent, and set a nice color contrast. I believe that the main posting field would be set to alt1 in the CSS, the left menu would then be a different class, but it also occured to me that it would be theme specific as well. Is the code for that in GAS_article_options as well?

I think having the ability to just put out the first characters of a post is rather handy, to be honest, that's all I did with my articles so far, just copy and paste in the first few lines. I'm Lazy... :)

The space there is a result of the cellspacing./cellpadding setting.
That (and the class setting) can be changed in GAS_article_pb if you are eager :)

Your other wishes have been implimented and a new release will be out today so you can stop cutting and pasting :)

The Geek 03-15-2005 10:07 AM

BTW: I see you are using the 'first attachment thumbnail' as the article header.
When I browse, all I get are missing images in the headers. Is it working for you?

The Geek 03-15-2005 10:49 AM

Package updated to RC1.

This fixes all known remaining bugs

Added couple of new features:
  • Byline/synopsis can be turned on and off.
  • If synopsis is left blank (or turned off) then the threadbit in forumdisplay will show first x amount of characters for synopsis.
  • Synopsis character length is now controlled via admincp
  • Synopsis box now takes BBcode.
To update, replace all existing files with the ones in the latest package.
Run the installer. I would suggest a complete reinstall (use your gas/changes/backup files) to revert your file changes before upgrading.

Is there anything else? I would like to get this thing released!
Just out of curiosity - For those with GAS3 installed - is an upgrade script needed for file changes? Chances are it will only work on MOST file edits as the previous version was manual. Dont you think it would be easier to simply upgrade file changes by using fresh files?

Thanks all!

Magic Spark 03-15-2005 12:01 PM

Quote:

Originally Posted by The Geek
...

When you click the Image button in a new article, it pops up a window with all images in the gas/images directory INCLULDING any images it finds in gas/images/forums/[CURRENT_FORUMID]

In other words, you can have a global gallery for users to choose from in gas/images/
And then have forum specific gallery images in gas/images/forum/[forumid]

...

Hi Geek,

found one little typo in actual RC1 Package:

Folder: /gas/images/forum
Should be: /gas/images/forums


One more: If I choose "yes" in gas-options "Use the legacy forumdisplay template? Choosing no will show the article header images". There's a table and colspan problem in the templates.

Thanks for working so hard on this hack...

I have already voted for the Hack of the month *click-dee-click*

The Geek 03-15-2005 12:15 PM

You the man! (Or woman - so hard to tell now a-days!).

Amazing no one picked it up before. I just updated the package. For those already on RC-1... just rename your gas/images/forum folder to gas/images/forums

And thanks for voting!

Magic Spark 03-15-2005 12:19 PM

Geek,

is the template error cleaned out in the updated package. I've edit my previous post.

The Geek 03-15-2005 12:27 PM

Quote:

Originally Posted by Magic Spark
cleaned out in the updated

er... you would have to refresh my memory. As far as I know - everything that has been brought up has been sorted.

Magic Spark 03-15-2005 12:33 PM

Okay, I check this - doing a fresh install on my local test-webserver. I come back then after checking.

Magic Spark 03-15-2005 12:49 PM

Geek,

the following Bugs found in the actual RC1 package:

1) The buttons "newarticle.gif" and "comment.gif" in images/buttons/ are not in the actual package.
2) If I choose "yes" in gas-option "Use the legacy forumdisplay template? Choosing no will show the article header images". Then there's a <table> and/or colspan problem in forumdisplay.php. (see attachment)

The Geek 03-15-2005 01:03 PM

Oops.

Where the heck did they get off to? Ill put them back in once I look into the legacy display issue (it also looks like your Last post and rating phrases are spelled wrong [haha - damn Im amusing])

Thanks Magic

Magic Spark 03-15-2005 01:15 PM

Hehehe, no, no - they're right.

One more point:
I have problems with attachments when your hack is installed.
Tested it with clean install of vb 3.0.7 - no problems.
If hack is installed the following problems occured:

I have an apache 2 webserver with gd2 running. In vb-Options configured to create thumbnails of images.

- I wrote an article, choose a header image and save.
- All is well so far.
- I edit my article and add an attachment to it (the normal vb attachments).
- Then sometimes it displays the right thumbnail, sometimes it displays nothing and sometimes the wrong thumbnail (or better wrong image) shows up.

It looks like the previous uploaded images are cached in some way and get mixed up, with this hack installed.

Can you please check this...

The Geek 03-15-2005 01:21 PM

Can you verify with the latest build? I havent had this problem. There have been thumbnail issues in earlier beta builds.

PS... am updating package as we speak to fix your legacy GAS_forumdisplay issue. Also found a hard coded phrase in the same line so I took that out.
I have also put the article and comment button images in.

To upgrade, replace all files and then run the Phrase and template install portion ONLY (or you can always pass... it really only fixes the display if using legacy forumdisplay)

Here it comes ;)

Magic Spark 03-15-2005 01:40 PM

Hmm,

now I get the following error:

Parse error: parse error, expecting `T_STRING' or `T_VARIABLE' or `T_NUM_STRING' in C:\...greyedout...\forumdisplay.php(851) : eval()'d code on line 66

After upgraded the templates and phrases, I did once again a fresh install - same error...

Magic Spark 03-15-2005 01:50 PM

I install your GAL-System to test it with the GAS.
Maybe I can find there some bugs too! ;)
Only to push some work over to The Geek. [now - I am amused.]

The Geek 03-15-2005 01:53 PM

Quote:

Originally Posted by Magic Spark
Hmm,

now I get the following error:

Parse error: parse error, expecting `T_STRING' or `T_VARIABLE' or `T_NUM_STRING' in C:\...greyedout...\forumdisplay.php(851) : eval()'d code on line 66

After upgraded the templates and phrases, I did once again a fresh install - same error...

Be amused all you want - I wont rest until you cant find any ;)

Just updated package to fix typo in inc_template.
To update from rc1.01, just replace old gas/install/inc_templates.php with new one and run the installer - just install the templates though.
Or, you can just edit your GAS_forumdisplay template, and on line 66 replace $vbphrase['GAS_order_by'] with $vbphrase[GAS_order_by]

Thanks :)

Magic Spark 03-15-2005 01:59 PM

Man (or maybe woman), you're fast.

Test the thumbnail issue with attachments once again with actual release, to be sure there's no problem.

Then I check the implementation of GAL.

Come back then...

The Geek 03-15-2005 02:12 PM

Im like greased lightening ;)

However - I can not reproduce the error your talking about. The only annoying thing for me is that my article header image popup isnt wide enough (going off to sort it now)

As far as Im concerned - this things about ready to go live (unless you can find any other reason not to).

BTW: I still havent gotten any feedback on upgrading from Gas3. Maybe ill pop over to that thread and find out.

Magic Spark 03-15-2005 02:43 PM

Geek,

the following bugs were found:

1) One more colspan needed if using legacy display

In Template "GAS_forumdisplay" (row 66) search for:

colspan="4"

Replace with:

colspan="5"

2) Article Image broken when edit article. It seems, this only occurs, if not explicity set an image by yourself when create an article.

3) GAL-Implementation Error (tested with actual GAL-Release "gal_206.zip"):

Following error occurs only after submit new article and keywords for GAL are inserted:

Warning: gas_add_article(functions_gal.php): failed to open stream: No such file or directory in \includes\functions_geekarticles.php on line 264
Fatal error: gas_add_article(): Failed opening required 'functions_gal.php' (include_path='.;c:\php4\pear') in C:\Apache2\htdocs\test\includes\functions_geekarti cles.php on line 264

By the way: Is the attachment-table edit (description) for later updates or new releases?

The Geek 03-15-2005 04:18 PM

Hey Magic - squashed them and updated package.

1) Done
2) Done
3) Done

The attachment description is for later implimentation and to support those coming over from vb3articles (man you really are combing through the code arent you?!?)

To upgrade, replace all files and reinstall templates and phrases (found another hardcoded phrase that I quickly fixed).
The GAL error was because I forgot to include the include in the package. Its there now.

To be honest, you guys most likely dont need to upgrade, but I would download the latest package and replace files so you fix issue #2 (though its rare to occur).

Next? :)

Magic Spark 03-15-2005 04:23 PM

Hey Geek,

thanks for fixing.

I try to find out where my problems with the attachments (thumbnails) come from. Without luck for now.

I think you should release it. ;)

If you need an beta-tester for further project, just call me.
You're an outstanding coder... thanks again.

Snow 03-15-2005 06:24 PM

Quote:

Originally Posted by The Geek
BTW: I still havent gotten any feedback on upgradingfrom Gas3. Maybe ill pop over to that thread and find out.

Theinstall went great on my test forum as I remembered to completelyuninstall the previous version. I forgot to do so for my liveforum and things went horribly wrong. Maybe if its feasible, youcould include a 'detect previous version' in the installer with theoption/reminder to uninstall. If it was just a minor issue of thehack not working because someone forgot to uninstall it's not so bad,but it made my forum inaccessible (Thank God for backups!). Ohand a little note somewhere to mention that the changes folder shouldbe emptied if you try to re-install after an unsuccesful install :o:o

The Geek 03-15-2005 06:33 PM

Good suggestions Snow.

I am actually just finishing up the upgrader. Got tired of waiting for feedback so I felt it was better to be safer than sorrier!

Ill also put in the checks to advise.

shiva 03-15-2005 07:06 PM

Quote:

Originally Posted by The Geek
BTW: I see you are using the 'first attachment thumbnail' as the article header.
When I browse, all I get are missing images in the headers. Is it working for you?

If that's my site, it works fine as a guest, displays on firefox. May be blasted IE, I use the attachment feature for the images, but as a hack, because i have a lot of files, and want them member only.
VB does have problems with that though, you know of a solution? how about a field just for loading in a header image
Playing around with the permissions anyway, see if that works.

gldtn 03-15-2005 07:09 PM

Geek,

A few things I've noticed...

1.) In forumdisplay where it says "Order By | Title | ..", "| Title |" took place of "Order By", "Order By" is gone and it left with a blank "| |". See Attachment.

2.) "Read More" on Synopsis line IMO should be spaced out in case synopsis undergo 300 chars. See attachment.

3.) "By Line" and "Synopsis" input boxes still shows when marked as no under Geek Articles settings.

4.) On "GAS_image_upload" Template.. I would suggest to to set the popup window to open to this size;
window.resizeTo(($windowwidth + 250),($windowheight + 341));

5.) I'm still having problems with editing article header image from both global and specific forums.

6.) Other than that it seems great :P

The Geek 03-15-2005 07:39 PM

Shiva - nope. Im stumped. Ill check again later with FF and IE.

Gldtn - thanks for those. Order by was replaced with a new phrase. Try installing the phrases with the latest package.
Ill look into the other issues. There is still 1 or 2 more minor things to tidy up before the release.

The good news is that I now have an upgrade script for users of 3.0x. That will revert all the files before changing them. I think she shall be set for a release date of tomorrow.

gldtn 03-15-2005 09:00 PM

Geek,

Could it be that you got the phrases confused? I seen in forumdisplay template $vbphrase[GAS_order_by] | $vbphrase[GAS_title] | $vbphrase[geek_articles_posted_by] | $vbphrase[last_post] | $vbphrase[geek_articles_comment] | $vbphrase[geek_article_reads] | $vbphrase[rating]

But I can not find "GAS_title" and "GAS_order_by" says Title.

Also check this line:
<a href="$sorturl&amp;order=desc&amp;sort=views">$vbp hrase[geek_article_reads]</a> $sortarrow[views]&nbsp;

Note the extra &nbsp;

kevinnguyen 03-15-2005 10:05 PM

After I edit a post, the user's avatar is replaced by the article image even though I set No to Use first attachment thumbnail as avatar

How to fix that?

Im running the lastest version btw

PennylessZ28 03-16-2005 12:36 AM

Don't work, how can I unistall all this garabge?

gldtn 03-16-2005 01:10 AM

Quote:

Originally Posted by HR3rdGen
Don't work, how can I unistall all this garabge?

Maybe if you quit the trash talking we can give you a hand.

Note the the ppl that write these mods are under no obligation to make codes or give you any type of support at all. Also it's most likely that you did not read the READMEs and made a note of it that this is a BETA version of this mod, so you installed it at your own risk.

Feel lucky that this mod has no potential to mess up your board cause your whole community could've been garbage by now.

Please have a little bit of courtersy!

spence2 03-16-2005 06:57 AM

Quote:

Originally Posted by HR3rdGen
Don't work, how can I unistall all this garabge?

"Unistall this garabge?"

Wellba...I duhno, butt u mite wanna git u-self sum black cofee fore u giveitago.

:rolleyes:


All times are GMT. The time now is 11:19 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.01345 seconds
  • Memory Usage 1,855KB
  • 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
  • (2)bbcode_code_printable
  • (2)bbcode_php_printable
  • (9)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (2)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (40)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