Log in

View Full Version : Geek Article System 3.52


Pages : 1 2 3 4 [5] 6 7

The Geek
05-05-2005, 07:16 PM
where should I put this exactly to display in calendar? I tried calendar.php and functions_calendar.php
$linked_text=process_gal_text($text_wanting_to_be_ linked);
did you put it in exactly like that? Its pseduo code:

$thisbecomesyourlinkedtext=process_gal_text($the_t ext_you_want_to_link);

I really dont know as I dont really use the calendar.

er... BTW: This is the GAS thread ;)

Lionel
05-05-2005, 07:21 PM
????
$thisbecomesyourlinkedtext=process_gal_text($the_t ext_you_want_to_link);

does that mean I would have to put a $different_linked_text=
for each one of them?

Let's say I have Bush in GAL. And in calendar, I type Georges Bush
so should it be
$Bush=process_gal_text($Bush);

Lionel
05-05-2005, 07:22 PM
oops, sorry... I have been using all your mods and sometimes I have 3 browsers open on you.

The Geek
05-05-2005, 08:11 PM
oops, sorry... I have been using all your mods and sometimes I have 3 browsers open on you.
I feel so exposed :)

BTW: Glad you got it working.

lohman
05-06-2005, 01:54 AM
So...

I ran the installer. I edited the settins in the GAS_admin.php. But I can't figure out how to use it. I see no sign of the GAS anywhere on my forums.

I created a new forum for this, ID # 29. And then I changed the admin setting to use forum ID 29. But the forum looks no different.

What am I missing? Once it is installed, how do I use it?

unenergizer
05-06-2005, 04:20 AM
I can't install this hack/mod. I get this error:

Parse error: parse error, unexpected $ in /home/gamebeef/public_html/gamehaxs/admincp/gas3_install.php on line 423

I only have one other mod on my forum. vbAdvanced. Anyhow If I can get help installing this, I would greatly appericate it!

-unenergizer

The Geek
05-06-2005, 06:47 AM
I can't install this hack/mod. I get this error:

Parse error: parse error, unexpected $ in /home/gamebeef/public_html/gamehaxs/admincp/gas3_install.php on line 423

I only have one other mod on my forum. vbAdvanced. Anyhow If I can get help installing this, I would greatly appericate it!

-unenergizer
redownload the hack. What version of php do you have?

If the install file is failing - something is screwy.

Lohman - did you copy the files over from gas/changed as per the readme?

Qwest
05-06-2005, 03:27 PM
Why are the images all jacked up in the thumbnails on the right column??

The Geek
05-06-2005, 04:04 PM
Why are the images all jacked up in the thumbnails on the right column??
dont know what youre talking about.

Watson
05-06-2005, 11:04 PM
for some reason my forum has changed to forum display and not the synopsis which was the way I had it, I aint changed anything :( I really would like it back the way it was but selecting no in ACP aint working :(:(

Lionel
05-07-2005, 12:56 AM
Why are the images all jacked up in the thumbnails on the right column??

I think you meant what was posted here (https://vborg.vbsupport.ru/showpost.php?p=648710&postcount=965) . It's just html. Put a <br />

The Geek
05-07-2005, 05:42 AM
for some reason my forum has changed to forum display and not the synopsis which was the way I had it, I aint changed anything :( I really would like it back the way it was but selecting no in ACP aint working :(:(
did someone turn the legacy forumdisplay on or did you install another hack?

xug
05-08-2005, 01:33 PM
Next version (when I get around to it) will have the option to make it static or dynamic.

Glad its working - please click install when you get a minute :)

Hope to see that option Very Soon!!

Watson
05-09-2005, 12:04 AM
did someone turn the legacy forumdisplay on or did you install another hack?

I have recently installed a thank you hack, which I took off cause the admin cp for it didnt work, and also a delete inactive users hack

djroketboy
05-09-2005, 01:24 AM
nevermind...

The Geek
05-09-2005, 08:04 AM
I have recently installed a thank you hack, which I took off cause the admin cp for it didnt work, and also a delete inactive users hack
chances are that is interfering somewhat. Check your changes in forumdisplay

Watson
05-09-2005, 01:28 PM
will do, dont really wanna do a re-install, but will see what changes are there from your file, and see if there is anything missing mate

Watson

DislexiK
05-09-2005, 05:05 PM
The GeeK,

Brilliant work you have done here *installed*.

I am having a problem however, I have used the mod_rewrite hack and it seems to be causing a problem for the multipage feature of GAS. Here is the code that is doing it within the pagenav_pagelink template:

<if condition="THIS_SCRIPT==forumdisplay OR THIS_SCRIPT==showthread">

<td class="alt1"><a class="smallfont" href="$address-$curpage$address2" title="<phrase 1="$pagenumbers[first]" 2="$pagenumbers[last]" 3="$total">$vbphrase[show_results_x_to_y_of_z]</phrase>">$curpage</a></td>

<else />

<td class="alt1"><a class="smallfont" href="$address&amp;page=$curpage$address2" title="<phrase 1="$pagenumbers[first]" 2="$pagenumbers[last]" 3="$total">$vbphrase[show_results_x_to_y_of_z]</phrase>">$curpage</a></td>


</if>

I can see away around this and that is being able to use something like:

<if condition="$Geek_article">Article Mod_Rewrite<else />Do normal mod_rewrite</if>

Is this possible to have the if condition here? IF not how would I go about making it possible?

Thanks.

The Geek
05-09-2005, 05:25 PM
The GeeK,

Brilliant work you have done here *installed*.

I am having a problem however, I have used the mod_rewrite hack and it seems to be causing a problem for the multipage feature of GAS. Here is the code that is doing it within the pagenav_pagelink template:

<if condition="THIS_SCRIPT==forumdisplay OR THIS_SCRIPT==showthread">

<td class="alt1"><a class="smallfont" href="$address-$curpage$address2" title="<phrase 1="$pagenumbers[first]" 2="$pagenumbers[last]" 3="$total">$vbphrase[show_results_x_to_y_of_z]</phrase>">$curpage</a></td>

<else />

<td class="alt1"><a class="smallfont" href="$address&amp;page=$curpage$address2" title="<phrase 1="$pagenumbers[first]" 2="$pagenumbers[last]" 3="$total">$vbphrase[show_results_x_to_y_of_z]</phrase>">$curpage</a></td>


</if>

I can see away around this and that is being able to use something like:

<if condition="$Geek_article">Article Mod_Rewrite<else />Do normal mod_rewrite</if>

Is this possible to have the if condition here? IF not how would I go about making it possible?

Thanks.
This has been brought up before. Sadly - I cant help. You need to look at the mod rewrite hack to see how to deal with the extra conly variable.

DislexiK
05-09-2005, 05:30 PM
I have examined the code for the past two hours. The conly variable is not a problem, I have bypassed that. The problem is (As you can see in the above code) the mod_rewrite hack checks to see if the script is showthread or forumdisplay. I need to be able to make it so that it checks this PLUS checks to see if the thread is not in the geek article array, if it is it should do else. I am not sure how to do this though.

Watson
05-09-2005, 06:07 PM
just upgraded my Forums, and installed all again, but the reviews that were there before aint showing up now. Any help?

Watson

Lionel
05-11-2005, 07:12 PM
Geek I am having an issue that seems to be only with GAS.
When I post an article and I placed an image plus autolink comma separated, on submit I get a blank page.

When I look, article is posted with small image, but attachment is not. I am able to post attachmnet on editpost. I am saying GAS because it does not happen the normal newthread way. And I am saying autolink because I have been posting hundreds of articles with GAS, no problems. The only new thing today was comma in autolink, accent on a word, and first time using autolink in article since autolink upgraded. I had used autolink before in GAS with no problem.

KTBleeding
05-11-2005, 07:44 PM
Geek, now that GaL 4 is released you may have some more time to look into this.

There's still the issue of the size tags showing up in the "description" overview. I'm not sure how far you got into looking into that issue, just reminding you again.

I am also having a problem with the Article Image. Sometimes they do not resize as a thumbnail so when the article is posted with a large image it stretches the page out. Just a little odd that sometimes it does resize, but sometimes it doesn't?

Just thought I'd let you know.

EDIT! Before I forget, I have a suggestion for 3.51/4.0/whatever next release. With the GAL addon feature, allow us to also post the popup description rather than just the keywords.

The Geek
05-11-2005, 08:05 PM
hmmm. Lionel it does sound like a compatability problem between GAS 3.51 and GAL 4.
Ill sort that out.
KT- Good idea - ill see what I can do (most likely kill both birds with 1 stone)
However Im not sure about the thumbnail resize issue - I havent seen it yet. Can you get a predictable reproduction fo rme to check out?

KTBleeding
05-11-2005, 08:54 PM
I wish I had a prediction, but I don't. I went to check and see if it didn't resize certain file types but that's not the case cause a prior image of the same was resized perfectly.

Here is the latest one added that you can see:
http://www.keepthembleeding.net/forums/forumdisplay.php?f=13

It's .jpg, but the one below it was .jpg too and resized fine. I'm stumped. hah

Oh, also.. I'm not sure if this is a vBulletin thing or not.. but if you look closely at the title it says "New NILE CD" which I have since renamed to just "Nile" but it doesn't seem to update on the forumdisplay.

Watson
05-11-2005, 09:02 PM
Any chance you could lemme know if there is a solution for my problem geek mate? Got people submitting reviews and really wanna get them up :)

Thanks

Watson

|Jordan|
05-12-2005, 02:57 AM
I had the hack installed and working without problems. Now all of a sudden it get an error message when trying to view threads. I did not edit any files and neither did anyone else (as im the only one who has ftp access).


Fatal error: Call to undefined function: process_gal_text() in /home/<pathtoforum>/forums/includes/functions_showthread.php on line 677


I disabled the error producing code for the moment. Any ideas what's happened? I went back through all the files and all file modifications are still there.

dsboyce8624
05-12-2005, 03:00 AM
Give a snippet of that section, say lines 655 to 675 in 'code' tags.

|Jordan|
05-12-2005, 03:10 AM
$points = round($points, $vboptions['uttpoints_rounddecimal']);
$points = number_format($points, $vboptions['uttpoints_rounddecimal'], '.', '');
}
// uTT Store Hack
// Note sure if I even need this, but a safety percausion anyways...
$post['uttstore_glow'] = htmlspecialchars($post['uttstore_glow']);
$post['uttstore_usernamecolor'] = htmlspecialchars($post['uttstore_usernamecolor']);
// ## </ucs>

//=== GAL step 300 ===
$post['message']=process_gal_text($post['message']);
// === /GAL step 300 ===
// do posts from ignored users

if ($tachyuser AND THIS_SCRIPT != 'showpost' AND THIS_SCRIPT != 'private')
{
$maintemplatename = 'postbit_ignore_global';
}
else if ($ignore["$post[userid]"]/* AND !in_array($post['userid'], explode(' ', $bbuserinfo['buddylist']))*/)
{
$maintemplatename = 'postbit_ignore';

dsboyce8624
05-12-2005, 03:11 AM
Okay, I haven't used this hack, but somewhere that function should be defined. If you search for it in the file does it show up any other times?

I found this function defined in functions_gal.php

I don't use the autolinker though. I'm assuming that file is in your fourm path and called at some point. You may need to wait for Geek to help you, unless you can follow the code and see what broke.

The Geek
05-12-2005, 06:00 AM
watson - pm me an admin account and ill look at it.

ktbleeding - what happens if you downlaod that exact pic and reupload it?

myisjordan - THat is a function in GAL4.0 it looks like you have intalled 4.0 but maybe not made the global.php changes (check in your gish/gal folder for a changed global.php file)

KTBleeding
05-12-2005, 12:34 PM
ktbleeding - what happens if you downlaod that exact pic and reupload it?It stays the same. Maybe that's the problem then because this was actually a topic that was posted in "General Discussion" and I then moved it to my article forum. It was originally put in with BBCode IMG tags though rather than attached.. hmm

|Jordan|
05-12-2005, 06:03 PM
That was it; thanks a million Geek ;)

Only problem now is going to any thread shows a blank page and the title of page is "Invalid Syntax Error".

The Geek
05-13-2005, 06:46 PM
package updated to 3.52 - the only change is the functions_geekarticles.php file. Just replace this. All it does is allow proper integration for GAL4. If you dont use GAL, there really isnt much reason to update.

Lionel
05-14-2005, 01:42 AM
Geek I just upgraded to 3.52. While I no longer get blank pages and ignore threadid works when using that way (but not when placed directly in admincp), I still cannot upload attachments. I have to get them a second time on edit post.

|Jordan|
05-14-2005, 01:42 AM
I upgraded both GAL and GAS and my showthread still doesn't display :(

Now the page title says "No Page To Display" in IE and in firefox the page is white.

Lionel
05-14-2005, 01:47 AM
Jordan I had the same problem last night. I believe that was caused either by a bad popup (check your popups) or the last autolink

The Geek
05-14-2005, 05:49 AM
While I no longer get blank pages and ignore threadid works when using that way (but not when placed directly in admincp), I still cannot upload attachments. I have to get them a second time

? How long have you had this problem? I havent updated this hack in months and no one else has mentioned anything.

The Geek
05-14-2005, 05:51 AM
Jprdan - did you click GAL->Debug->Rebuild? My guess is that it would be with GAL as this package only updated a function in functions_geekarticles.php post over in the gal thread and ill look into it for you

Lionel
05-14-2005, 05:53 AM
? How long have you had this problem? I havent updated this hack in months and no one else has mentioned anything.

problem started with upgrade of GAL. Not this one. The one before.

The Geek
05-14-2005, 05:56 AM
of GAL. Not this one. The one before.

A problem with uploading attachments when you installed GAL?

Lionel
05-14-2005, 05:58 AM
On the upgrade before that one, on upload small image was uploading, I was getting blank page, but post went thru. Except that manage attachments did not work.

After last upgrade, no more blank page, get the normal redirect, but images from attachment still does not display. I have to get them on editpost.php

Lord Brar
05-14-2005, 11:13 AM
:) It seems like this solution can be a perfect fit for what I am looking for. But before I install it, can I ask you a question?

Is the synopsis of the articles searchable?

Thanks :D

|Jordan|
05-14-2005, 01:50 PM
Jprdan - did you click GAL->Debug->Rebuild? My guess is that it would be with GAL as this package only updated a function in functions_geekarticles.php post over in the gal thread and ill look into it for you

Where can i find that option?

And thanks for all the help you've been giving me, sorry if im a pain in the ass :ermm:

Lizard King
05-14-2005, 02:52 PM
Where can i find that option?

And thanks for all the help you've been giving me, sorry if im a pain in the ass :ermm:
It is under Admincp - Geek Auto Links - Maintenance

|Jordan|
05-14-2005, 03:16 PM
:O i dont see any maintenace in GAL section. There's just: Display, Add new, Settings, Categories, Add Category

venomx
05-15-2005, 12:41 AM
Seems to be working ok but it still shows "Comments" at the bottom and no comments under it.

I have show comments only on last page to no.
Take a look at http://www.discussionjunction.com/forums/showthread.php?t=3930
Right under the Comments button is the word comment. It doesnt show any yet if you go back to the top and click show comments there is one...

venomx
05-15-2005, 12:58 AM
After upgrading GAL and GAS I now have templates called G and <
Any ideas??

Lizard King
05-15-2005, 01:07 AM
After upgrading GAL and GAS I now have templates called G and <
Any ideas??
I have the same :) Didn't revert it just staying over there :D

venomx
05-15-2005, 01:17 AM
Yeah cant remove them LOL...

rjerina
05-15-2005, 07:36 AM
For some reason my articles forum used to show the Geek Articles template, but now it shows the regular forum template. Any ideas on how to fix this? Thanks.

p.s. as far as i know i have not changed anything to effect this, but i could be wrong.

edit: i think i know why. i am using a mod_rewrite modification and i think it is causing it. how can i fix this? thanks.

TheComputerGuy
05-17-2005, 12:23 PM
I love the article system.

I have a question though. I would like to display on the forum that the articles are in...something special....like instead of that great big image that is there by default...I would like to be able to switch that up.

Is there anyway to do this?

The Geek
05-17-2005, 04:09 PM
I love the article system.

I have a question though. I would like to display on the forum that the articles are in...something special....like instead of that great big image that is there by default...I would like to be able to switch that up.

Is there anyway to do this?
You can use either the forumlegacy look (in settings) which makes it look more like a forum or you can change the gas/images/defualt.jpg pic to whatever you want, or upload per article, or whatever really :)

venomx
05-17-2005, 04:16 PM
Seems to be working ok but it still shows "Comments" at the bottom and no comments under it.

I have show comments only on last page to no.
Take a look at http://www.discussionjunction.com/forums/showthread.php?t=3930
Right under the Comments button is the word comment. It doesnt show any yet if you go back to the top and click show comments there is one...
Any idea The Geek?

venomx
05-17-2005, 04:16 PM
After upgrading GAL and GAS I now have templates called G and <
Any ideas??

Any way to remove these?

The Geek
05-17-2005, 04:25 PM
Any way to remove these?
Hey Venom.

Re: The rogue templates - can they not be deleted? I think they were caused by a typo in one of the upgrades. They are not used.

re: the comments - there is a comment on that link so its tough to say. It seemed like this was an issue awhile ago but was fixed in 3.51... maybe its a remenant from the upgrade. Can anyone else verify?

BTW: on the page you linked to is a gal... why not link fractalplaza.info ? Also - it looks like the offset is set pretty high so the word gets covered. Not sure if that was intentional - just a friendly heads up ;)

venomx
05-17-2005, 04:38 PM
Nope the revert button doesnt active when you view/highlight it. :(

The Geek
05-17-2005, 04:44 PM
Nope the revert button doesnt active when you view/highlight it. :(
can you delete via phpMyAdmin? If not - I wouldnt really stress about it. Ill see if I can do a check and delete next update. Other than that - it doesnt really cause a problem other than cause one to itch ones head as if infected with a mild case of head lice.

liaison
05-17-2005, 05:58 PM
Hi all, great hack!! its working 70% the problems i am getting when i view any of my forums, check this http://www.nextgen24.com/forum/forumdisplay.php?f=20

it give me this error
Parse error: parse error, unexpected $ in /home/nextgen2/public_html/forum/forumdisplay.php on line 683

can anyone help me sort it out? :ermm:

The Geek
05-17-2005, 06:39 PM
Hi all, great hack!! its working 70% the problems i am getting when i view any of my forums, check this http://www.nextgen24.com/forum/forumdisplay.php?f=20

it give me this error
Parse error: parse error, unexpected $ in /home/nextgen2/public_html/forum/forumdisplay.php on line 683

can anyone help me sort it out? :ermm:
whats on that line? Looks like a file edit error

liaison
05-17-2005, 07:00 PM
hmmm.... here is my showthread.php not sure whats missing as i followed all instructions and used the auto installer... any idea's?

winky6
05-17-2005, 07:29 PM
NG, I found something interesting when I tried to install your autolinker, after installing the GAS-articles.

admincp/index.php - after the articles mod was complete, it looks like this -

$printhr = false;
// === GAS step 400 ===
construct_nav_option($vbphrase['GAS_settings'], 'GAS_admin.php');
construct_nav_group($vbphrase['GAS_CP']);
$printhr = true;
// === /GAS step 400 ===
if (can_administer('canadminstyles'))

Now when autolinker looks for the area to mod, it looks for -

$printhr = false;
if (can_administer('canadminstyles'))

Needless to say, it errors out. And the mod for that has to be done by hand.

Marco van Herwaarden
05-17-2005, 07:33 PM
hmmm.... here is my showthread.php not sure whats missing as i followed all instructions and used the auto installer... any idea's?I removed your attached file. It is not allowed by your license agreement and our rules to post significant parts of the vB source.

liaison
05-17-2005, 08:00 PM
Oh... im sorry just starting out at all this... it wont happen again! i have uninstalled the mod and i am going to try and re-install :)

liaison
05-17-2005, 08:20 PM
Ok all seeems to be working apart from when uploading an image for an article i get the following error, any idea what could be up? (sorry if its really obvious but i have only just started out)

Warning: move_uploaded_file(/var/www/html/gas/images/1/cfia.jpg): failed to open stream: No such file or directory in /includes/functions_geekarticles_images.php on line 104

Niroj
05-17-2005, 10:37 PM
after installing this mod.....everytime i go to post a message using quick reply...i get this error:

Error: threadedmode is not defined
Source File: http://mydomain.com/forums/clientscript/vbulletin_quickreply.js
Line: 17

i see this error in firefox...wen i check the 'Javascript console' in tools.

How can i fix this?? Please help

KTBleeding
05-18-2005, 12:07 AM
There's still the issue of the size tags showing up in the "description" overview. I'm not sure how far you got into looking into that issue, just reminding you again.

I am also having a problem with the Article Image. Sometimes they do not resize as a thumbnail so when the article is posted with a large image it stretches the page out. Just a little odd that sometimes it does resize, but sometimes it doesn't?

I'm still experiencing these, just a friendly reminder.

freebase69
05-18-2005, 04:12 PM
I just did a fresh install however none of my amincp options show up. I went to the phrases and click on one and then hit save...nothing. WHen I opened admincp/index.php there is no mention of any "GAS" code in there. When I ran the upgrade it said it could not complete step 208, replace "x" code with "Y" code. WHen I searched for the code to replace it was never in there in the first place.

I never got any errors at all from the install. WHen I ran the upgrade the 208 error was all I got. I'm a little confused nw as to what to do.

Any ideas?

The Geek
05-18-2005, 05:17 PM
I just did a fresh install however none of my amincp options show up. I went to the phrases and click on one and then hit save...nothing. WHen I opened admincp/index.php there is no mention of any "GAS" code in there. When I ran the upgrade it said it could not complete step 208, replace "x" code with "Y" code. WHen I searched for the code to replace it was never in there in the first place.

I never got any errors at all from the install. WHen I ran the upgrade the 208 error was all I got. I'm a little confused nw as to what to do.

Any ideas?
copy the changed files from gas/changes to their respective locations.

Niroj - are you saying you cant post or that there is just a javascript error?
KT - sorry to put it off - Ill try to get to it asap

freebase69
05-18-2005, 06:59 PM
copy the changed files from gas/changes to their respective locations.


Where are these located? Thanks for the quick reply BTW.

The Geek
05-18-2005, 07:10 PM
Where are these located? Thanks for the quick reply BTW.
in your forum/gas/changes folder as per the readme.

Niroj
05-18-2005, 09:56 PM
Niroj - are you saying you cant post or that there is just a javascript error?


just javascript error
i can post fine

Lizard King
05-19-2005, 10:10 AM
I have the same problem happened here (https://vborg.vbsupport.ru/showpost.php?p=649239&postcount=991) happened to me also. Is there a way to get this working ?

The Geek
05-19-2005, 11:00 AM
I have the same problem happened here (https://vborg.vbsupport.ru/showpost.php?p=649239&postcount=991) happened to me also. Is there a way to get this working ?
hey lizard - PM me details and ill look into it for you.

Cheers

Lizard King
05-19-2005, 11:04 AM
Your Pm box is full :)

The Geek
05-19-2005, 03:26 PM
Your Pm box is full :)
Thas my way of avoiding the extra work ;)

Ill go clear it out :)

venomx
05-19-2005, 03:34 PM
Hey Venom.

re: the comments - there is a comment on that link so its tough to say. It seemed like this was an issue awhile ago but was fixed in 3.51... maybe its a remenant from the upgrade. Can anyone else verify?

BTW: on the page you linked to is a gal... why not link fractalplaza.info ? Also - it looks like the offset is set pretty high so the word gets covered. Not sure if that was intentional - just a friendly heads up ;)


Yeah so sholdnt the comments be shown under the word comments?

I would link fractalplaza.info but am acared to try hehe dont want to break it! :P
The offset is what came default with GAL, what should I set it as?

venomx
05-19-2005, 03:36 PM
can you delete via phpMyAdmin? If not - I wouldnt really stress about it. Ill see if I can do a check and delete next update. Other than that - it doesnt really cause a problem other than cause one to itch ones head as if infected with a mild case of head lice.

LOL Ill take a look and see if I can delete it that way. Just scared Ill screw something up.

SamirDarji
05-19-2005, 04:26 PM
LOL Ill take a look and see if I can delete it that way. Just scared Ill screw something up.What I've learned working with vb...if it isn't broken, don't try to fix it. Especially on a live site.

The Geek
05-19-2005, 04:51 PM
Yeah so sholdnt the comments be shown under the word comments?

I would link fractalplaza.info but am acared to try hehe dont want to break it! :P
The offset is what came default with GAL, what should I set it as?
comments are being shown under the article. On pages with articles (depending on your settings), you should have the word COmments followed by a preview list of the comments.
I am saddened by your lack of faith in GAL venom. It is begging to be linked. Go on - you know you want to ;)

I also agree with SamirDarji - They are odd relics - but who sees them besides you? Id leave em be all quite and cozy.

ttfn

freebase69
05-19-2005, 05:01 PM
in your forum/gas/changes folder as per the readme.

Hey Geek, thanks I must have misread that step. I got it to work but now my vbAdvanced CMS has disappeared from my admincp. Any ideas? I tried to compare code changes but debugging the code has proven to be a headache.

Also, do you have a way to integrate GAS with vbAdvanced Portal so my news articles appear on the front page? Is there a template or file I can use to create a new module?

Thanks.

venomx
05-19-2005, 05:01 PM
Well as you seen on that page I linked to theres a comment and I have set show comments on the last page to off so they should show right?

The Geek
05-19-2005, 05:23 PM
Well as you seen on that page I linked to theres a comment and I have set show comments on the last page to off so they should show right?
venom - yea - it does as far as I can tell. In other words - it looks right to me!

freebase - no problem - its the most common mistake installing my mods. As for you vba cmps section disapearing from admincp - it sounds like you may have run the install, then installed vbaCMPS? That would account for the missing section. Just repeat that step of vbacmps.

There are a couple vbacmps modules availible - but those are really for GAS2.0. They can work for 3.5x, and some users have tweaked it to work better - I just havent had the time to work on new ones.

freebase69
05-19-2005, 07:05 PM
Yeah I ran the GAS install before I ran the cmps. I hadn't gotten GAS to work yet before I installed cmps. :o I'll reinstall it again hehe. THanks for the support btw. I REALLY appreciate it.

If you get a module going for 3.5 please let me know. I look forward to that addition. :classic:

T3MEDIA
05-19-2005, 08:06 PM
Anyone has a full blown Article system I could view? you know like health, home, women, sports or what ever so I see how it looks?

Em-goy
EDIT: Geek that premimum section is how your hack breaks it down?
Just want to make sure.

Lizard King
05-20-2005, 03:50 AM
Anyone has a full blown Article system I could view? you know like health, home, women, sports or what ever so I see how it looks?

Take a look in here (http://forum.ayyas.com/forumdisplay.php?f=40)

memobug
05-20-2005, 08:06 AM
It doesn't seem to be possible to see the actual number of article views. I can sort by "reads" but I have no idea what the actual counts are.

Am I missing something?

Regards,

Matt

Deriel
05-20-2005, 12:18 PM
I've GAS 3.5.2 installed but getting not but a blank screen... can you help me?

http://desenv.valinor.com.br/vb/forumdisplay.php?f=22

venomx
05-20-2005, 06:07 PM
venom - yea - it does as far as I can tell. In other words - it looks right to me!


You see the comment under the word Comments on that page? I dont.. :(

The Geek
05-20-2005, 11:19 PM
venom - I really honestly dont see what you are getting at. There is a comments button to add a comment and a comments: followed by an actual comment preview. This is how its designed. Unless I am seriously beeing a major doofus - it looks 'by design' to me!

this page-> http://www.discussionjunction.com/forums/showthread.php?t=3930 has a comment!

Deriel - Is that forum supposed to be an article forum? If so, did you put the forumid in the settings? If so, did you move the changed files from gas/changed?

Memo - off the top of my head, I cant reacall what the cariables are. I think its something like $post[views] and $post[replies]. If you stick either of those (or their actual equivelents) in GAS_threadbit then you will get the values you are after (just look at the threadbit template to see the actual values).

venomx
05-20-2005, 11:31 PM
All I see is the article, and the word Comments at the bottom. Its not clickable and shows if there is a comment or not. The only way for me to see the comment is to click View comments at the top. I thought if there was a comment it would show them at the bottom of the article...

memobug
05-21-2005, 12:57 AM
All I see is the article, and the word Comments at the bottom. Its not clickable and shows if there is a comment or not. The only way for me to see the comment is to click View comments at the top. I thought if there was a comment it would show them at the bottom of the article...

There is something in the article configuration concerning the placement of comments. Checkout the admin panel.

Regards,

Matt

sim
05-21-2005, 05:18 AM
Sorry if this has already been covered before (my searches of this thread didn't turn anything up, and I didn't feel like wading through all 1000+ posts !!)...

I would like to be able to present the list of articles and the synopsis (ie the thread/article list as GAS currently shows), BUT, I want to prevent users from certain groups reading the actual articles - basically the articles will be premium content and I want to provide a teaser (the synopsis) to encourage users to sign up so they can access them.

Using vBulletin permissions - I can either prevent a user seeing the forum (no good, since I want them to see the articles and the synopsis as a teaser), or I can prevent a user from seeing the threads in a forum (no good for the same reason - they can see the forum, but none of the threads/articles in it - why bother ?) ... I don't seem to be able to allow a user to see threads/articles in the thread list, but not be able to actually read the threads/articles themselves.

Any suggestions ?

The only way around this I can think of right now is to block access to the articles forum altogether for certain usergroups and manually maintain a list of articles and synopsis in another forum as the teasers. That sounds like a lot of work to me.

Thanks.

Deriel
05-21-2005, 09:31 AM
Deriel - Is that forum supposed to be an article forum? If so, did you put the forumid in the settings? If so, did you move the changed files from gas/changed?

Sorry, I had to undo the changes in that URL. Now I reinstalled in

http://desenv.valinor.com.br/forum/

from scratch

http://desenv.valinor.com.br/forum/forumdisplay.php?f=3

is an Articles forum


Everything was done like the readme: copied files from changes (installed from hand once too... just in case), forum id is correct and so on... any idea?

Really thanks for any help. The Articles is a crucial part of my new Forum :D

trackpads
05-21-2005, 11:20 AM
Geek,

Very nice hack! I used the converter to convert my old v3articles but for some reason the attachments didnt copy over, any ideas? I have about 1200+ articles.

Thanks again,

-Jason

altsounds
05-21-2005, 11:55 AM
This is a great hack. However, I am having difficulties with the editting of articles. When you click the edit option it only gives you the option to edit the title, moderator notes / thread summary and the post icon. Thats it.

No edit the body text no being able to add or change attachments or article image. Is this a known bug?? Let me know.

Telkman
05-21-2005, 12:07 PM
The edit link you are using is for editing the thread details as you've found (Thread Tools menu.)

Somewhere there will be a proper link for editing the post in question as opposed to the thread (probably at the base of the message - I only kept the standard styles for about 5 minutes!)

T3MEDIA
05-21-2005, 06:34 PM
You think you know how to set up the CCS or whatever that is needed to make this pop up effect?

http://askmen.com/fashion/saturdaynight_250/255_saturday_night.html
Please and thank you.

MrNase
05-21-2005, 07:44 PM
Some minor things I noticed :)

includes/functions_geekarticles.php

$GAS_setting['is_article'] = in_array(intval($_REQUEST['f']),$GAS_forums);;

rjerina
05-22-2005, 07:19 AM
For some reason my articles forum used to show the Geek Articles template, but now it shows the regular forum template. Any ideas on how to fix this? Thanks.

p.s. as far as i know i have not changed anything to effect this, but i could be wrong.

edit: i think i know why. i am using a mod_rewrite modification and i think it is causing it. how can i fix this? thanks.

Geek, can you help me with this?

venomx
05-22-2005, 07:42 AM
There is something in the article configuration concerning the placement of comments. Checkout the admin panel.

Regards,

Matt

I did its something like pick yes to show on last page only or no for all....

GreggBrain
05-22-2005, 06:51 PM
I'm having a hard time searching the forum to see if anyone else had this problem, so I guess i'll just ask here.

Whenever I try uploading a new icon I get this error: Warning: move_uploaded_file(): SAFE MODE Restriction in effect. The script whose uid is 32017 is not allowed to access / owned by uid 0 in /includes/functions_geekarticles_images.php on line 104

The Geek
05-22-2005, 09:34 PM
Gregg - To the best of my knowledge, you cant upload images if your server is locked down that tight. You can however upload images to the gas/image and gas/images/forums/{forumid} folders and select them.

Venom - Im still not sure what you are wanting - do you NOT want to see any previewed comments? Right now, the link you provided has a comment previewed on the first page which is by design.

rjerina - cant help with the rewrite hack - dont know anything about it. Other than that - check the legacy forum display setting.

MrNase - thanks.

t3media- better to post the GAL q's in the GAL thread :) however you can get the exact same effect by using the default yellow box style with the popup with title (prefix set to sponsor) and some basic bbcode.

whew - hope I got everybody :)

venomx
05-22-2005, 09:40 PM
Venom - Im still not sure what you are wanting - do you NOT want to see any previewed comments? Right now, the link you provided has a comment previewed on the first page which is by design.


It does?? Where do you see a preview? I dont see one.. :(

Edit: Ok I see whats wrong, when I am logged in I dont see the comment, When I log out the comment is there. Ideas?

sim
05-22-2005, 09:55 PM
whew - hope I got everybody :)

Almost but not quite ... https://vborg.vbsupport.ru/showpost.php?p=656450&postcount=1093

Thanks.

GreggBrain
05-22-2005, 10:13 PM
Gregg - To the best of my knowledge, you cant upload images if your server is locked down that tight. You can however upload images to the gas/image and gas/images/forums/{forumid} folders and select them.

Venom - Im still not sure what you are wanting - do you NOT want to see any previewed comments? Right now, the link you provided has a comment previewed on the first page which is by design.

rjerina - cant help with the rewrite hack - dont know anything about it. Other than that - check the legacy forum display setting.

MrNase - thanks.

t3media- better to post the GAL q's in the GAL thread :) however you can get the exact same effect by using the default yellow box style with the popup with title (prefix set to sponsor) and some basic bbcode.

whew - hope I got everybody :)
The "Other images" box is completely empty even though I put a few extra images into the directory...

memobug
05-23-2005, 01:32 AM
I seem to be getting a Javascript error in Internet Explorer on the article page pointing to line 350. It only happens when I follow a link to a new post (comment)

1. You get the error if you follow the link to the latest reply from the homepage
http://www.pspfreaks.com/forum/showthread.php?p=835#post835

2. You don't get the error just visiting the thread
http://www.pspfreaks.com/forum/showthread.php?t=266


The error says

Line 350 Char 24 Error: null is not an object Error code 0

Here is the line:

<body onload="if (is_ie || is_moz) { fetch_object('currentPost').scrollIntoView(!is_moz ); } editInit();">


Regards,

Matt

T3MEDIA
05-23-2005, 04:25 AM
t3media- better to post the GAL q's in the GAL thread :) however you can get the exact same effect by using the default yellow box style with the popup with title (prefix set to sponsor) and some basic bbcode.

whew - hope I got everybody :)Your right on that one... got mixed there... I guess I dont know how to do the bbcode.

btw a small thing I noticed just so you know. If you have WYSIWYG on and copy & past text that has say BLACK font and save the article the code will display on the article page.

T3MEDIA
05-23-2005, 04:29 AM
....

The Geek
05-23-2005, 06:23 AM
Venom - er - got me. There arent permission setting explicit for GAS. It uses the forum permissions.

Sim - its a good idea, but you would need a hack to make t work. It really wouldnt be too hard to do - maybe just a check in functions_gas to see if is_article==1 and scriptname=='showthread' and then check to see if they are a member of your UG. If not, give a no permissions message.

Greg - make sure they are in the gas/images folder (there will be a default.jpg image in there).

Hey matt - I seem to think there was a fix awhile ago for this... Something like $scrollhere was left out of one of the templates. Not sure if thats it - but Ill look into it.

t3media - if you move the article into a normal forum I am guessing you will see the same thing - GAS really doesnt do anything with the formatting or saving of the text - vb does all that :)

Hth's!

T3MEDIA
05-23-2005, 07:37 AM
t3media - if you move the article into a normal forum I am guessing you will see the same thing - GAS really doesnt do anything with the formatting or saving of the text - vb does all that :)

Hth's!No... the article listing page... if you have code and you do not add a synopsis it will show bb code. you know font / black etc
also I found out why I can not see any autolinks.

you can only do it once you make the article. you cant edit and add more or take away autolinks.

I havent made more so I was trying to autolink premade ones.

This should be here since this sint a GAL issue.

TopeeGuy
05-23-2005, 08:31 AM
Any way of getting a "featured articles" type of box on forumhome?

Deriel
05-23-2005, 11:27 AM
Deriel - Is that forum supposed to be an article forum? If so, did you put the forumid in the settings? If so, did you move the changed files from gas/changed?

Sorry, I had to undo the changes in that URL. Now I reinstalled in

http://desenv.valinor.com.br/forum/

from scratch

http://desenv.valinor.com.br/forum/forumdisplay.php?f=3

is an Articles forum


Everything was done like the readme: copied files from changes (installed from hand once too... just in case), forum id is correct and so on... any idea?

Really thanks for any help. The Articles is a crucial part of my new Forum :D

Lizard King
05-23-2005, 11:46 AM
Geek I also still have problems with blank pages. When I install GAS in my board I get all my showthread and forumdisplays blank. I installed 3 times with auto file changes and then had to revert the files. After that I installed 3 times with manual file edits and still the same problem. Any suggestion you have ?

The Geek
05-23-2005, 11:53 AM
Sorry, I had to undo the changes in that URL. Now I reinstalled in

http://desenv.valinor.com.br/forum/

from scratch

http://desenv.valinor.com.br/forum/forumdisplay.php?f=3

is an Articles forum


Everything was done like the readme: copied files from changes (installed from hand once too... just in case), forum id is correct and so on... any idea?

Really thanks for any help. The Articles is a crucial part of my new Forum :D
deriel - whichever forum you go to - its blank. This implies a file change gone wrong. If you PM me an admin account and ftp access ill take a quick look for you.

topeeguy - you can use the one for GAS2 - but it does leave a little to be desired.

t3media - right. There is no way to edit gals once you submit the article. Thats by design. Now I see what you are saying about the mismatched bbcode tags. This occurs from relying on the autsynopsis feature. It doesnt occur when you use the synopsis box. The first function in functions_geekarticle.php prepares the text for broken tags. You can add the rogue tags there if you know some php or just use the synopsis box.

hths

The Geek
05-23-2005, 11:55 AM
Geek I also still have problems with blank pages. When I install GAS in my board I get all my showthread and forumdisplays blank. I installed 3 times with auto file changes and then had to revert the files. After that I installed 3 times with manual file edits and still the same problem. Any suggestion you have ?
really? hmmm. Zap me some details and Ill investigate. Everytime I do though - I usually find a step missed. However I know you are pretty familiar with the hack lizard so I am happy to look into it.

Lizard King
05-23-2005, 12:52 PM
really? hmmm. Zap me some details and Ill investigate. Everytime I do though - I usually find a step missed. However I know you are pretty familiar with the hack lizard so I am happy to look into it.
Geek can this be because of Inline Moderation hack (https://vborg.vbsupport.ru/showthread.php?t=68791) ?

mahiraminc
05-23-2005, 03:56 PM
I want to add custom fields to to the article, for example, you have the article title, i'd like to have custom fied so i can have soucre of article, who's its writen by: and other gudd stuff like that

can some one tell me what file/lines i need to edit ..

GreggBrain
05-23-2005, 08:23 PM
Greg - make sure they are in the gas/images folder (there will be a default.jpg image in there).
Yeah, that's where they are but nothing shows. The default image works and if I change the default image it changes, but nothing shows in the other images box... on top of the upload error.

memobug
05-23-2005, 10:23 PM
[QUOTE=The Geek]Hey matt - I seem to think there was a fix awhile ago for this... Something like $scrollhere was left out of one of the templates. Not sure if thats it - but Ill look into it.
[QUOTE]

I would appreciate it. I am not sure which template we are talking about, but I have a $scrolltothis in my
>GAS_comment_pb
>GAS_article_pb

Whenever those Javascript errors, people get a popup that asks them if they want to run the script anyway, so it would be a great idea to fix it.

--------------------------------------------------------
UPDATE: I compared GAS with a normal post and it looks like this part is missing, the target for the currentpost setting:
<td class="thead" style="font-weight:normal" id="currentPost">

Can you tell me how to get that part working?
--------------------------------------------------------
P.S. It might be a good idea to include the version # in the GAS Settings page?

I got where I am through upgrade from version 3.

lohman
05-24-2005, 02:03 AM
Yeah I'm getting the blank pages as well. The install steps seem fairly straight forward: Run the script, then copy the "changes" into place. es borked :ermm:

The Geek
05-24-2005, 10:03 AM
Ive confirmed this with Lizard. For the time being I would sit tight on installing until I have gotten to the bottom of it later today.

Im off with my Sherlock hat now.

The Geek
05-26-2005, 12:44 PM
Package updated.

I finally found the problem where some users were getting blank pages. This stems from a problem with some php versions handling of passing by reference. I have removed the couple instances of that and it all appears to be working fine.

The only file changed was functions_geekarticles.php

nJoy

Deriel
05-26-2005, 06:25 PM
Package updated.

I finally found the problem where some users were getting blank pages. This stems from a problem with some php versions handling of passing by reference. I have removed the couple instances of that and it all appears to be working fine.

The only file changed was functions_geekarticles.php

nJoy
Wonderfull! Works like a charm :D

Marco van Herwaarden
05-26-2005, 06:36 PM
Package updated.

I finally found the problem where some users were getting blank pages. This stems from a problem with some php versions handling of passing by reference. I have removed the couple instances of that and it all appears to be working fine.

The only file changed was functions_geekarticles.php

nJoyExplain a bit more please Geek. :D

The Geek
05-26-2005, 07:42 PM
I was passing text by reference at run time which was depreciated and now completely removed from new php builds :(

GamerzWorld
05-27-2005, 06:30 AM
I was getting the blank page error. Uploaded the whole includes folder just then but it hasnt solved anything :(
http://www.mirzone.net/forum/forumdisplay.php?f=4

The Geek
05-27-2005, 07:43 AM
I was getting the blank page error. Uploaded the whole includes folder just then but it hasnt solved anything :(
http://www.mirzone.net/forum/forumdisplay.php?f=4
Almost positive it will be a file edit. With the previous error, it was causing ALL forum display and ALL showthreads (regardless of if it was an article forum or not) to come up blank.

If you want to PM me admin and ftp details Ill swing by and take a look for you.

GamerzWorld
05-27-2005, 03:40 PM
1. thegeek has chosen not to receive private messages or may not be allowed to receive private messages. Therefore you may not send your message to him/her.

The Geek
05-27-2005, 05:22 PM
1. thegeek has chosen not to receive private messages or may not be allowed to receive private messages. Therefore you may not send your message to him/her.
er - maybe I pissed someone off by suggesting that hacks/mods be suggested macks from now on.


Actually - it looks like you tried to send to thegeek instead of the geek ;)

Rob Locke
05-27-2005, 10:44 PM
I wonder if you can help me...

I want to add a small gap between the article comments and change the 'posted by (username) on (postdate, time) to a 'posted by (username) - (postdate, time).

I made a couple of simple edits to the GAS_comments_pb template - basically typing a '-' in place of the word 'on' and I added a <br/> at the end of the table to create the gap.

This works fine for the comments on their own, but the comments following an article display their default settings. Am I missing something? Is there another template or file that controls the look of the comments when they follow an article, which also show an extra horizontal line and the user signature, where the comments on their own do not.

What should I do to make them both look the same and is there a better way to add a gap which matches the spaces between regular forum posts?

I hope this makes sense and I look forward to finding out the answers, as I've been racking my brains all day.

Many thanks,

Rob.

KTBleeding
05-28-2005, 03:12 AM
Rob:

Edit the GAS_article_pb template. ;)

It may be really confusing unless you can understand the if conditionals.

GamerzWorld
05-28-2005, 06:12 AM
er - maybe I pissed someone off by suggesting that hacks/mods be suggested macks from now on.


Actually - it looks like you tried to send to thegeek instead of the geek ;)

Obviously so :P Thanks for pming me, i replied :ermm:

The Geek
05-28-2005, 08:09 AM
yea - KTB is right.

If the comments are on the same page as the article - they use the GAS_article_pb
If they are on the page by themselves (no article) then they use the GAS_comments_pb

Kind of stupid in retrospect - however I did it at the time for some definate reason that escapes me now ;)

Rob Locke
05-28-2005, 01:57 PM
Thanks KTB and Geek. I'll check it out. Two last questions:

1) What is the best way to created the space between comments? Would you suggest <br/> or some other method. Does <div style="padding:$stylevar[formspacer]px"> do the same thing?

2) On the sidebar, there are spaces between all the tables except the ratings tables and the article tools which are squashed together top-to-bottom. What can I do to remedy this, so all the sidebar tables are evenly space apart?

3) On the sidebar, the first part is...

<!-- start sidebar-->
<td valign="top" class="alt1" width="175px">

<table class="tborder" cellpadding="4" cellspacing="0" border="0" width="100%">However, changing the 175px width does nothing to the width of the column. What is this for...is it necessary...if not, what does control the width of the sidebar column?

----------

Thanks for all your help, I am just newly getting to grips with the GAS, which is FAB!!! I just want to make a few style adjustments to get it looking like the rest of my site.

Thanks again and I'm sure I'll be back with a few more questions later.

Best,

Rob.

psico
05-28-2005, 07:48 PM
Thanks KTB and Geek. I'll check it out. Two last questions:

1) What is the best way to created the space between comments? Would you suggest <br/> or some other method. Does <div style="padding:$stylevar[formspacer]px"> do the same thing?

2) On the sidebar, there are spaces between all the tables except the ratings tables and the article tools which are squashed together top-to-bottom. What can I do to remedy this, so all the sidebar tables are evenly space apart?

3) On the sidebar, the first part is...

<!-- start sidebar-->
<td valign="top" class="alt1" width="175px">

<table class="tborder" cellpadding="4" cellspacing="0" border="0" width="100%">However, changing the 175px width does nothing to the width of the column. What is this for...is it necessary...if not, what does control the width of the sidebar column?

----------

Thanks for all your help, I am just newly getting to grips with the GAS, which is FAB!!! I just want to make a few style adjustments to get it looking like the rest of my site.

Thanks again and I'm sure I'll be back with a few more questions later.

Best,

Rob.
I want to change the style of the comments to be more like the postbit, anyone can help me with this?

Rob Locke
05-29-2005, 04:26 PM
I want to change the style of the comments to be more like the postbit, anyone can help me with this?That is pretty much the same for me. I have been experienting a lot over the last week. Here is what I have found...

You can change the look of the comments on the 'comments only' page, as it calls a dedicated template called GAS_comments_pb. I would suggest that you just need to copy the regular forum postbit into this template to make the comments look the same.

As for the 'article page' comments, this is a stumbling block. The problem is the whole page is, in essence, a thread. That is why the comments which follow the article always begin at #2. You can't change the look of the comments without affecting the article layout and vice versa. That's why the 'article page' comments have a horizontal line above the 'edit', 'quote' and 'quick reply' buttons. Also, user signatures do not appear, no matter what you do, unless you are the writer of the article and have included your signature. This is then the only one that appears in the 'article page' comments. I imagine this is why Geek removed the signatures from the 'comments only' template, as an attempt to make them match more.

Unless I can find a way around this, I am going to completely remove the comments from the article page, as I too am frustrated that they do not look the same as the comments only page, and do not start at #1. Also most users seem to consider their signatures important (usually their avatar too). I think not having the ability to display them is a shame.

Geek, is there any way to make the comments on the 'article page' call the GAS_comments_pb template?

Here are my requests for future versions:

1) The ability in admin to completely 'turn off' comments on the 'article page' (currently, if you set the number of comments to '0' you still get the 'viewing first x comments out of y' message with blank space in between). Maybe add an additional 'view comments' link between the 'previous article' and 'next article' links if the comments are turned off.

2) The ability in admin to choose between the 'compact' comments (as they are on the 'comments only' page curently, but add back the signatures), and 'full' comments - which are essentially calling on the standard postbit template (which gives back the choice to display avatars).

3) The comments on the 'article page' to be called from the GAS_comments_template, so that they start at #1 and look the same as the 'comments only' page. This will also mean, if you want to customize, you only have to edit this one template and all comments will match.

3) The ability in admin to chose between 'comment previews' on the 'article page' and expanded comments (which will match the 'comments only' page, based on whether you chose 'compact' or 'full' in the other suggested admin addition). The 'comment preview' should look similar to the GAS_threadbit, but without the thumbnail image. This means the user clicks 'Read More' to view the whole comment, which redirects them to the 'comments only' page and the appropriate comment.

--------------------

In my honest opinion, GAS is superlative. If the above changes (which hopefully would be fairly easy to implement) are added, I think it will make GAS the definitive articles system.

I hope that my requests can be implemented and soon, as I am going to be running a largely article oriented web site and need this additional functionality.

Thanks for all the hard work Geek and please help!

Rob.

KTBleeding
05-29-2005, 07:00 PM
Getting the comments to look default is very easy. I haven't done it to use the Legacy style postbit, but the default vB3 one works fine.

http://www.keepthembleeding.net/forums/showthread.php?t=41

I'd post a "HOW TO:" thing, but I don't have the default GAS_article_pb / GAS_comments_pb templates so I can't really tell you what to change/replace?

RCSwap
05-29-2005, 11:12 PM
I just finished installing this package. Wow so many frekin' changes that need to be done. I tried to do the auto install, but half of them didn't work for some reason. Anyways I made all the changes and uploaded the files. Now when I go into my Admin Control Panel, there's is no text for any of the options. Like where there usually is a question, I only see the radio buttons or text field. How can I fix this? Or can someone just send me a picture of the questions it's asking?

KTBleeding
05-29-2005, 11:52 PM
I just finished installing this package. Wow so many frekin' changes that need to be done. I tried to do the auto install, but half of them didn't work for some reason. Anyways I made all the changes and uploaded the files. Now when I go into my Admin Control Panel, there's is no text for any of the options. Like where there usually is a question, I only see the radio buttons or text field. How can I fix this? Or can someone just send me a picture of the questions it's asking?
Go into your admincp, Languages & Phrases, Phrase Manager:
Click "Edit" on any random phrase and click save. It should be updated and fixed after that.

If not, re-run the installer file and install the phrases only.

RCSwap
05-30-2005, 12:00 AM
Well I found out it messed up the rest of my forum, so I uninstalled it and installed the simple version of this. I was wondering, what do I change or how can I change the layout of the simple version of this to include the images along the side of the article and the ability of the creator to set a rating on article/product being reviewed.

KTBleeding
05-30-2005, 12:06 AM
How did it mess up your forum?
I was wondering, what do I change or how can I change the layout of the simple version of this to include the images along the side of the article and the ability of the creator to set a rating on article/product being reviewed.Those features are not available on the Lite version, unless I'm mistaken.

RCSwap
05-30-2005, 12:09 AM
Problem solved for now.

The Geek
05-30-2005, 08:05 AM
The preview comments template HTML HAD to be folded into the article template HTML - the reason esacpes me now - but none the less it isnt overly difficult to alter the template to get what you want.

The compressed comment style was done by design and hence why most article/review systems utilize a similar look.
To get your comments to look the same as postbits - just copy your postbit template into your GAS_comments_pb. To get the preview comments to look the same - copy over the signature elements of the postbit into GAS_article_pb and copy the header info (ie avatar etc...) into it as well - however that part is housed in a conditional.
It isnt overly hard - all it takes is to look at the template.

There are no plans to be reworking GAS for now. I am in middle of some other hacks and the impending release of vb3.5 means that most of my development is on hold awaiting its release.
From there I will have to look at porting all my hacks over. Most should be a snap - but I have a feeling this hack is going to be a serious ball buster to port over. Saying that - I will be doing it simply becuase there are hundreds that have it installed (me included). I have a few ideas re: functionality that I will most likely stick in - and I will see about sticking in an option of comment versions but I seriosuly doubt I will be changing the numbering sequence nor do I see a major reasons as to why to do it.

The key areas of new functionality will be:
Forum level inherited settings (as opposed to global). This is to allow each article forum to be article, review or whatever (instead of all articles). I am also hoping to put in an author rating essentially allowing the author to 'rate' a product/review whatever.

Rob Locke
05-31-2005, 12:26 AM
To get your comments to look the same as postbits - just copy your postbit template into your GAS_comments_pb. To get the preview comments to look the same - copy over the signature elements of the postbit into GAS_article_pb and copy the header info (ie avatar etc...) into it as well - however that part is housed in a conditional.Thank you Geek. I really appreciate all your hard work, as do soooo many.

I have managed to make the comments on the article page look as I want them, EXCEPT the user signature. The code is there and the signature shows up fine on the article but not on the comments, no matter what I do. I have pasted the signature conditional on every conceivable part of the GAS_article _pb and still nothing. I know the code is right as it showed up in the article fine. Is the signature in comments disabled in the php somewhere? Please can you tell me how to solve this?

Lastly, please, pretty please can you tell me the best way to space the article and comments. In the regualar postbit and showthread templates it's $spaceropen and $spaceclose I believe. These are missing in the GAS templates and when I pasted the postbit into the GAS_comments_pb as you suggested, the page was all over the place. How can I fix this, so I get the space between posts, but no space at the end of the last post on the page (as I am adding a 'tcat' table and want it to join flush to the bottom of the last post on the page's table). I need to correct this for the article page and the comments page.

Once I get these two little things sorted, I'll be over the moon. Thank you for your help and patience. If there is somewhere I can donate towards all your hacks, I certainly will. Do you do any custom work?

Best wishes and I wait in anticipation of an answer to my two last inquiries.

Rob.

XFSImperial
05-31-2005, 12:58 AM
Just installed. Looks nice. That was one of the best installers I have ever seen!

FD929
05-31-2005, 03:40 PM
Geek - is this system going to be converted for vB 3.5 when it is released? This system is an absolute must have on one of the boards I work on. So much that I won't update to 3.5 until this hack works with it.

altsounds
05-31-2005, 05:22 PM
I can't edit any articles. When I go to do so only the subject line is there, the actual article info doesn't show up :(.

Can anyone help?

Telkman
06-01-2005, 02:22 AM
<a href="https://vborg.vbsupport.ru/showthread.php?t=75916&page=74&pp=15" target="_blank">https://vborg.vbsupport.ru/showt...&page=74&pp=15</a>

altsounds
06-01-2005, 02:26 AM
Thanks Telkman twice for looking out for me. Sorry for posting the same thing twice. I thought I'd asked this question b4 but couldn't for the life of me find it. Thanks for helping me!!

The Geek
06-01-2005, 05:46 AM
Geek - is this system going to be converted for vB 3.5 when it is released? This system is an absolute must have on one of the boards I work on. So much that I won't update to 3.5 until this hack works with it.
The system will be converted to vb3.5 with some other minor additions though I have to say I am not looking forward to it ;)

Howere I must do it for all my hacks because I use them and I will be upgrading my site to vb3.5 :)

shiva
06-01-2005, 09:42 AM
Don't you just love Jelsoft, for making yet another radical change that causes a lot of extra work for everyone? :)
I hope a lot of authors convert as well, as most of us aren't good enough to do a simple mod, and now with this new setup, it's gonna be even fewer people.
Be looking forward to the next version Geek, very popular with my members, though they use the PageBreak a bit too much. :)

sv1cec
06-01-2005, 09:54 AM
If only we could get some pre-release information, on how our hacks have to be re-written!

Instead, we have to await for the beta release.

LoL Jelsoft is surely making our life difficult.

Lizard King
06-01-2005, 07:24 PM
Fixed It :rolleyes:

Clayton
06-02-2005, 07:14 AM
we have a number of various persons who will do articles and they have their own section eg. Computers

Is it possible to set-up that we are able to attach the articles to the various forums they would write for, please?

If this is mentioned somewhere, please steer me in that direction

Thanks

edit2. have installed everything without a hitch .. one thing though, I cant see the settings in my admincp .. would having CMPS installed effect this ? thank you

edit: is one to understand that you are able to create forums in sections which can be article forums only, if so this answers the question asked

Snitz
06-02-2005, 02:28 PM
which one should I download: GAS3fromV3.zip or GAS352b.zip

Clayton
06-02-2005, 03:57 PM
as far as I can see

GAS352b.zip

if you are a first time installer

I am hoping to get some questions answered too

:D

rockergrrl
06-02-2005, 06:38 PM
nevermind

Rob Locke
06-02-2005, 07:32 PM
Hi Folks,

After all my investigations I have found out how to add spaces between comments and make them look the same as regular posts. If anyone else is interested in doing this, here's how:

Open your vBulletin admin and go to Styles and Templates > Style Manager. Click on the << >> button to the right of the page (or select 'Edit Templates' from the drop-down box).

1) Open the template called GAS_article_pb by double clicking on it. At the very top of the page you will see: <!-- Article #$post[postid] -->Immediately below it, add... <if condition="$show['spacer']">
<div style="padding:0px 0px $stylevar[cellpadding]px 0px">
<if condition="!$post['islastshown']"><!-- this is not the last post shown on the page --></if>
</if>Now go to the very bottom of the page, where you will see: <!-- / Article #$post[postid] -->Immediately above it, add... <if condition="$show['spacer']">
</div>
</if>Save the template.

2) Now open the template GAS_comment_pb. Make the same code additions to the top and bottom of the page respectively, in this instance immediately below <!-- comment #$post[postid] --> and immediately above <!-- / comment #$post[postid] -->

Save the template.

3) Now open the template GAS_showthread. Find this code... <table cellpadding="0" cellspacing="0" border="0" width="100%" style="margin-top:3px">and replace it with... <table cellpadding="0" cellspacing="0" border="0" width="100%"<if condition="$vboptions['legacypostbit']"> style="margin-top:3px"</if>>There are two instances of this code that need to be replaced, so repeat step 3 again to finish.

Save the template and that's it!

Best wishes,

Rob.

Clayton
06-03-2005, 04:57 AM
Good day ...

latest update ... went to browse the Admin CP via IE and voila

The Geek Article System has appeared

feels like xmas

Slave
06-03-2005, 09:28 AM
Hi Geek :)

Would it be possible to change the forum ID setting to a Post Icon ID setting? and if so how would you go about it?

I guess it would work similarly to the following hack for vBadvanced ..

http://www.vbadvanced.com/forum/showthread.php?t=5193

Which allows you to make a thread as a news post using a certain post icon .. instead of marking a forum as a news forum ..

I'm hoping that it's as easy as the above hack .. ie changing a WHERE statement somewhere in the code ..

T3MEDIA
06-03-2005, 02:18 PM
Geek question. On my site if your not signed in and looking at the Article page all uploaded pictures turn int x's

Why would that happen? The GAS pictures however show up fine. I do not have pictures in my database.

Any ideas?

rockergrrl
06-03-2005, 04:58 PM
I'm trying to install this on a clean vB install, and not quite going as planned. I tried installing via the GAS352b.zip.

When I do the auto install (for the file changes), even though folders are chmod'ed 777; the files aren't being edited at all (even though they say they are - refresh pages, and the edits aren't there at all).

So I try and edit the files manually, and I get to step 207, and it says to find: "// build thread data" and I can't find it anywhere (vB v3.0.7). Anyone have a line in where I can find it in forumdisplay.php ?


Can someone give me a hand?? I totally can't find that line for step 207. Is there something else I can search for in order to replace everything?

Thanks

Marco van Herwaarden
06-03-2005, 05:10 PM
rockergrrl,

You are currently showing up as unlicensed. To be able to download hacks and/or receive support here at vBulletin.org, we ask you to please click here (http://members.vbulletin.com/membersupport_priority.php) (vB-germany users click here (http://members.vbulletin-germany.com/membersupport_priority.php)) and enter your email address, to show us that you are licensed.

You will need to use your customer number and password (which will be in the email you got when you paid for your license) to access that page. Please note that your email is case sensitive. The update of your account may take up to one hour.

Thank you.

rockergrrl
06-03-2005, 05:13 PM
I just changed my email... forgot to add it to the list... changed now...
(I've been a licensed user since 2000 ;) )

Marco van Herwaarden
06-03-2005, 05:15 PM
Yes you're showing up as licensed now. :D

rockergrrl
06-03-2005, 06:39 PM
Now to just get some help :/

I'm trying to open up a new board (deadline is coming up), so everything needs to be in working order.

Clayton
06-03-2005, 07:37 PM
I just changed my email... forgot to add it to the list... changed now...
(I've been a licensed user since 2000 ;) )

what you saying ... you old ??

:D

rockergrrl
06-03-2005, 07:40 PM
LOL - sure if you say so ;)

I'm one of the old schoolers here though ;)

Clayton
06-03-2005, 08:02 PM
at least you got a reply to your post

that's supportive

:D

rockergrrl
06-03-2005, 08:30 PM
nevermind

venomx
06-03-2005, 08:56 PM
I wish I could find out why admins on my forum cant see the comments.. :(

edwardcyh
06-03-2005, 10:53 PM
Under the settings:

Absolute path to images (i.e. /var/www/forum/gas/images) folder must also be chmod 0777

I am using a Windows 2003 Server, so the absolute path is different.

Because the settings continue to add "/" in the front of the string, I cannot correctly set the path to "C:\Inetpub\vhosts\...\httpdocs\forums\gas\images"

What can I do? Please advice. Thanks.

T3MEDIA
06-04-2005, 12:39 AM
Geek question. On my site if your not signed in and looking at the Article page all uploaded pictures turn int x's

Why would that happen? The GAS pictures however show up fine. I do not have pictures in my database.

Any ideas?BUMP

edwardcyh
06-04-2005, 05:32 AM
Under the settings:

Absolute path to images (i.e. /var/www/forum/gas/images) folder must also be chmod 0777

I am using a Windows 2003 Server, so the absolute path is different.

Because the settings continue to add "/" in the front of the string, I cannot correctly set the path to "C:\Inetpub\vhosts\...\httpdocs\forums\gas\images"

What can I do? Please advice. Thanks.

Problem solved.
FYI, for those running Windows servers, simply place "/Inetpub/vhosts/.../httpdocs/forums/gas/images" in the settings, and it will work fine.

The Geek
06-04-2005, 09:08 AM
Hey guys - Ive been out of town for the past few days so I apologize if anyone has been waiting around for a response. I also apologize in advance if I miss out any questions - just feel free to give me a poke if I have ;)

t3media - Do you mean the attachment images? Does it happen in any other forum? There should be no reason for it - GAS really just re-positions the attachment images. Are unregistered users set to view attachments?

Venom - dont know what to tell you there either. I assume that admins can view threads and responses in that forum? It may be some sort of conflict with another hack. I cant really see how GAS could (even inadvertantly) have that type of affect

Slave - Im not sure what you mean exactly.

Think I got everyone?

Bernd
06-04-2005, 10:54 AM
I've relocated my site to a different server and had to adjust some image paths. The only dead icon remaining is a geek article one named "icon1.gif". Where is that image path located in the database? I've searched under icon and geek advertising but cannot seem to find it.

The Geek
06-04-2005, 12:36 PM
I've relocated my site to a different server and had to adjust some image paths. The only dead icon remaining is a geek article one named "icon1.gif". Where is that image path located in the database? I've searched under icon and geek advertising but cannot seem to find it.
it would be somewhere in the gas/images folder. The field will be in the geek_articles table

Bernd
06-04-2005, 02:29 PM
it would be somewhere in the gas/images folder. The field will be in the geek_articles table


I have checked under,
geek_articles -> iconpath (there, only uploaded image paths are stored)
database name -> Icon (here only forum icon image paths are stored).

Could you give the exact location?
Thanks in advance.

The Geek
06-04-2005, 03:24 PM
Im not sure what you mean by databasename->icon
Why not look at the properties for the red x and see where it is trying to fetch the pic from

Bernd
06-04-2005, 04:49 PM
Im not sure what you mean by databasename->icon
Why not look at the properties for the red x and see where it is trying to fetch the pic from

databasename would be the name of my database for vbulletin's forum
"icon" in this case is the table where all vbulletin icon pathnames etc are stored.

the icon is being fetched from my old server ip instead of the new.

My guess is the icon's pathname is stored in the database as said earlier, but I cannot find it under geek's advertisement tables in the database nor under the general icon table created by Vbulletin itself..

paulyy
06-04-2005, 06:02 PM
doing folder structure

Note the following errors occured. DO NOT NAVIGATE FROM THIS PAGE WITHOUT MAKING NOTE OF THEM!!!

cant find root directory gas
Make sure you have created this in your forum directory.


You climb down some stairs and notice you are in a dark and twisted maze.
A 10th level Red Dragon appears from practically nowhere spitting flames and fire.
You drop your pineapple in shock
What do you want to do?
Pick up the beautiful fruit! - Copy and backup files needing changes

I have the gas folder and changes folder in place, and permissions set to 0777. The script refuses to detect them (I'm using a subdomain). How would I fix this?

The Geek
06-04-2005, 06:08 PM
Paulyy - check the readme for instructions on this error - you need to create the folder structure yourself and run from there.

Bernd - This has nothing to do with GAS -nor am I sure what you mean by advertisement table.

paulyy
06-04-2005, 06:09 PM
Yep just read that part. Thanks :)

Bernd
06-04-2005, 06:34 PM
Thanks for your time Geek.

Managed to get it working after searching the database for my old IP and deleting it. Used a relative path for the icons instead.

dsboyce8624
06-04-2005, 08:02 PM
Found and fixed.

Thanks,

Dennis

T3MEDIA
06-05-2005, 04:03 AM
t3media - Do you mean the attachment images? Does it happen in any other forum? There should be no reason for it - GAS really just re-positions the attachment images. Are unregistered users set to view attachments?View attachments ore download them?
I assume you mean Download? No Guests are not.

TCB
06-05-2005, 12:35 PM
I've recently switched webhosts and now the option to upload an article-icon doesn't work anymore. I can upload images/files without problems (both normal topicpages as with GEEK articles), but uploading an images that's being used for the article icon does nothing.

As soon as I click on the 'image' button under the 'Article Image' I receive the popup window where I can select an image or browse for an image on my PC. When I select an image on my PC and select 'upload' the popup is closed and a redcross is visible where the thumbnail/icon should be visible.

When I look on the server I see that the image has been uploaded, but as chmod 600 (and still in original size).

I've searched a bit around and tried to change the move_uploaded_file command to copy (in the fucntions_geekarticles_images.php file). Now the images gets uploaded in chmod 777. But the image is still not resized to the proper dimensions (70x70).

It worked on my previous server, but not anymore. And yes, I have chmod the gas/images folders.

Wired1
06-07-2005, 04:13 AM
Haven't gotten a chance to read the WHOLE thread, but I'm just curious: If a mod only forum is made into an article forum, the permissions are still intact, correct? Essentially it would be an editor forum, a launching pad for live articles.

FleaBag
06-07-2005, 08:30 AM
I've looked through the many pages and done a couple of searches to no avail. I'm having a little trouble when trying to view an articles forum. Have re-installed - no difference. Only hacks other hacks I have installed are CMPS & vBAGallery. Running 3.07 - all file edits were done manually, for some reason the script wasn't picking up the fact the folder existed. Here's the error...

Database error in vBulletin 3.0.7:

Invalid SQL:
SELECT
IF(votenum >= 1, votenum, 0) AS votenum,
IF(votenum >= 1 AND votenum > 0, votetotal / votenum, 0) AS voteavg,
post.pagetext AS preview,
thread.threadid, thread.title AS threadtitle, lastpost, thread.forumid, pollid, open, replycount, postusername, postuserid, thread.iconid AS threadiconid,
lastposter, thread.dateline, IF(views<=replycount, replycount+1, views) AS views, notes, thread.visible, sticky, votetotal, thread.attach , ga.iconpath,ga.synopsis, ga.byline
, NOT ISNULL(subscribethread.subscribethreadid) AS issubscribed
, NOT ISNULL(deletionlog.primaryid) AS isdeleted, deletionlog.userid AS del_userid,
deletionlog.username AS del_username, deletionlog.reason AS del_reason
FROM thread AS thread
LEFT JOIN deletionlog AS deletionlog ON(thread.threadid = deletionlog.primaryid AND type = 'thread')
LEFT JOIN subscribethread AS subscribethread ON(subscribethread.threadid = thread.threadid AND subscribethread.userid = 1) LEFT JOIN geek_articles as ga ON(ga.threadid = thread.threadid)
LEFT JOIN geek_articles as ga ON(ga.threadid = thread.threadid)
LEFT JOIN post AS post ON(post.postid = thread.firstpostid)
WHERE thread.threadid IN (0)
ORDER BY sticky DESC, lastpost DESC

mysql error: Not unique table/alias: 'ga'

mysql error number: 1066



Incase it makes a difference my showthread.php is named thread.php and forumdisplay.php is named forum.php - the references in the files are all amended as appropriate as far as I can tell.

Thanks Geek. :)

ccplim
06-07-2005, 11:47 AM
OMG! I can't believed that I actually read throught all 80 pages and ended up here :knockedout:

The Geek, a really great support you are giving I must admit :up: I'm gonne get this installed on my local test host and see how things go ;)

oceanart
06-07-2005, 05:23 PM
Just installed on my 3.07 and it worked great - already using it.

Questions:
1. I completely forgot to change the chmod of index.htm in every directory to 0777 .. does that matter? Everything worked fine but I am just wondering.

2. Also I copied over all the files from /gas/changes per install instructions, including index.htm .. is that file necessary in the /forum directory?

3. Can I change the chmod of changes back to original?

4. to leave 0777 on some of the folders does it pose security risk?

It is a great addition to my solution - thanks !!! you are the best!
Paul

The Geek
06-07-2005, 07:13 PM
Hey Guys - Im out of town right now so Im kind of limited on what I can do to check things out for you but heres my best stab :)

t3media - does it happen in any other forum? What happens if you rebuild attachements?

tcb - can you check your GD setting and make sure that its right?

wired - whatever the forums permissions are, the article forum persmissions will be (IOW - yup ;) )

Flea - doesnt make sense to me. I see no error off hand with that SQL. Do you get the same error running that SQL through phpmyadmin? You can try to change any instance of ga. to geek_articles.

ccplim - Thanks ;)

oceanart:
1- shouldnt matter - you can actuially get rid of the ones that you moved outside of the gas/changes folder. IOW - if you copied the index.htm's from gas/changes to the standard directory - I would delete them (especially in your root directory) though they shouldnt pose any problem. They are there to prevent directory browsing.
2- see above ;)
3- Yes, but I thought that happens automatically?
4- leaving the gas folder chmodded to 0777 shouldnt pose a problem - but then I am no security expert. I am sure someone else here could give you the juice on that.

nJoy

TCB
06-07-2005, 08:24 PM
tcb - can you check your GD setting and make sure that its right?

Hi,

Thanks for trying to help. The GD settings (in vbulletin options) are good (large images are resized perfectly to thumbs when they're uploaded as attachments on forumtopics or GEEK articles).

When I try to upload an article icon, I quickly receive this message (see attachment) before the popup is closed and the non-resized uploaded picture appears as article-icon.

Wired1
06-07-2005, 09:05 PM
wired - whatever the forums permissions are, the article forum persmissions will be (IOW - yup ;) )

Did the INDEXs or just the folders have to be CHMOD 0777? I set only the folders, but it didn't work. Had to do it MANUALLY. Works just fine though, so it's all good :)

Also, IOW?

The Geek
06-07-2005, 11:08 PM
hmmm - looks even more like a gd error to me. What version is compiled with php? I may have to look at it when I get back in a couple days

Wired - No the index's are just placeholders to prevent directory browsing - regardless Im glad its sorted for you - IMO, IOW means in other words LOL@TLA's :)

oceanart
06-08-2005, 02:20 AM
Hi

What should be the permitions of the files after I install? the gas directory is still at 0777 should I change it?

:-)
Paul

Wired1
06-08-2005, 03:52 AM
hmmm - looks even more like a gd error to me. What version is compiled with php? I may have to look at it when I get back in a couple days

Wired - No the index's are just placeholders to prevent directory browsing - regardless Im glad its sorted for you - IMO, IOW means in other words LOL@TLA's :)

Ok, I've been on the net for over a decade, but TLA?

ROFLLMFFAOWPIMP :) Yes, it does mean something :)

oceanart
06-08-2005, 05:28 AM
I installed today the articles and this add on is great. I have still few questions if any of you have figured this out (I am still battling this)
1. Images in the articles. What is the best way to organize them and insert them in the article? I am currently thinking of this (please if you have a better system that works let me know) but it seems it has toooo many steps - is there a way to automate this?
Steps:
1. I create the article and note the post ID, for example if .... post46
2. Than I create a directory in /gas/images/forums/46
3. add the index.htm file in the /gas/images/forums/46 directory
4. upload all images I am planning to use in the article to "46" directory
5. add this line to the post without the dashes [-img]http://www.mysite.com/forum/gas/images/forums/46/image.jpg[/img-]
6. save the post

Is there any easier way of doing this? Am I missing something?

Also I read through the README the following: The gallery displays all images from the gas/images folder combinded with all images (if any) from the gas/images/forums/(current forumid) folder. Question:
1. I created a directory with (current forumid) = 46 however when I clicked on the image upload it did not display the images in '46' directory for me, only the gas/images direcotry files were displayed.
2. Who creates the "current forumid) directory - me? or the system.

Any help would be great ..... :-) I will be writing image intensive articles and really need a good system for this.

Paul

Clayton
06-08-2005, 06:11 AM
oceanart

in the readme file that came with the hack, there is a comprehensive explanation of how the images system works .. it is further down on the page explaining exactly what each term is etc

this is quite helpful, hope it helps

Cheers

G

oceanart
06-08-2005, 06:47 AM
I read through the end of the README ... and tested the solution various ways .. finally got the header to how I want it.

For the different ways to upload and display the image for the header the README file really helped me figure it out. What I am after is the actual article - how do I get the images in the actual article? How do you guys do it?, I mean in a simple way. The step by step process I wrote was my only solution so far .... can anyone share their system?

I found on few webistes directory path like this: /www.mysite.com/images/articles/(article ID)/ ...

running out of ideas ...
Paul

Clayton
06-08-2005, 07:12 AM
Paul

upload the images you want to use to the /gas/images folder

this then makes those images available for the articles

when you create a new article click on image and the images in that folder will be displayed

when the image is placed in the article it gets saved automatically to the ID [folder] of the user, you do not have to create it .. it is automated .. this process is also explained

make sure your settings in the AdminCP of the GAS articles allows for images to show in the header

in the settings it says

Use the legacy forumdisplay template? Choosing no will show the article header images

Hope this helps

G

ccplim
06-08-2005, 10:33 AM
I just tried using the auto install on my local machine and I am getting all sorts of permission denied message.

What should I do? I am working this on my own PC and thus will not be able to CHMOD the folders to 0777. Nevertheless, I am logging in as administrator which should already have full access to which ever folders I have.

Any help would be greatly appreciated.

Here is an example of what I received (and it happen to every file being edited)

Modifying file: forumdisplay.php
Completed step 200
Completed step 201
Completed step 202
Completed step 203
Completed step 204
Completed step 205
Completed step 205b
Completed step 206
Completed step 207
Completed step 208
Completed step 209
Saving changes to gas/changes/forumdisplay.php


Warning: fopen(gas/changes/forumdisplay.php): failed to open stream: Permission denied in \admincp\gas3_install.php on line 3151

Warning: fputs(): supplied argument is not a valid stream resource in \admincp\gas3_install.php on line 3152

Warning: fclose(): supplied argument is not a valid stream resource in \admincp\gas3_install.php on line 3153

oceanart
06-08-2005, 01:51 PM
Hi everyone,

I have a real burning question, for which no matter how many times I read the README I just can't figure it out. This is the quesiton of "images" in the actual article, NOT the images I want in my header (I figured it out with help of Clayton - thanks!!!)

How do you guys manage them? Where do you put the image that are included in the actual article? To be more specific:

Quesiton: For the actual in-line or embedded images within the artcile text within the post.
1. Where do you place them? What directory? Where do you place them
- I have seen few people create /www.mysite.com/images/articles/(article ID)/
- I thought that I should place them in /www.mysite.com/forum/gas/images/articles/(article ID)
2. How do you embedd inline images within article (this might be a very stupid question) is this the only way?
- add this line to the post without the dashes [-img]http://www.mysite.com/forum/gas/images/articles/46/image.jpg[/img-]
- is there a way to just define a default directory of images per post? then just say [-img]/46/image.jpg[/img-]
- I am assuming that the upload must be manual to this directory because the "image upload" will resize the images".
- I am almost looking for a semi-automated image management for each post, so customers can easily create text and upload their images per post. So, if the post is deleted, so are the images.
- or is the /gas/images/(user ID) intended for this purpose, meaning a customer or I upload all images into user ID's directory and all in-line images will live there? (than just reference them?) If a user is deleted, so are the images.
- am I asking for a new feature?

For Header images
Place standard images in /gas/images OR /gas/images/forums/(forum ID) OR upload your own that will be resized and placed in /gas/images/(user ID) - this is simple and it works and it is welll explained (well for a newbee like me it took few tries with Clayton's help :-) However I did have one final question:

Question: What is the "/gas/images/forum" directory intended for? I found a reference to this directory only here:
" To include images that are specific to a particular forum, place them in a gas/images/forum/{forumid} folder.What happens is that when the popup loads, it gets all images from gas/images/ and gas/images/forums/(forumid) and displays them for selection. "
- I did not understand the difference btw the /forum and /forums directory usage.

Any help would be appriciated .. this is my favorite add-on because my site will provide a lot of good articles :-)

Thank you,
Paul

FleaBag
06-08-2005, 01:56 PM
Flea - doesnt make sense to me. I see no error off hand with that SQL. Do you get the same error running that SQL through phpmyadmin? You can try to change any instance of ga. to geek_articles.


I'm not sure I follow. That's the error I get when going to forum.php?f=223 [the articles forum id]. You want me to run that directly in phpmyadmin? Would it make a difference that there are no threads in the forum? And with regard to changing the references to 'ga', do you mean just in forum.php, or in every file edit?

Thanks.

Clayton
06-08-2005, 02:07 PM
Hi everyone,

Paul .. the one thing I do differently is have a group of contributors who provide articles, the rest of the members/users who want to provide articles then send the article to a contributor or admin

if you provide the setting, these people can post the article in that persons username, thus cutting down on the amount of people who can cause chaos

to start with try to make everything as simple as possible

I hope this helps, even though not answering all your questions at all

G

Clayton
06-08-2005, 02:19 PM
Hi everyone,

1. Where do you place them? What directory? Where do you place them

2. How do you embedd inline images within article (this might be a very stupid question) is this the only way?

Paul

let me try answer this now .. not sure whether I will get it right

1. if you see where your default.jpg is .. upload the images you want others to use to there. when they click on image, a popup should show with a selection of images they can choose from ... when they inturn add that image to there article it gets saved in their folder automatically. So, that if an image is deleted from the 'default', the image is still available for the article in their ID folder [boy this may make things worse :)]

2. the embedding of the images would occur in your normal way you upload images in the forum, in the WYSIWYG you click on the picture for the IMAGE

the only problem with this is I can't get the text to wrap around the image, so it leaves a gap, will find a solution later

Hope this helps ...

I have added the Featured/Random Geek article and the Latest articles mods too ... and have achieved this by doing the simple things first. Don't focus on the folders etc to start with do 1 simple step at a time. I am very new to this stuff [total toal noobie] and I am just doing it by the numbers. I did find that on occasions it was like a cache of the server had to click over before things worked. Patience is the key, something I am learning.

Good luck

G

oceanart
06-08-2005, 04:33 PM
HI Clayton and others,

... here is an I idea I have been using for wraparound text - :-) What I did was enable for the forum "html". Basically I create the page in Dreamweaver and use tables, where I leave space for text and for images. Than just copy and paste the html code into your post and there you are - tables, colors everything is working.

Try it - it's really nice - the only thing you need to be careful is not to create bad tables otherwise it will mess up your article.

The one defect I found (I need to report it to the geek :-)) is when I post an article, than I edit it .... if you change the title, it does not change (everything else does) must be the database. Have anyone else encountered that? I usually just delete the entire post and change the title (now I have been really careful about the titles).

I love the fact that it is ALL searchable - this was a great strategic direction that made my decision over vbarticles, including the fact of "synopsis" with the "more" at the end. That little 'more' is so important to have - I think users will know right away where to click if they want more - that's also the part that I really liked - now if I just finalize the structure of images I am ready to release the site.

Paul

The Geek
06-08-2005, 04:59 PM
Hey guys - still out of town but popped in to see how things are going. If I miss anything or anyone - let me know!

Oceanart - After installed - the gas folder should still be chmodded to 0777 if you are allowing users to upload header images. If not, you can change it back

Wired - I guess yours doesnt count as a Three Letter Acronym :lol:

Oceanart - for images within the article - Personally I use vbGallery with my popup hack. Makes images a snap to enter into articles (will also happily work with Photopost). For me - its an essential tool for article creation.
Personally I would keep those images out of gas (just for sanity sake) however do as you think the easiest.

ccplim - sounds lie your php/apache precess is lacking permission to overwirte the files. That means the files themselves do not have write permissions enabled. Cant really help you there but Im sure if look at them again you may see how to set them.

Oceanart - Not sure how else to really explain the gas/images/forum folder feature any better than I have in the readme.
Lets say that I had 3 article forums:
fourm #53 Cooking recipes
forum #22 Film reviews
fourm #29 Music reviews
Then lets say that in my gas/images folder I have a couple of images for users to use when they create articles that are pretty generic (like the one that comes with the mod and maybe your web logo too). Then I could also create a recipee book image, a film reel image, and a stereo image. Name each of those default.jpg and then save them in:
gas/images/forums/53/default.jpg (for cooking)
gas/images/forums/22/default.jpg (for films)
gas/images/forums/29/default.jpg (for music)
*note - I cant remember if the folder is called forum or forums - and since Im on the road I cant really look it up. Just use whatever it is by default.
*Also note that you dont really have to call it default.jpg - but I would as if it exists it will become the default image for articles in that forum that have no header images set.
Anyhooo - hope all that makes sense.

Flea- yea, try to run that as is in phpmyadmin. Shouldnt matter that there are no articles in the forum as long as the gas table exists.

Hope I caught everything - sorry to have to run.

nJoy

Clayton
06-08-2005, 05:08 PM
excellent stuff The Geek

learning more on each turn

oceanart
06-08-2005, 06:24 PM
The Geek - ahhhhh - you have answered my questions to the fullest. Completely happy and your support is by far the greatest. Enjoy your vacations. My site will go live soon so I will be able to show of my articles :-) thanks to you, clayton and everyone who has helped.

Thank You.
Paul

Clayton
06-08-2005, 06:25 PM
for this setting

URL to default image can be relative (i.e. gas/images/default.jpg)

each time I enter the relative path of

gas/images/default.jpg

it keeps resetting it with a / before the gas/images/default.jpg

this causing the default.jpg not to show

any suggestions please?

TCB
06-08-2005, 06:43 PM
Is anyone hosting his/her vbulletin at Powweb AND has Geek Articles running?

Lizard King
06-08-2005, 06:51 PM
Is anyone hosting his/her vbulletin at Powweb AND has Geek Articles running?
Not me but i know someone running on powwed web .

N2activeWeb
06-09-2005, 01:43 AM
We just installed GeekArticle and Latest Geek Article. Can someone please tell me how to use Geek Article. I am looking in my admincp and I don't anything about articles or where to make a forum an article based forum.

Thank You

DarkDestinyD
06-09-2005, 02:03 AM
I have a full question...i have VBAdvanced installed as well as Geeks Articles of course :)..now i run a gaming forum thats about to REopen and i will have different admins writing reviews and previews and news on games,movies etc etc

What i want is to have the Article Display image to display on the front of the portal instead of our avatars is there anyway to do this? In reallllllyyyy dont want to go through 80 pages to not find the answer i already went through 15 lol. I would install the featured Featured Article but we want it to just list normally like you would do regular news on a portal instead of just being a few/1 post thats featured.

Robert Basil
06-09-2005, 04:21 AM
I have a full question...i have VBAdvanced installed as well as Geeks Articles of course :)..now i run a gaming forum thats about to REopen and i will have different admins writing reviews and previews and news on games,movies etc etc

What i want is to have the Article Display image to display on the front of the portal instead of our avatars is there anyway to do this? In reallllllyyyy dont want to go through 80 pages to not find the answer i already went through 15 lol. I would install the featured Featured Article but we want it to just list normally like you would do regular news on a portal instead of just being a few/1 post thats featured.

I would love to find out how to do this as well. I think it might be an option to ask for in the VBA forums though.

TCB
06-09-2005, 05:26 AM
Not me but i know someone running on powwed web .

Great.... And do you know if the 'article icon' uploadtool works for him/her?

ccplim
06-09-2005, 11:00 AM
ccplim - sounds lie your php/apache precess is lacking permission to overwirte the files. That means the files themselves do not have write permissions enabled. Cant really help you there but Im sure if look at them again you may see how to set them.


Hi The Geek,

Thank you for the reply. I am thinking about the permission issue too. Anyway, I have performed the manual installation (it isn't that hard) and it seems to work great.

A couple of things that I would like to bring up.
1) Is it possible to have multiple authors per article? I have some articles that came from 2 or more members and it would be good if all their names can be credited.

2) Is it possible to set the number of images limit independently from the other forums? I have some articles with many pictures (I am using the [img] code and not using attachement) but at the same time, I want to limit the number of image that my members can post in the other forums.

trulylowcarb
06-09-2005, 02:44 PM
Geek,
Hope I didn't miss this, but I can't seem to find it elsewhere - I want the comments to always be shown along with the content, and vice versa - my people can't seem to get why when they follow a recent comment, the recipe or review that is being referenced isn't automatically shown, along with the comments. Is there any way to alter this? Thanks in advance. :)

venomx
06-09-2005, 03:02 PM
I still cant figure out why I cant see the comments but unregistered and normal members can :(
The Geek can you please help me find out why?

Also What template do we edit to add adsense to the articles so they appear right after the article abouve the comments?

trulylowcarb
06-09-2005, 03:38 PM
One of my paying subscribers ONLY sees the comments, no matter where I direct him to click. He is an aol user but says he tried in Firefox also, and the same thing happens. This is NOT what I see, so it is really stumping me, but it all goes back to the fact that my users have already mentioned that combining the comments and content would be better anyway...

TCB
06-09-2005, 10:15 PM
One of my paying subscribers ONLY sees the comments, no matter where I direct him to click. He is an aol user but says he tried in Firefox also, and the same thing happens. This is NOT what I see, so it is really stumping me, but it all goes back to the fact that my users have already mentioned that combining the comments and content would be better anyway...

Mine also: it's quite disturbing when you click on the latest articlelink on the forumdisplay, that you get directed to the comments only, without seeing the articles where the comments are about.

The Geek
06-10-2005, 06:14 AM
eh? Wat exactly is the problem?

Have you logged on as the user and tried? I cant for the lofe of me see how the user isnt able to view the first post in the thread (the article).

The latest article link is the latest comment link and as such takes you to the latest post. Thats by design.

Venom- Put the adsense in the GAS_article_pb template. Do you get a JS error or anything when viewing the article? Is it on multiple browsers?

ccplim - no, only 1 author per article. I would use the byline for additional author credits. Setting image limits - you would need to use a different hack for that type of functionality - essentially one that would limit images per post.

I have now had a quick go over the initial beta for vb3.5 in order to start to get an idea how to start porting this over.
Many of the aspects are now a snap to do (like setting the templates) however some are now impossible to do with the hook system as it currenlty is (ie multiple pages). Though it is still very much early days for vb3.5, I doubt it will be a major deal to upgrade when vb3.5 goes gold.

I will also be including a few extra new features like settings per forum.

Clayton
06-10-2005, 06:20 AM
The Geek

truly appreciate the work you are doing.

Thank you and have a grand weekend

G

venomx
06-10-2005, 06:26 AM
The Geek,

I have tried in both IE and Fire Fox. As an Admin I cant see the comments below the Article.

If I log out or login as a regular member the comment is listed right under the Article.
I asked my other Admin and she gets the same thing. :(

TCB
06-10-2005, 06:29 AM
The latest article link is the latest comment link and as such takes you to the latest post. Thats by design.

No, I mean that when someone clicks on a latest topic link in the forum-index,they will be forwarded to the latest comment of an article, but the complete article is missing.

In other words: when people visit an article through the 'last post' link on the forum index, they will only see the comments on the article, not the complete article itself. When they visit the article through the forumdisplay.php, they'll see the article+comments.

ccplim
06-10-2005, 10:54 AM
I can't remember if this has been asked before (might have but I couldn't find it). I noticed that I am not able to edit/delete the author's name.

Is this intentional or is it a bug? :confused:

sim
06-10-2005, 12:14 PM
Think I've found a bug in file: gas3_install.php

Line 2952:

if (!is_dir("/$folderchanges[root]")){

doesn't work ... the variable $folderchanges[root] is undefined and the slash in front tries to check from the file system root rather than from the current directory.

I changed it to:

if (!is_dir("$folderstructure[root]")){

... and it then worked.

oceanart
06-10-2005, 01:42 PM
Hi,

I installed with Geek Articles the "Geek Gallery Popup for vBadvanced Gallery or PhotoPost 4 or higher" (I am using Photopost) and inserting images in any posts have been a breethe! Works beautifully with Geek Articles. This is exactly what I was looking for.

Quick Question (always one question): When I add a comment to an article, upon entering it it displays only the comment. User has to click back on the article to see the artcile and the comment. Is this by design or can I customize it so after the comment is entered it displays immediatly both. NOTE: If I click back on the article - it will than display the article and the comment - so it's no problem, I am just trying to optimize it.

Many thanks to The Geek.

Paul

trulylowcarb
06-10-2005, 04:02 PM
I seem to have resolved my all or nothing comment or content issue by changing the GAS settings:
Show preview of comments only on the last page to YES
as well as Show comment button only on the last page to YES.

MickDoneDee
06-11-2005, 11:00 AM
Can I install this hack without closing my site?

Is CHMOD 0755 acceptable?

After creating table geek_articles this message appeared in database: PRIMARY and INDEX keys should not both be set for column `threadid`

I was able to CHMOD your files and folders to 0777 within my FTP application by right-clicking the mouse on the item and selecting CHMOD from the menu and typing 777.

All installation steps went smoothly. Not sure what problem Sim encountered with
if (!is_dir("/$folderchanges[root]")){

Did an error message flag? Did the installation process stop? My installation was completed successfully except for that strange database message.

I dropped the geek_articles and used the installer again to create the table with the same error message appearing.

These are the queries:

CREATE TABLE `geek_articles` ( `threadid` int(11) NOT NULL default '0', `byline` varchar(150) NOT NULL default '', `userid` int(11) NOT NULL default '0', `iconpath` varchar(255) NOT NULL default '', `synopsis` varchar(255) NOT NULL default '', `feature_untill` int(11) NOT NULL default '0', PRIMARY KEY (`threadid`), KEY `threadid` (`threadid`) ) TYPE=MyISAM;
ALTER TABLE `attachment` ADD `description` VARCHAR( 150 ) NOT NULL ;
ALTER TABLE `geek_articles` ADD `iconpath` VARCHAR( 255 ) NOT NULL default '' ;
ALTER TABLE `geek_articles` ADD `synopsis` VARCHAR( 255 ) NOT NULL default '' ;
ALTER TABLE `geek_articles` CHANGE `synopsis` `synopsis` MEDIUMTEXT;
DB changes complete

FleaBag
06-11-2005, 03:50 PM
Got it working. Re-hacked on a fresh copy for a second time, guess I must have taken a little more care this time! Thanks anyway Geek. :)

Bonee70
06-11-2005, 05:35 PM
* left blank *

great hack, great install instructions!

Good job!

Bernd
06-14-2005, 09:07 PM
Does Geek Articles actually support paging for the article "threads"?
I've set the max amount of threads to 10, but my articles already reach over 10 and they are all listed on the same page.

I've checked the settings, but couldn't find an option for it.

Thanks in advance for answering :)

The Geek
06-15-2005, 11:02 AM
Bernd - Im stumped over what you are asking. I am most likely just being thick after a heavy day at the Races yesterday - can you explain another way for a man nursing a hangover?

The Geek
06-15-2005, 11:04 AM
CREATE TABLE `geek_articles` ( `threadid` int(11) NOT NULL default '0', `byline` varchar(150) NOT NULL default '', `userid` int(11) NOT NULL default '0', `iconpath` varchar(255) NOT NULL default '', `synopsis` varchar(255) NOT NULL default '', `feature_untill` int(11) NOT NULL default '0', PRIMARY KEY (`threadid`), KEY `threadid` (`threadid`) ) TYPE=MyISAM;

You can try editing the above in the install file to:


CREATE TABLE `geek_articles` ( `threadid` int(11) NOT NULL default '0', `byline` varchar(150) NOT NULL default '', `userid` int(11) NOT NULL default '0', `iconpath` varchar(255) NOT NULL default '', `synopsis` varchar(255) NOT NULL default '', `feature_untill` int(11) NOT NULL default '0', PRIMARY KEY (`threadid`)) TYPE=MyISAM;

Not sure why there is a primary key and normal key. Furthermore any complaints from MySQL should be quiet (shouldnt see any errors)

Bernd
06-15-2005, 02:08 PM
Bernd - Im stumped over what you are asking. I am most likely just being thick after a heavy day at the Races yesterday - can you explain another way for a man nursing a hangover?

Sure..
:)


The amount of threads in a forum can be set in the vbulletin options. If the amount of threads is say 10, then the forum will display page numbering at the top and bottom of the forum.

It seems that there is no limit to the amount of articles listed in a forum. Currently I have over 20 articles in one forum and the amount will probably grow over 100. I would like to know if Geek's Article system allows paging for listed articles in a forum category..

For example, 10 out of 20 articles would be listed in a forum category + the page numbering to get to the next 10.

The Geek
06-15-2005, 02:15 PM
er - it should. I dont think GAS overrides any of those values at all.
I was thinking of doing it as the average is 30 threads per page per forum and that is a lot when you are including the article header images - but I never did anything.

So - in a nutshell - it should use whatever default vb is using.

Bernd
06-15-2005, 02:24 PM
Ahh, silly of me. I had it changed in thread settings instead of forum. Thanks.
Would be a nice feature though to allow a separate setting for the article system (in case someone adds article image headers).

DJDarknez
06-15-2005, 06:20 PM
OK, this is driving me up the wall

- It still has the quick reply box there (i see how to remove it, but I thought it would have been automatically taken out with the latest version)

- the page break command doesn't work

- should it still say post reply at the top and bottom?

I tried the auto-install, got a ton of errors. Had to manually edit all the files (not a big deal). But, since I had to do that, I have to idea where to backtrack and how to fix it.

forum: http://forums.djdarknez.net/forumdisplay.php?f=43
thread: http://forums.djdarknez.net/showthread.php?t=545

HELP! PLEASE!

Thanks! :P

The Geek
06-15-2005, 08:31 PM
OK, this is driving me up the wall

- It still has the quick reply box there (i see how to remove it, but I thought it would have been automatically taken out with the latest version)

- the page break command doesn't work

- should it still say post reply at the top and bottom?

I tried the auto-install, got a ton of errors. Had to manually edit all the files (not a big deal). But, since I had to do that, I have to idea where to backtrack and how to fix it.

forum: http://forums.djdarknez.net/forumdisplay.php?f=43
thread: http://forums.djdarknez.net/showthread.php?t=545

HELP! PLEASE!

Thanks! :P
Something is wacky then as there has never been an issue with the page break code.
The quick reply is there depending on your vb settings. If you dont want it there - you can always remove $quickreply from $GAS_showthread.
It will say post comment at the top and bottom depending on your settings.

Have you checked your gas/changed/backup folder for clean copies of your files? I would re hack them again as it sounds like an error was made somewhere.

Good luck!

DJDarknez
06-15-2005, 10:04 PM
AH HA!

Works now. I have no idea what I did / did wrong, but it's all good!

Thanks much.

ccplim
06-16-2005, 03:43 AM
I can't remember if this has been asked before (might have but I couldn't find it). I noticed that I am not able to edit/delete the author's name.

Is this intentional or is it a bug? :confused:

Anyone have any idea about this? :confused:

Deriel
06-17-2005, 12:01 PM
How can I add an extra fcustom field in the Article? In my case a "Translator:" field

The Geek
06-17-2005, 04:23 PM
ccplim - thats by design. To change ownership of the article would require changing post counts and such and I never coded it for that.

Deriel - you would need to add another field to geek_articles, add an input field into the GAS_article_options template, edit your newthread.php and editthread.php to catch it, edit your functions_gas.php to pass the new field along and update/insert it into the table.
It really sounds like a lot more work than it is ;)

JamesB
06-17-2005, 04:31 PM
No, I mean that when someone clicks on a latest topic link in the forum-index,they will be forwarded to the latest comment of an article, but the complete article is missing.

In other words: when people visit an article through the 'last post' link on the forum index, they will only see the comments on the article, not the complete article itself. When they visit the article through the forumdisplay.php, they'll see the article+comments.

Hi NailGeek, I am also interested in solving this same issue. For instance, if you click on the links below only the comments are visable.

This is how my RSS links are formed

http://www.-.com/forums/showthread.php?t=8&goto=newpost

This is how my latest post links are formed(EDIT: I just delete the comment from this message so now this link will take you to the article)

http://www.-.com/forums/showthread.php?goto=newpost&threadid=3

ccplim
06-20-2005, 02:27 AM
ccplim - thats by design. To change ownership of the article would require changing post counts and such and I never coded it for that.


Thanks The Geek! In that case, I must be more careful when doing those entries.

mahiraminc
06-24-2005, 09:49 AM
Hi NailGeek, I am also interested in solving this same issue. For instance, if you click on the links below only the comments are visable.

This is how my RSS links are formed

http://www.theforums.com/forums/showthread.php?t=8&goto=newpost

This is how my latest post links are formed

http://www.theforums.com/forums/showthread.php?goto=newpost&threadid=3

I'm also interested in resolving this issue. Consider this scenario:

When I add articles to the forum they are shown as latest posts on my forum home page. Then members will start to comment on them and now when the the links for the articles are clicked they take you to the comments page. I don't like this... i'd want everybody go to the article first. if they like it they can scroll down and post a comment and if they are particularly interested in reading comments, they should click on view comments link.

Rampag33
06-24-2005, 05:15 PM
I tried installing this thing and at first I thought everything went well. Went to the admincp and didn't see any settings or options. All databese entries where made as well as phrases. Just no file edits during the autoinstall. I'm guesssing becuase my vb has ben modded. VB version 3.0.7.

So I attempted to do the first file edit to "forumdisplay.php". After editing the file I tried looking at my forum that used that file to see if any errors came up before moving on to the next file.

Database error in vBulletin 3.0.7:

Invalid SQL:
SELECT
IF(votenum >= 1, votenum, 0) AS votenum,
IF(votenum >= 1 AND votenum > 0, votetotal / votenum, 0) AS voteavg,
post.pagetext AS preview,
thread.threadid, thread.title AS threadtitle, lastpost, thread.forumid, pollid, open, replycount, postusername, postuserid, thread.iconid AS threadiconid,
lastposter, thread.dateline, IF(views<=replycount, replycount+1, views) AS views, notes, thread.visible, sticky, votetotal, thread.attach

, NOT ISNULL(subscribethread.subscribethreadid) AS issubscribed
, NOT ISNULL(deletionlog.primaryid) AS isdeleted, deletionlog.userid AS del_userid,
deletionlog.username AS del_username, deletionlog.reason AS del_reason
FROM thread AS thread
LEFT JOIN deletionlog AS deletionlog ON(thread.threadid = deletionlog.primaryid AND type = 'thread')
LEFT JOIN subscribethread AS subscribethread ON(subscribethread.threadid = thread.threadid AND subscribethread.userid = 1) LEFT JOIN geek_articles as ga ON(ga.threadid = thread.threadid)
LEFT JOIN geek_articles as ga ON(ga.threadid = thread.threadid)
LEFT JOIN post AS post ON(post.postid = thread.firstpostid)
WHERE thread.threadid IN (0)
ORDER BY sticky DESC, lastpost DESC

Can anyone tell me what might be going wrong to use this mod