View Full Version : Geek Article System 3.52
COBRAws
06-24-2005, 07:32 PM
/me orders slave to click install
hehe done
The Geek
06-25-2005, 07:16 AM
rampag - looks fine to me from scanning it. The reason the file changes were not done was because the changed files sit in gas/changes/ until you move them.
Regardling clicking last post and getting the comment instead of the article - once again thats kind of how it works. In the next version I will look toward doing a 'preview' of the article at the top of each comment page.
Rampag33
06-26-2005, 02:10 AM
Alright went ahead and moved the edited files. Still came up with an error saying "geek_articles" wasn't created.
Ran this query found in another post:
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;
After running that. Everything worked fine. Great Job ... cliccs install.
Is there a way I can have a page like articles.php that shows all the articles?
arob42
06-28-2005, 03:41 AM
What directories and files are required to have 777 permission after installation?
The reason I ask is because someone was able to place a mass mailing script on my website that was generating lots of spam to thousands of random email addresses, all in my name. I narrowed this down to a executable, named tt.txt, in my forum/gas directory.
The Geek
06-28-2005, 08:14 AM
hmmm...
Not sure how a txt file could execute - regardless I must confess that Im no expert on that subject. I thought they would still need ftp access to your site to write into the directory. GAS has the ability to limit what content can be uploaded (by extension) to prevent executables being uploaded.
Ill see what I can find out but in the meantime you can try:
1- Turn off the ability to upload their own images - just use the gallery side of things. Then you can chmod to normal permissions.
2- I havent tried this, but in theory: only Apache needs write access so maybe try making the owner of the gab/images folder (and sub directories) Apache, and give the apache user write permissions and the group read/execute.
Im open to any other suggestions.
Marco van Herwaarden
06-28-2005, 08:30 AM
Chances are big that this was not done using GAS, but that this file by coincidence ended up in the GAS directory.
This kind of hack is mostly done by someone gaining access to your server using Telnet/SSH (or maybe FTP) and placing his files in many directories, probably also using many different names, or even modifying existing files.
You should consider your server as infected and insecure at this time, and your passwords to be compromised. I suggest you contact your host about cleaning the server and resetting all passwords.
The Geek
06-28-2005, 10:09 AM
Chances are big that this was not done using GAS, but that this file by coincidence ended up in the GAS directory.
This kind of hack is mostly done by someone gaining access to your server using Telnet/SSH (or maybe FTP) and placing his files in many directories, probably also using many different names, or even modifying existing files.
You should consider your server as infected and insecure at this time, and your passwords to be compromised. I suggest you contact your host about cleaning the server and resetting all passwords.
I agree with Marco.
On a side note - I have ran some tests and the GAS folder (and contents) can (and I guess should) be chmod 0775 as long as the apache (or nobody, or whatever account PHP runs under) has ownership and therefore access to write.
arob42
06-29-2005, 12:20 PM
Chances are big that this was not done using GAS, but that this file by coincidence ended up in the GAS directory.
This kind of hack is mostly done by someone gaining access to your server using Telnet/SSH (or maybe FTP) and placing his files in many directories, probably also using many different names, or even modifying existing files.
You should consider your server as infected and insecure at this time, and your passwords to be compromised. I suggest you contact your host about cleaning the server and resetting all passwords.
I am still looking into exactly how this happened. It was an old polling script that was compromised, but it was accessing the tt.txt file in the gas directory to do its dirty deed. It changed the permission on tt.txt to executable and then executed it using a tool25.dat hacking tool by the hacker known as r3v3ng4ns. Grrrrr
arob42
06-29-2005, 12:22 PM
On another subject, is streaming media supported by this product? I'd like to display some video in parts of the articles. Thanks.
Regards,
--Robert
The Geek
06-29-2005, 01:47 PM
Never tried it - however I wouldnt think it would be a problem. No different than sticking a streaming media clip in a post. You may have to create a new bbcode for it.
HTH's
PamelaE
06-29-2005, 07:48 PM
I have uploaded all the files. The automated changes did not bring back any errors but in the admincp there is an empty and nameless section added to the lefthand nav.
I have manually checked all the files and they look ok.
Any suggestions?
The Geek
06-29-2005, 07:58 PM
Edit a phrase and click save (any phrase)
BabesAndStuff
06-30-2005, 10:46 PM
Is there any search engine friendlyness built into this - IE is it optimised to be picked by the se's
MickDoneDee
06-30-2005, 10:53 PM
Yes, the se spiders will index the articles and the articles also appear in the html Archive version which get indexed as well.
The Geek,
Any updates on when the new 3.5 compatible version is going to be out ?
i'm looking forward to installing vb3.5 on my site and the main thing thats holding me back is the article system :( (which i of course love and wont be able to live without)
please help ;)
FD929
07-01-2005, 01:42 PM
The Geek,
Any updates on when the new 3.5 compatible version is going to be out ?
i'm looking forward to installing vb3.5 on my site and the main thing thats holding me back is the article system :( (which i of course love and wont be able to live without)
please help ;)
+1
*itching with anticipation*
The Geek
07-01-2005, 04:34 PM
Im just in the process of finishing up GAB. Then I was going to look at reqriting GAL or this, but I was leaning toward GAL first as it wont be such a mamouth task.
I too am eager to get it done as those 2 macks are essential to me upgrading to 3.5 which I want to do as soon as its gold. The biggest problem is that GAS isnt going to be such a straight forward rewrite as GAB or GAL :(
BTW: The good news is that it will include a review system with rating polls too For example, you can have forums specifed as Movie reviews that will display in the same format as articles, however you can specify 'Reviews' or 'Movie Reviews' instead of articles. You will then be able to specify a preset rating system per forum like:
Entertainment: (1-10)
Acting: (1-10)
Directing: (1-10)
blahblahblah
Overall (1-10)
Whats different between that and a normal poll? Users cant specify their own poll items, only the author can rate the items (im optionally looking at comment reviews too), and they are consistent across the forum.
KTBleeding
07-01-2005, 05:54 PM
You will then be able to specify a preset rating system per forum like:
Entertainment: (1-10)
Acting: (1-10)
Directing: (1-10)
blahblahblah
Overall (1-10)
Very cool. This will by my highest anticipation yet.
I'm having a slight problem with your hack and VBadavanced last 10 Posts module. I verified this with a friend and he is having the same issue on his site so this could be a bug. When you click the link from the last 10 post module you only see comments and no article. This is happens from both the Index and Forum Home. Seems there is something missing.
Jaks
The Geek
07-02-2005, 01:09 PM
I'm having a slight problem with your hack and VBadavanced last 10 Posts module. I verified this with a friend and he is having the same issue on his site so this could be a bug. When you click the link from the last 10 post module you only see comments and no article. This is happens from both the Index and Forum Home. Seems there is something missing.
Jaks
This has been brought up before, however it is actually by design. Id the last post is a comment, it takes you to the comment viewing section.
In the next version, regardless there will be a preview of the article even if they are viewing comments only.
FD929
07-02-2005, 07:55 PM
Geek I have to say, you have to be one of the greatest assets to vb.org. Your work is top notch. Many coders with your level of expertise have made all their hacks paid. I applaud you for spending so much time developing these magnificent modifications and not requiring a penny for them. If you have a paypal link I'd be happy to send something your way.
PamelaE
07-03-2005, 09:33 PM
Hi,
Thanks for this. Its wonderful. We have integrated it will with our site http://www.soapchat.burtonhosting.com/forumdisplay.php?f=142
But do you know how we can offer this as an RSS feed or put links to the latest articles on our homepage http://www.ultimatedallas.com ?
Some sites have requested a feed they can have to bring up our news
Any help would be appreciated.
MickDoneDee
07-04-2005, 12:40 AM
This thread might offer some tips:
https://vborg.vbsupport.ru/showthread.php?t=73315
First RSS has to be enabled in the Admin CP.
In vBulletin Options go to the setting group called External Data Provider. Select Yes to Enable RSS Syndication and click Save.
I think you already have it enabled anyway because I see your RSS feed when I click:
http://www.soapchat.burtonhosting.com/external.php?type=RSS2&forumids=142
For an explanation of RSS click here (http://en.wikipedia.org/wiki/RSS_%28file_format%29).
The above explanation also mentions that multiple RSS formats exist which you can see by replacing RSS2 with RSS1 or RSS0.91. It seems external.php only outputs RSS 2.0 and 0.91.
external.php is set to output 15 articles.
if ($forumchoice != '')
{
// query last 15 threads from visible / chosen forums
$threads = $DB_site->query("
SELECT thread.threadid, thread.title, thread.lastposter, thread.lastpost, thread.postusername, thread.dateline, forum.forumid, forum.title AS forumtitle, post.pagetext AS preview
FROM " . TABLE_PREFIX . "thread AS thread
INNER JOIN " . TABLE_PREFIX . "forum AS forum ON(forum.forumid = thread.forumid)
LEFT JOIN " . TABLE_PREFIX . "post AS post ON (post.postid = thread.firstpostid)
LEFT JOIN " . TABLE_PREFIX . "deletionlog AS deletionlog ON (deletionlog.primaryid = thread.threadid AND deletionlog.type = 'thread')
WHERE 1=1
$forumchoice
AND thread.visible = 1
AND open <> 10
AND deletionlog.primaryid IS NULL
ORDER BY thread.dateline DESC
LIMIT 15
");
}
ccplim
07-04-2005, 02:15 AM
Hi The Geek,
Can advise how you create that space shown in the red circle?
Thanks!
The Geek
07-04-2005, 06:35 AM
Hi The Geek,
Can advise how you create that space shown in the red circle?
Thanks!
ccplim - hehe thats a bug on my part from tweaking my version. Its a result of the block list in the item above not being properly closed from the auto synopsis slicing.
fd929- thats one of the nicest things anyone has written on vb.org for me. Thanks. Its made my morning ;)
ccplim
07-04-2005, 10:25 AM
ccplim - hehe thats a bug on my part from tweaking my version. Its a result of the block list in the item above not being properly closed from the auto synopsis slicing.
fd929- thats one of the nicest things anyone has written on vb.org for me. Thanks. Its made my morning ;)
Haha.... I see...... I thought it was some useful feature which I could implement on my site. I am actually looking for something similar that I can use to seperate the articles into different categories. :D
The Geek
07-04-2005, 10:59 AM
thought it was some useful feature which I could implement on my site. I am actually looking for something similar that I can use to seperate
Well, you could screw it up like mine - or why not just create sub forums that are article forums? ;)
Rob Locke
07-04-2005, 02:27 PM
Geek I have to say, you have to be one of the greatest assets to vb.org. Your work is top notch. Many coders with your level of expertise have made all their hacks paid. I applaud you for spending so much time developing these magnificent modifications and not requiring a penny for them. If you have a paypal link I'd be happy to send something your way.Geek, I have to fully agree with FD929. Your work is great and you are always here to help with people's questions.
I only wish you would release a 'Pro' version of the articles system, which I know many people would happily pay for as the preferred articles add-on for vb.
Thank you for all your hard work. You are right up there with the team at vb and vbadvanced!
The Geek
07-04-2005, 05:22 PM
Geez, my head is getting a bit more disproportionate for my body.
What would be the difference between a pro version and this? I really couldnt think of any more functionality to add apart from what I already mentioned will be in 4.0 for vb3.5
THanks again for your kind words - especially for the vb and vba team. Personally I think the vba team (Brian) produces some of the most solid stuff for vb (hence the reason I use all thier stuff).
ccplim
07-05-2005, 07:16 AM
Well, you could screw it up like mine
Well, if only I know how to do that :p :laugh:
or why not just create sub forums that are article forums? ;)
Sounds like a good idea. I have not really tested this yet. Will give it a shot!
Great hack Geek,
I have absolutely no complaints.
Is there anyway to create a directory of categorys articles? I'm talking about a list of categories and under each cat a list of the articles within the cats. How would i make each article show the number of votes on each article and make it so someone could search or arrange the articles in that order? Any help would be greatly appreciated.
Jaks
Got another question,
How did you do the alert on your site. "It looks like you are not yet a geek" I would love to have that on my site. :)
Jaks
The Geek
07-06-2005, 03:48 PM
Is there anyway to create a directory of categorys articles? I'm talking about a list of categories and under each cat a list of the articles
Thats the infobar mack thats about here somewhere. If you cant find it, look at the posts I have made as it was pretty recent I installed and complimented the author (as in the last week). Its about a 2 second install and well worth it.
TO do what youre asking is not difficult... However something I wouldnt have time to do now. Maybe post something in service request?
As for the other items, if I understand you correctly, you only need to modify your GAS_threadbit template. Just compare it to your normal threadbit template to see the difference.
Rob Locke
07-07-2005, 06:28 PM
Geez, my head is getting a bit more disproportionate for my body.
What would be the difference between a pro version and this? I really couldnt think of any more functionality to add apart from what I already mentioned will be in 4.0 for vb3.5
THanks again for your kind words - especially for the vb and vba team. Personally I think the vba team (Brian) produces some of the most solid stuff for vb (hence the reason I use all thier stuff).Really, the 'PRO' version would just be a dedicated setup like vba, with members' area for downloads, support tickets, etc. and a forum for new feature requests, bugs and so on. GAS would ideally have its own expandable group in the template manager. I guess the installer and admin settings would be a little more 'vanilla' in their wording. Perhpas the addition of a 'Reviews' setting, i.e. the choice to make a forum an 'Articles' forum or a 'Reviews' forum, with pertinent differences between the two.
Just my opinion as a self-professed entrepreneur, that you could sell this as a significant professional add-on to vBulletin. Perhaps the name would just be 'Articles System' for professional users, like me, who would love this to be a professional product in full ongoing development, rather than just a hack for vb devotees.
To be honest, I think all your hacks could be very successful as 'PRO' products.
I hope it's okay for me to make these suggestions. There just aren't enough good, solid, professional add-ons out there. You are already a step ahead of the game and I am sure someone will eventually start doing this, so why not you!!!
I'd be the first in a massive line of paying customers, I'm certain.
Thanks again for all your hard work!
The Geek
07-07-2005, 06:46 PM
hehe. Thanks again :)
I guess my opinion has always been, sure I may be able to make a few quid on the side with it... but then never enough to be able to make it a full time job which is what paying members would deserve.
As far as I am concerned, if it helps others (and me) and people accept that it is just a hobby... then Im cool to leave it as is. My site wouldnt be the same without some of the free macks that I have downloaded from here.
Saying that - I have no quarrel with paying for macks... I own everything from vba and some stuff from photopost, and a skin designed by Alex (Direct Pixel). All that has cost a bit and I dont regret it at all.
I guess I like the freedom to play and release stuff at no charge... whereas I would have to turn it into a job if I did charge. Also - lets face it, not everyone can fork out for enhancments for their site.
I know at one time I couldnt.
OFFSHORE DAN
07-09-2005, 10:33 PM
I did everything it said. Copied the files to right locations and still I don't see anything in the admin cp. Getting frustrated! PLease help. Here is the last page of the script before I copied the files to the right locations.
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
Modifying file: editpost.php
Completed step 000
Completed step 001
Completed step 002
Completed step 003
Completed step 004
Saving changes to gas/changes/editpost.php
Warning: fopen(gas/changes/editpost.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
Modifying file: includes/functions_showthread.php
Completed step 300
Saving changes to gas/changes/includes/functions_showthread.php
Warning: fopen(gas/changes/includes/functions_showthread.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
Modifying file: admincp/index.php
Completed step 400
Saving changes to gas/changes/admincp/index.php
Warning: fopen(gas/changes/admincp/index.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
Modifying file: newthread.php
Completed step 500
Completed step 501
Completed step 502
Completed step 503
Completed step 504
Completed step 505
Saving changes to gas/changes/newthread.php
Warning: fopen(gas/changes/newthread.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
Modifying file: showthread.php
Completed step 600
Completed step 601
Completed step 602
Completed step 603
Completed step 604
Completed step 605
Completed step 606
Completed step 607
Completed step 608a
Completed step 608b
Completed step 609
Completed step 610
Completed step 611
Completed step 612
Completed step 613
Completed step 614
Completed step 615
Saving changes to gas/changes/showthread.php
Warning: fopen(gas/changes/showthread.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
Modifying file: printthread.php
Completed step 700
Completed step 701
Completed step 702
Completed step 703
Completed step 704
Completed step 705
Saving changes to gas/changes/printthread.php
Warning: fopen(gas/changes/printthread.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
File modifications complete. All files are waiting in the change folder. If you get any error messages, make sure you spply the correct steps before replacing files.
Your moves amaze the Red Dragon.
With a ninja like motion, you twist the crown of the pineapple off and hurl it with deadly aim toward the Red Dragon (level 10)
He falls down in defeat which in turn reveals the sacred treaure - a great golden Pineapple
What do you want to do?
Eat the pineapple in peace - The End
The Geek
07-10-2005, 06:25 AM
failed to open stream: Permission denied in /admincp/gas3_install.php on line 3151
this means that the gas folder and its contents are not chmod 0777
Just chmod the folder and its contents and re-run the file change part of the installer.
HTH's
OFFSHORE DAN
07-10-2005, 01:20 PM
How do I do that?
OFFSHORE DAN
07-10-2005, 02:01 PM
oK I got everything loaded. But How do I make an article. No Article box pops up.
www.TopicsChat.com
The Geek
07-10-2005, 02:29 PM
oK I got everything loaded. But How do I make an article. No Article box pops up.
www.TopicsChat.com
you need to specify which forums are your article forums in your settings
OFFSHORE DAN
07-10-2005, 02:37 PM
I did. Nothing happens.
The Geek
07-10-2005, 02:43 PM
I did. Nothing happens.
The forums value needs to be a comma seperated list of the forumids... not 'articles' ;)
OFFSHORE DAN
07-10-2005, 02:44 PM
ok I'll thanks for helping. I know it is a cool program that is why I wanted it. Let me try.
Paul M
07-10-2005, 11:29 PM
Is it possible to install this without it doing the file edits automatically ?
The Geek
07-11-2005, 05:09 AM
sure, though I dont know why you would bother.
Right before the file edits, it asks if you want to do them manually or automatically. If you do them automatically, it backs your files up first and then tries to make each change. If it cant make the change - it skips it and tells you that you need to do it manually (and provides you a link to do it with)
ccplim
07-12-2005, 12:45 PM
Is there anyway to create a directory of categorys articles? I'm talking about a list of categories and under each cat a list of the articles within the cats. How would i make each article show the number of votes on each article and make it so someone could search or arrange the articles in that order? Any help would be greatly appreciated.
Jaks
Exactly what I have wanted. I am still trying to figure out what hack(s) was being used on the site that I have attached.
Bernd
07-13-2005, 06:38 PM
Found one last issue.
Flash banners always redirects towards "www.domain.com" instead of "http://www.domain.com", no matter what url forwarding has been entered.
This causes dead links for flash banners. Not sure how to fix this.
The Geek
07-13-2005, 06:43 PM
Hi Berd - wrong mack ;)
You need the GAB thread - this is GAS - one letter off but a whole world of difference :)
But anyway - GAB cant control Flash urls as those are done within flash. The url for onrelease (or whatever the action is) should be set to: http://www.mydomain.com/advertising.php?id={id of banner}&t=1
HTH's
Bernd
07-13-2005, 06:46 PM
arrr...damn...sorry :)
Been a long day.
jaredvolkl
07-13-2005, 07:47 PM
After wading through pages upon pages I still can't quite figure this out. I'd like to make the comments on my article pages (already got the comments only page done) appear like regular forum posts. I've tried cutting and paste, but I can't seem to do much more than screw things up.
Check my reviews forum for an example http://www.decoymusic.com/vb/forumdisplay.php?f=8
I've got it so posts are spaced out on the article page, but I'd rather have them show as real posts.
Another suggestion for improvement:
Make it so entering 0 into show # comments in article shows all comments (I just changed it to a really big number so it always shows that many).
chosos
07-13-2005, 09:19 PM
Hello.
I cannot get my mod rewrite to work with the article forums. What do i need to do?
here is the contents of my .htaccess
The forums in question are ID 22 and 23.
ErrorDocument 404 http://www.fix-it.org/404.php
RewriteEngine on
Options +FollowSymLinks
RewriteRule ^announcement([0-9]+).html$ announcement.php?t=$1 [L]
RewriteRule ^thread([0-9]+).html$ showthread.php?t=$1 [L]
RewriteRule ^lastpostinthread([0-9]+).html$ showthread.php?goto=lastpost&t=$1 [L]
RewriteRule ^newpostinthread([0-9]+).html$ showthread.php?goto=newpost&t=$1 [L]
RewriteRule ^forum([0-9]+).html$ forumdisplay.php?f=$1 [L]
RewriteRule ^hardware-related.html$ forumdisplay.php?f=3 [L]
RewriteRule ^desktop-hardware.html$ forumdisplay.php?f=7 [L]
RewriteRule ^laptops-and-pdas.html$ forumdisplay.php?f=8 [L]
RewriteRule ^multimedia---speakers,-sound,-htpc,-etc.html$ forumdisplay.php?f=12 [L]
RewriteRule ^visual-output-devices---printers,-scanners,-monitors..html$ forumdisplay.php?f=9 [L]
RewriteRule ^storage.html$ forumdisplay.php?f=10 [L]
RewriteRule ^overclocking,-cooling,-and-tweaking.html$ forumdisplay.php?f=25 [L]
RewriteRule ^software-related.html$ forumdisplay.php?f=4 [L]
RewriteRule ^business-&-professional-applications.html$ forumdisplay.php?f=13 [L]
RewriteRule ^leisure-&-gaming-software.html$ forumdisplay.php?f=14 [L]
RewriteRule ^operating-systems.html$ forumdisplay.php?f=15 [L]
RewriteRule ^discussions.html$ forumdisplay.php?f=5 [L]
RewriteRule ^security.html$ forumdisplay.php?f=16 [L]
RewriteRule ^it-jobsearch.html$ forumdisplay.php?f=17 [L]
RewriteRule ^buy,-sell,-trade..html$ forumdisplay.php?f=21 [L]
RewriteRule ^off-topic.html$ forumdisplay.php?f=20 [L]
RewriteRule ^topic-of-the-week.html$ forumdisplay.php?f=24 [L]
RewriteRule ^site-related-questions---comments.html$ forumdisplay.php?f=18 [L]
RewriteRule ^site-staff-only.html$ forumdisplay.php?f=19 [L]
RewriteRule ^site-news-&-tutorials.html$ forumdisplay.php?f=6 [L]
RewriteRule ^news-&-tutorials.html$ forumdisplay.php?f=22 [L]
RewriteRule ^reviews.html$ forumdisplay.php?f=23 [L]
RewriteRule ^networks-&-networking.html$ forumdisplay.php?f=11 [L]
chosos
07-13-2005, 10:58 PM
I am also getting:
Warning: move_uploaded_file(): SAFE MODE Restriction in effect. The script whose uid is 649 is not allowed to access /var/www/html owned by uid 0 in /home/virtual/site138/fst/var/www/html/includes/functions_geekarticles_images.php on line 104
Whenever I try to upload header images. PHP SafeMode is ON. CHMOD is set to 777.
Also, if i upload header images to the image directory for gas, they will not show up in the popup box at all. However, the default image displays just fine. I can even change the default image and it will display that image.
If I turn off the ability to upload images to gas, then the button for the image goes away. You cannot even select a gallery image.
I am so lost right about now.
sketch42
07-14-2005, 04:47 AM
hi ... i started read the first few pages than i noticed that there are 87 of them umm i have one question(for now :lick: )
can the GAS be limited to only certain usergroups to post articles or is it setup that any member can post an article.
chosos
07-14-2005, 02:14 PM
you can limit it.
sketch42
07-14-2005, 02:56 PM
ok i just installed thisbut i sont see where the setting is to limit it to a usergroup
sketch42
07-14-2005, 03:00 PM
o i get it it uses the forum permissions, so one question than if i have the forum permissions for usergroup x set to not be able to post in said forum, will they still be able to leave coments?
chosos
07-14-2005, 04:06 PM
okay, i fixed my image problem. I needed to edit the path some.
However, I still have an issue. If i turn off 'allow users to upload images', then the entire header image is removed. There is no button or anything. The gallery is not displayed. Is there any way to fix that?
Neal-UK
07-15-2005, 11:20 AM
okay, i fixed my image problem. I needed to edit the path some.
However, I still have an issue. If i turn off 'allow users to upload images', then the entire header image is removed. There is no button or anything. The gallery is not displayed. Is there any way to fix that?
Can I just say that this hack is amazing. Not only did I not have to spend ages modding files, but it keeps the old ones incase I don't like it.
I certainly do like it and thankyou very much for it!
P.Jackson
07-15-2005, 01:32 PM
i seem to be having trouble uploading attachments when i upload them it just says done but no images appear any ideas?
Geek another hack from you I find very very nice and usefull .-)
Categories will be the best ad on here in this article system.
Can article founder moderate his thread? Delete posts for example?
The Geek
07-17-2005, 11:48 AM
Kafi - Im pretty sure that can be done based on your forum permissions (ie user can delete thread, edit thread, etc...). Categories are easily accomplished by using sub forums.
P. Jackson - Are the images appearing in the gas folder? It sounds like one of the server settings paths are incorrect.
chosos - there is a setting which specifies which usergroups can upload... take that out and the gallery should be fine. TOugh for me to check as Im on holiday right now ;)
Sketch - If they can not post threads, they cant create articles, if they can post replies, then they can post comments.
HTH?s all.
(BTW - just an FYI - Im not around much right now as I am in Spain on holiday with the family. In fact, my wife is going to go nuts if she sees me on the system!... Be back soon ;) )
biagrin
07-17-2005, 10:59 PM
ive just installed this. everything is okay except when i click on manage attachments to add an attachment - all i get is a white screen.
Brinnie
07-18-2005, 09:58 PM
Haha.... I see...... I thought it was some useful feature which I could implement on my site. I am actually looking for something similar that I can use to seperate the articles into different categories. :D
same here... sorta like vBarticles.
but there isn't anything for 3.5 yet. at least, anything that isn't a hack of the topic index.
I made a request here.
https://vborg.vbsupport.ru/showthread.php?p=738145#post738145
The Geek
07-19-2005, 04:07 PM
GAS for 3.5 is coming... but its a serious butt pain. The hooks leave litle assitance for a mack like this.
When its done, why cant you just use subforums?
(btw: the new GAS is called GARS - kind of a cracker way of saying GAS. It means Geek Article and REview System and its looking sweet. Just hit a stumbling block with the serious lack of decently placed hooks)
Biagrin - this wouldnt have touched anything with that part of vb??
Toodles all - Im back to lay by the pool with beer in hand ;)
sketch42
07-19-2005, 04:58 PM
is there any reason my Article Thumnails show like this?? i mean its not bad just have no idea why they arent completely aligned???
Corriewf
07-20-2005, 01:23 AM
When I go to submit a new article it looks just like im posting a normal reply or regular new thread. It seems to be using the regular templates for those functions. I have followed all of the instructions and enjoyed the story. Any insight would be appreciated.
chosos
07-20-2005, 01:56 AM
chosos - there is a setting which specifies which usergroups can upload... take that out and the gallery should be fine. TOugh for me to check as Im on holiday right now
- i have it blank so all usergroups should be able to view the gallery.
The Geek
07-20-2005, 08:24 AM
Sketch - not sure. It looks odd to me however I would have to check out your html source to get a better idea.
Corrie- there are a couple of template additions you have to manually make to get the template options to show up. That and you may need to copy the changed files from gas/changed to their respective locations
Chosos - you cant leave it blank. Blank means none ;)
Corriewf
07-20-2005, 11:01 AM
Corrie- there are a couple of template additions you have to manually make to get the template options to show up. That and you may need to copy the changed files from gas/changed to their respective locations
I have done everything except template mods. I looked all over the install and couldnt find them. Can you point me in the right direction?
Corriewf
07-20-2005, 01:32 PM
anyone?
sketch42
07-20-2005, 01:43 PM
Sketch - not sure. It looks odd to me however I would have to check out your html source to get a better idea.
Corrie- there are a couple of template additions you have to manually make to get the template options to show up. That and you may need to copy the changed files from gas/changed to their respective locations
Chosos - you cant leave it blank. Blank means none ;)
its no big deal was just curious
Corriewf
07-20-2005, 04:50 PM
Did anyone else have to do manual template edits to get this to work? I have checked everything (files ect) and all editing is done.
sketch42
07-20-2005, 05:04 PM
Did anyone else have to do manual template edits to get this to work? I have checked everything (files ect) and all editing is done.
nope everything was done through the installer
did you get any errors when you ran the installer?
Corriewf
07-20-2005, 06:20 PM
No I didnt get any errors and all the gas templates are on each style. I just think they are not getting called when I try to submit and article.
sketch42
07-20-2005, 07:37 PM
No I didnt get any errors and all the gas templates are on each style. I just think they are not getting called when I try to submit and article.
is this set to know??
Corriewf
07-20-2005, 07:39 PM
Yes its set to know and when I submit an article its displaying it correctly but the submit article interface is using the newreply template. I think what happened is that the installer added new templates but none of the existing template edits actually applied. Something isnt right. Do yoo mind posting the very bottom half of your new reply template so I can compare with mine?
sketch42
07-20-2005, 08:08 PM
Yes its set to know and when I submit an article its displaying it correctly but the submit article interface is using the newreply template. I think what happened is that the installer added new templates but none of the existing template edits actually applied. Something isnt right. Do yoo mind posting the very bottom half of your new reply template so I can compare with mine?
do you want a picture of my new repky meaning when you want to leave a comment?? or new article ie new thread
sketch42
07-20-2005, 08:09 PM
do you want a picture of my new repky meaning when you want to leave a comment?? or new article ie new thread
you may goto my forum and test out the GAS system http://www.wirelessolution.net/forumdisplay.php?f=18
login as
username: testuser
password: usertest
Corriewf
07-20-2005, 08:10 PM
The code within the template. I am curious if the template changes ocurred to my existing templates.
sketch42
07-20-2005, 08:17 PM
The code within the template. I am curious if the template changes ocurred to my existing templates.
this is my full newreply template
$stylevar[htmldoctype]
<html dir="$stylevar[textdirection]" lang="$stylevar[languagecode]">
<head><title>$vboptions[bbtitle] - $vbphrase[reply_to_topic]</title>
$headinclude
<script src="vbspell.js"></script>
</head>
<body$onload>
$header
$navbar
<form name="spell_form" id="spell_form" method="POST" target="spellWindow" action="vbspell.php">
<input type="hidden" name="spell_formname" value="">
<input type="hidden" name="spell_fieldname" value="">
<input type="hidden" name="spellstring" value="">
<input type="hidden" name="toolbar" value="">
</form>
<form action="newreply.php" name="vbform" method="post"<if condition="!is_browser('webtv')"> onsubmit="return validatePost(this, 0, $vboptions[postminchars], $vboptions[postmaxchars]);" onreset="vB_RESET(this);"</if>>
$postpreview
<table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="100%" align="center">
<tr>
<td class="tcat">
<span class="smallfont" style="float:$stylevar[right]"><strong>$vbphrase[thread]</strong>: <a href="showthread.php?$session[sessionurl]t=$threadinfo[threadid]">$threadinfo[title]</a></span>
$vbphrase[reply_to_thread]
</td>
</tr>
<tr>
<td class="panelsurround" align="center">
<div class="panel">
<div style="width:$stylevar[formwidth]" align="$stylevar[left]">
$usernamecode
<!-- subject field -->
<table cellpadding="0" cellspacing="0" border="0" class="fieldset">
<tr>
<td class="smallfont" colspan="3">$vbphrase[title]:</td>
</tr>
<tr>
<td><input type="text" class="bginput" name="title" value="$title" size="50" maxlength="85" tabindex="1" title="$vbphrase[optional]" /></td>
<td> </td>
<td><img id="display_posticon" src="$selectedicon[src]" alt="$selectedicon[alt]" /></td>
</tr>
</table>
<!-- / subject field -->
<table cellpadding="0" cellspacing="0" border="0">
<tr>
<td>
<!-- message area -->
<div class="smallfont">$vbphrase[message]:</div>
$messagearea
<!-- / message area -->
$posticons
</td>
</tr>
</table>
</div>
</div>
<div style="margin-top:$stylevar[cellpadding]px">
<input type="hidden" name="s" value="$session[sessionhash]" />
<input type="hidden" name="do" value="postreply" />
<input type="hidden" name="t" value="$threadid" />
<input type="hidden" name="p" value="$postid" />
<input type="hidden" name="posthash" value="$posthash" />
<input type="hidden" name="poststarttime" value="$poststarttime" />
<input type="submit" class="button" name="sbutton" value="$vbphrase[submit_reply]" accesskey="s" tabindex="1" />
<input type="submit" class="button" name="preview" value="$vbphrase[preview_post]" accesskey="p" tabindex="1" />
<if condition="$show['wysiwyg']">
<input type="button" class="button" value="Spell Check" onClick="spellCheck('vbform', 'WYSIWYG_HTML', '2');">
<else />
<input type="button" class="button" value="Spell Check" onClick="spellCheck('vbform', 'message', '1');">
</if>
</div>
</td>
</tr>
</table>
<br />
<table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="100%" align="center">
<thead>
<tr>
<td class="tcat">
<a style="float:$stylevar[right]" href="#top" onclick="return toggle_collapse('newpost_options')"><img id="collapseimg_newpost_options" src="$stylevar[imgdir_button]/collapse_tcat$vbcollapse[collapseimg_newpost_options].gif" alt="" border="0" /></a>
$vbphrase[additional_options]
</td>
</tr>
</thead>
<tbody id="collapseobj_newpost_options" style="$vbcollapse[collapseobj_newpost_options]">
<tr valign="top">
<td class="panelsurround" align="center">
<div class="panel">
<div style="width:$stylevar[formwidth]" align="$stylevar[left]">
<fieldset class="fieldset">
<legend>$vbphrase[miscellaneous_options]</legend>
<div style="padding:$stylevar[formspacer]px">
<if condition="$bbuserinfo['signature'] != ''"><div><label for="cb_signature"><input type="checkbox" name="signature" value="1" id="cb_signature" tabindex="1" $checked[signature] />$vbphrase[show_your_signature]</label></div></if>
<div><label for="cb_parseurl"><input type="checkbox" name="parseurl" value="1" id="cb_parseurl" tabindex="1" $checked[parseurl] />$vbphrase[automatically_parse_links_in_text]</label></div>
$disablesmiliesoption
</div>
</fieldset>
$attachmentoption
<if condition="$show['member']">
<fieldset class="fieldset">
<legend>$vbphrase[thread_subscription]</legend>
<table cellpadding="0" cellspacing="$stylevar[formspacer]" border="0">
<tr>
<td>$vbphrase[notification_type]:<br /><select name="emailupdate" tabindex="1">
<option value="9999" $emailchecked[9999]>$vbphrase[do_not_subscribe]</option>
<option value="0" $emailchecked[0]>$vbphrase[no_email_notification]</option>
<option value="1" $emailchecked[1]>$vbphrase[instant_email_notification]</option>
<option value="2" $emailchecked[2]>$vbphrase[daily_email_notification]</option>
<option value="3" $emailchecked[3]>$vbphrase[weekly_email_notification]</option>
</select></td>
<if condition="$show['subscribefolders']"><td>$vbphrase[folder]:<br /><select name="folderid" tabindex="1">$folderbits</select></td></if>
</tr>
</table>
</fieldset>
</if>
<if condition="$show['threadrating']">
<fieldset class="fieldset">
<legend>$vbphrase[rate_thread]</legend>
<div style="padding:$stylevar[formspacer]px">
<div>$vbphrase[can_add_a_score_for_thread]</div>
<div>
<select name="rating" tabindex="1">
<option value="0"$rate[0]>$vbphrase[choose_a_rating]</option>
<optgroup>
<option value="5"$rate[5]>5 : $vbphrase[excellent]</option>
<option value="4"$rate[4]>4 : $vbphrase[good]</option>
<option value="3"$rate[3]>3 : $vbphrase[average]</option>
<option value="2"$rate[2]>2 : $vbphrase[bad]</option>
<option value="1"$rate[1]>1 : $vbphrase[terrible]</option>
</optgroup>
</select>
</div>
</div>
</fieldset>
</if>
$threadmanagement
</div>
</div>
<div style="margin-top:$stylevar[cellpadding]px">
<input type="submit" class="button" name="sbutton" value="$vbphrase[submit_reply]" accesskey="s" tabindex="1" />
<input type="submit" class="button" name="preview" value="$vbphrase[preview_post]" accesskey="p" tabindex="1" />
</div>
</td>
</tr>
</tbody>
</table>
</form>
<br />
<table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="100%" align="center">
<tr>
<td class="tcat">
<a style="float:$stylevar[right]" href="#top" onclick="return toggle_collapse('threadreview')"><img id="collapseimg_threadreview" src="$stylevar[imgdir_button]/collapse_tcat$vbcollapse[collapseimg_threadreview].gif" alt="" border="" /></a>
$vbphrase[topic_review_newest_first]
</td>
</tr>
</table>
$spacer_close
$spacer_open
<div id="collapseobj_threadreview" style="$vbcollapse[collapseobj_threadreview]">
<table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="100%" align="center">
$threadreviewbits
<if condition="$show['reviewmore']">
<tr>
<td class="tfoot" align="center" colspan="2"><span class="smallfont">
<phrase 1="$vboptions[maxposts]" 2="showthread.php?$session[sessionurl]t=$threadid">$vbphrase[thread_has_more_than_x_review]</phrase>
</span></td>
</tr>
</if>
</table>
</div>
$spacer_close
$spacer_open
<br />
$forumrules
$footer
</body>
</html>
Corriewf
07-20-2005, 08:45 PM
About the same as mine and I dont see anything referring to gas. Take a look at my forum and try and submit an article and tell me if it looks right please.
http://www.saltcreep.com/forums/forumdisplay.php?f=57
login: test1
password: test
sketch42
07-20-2005, 09:10 PM
About the same as mine and I dont see anything referring to gas. Take a look at my forum and try and submit an article and tell me if it looks right please.
http://www.saltcreep.com/forums/forumdisplay.php?f=57
login: test1
password: test
a little warning wouldve been nice btw lol ... im at work... and that style , although Verry verry VERY NICE , i cant be caught on the site for long ... so i didnt have a chance to check it... you may goto mine and compare
Corriewf
07-20-2005, 09:22 PM
Oh chit im sorry. I forgot I was showing a buddy that style and had set up that user that way. Again very sorry. I changed it.
Corriewf
07-20-2005, 09:24 PM
Do you have a login for yours I can try to post one but wont.
sketch42
07-20-2005, 10:06 PM
Do you have a login for yours I can try to post one but wont.
its a test board so post away.
http://www.wirelessolution.net/forumdisplay.php?f=18
login as
username: testuser
password: usertest
chosos
07-20-2005, 10:22 PM
Geek,
I have left it blank. However, the gallery still does not display. If I turn off uploads, it entirely removes the button for the gallery altogether. If I allow uploads, it works perfectly.
Corriewf
07-20-2005, 10:22 PM
testuser, you do not have permission to access this page. This could be due to one of several reasons:
1. Your user account may not have sufficient privileges to access this page. Are you trying to edit someone else's post, access administrative features or some other privileged system?
2. If you are trying to post, the administrator may have disabled your account, or it may be awaiting activation.
sketch42
07-20-2005, 11:01 PM
testuser, you do not have permission to access this page. This could be due to one of several reasons:
1. Your user account may not have sufficient privileges to access this page. Are you trying to edit someone else's post, access administrative features or some other privileged system?
2. If you are trying to post, the administrator may have disabled your account, or it may be awaiting activation.
you can only comment not post but ill change that
sketch42
07-20-2005, 11:01 PM
you can only comment not post but ill change that
fixed
Corriewf
07-20-2005, 11:36 PM
Thanks. Yeah mine looks nothing like that at all. I wonder whats wrong. I have checked over and over again.
sketch42
07-21-2005, 12:12 AM
Thanks. Yeah mine looks nothing like that at all. I wonder whats wrong. I have checked over and over again.
i just realized.. do you have the GAS templates??
Corriewf
07-21-2005, 12:14 AM
Yeah the same ones you do. :(
sketch42
07-21-2005, 02:39 AM
Yeah the same ones you do. :(
than im stumed... all id say is just uninstall and reinstall
Corriewf
07-21-2005, 02:48 AM
Everything is there though, that is what makes no sense. I will wait until the geek gets back from Spain and give him access to the files to see whats going on, if he will be so kind.
sketch42
07-21-2005, 03:36 AM
Everything is there though, that is what makes no sense. I will wait until the geek gets back from Spain and give him access to the files to see whats going on, if he will be so kind.
one last thing
have you tried to edit and resave one of the gas phrases to reset them?
Corriewf
07-21-2005, 03:56 AM
one last thing
have you tried to edit and resave one of the gas phrases to reset them?
Yes, although only required to do one time, I went through each gas phrase and saved. My board just seems to not like the geeks hacks for some reason. When I installed his mod note system I had to go through and apply all edits myself before it would work. My board likes me to slave away I think. :devious:
The Geek
07-21-2005, 07:13 AM
there are no changes to newreply, there is a change to newthread and editthread. The change is to add something like $GAS_options below the subject line. Sorry I cant be exact, but im on holiday ;)
I am almost POSTIVE that there is mention of this in the readme. If not, then the changes are done automatically... check your newthread for the variable above and if not, check the original version. Outside of that... I cant say without having the code infront of me ;)
Brinnie
07-21-2005, 10:28 AM
GAS for 3.5 is coming... but its a serious butt pain. The hooks leave litle assitance for a mack like this.
When its done, why cant you just use subforums?
(btw: the new GAS is called GARS - kind of a cracker way of saying GAS. It means Geek Article and REview System and its looking sweet. Just hit a stumbling block with the serious lack of decently placed hooks)
Biagrin - this wouldnt have touched anything with that part of vb??
Toodles all - Im back to lay by the pool with beer in hand ;)
I personally, hate using my forums for everything.
But I do like running moduals off my vB memberbase :)
Corriewf
07-21-2005, 12:15 PM
there are no changes to newreply, there is a change to newthread and editthread. The change is to add something like $GAS_options below the subject line. Sorry I cant be exact, but im on holiday ;)
I am almost POSTIVE that there is mention of this in the readme. If not, then the changes are done automatically... check your newthread for the variable above and if not, check the original version. Outside of that... I cant say without having the code infront of me ;)
It is all there then, I have checked and rechecked. Its gotta be an IF statement thats not picking up somewhere or something. I know you are in Spain so I understand. :)
Corriewf
07-21-2005, 12:33 PM
there are no changes to newreply, there is a change to newthread and editthread. The change is to add something like $GAS_options below the subject line. Sorry I cant be exact, but im on holiday ;)
I am almost POSTIVE that there is mention of this in the readme. If not, then the changes are done automatically... check your newthread for the variable above and if not, check the original version. Outside of that... I cant say without having the code infront of me ;)
Yeah in newthread one of if not the first bit of code is calling the function_newthread_gas (sp?). Something I have noticed that is different about your code vs most others is that on your IF statements you have the opening bracket at the end of the IF line so like IF <param>{. Also noticed that some of the code that was auto inserted doesnt line up where its supposed too. Last night I went through and restructured it to see if maybe my board was having trouble reading the syntax.I did not restructure the functions_newthread_gas (sp?), but might try that tonight. I am grabbing at straws.
The Geek
07-22-2005, 05:43 PM
That wont be it.
The inserted code is not always lined up simply because of the way it replaces it. THe only way around that is to spend a lot more time formatting the insert code with formatting characters which dont really affect the code anyway.
I wish I could help more right now, but being on vacation away from civilization limits me somewhat. what you want to do is double check that your newthread and editpost templates include $GAS_article_options in them. If they do, then you need to check that newthread.php and editpost.php have the correct include change to them (to include the functions file). If they do, then the only other thing is to make sure that your fourmids are correct in your settings. Thats about all there is to it.
Good luck!
Brinnie - I personally love the forum integration. Hence the reason I made it like this. THat way you get search access and forum inheritance so permissions and moderating options are a snap. However - I guess to each their own ;)
You could take a look at cinqs vbarticles. It doesnt tie into vb the same way as this does however it does use the same user base.
HTH?s
Corriewf
07-22-2005, 08:22 PM
That wont be it.
The inserted code is not always lined up simply because of the way it replaces it. THe only way around that is to spend a lot more time formatting the insert code with formatting characters which dont really affect the code anyway.
I wish I could help more right now, but being on vacation away from civilization limits me somewhat. what you want to do is double check that your newthread and editpost templates include $GAS_article_options in them. If they do, then you need to check that newthread.php and editpost.php have the correct include change to them (to include the functions file). If they do, then the only other thing is to make sure that your fourmids are correct in your settings. Thats about all there is to it.
Good luck!
Brinnie - I personally love the forum integration. Hence the reason I made it like this. THat way you get search access and forum inheritance so permissions and moderating options are a snap. However - I guess to each their own ;)
You could take a look at cinqs vbarticles. It doesnt tie into vb the same way as this does however it does use the same user base.
HTH?s
I have gone through and reformatted the edits to comply with the current code structure. I am not thinking that its the template code structure maybe. I am clueless now. When you get back from Spain let me know and maybe if your willing to ftp into my site and take a look around. Those other article are not my cup of tea.
Thanks for your help and advice.
Bacon Butty
07-22-2005, 08:25 PM
Firstly... AWESOME mod
However, I am having problems when trying to use the "upload image" feature. I get this error when trying to upload an image;
Warning: move_uploaded_file(/gas/images/1/barton.jpg): failed to open stream: No such file or directory in /includes/functions_geekarticles_images.php on line 104
Warning: move_uploaded_file(): Unable to move '/tmp/phpkAHY3d' to '/gas/images/1/barton.jpg' in /includes/functions_geekarticles_images.php on line 104
I am clueless as to how to fix it!, please help!.
cmiller1014
07-23-2005, 02:11 AM
Would it be possible to load this in a file called articles.php instead of in a forum like it is now? I would like to keep everything flowing the way I have it now (forums.php, chat.php, articles.php. etc) I see this as a major addition, and dont really want it to look like a forum to the users.
The Geek
07-23-2005, 07:09 AM
Bacon - it looks like your server path to gas folder is wrong. It needs to be the complete path and not a relative path like /var/www/html/forums/gas/
If I recall correctly, GAS makes a good guess next to the setting itself to try and help you.
cmiller - not really. Once again, I designed this to be seamless and to integrate with the forums. If you want a seperate system and/or file... try vbarticles ;)
The Geek
07-23-2005, 07:19 AM
Just a general FYI... GARS for vb3.5 should be ready in the next couple of weeks. There are some significant improvements like:
A review system. The new review system allows you to pre-define a set of review ratings like: Playability, graphics, sound, fun , etc... then set their value range (i.e. 1-5). The ratings are on a forum by forum basis which will allow you to have differing ratings depending on the forum (or no ratings for articles). This gives you the ability to have multiple review areas and multiple article areas.
I dont know what to call this yet, but you can also define the ?keyword?for each forum. In otherwords you can have some forums articles and some tutorials and some game reviews and some movie reviews.
You will be able to edit GALS (if applicible) and posted as user names when you edit (right now they are one offs).
The coment previews are now seperate from the article posbit which allows a more intuitive editing ability.
You can define which templates are used where on a forum by forum basis which gives you more flexability when cusomtizing templates
You can use condensed or full postbits
It will make your bed in the morning.
Anyhooo.... Fingers crossed it should only be a couple of weeks away (even if its only a beta). I am working on a workaround for the hook problem (that being the lack of them where I need them). If all goes well there shouldnt be any file edits (though with my installs that is never really a problem now is it ;) )
Kafi - Im pretty sure that can be done based on your forum permissions (ie user can delete thread, edit thread, etc...). Categories are easily accomplished by using sub forums.
Ok I tried it but is not working, because if i want user to be owner of his thread (article thread), than I have to give him moderator competence, but that will give it to him over all forum where article is placed.
There is no way I can give article writer to moderate comments on his article (edit or delet others users posts). Or is there?
Bacon Butty
07-23-2005, 01:32 PM
Bacon - it looks like your server path to gas folder is wrong. It needs to be the complete path and not a relative path like /var/www/html/forums/gas/
If I recall correctly, GAS makes a good guess next to the setting itself to try and help you.
I tried guess GAS makes aswell as a whole load of other (trial and error) but none worked. So i just unistalled and installed again and it works fine :)
I now have another minor problem, I dont know whether this is common or not but I have a bbcode problem.
Click here (http://img301.imageshack.us/img301/4189/bbcode0as.jpg) to see what I mean :ermm:
sketch42
07-24-2005, 02:43 PM
I tried guess GAS makes aswell as a whole load of other (trial and error) but none worked. So i just unistalled and installed again and it works fine :)
I now have another minor problem, I dont know whether this is common or not but I have a bbcode problem.
Click here (http://img301.imageshack.us/img301/4189/bbcode0as.jpg) to see what I mean :ermm:
is it possible to remove the New Article button based on the users permision.. i.e can post new article they see it cant post new article its gone ??
Corriewf
07-24-2005, 05:43 PM
is it possible to remove the New Article button based on the users permision.. i.e can post new article they see it cant post new article its gone ??
Just edit the forum permissions.
sketch42
07-24-2005, 05:45 PM
Just edit the forum permissions.
regardless of editing the permissions the images always show.
TheMusicMan
07-24-2005, 09:25 PM
Sorry, I posted this in the Geek lite thread... sorry Mods...!!! Can you delete the other one please.
When I try to upload any new articles I get the following error...
Invalid File Specified
Any ideas...?
fribs
07-25-2005, 01:46 AM
Thanks Geek, this is really cool.
How would I go about adding a few more fields?
What do I edit to display the synopsis field in showthread?
Is this as simple as creating new entries in the geek_articles table and duplicating the code that puts and pulls the entries in a few php files (and the code for showing/hiding the field in admincp)? I'm willing to devote a day to this but I would hate to see it turn into a week. I will also gladly post the end result for everyone else once I get it done but I could save a lot of time by being pointed to the right files and given a few words of direction. I'm still learning so it's rather slow going with W3Schools open on one monitor and textpad on another.
The Geek
07-25-2005, 02:58 PM
Kafi - you are correct. The only way to give someone the ability to edit comments left by others is via hacking or via making them a moderator.
Bacon - Thats a bbcode relic that occurs via the auto synopsis function. What you CAN do to work around it is edit the functions_geekarticles.php file and look for the first function (think its called prep_for_broken_tags). In that function you will find an array of codes liek [url and such. What you need to do is enter a new one for [size= and it will get rid of it. Sorry I cant be of more help... Im still on Holiday ;) BTW: the next version will have an admincp page for this.
Sketch42: It just follows the same flow as the new Thread button. However I am sure with a template mod this can easily be done... However I couldnt tell you off hand as I dont have any of the code with me.
Musicman - Tough to say... looks to me like you have missed uploading some files. Is it when creating a new article or when uploading an image header? I would download the package and reupload the files.
Fribs. Basically - yes. However this really depends on what you are adding and what it is for. In function_geekarticles are the fetching,inserting and updating functions so tecnically you only need to add more fields, change the sql in those functions accordingly and then your editpost and newthread fields to pass and catch the fields. However I couldnt really give you too much of a hand with this as I previously mentioned Im away on vacation. I couldnt think it would take you more than a few hours tops depending on your level of expertise.
HTH?s
Kafi - you are correct. The only way to give someone the ability to edit comments left by others is via hacking or via making them a moderator.
Can you suggest something that has this feature? I want this for users. Should be used as mix of blog and article system.
Thanks
The Geek
07-26-2005, 08:29 AM
Sorry mate, not sure of anything like that. It could really open a can of worms to give the ability of any thread starter to edit anyone elses comments!
Sorry I cant be of more assistance :(
redspider
07-26-2005, 09:50 AM
I got this one finily working and happy with it
my first test article (http://myredspider.net/home/showthread.php?t=4) if some one want to see how this look .
Geek thank you.
fribs
07-26-2005, 11:09 PM
Fribs. Basically - yes. However this really depends on what you are adding and what it is for. In function_geekarticles are the fetching,inserting and updating functions so tecnically you only need to add more fields, change the sql in those functions accordingly and then your editpost and newthread fields to pass and catch the fields. However I couldnt really give you too much of a hand with this as I previously mentioned Im away on vacation. I couldnt think it would take you more than a few hours tops depending on your level of expertise.
HTH?s
Thank you for the direction, it helped a lot.
I'm adding new fields so I can use this as a form for many different kinds of posts. I can have several fields for the user to fill out when they post and I can use several of those fields in showthread or forumdisplay pages depending on the function of that particular forum. I wanted to modify your program rather than go with erwin's form hack because it handles attachments, bbcode, smilies, indexes the post and has a cool thumbnail that can be used in the forumdisplay pages. The only thing that is unfortunate is that the additional fields do not get indexed, but I can work around that so long as the body does.
I have made the modifications, it took me about 6 hours (I am very new to scripting languages). I basically did a lot of copying and pasting and added 4 more fields then duplicated the admincp synopsis options for each one in the admincp geekarticles settings menu. (Max number of characters to show in forumdisplay and the option to turn each on or off.) I am using conditionals in the GAS_articles_options template so I can use a different incarnation of this in several forums. I have also removed the option to enter the username. I didn't like that if you mistyped it and hit submit you would loose everything you typed that is not in the title or the body on the resulting screen. It seems to work ok, can you see this causing any problems?
I have modified functions_geekarticles.php, newthread.php, editpost.php, GAS_admin.php, and two templates to get it working but it appears solid.
1 Question: In functions_geekarticles.php in this function:
function insert_new_article($threadid, $byline, $synopsis='',$oldiconpath='',$newiconpath='',$move dicon=0,$featuretill=0)
I added the custom fields ($custom1-4) before the $featuretill=0 because it was empty and the script kept thinking the value for $custom1 was $featuretill if that makes sense. (Still learning how to communicate this stuff too.) Will this screw something up on the occasion that $featuretill holds a value or is this ok?
Anyway, thanks for the help Geek, and enjoy your vacation. I'm suprised you're checking in here so often, when I go on vacation no one hears anything from me until I'm back for at least a few days.
Later,
Fribs
The Geek
07-27-2005, 12:50 PM
GAS3.5x doesnt use featuretill so it shouldnt be much of a problem though technically it would be better to put it AFTER the featuretill parameter (You just need to make sure that a 0 is passed whenever that function is called).
On another note (and the reason I popped in):
Right now, the article pages are hooked into the page navigation at the top and bottom of every page.
Does anyone object to the new version using a form of bbode that does something like this instead:
[break] transaltes into Next page (1 of 5 pages)
and
[break=On to the next page!] translates into On to the next page! (1 of 5 pages).
Just wondering. I know a few were partial to this kind of system. The amount of work required to do it the old way is a right pain.
Also, anyone object to not having control of how many comments per page? essentially, page 1 will be the article and first 14 (by default) comments, each subsequent page will have 15 comments and a preview of the article (which should avoid the comlpaints about people jumping to the last comment but not seeing the article itself).
Hope this make sense. Off to go code by the pool.
banuchi2
07-27-2005, 07:00 PM
Could I install this with vBulletin Version 3.5.0 Release Candidate 1?
Marco van Herwaarden
07-27-2005, 08:08 PM
Since this one is for 3.0, i would not even try it.
sketch42
07-27-2005, 08:55 PM
On another note (and the reason I popped in):
Right now, the article pages are hooked into the page navigation at the top and bottom of every page.
Does anyone object to the new version using a form of bbode that does something like this instead:
[break] transaltes into Next page (1 of 5 pages)
and
[break=On to the next page!] translates into On to the next page! (1 of 5 pages).
Just wondering. I know a few were partial to this kind of system. The amount of work required to do it the old way is a right pain.
i dont mind this system for the page breaks.. i dont really break pages too much anyway.. also its not like its any extra work for us cuz the way it is now is we type [Break] so now itll be [break= yada yada yada]
no big
Also, anyone object to not having control of how many comments per page? essentially, page 1 will be the article and first 14 (by default) comments, each subsequent page will have 15 comments and a preview of the article (which should avoid the comlpaints about people jumping to the last comment but not seeing the article itself).
Hope this make sense. Off to go code by the pool.
i would rather have control of how many comments are shown.. like if i only have a small artcle than id rather have all the comments on one page cuz some users dont realize there is a page 2 to see the others..
what is the reason you want to do the comments this way instead?
The Geek
07-28-2005, 07:28 AM
One of the biggest challenges with this current version was the logic behind the current page number and how many comments to display at any given time. Each new page I had to figure out if it was an article page, which article page it was on, how many comments to show and then ´jig´vbs variables accordingly. Jigging with the variables is not really easily done in this way with 3.5
I suppose I can limit the preview comments on the first page which is really what you are mentioning.
I have yet to see RC1 to see if I can hook into the queries or at least between the query and the posbit processing. This is very important to avoid a file edit.
As far as the break code goes... it works exactly the same (ie [break] is still valid, but now you have a parameter you can use too if you want [break=text to use instead of the default ´next´])
Banuchi2- As Marco mentioned... I wouldnt even introduce this version to vb3.5 as they wont play well together at all. Fingers crossed an early beta may be out by next weekend.
sketch42
07-28-2005, 07:45 AM
Fingers crossed an early beta may be out by next weekend.
i will be glad to beta test for you :D
chosos
07-28-2005, 04:49 PM
The Geek,
I have left the usergroups for images option Blank. However, the gallery still does not display. If I turn off uploads, it entirely removes the button for the gallery altogether. If I allow uploads, it works perfectly.
The Geek
07-29-2005, 09:15 AM
You have to put in the uergroups, blank=none.
(not overly intutitve... but how it is ;) )
cmiller1014
07-30-2005, 04:29 AM
Gogo Geek For 3.5!!
if you need a beta tester for the new version, could i perhaps recomend myself ? :D
chosos
08-01-2005, 02:47 AM
okay, i figured it out. you have to allow the users to upload images, even if you only want to let them use the gallery. You however have to remove the usergroup from the header uploads in order to have them *only* be able to select from the gallery.
There is no simple option to disable uploads and merely use the gallery at a global level.
On another note, my popup for that gallery is incorrectly sized. What file, and location do I need to edit in order to resize this popup?
jaredvolkl
08-01-2005, 08:48 PM
Was it just me or did anyone else have a problem with GAS after upgrading to 3.0.8. Right after I updated, the forums weren't showing up as articles anymore (I assume from file changes). In my efforts to correct the issue, I wiped out my GAS table and don't have a backup. I've just accepted the fact that I'll have to rebuild the table on my own, but I'm still having an issue just installing GAS again. I didn't install it to begin with so I'm a little fuzzy on how everything works. I believe it was hanging at step 708 if I remember right.
juicie
08-02-2005, 12:24 AM
I've used the installer to install this, but I don't know what to edit in the admincp after I install it. What do I do? (BTW, this hack looks great!)
The Geek
08-02-2005, 06:02 AM
Was it just me or did anyone else have a problem with GAS after upgrading to 3.0.8. Right after I updated, the forums weren't showing up as articles anymore (I assume from file changes). In my efforts to correct the issue, I wiped out my GAS table and don't have a backup. I've just accepted the fact that I'll have to rebuild the table on my own, but I'm still having an issue just installing GAS again. I didn't install it to begin with so I'm a little fuzzy on how everything works. I believe it was hanging at step 708 if I remember right.
I thought the 3.0.8 only affected private.php and faq.php?
However if you did a full update and replaced the files that gas changes... then you will need to do a re-install of the file changes.
The Geek
08-02-2005, 06:03 AM
I've used the installer to install this, but I don't know what to edit in the admincp after I install it. What do I do? (BTW, this hack looks great!)
You dont really need to edit anything in the admincp as that is already edited for you. Make sure you check the gas/changes/ folder for the modified files
hth's
Marco van Herwaarden
08-02-2005, 06:34 AM
I thought the 3.0.8 only affected private.php and faq.php?
As posted in the announcement on vb.com:
Files Changed Since 3.0.7
--------------------------------------------------------------------------------
attachment.php
calendar.php
editpost.php
external.php
faq.php
forumdisplay.php
global.php
index.php
newreply.php
poll.php
postings.php
printthread.php
private.php
profile.php
register.php
search.php
showthread.php
subscription.php
threadrate.php
usercp.php
usernote.php
admincp/accessmask.php
admincp/admincalendar.php
admincp/adminlog.php
admincp/adminreputation.php
admincp/backup.php
admincp/forumpermission.php
admincp/global.php
admincp/index.php
admincp/misc.php
admincp/moderator.php
admincp/options.php
admincp/profilefield.php
admincp/subscriptions.php
admincp/template.php
admincp/thread.php
admincp/user.php
admincp/usertools.php
archive/global.php
clientscript/vbulletin_global.js
clientscript/vbulletin_stdedit.js
includes/adminfunctions.php
includes/adminfunctions_template.php
includes/functions.php
includes/functions_bbcodeparse.php
includes/functions_calendar.php
includes/functions_cron.php
includes/functions_databuild.php
includes/functions_digest.php
includes/functions_file.php
includes/functions_forumdisplay.php
includes/functions_forumlist.php
includes/functions_newpost.php
includes/functions_online.php
includes/functions_search.php
includes/functions_showthread.php
includes/functions_subscriptions.php
includes/functions_upload.php
includes/functions_user.php
includes/sessions.php
modcp/banning.php
modcp/index.php
modcp/moderate.php
modcp/thread.php
modcp/user.php
subscriptions/authorize.php
subscriptions/nochex.php
subscriptions/paypal.php
subscriptions/worldpay.php
The Geek
08-02-2005, 06:44 AM
yup. If you do a complete update you will over write all your gas file edits. You should just be able to rerun the file changing portion of the install and then bobs your uncle (or aunt).
ihatetyping
08-02-2005, 04:22 PM
For a vBulletin beginner like myself & a total php idiot I just had to say: Geek this is the easiest & coolest hack I have been able to install!!Your personal web site is a real inspiration to me and I am very impressed with EVERYTHING I have read there! :cool:
I'm using vBadvanced CMPS & Gallery (the gallery is the main reason I'm using vBulletin) and your articles hack just makes it all look so professional that I have a hard time believing I had ANYTHING to do with installing it.
I could not get the "upload image" feature working on (vb3.07) my Linux, Windows or Apache2triad platforms no matter what I tried.
So I gave up and installed the newer vb3.08 and the "upload image" feature now works great anywhere I want to install it. (that is such a cool feature!!!)
Anyway I'm wanting to know how to get the same effect you have on your site where you have a articles forum that only the Admin can create articles but yet members can post reply's to. (I apologize now if I have missed this discussion/answer in any previous threads).
Thanks for ALL your hard work & great results!
The Geek
08-02-2005, 04:44 PM
For a vBulletin beginner like myself & a total php idiot I just had to say: Geek this is the easiest & coolest hack I have been able to install!!Your personal web site is a real inspiration to me and I am very impressed with EVERYTHING I have read there! :cool:
I'm using vBadvanced CMPS & Gallery (the gallery is the main reason I'm using vBulletin) and your articles hack just makes it all look so professional that I have a hard time believing I had ANYTHING to do with installing it.
I could not get the "upload image" feature working on (vb3.07) my Linux, Windows or Apache2triad platforms no matter what I tried.
So I gave up and installed the newer vb3.08 and the "upload image" feature now works great anywhere I want to install it. (that is such a cool feature!!!)
Anyway I'm wanting to know how to get the same effect you have on your site where you have a articles forum that only the Admin can create articles but yet members can post reply's to. (I apologize now if I have missed this discussion/answer in any previous threads).
Thanks for ALL your hard work & great results!
hey there. Thanks for the kind remarks.
All that is just down to forum permissions. Create the forums you want as article forums and edit the permissions to whatever usergroup can post new threads (in this case articles).
Thanks again and nJoy
ihatetyping
08-02-2005, 04:58 PM
Thanks for the quick reply & info Geek! :cool:
chosos
08-02-2005, 05:07 PM
i just reinstalled my forums and GAS, however, I cannot seem to get a GAS link in the admincp. Any ideas?
The Geek
08-02-2005, 05:21 PM
i just reinstalled my forums and GAS, however, I cannot seem to get a GAS link in the admincp. Any ideas?
check your gas/changed/ folder for the modified versions of the files (like admincp/index.php)
HTHs
chosos
08-02-2005, 05:46 PM
The geek,
It is reported the files as modified, but when i go through them, no changes were made. I had to manually edit the files. This was off of a fresh vb 3.0.7 install.
chosos
08-02-2005, 05:47 PM
however, here is a new problem, I am encountering.
http://www.fix-it.org/forums/forumdisplay.php?f=45
I get this when i select not to use the legacy layout.
My forums are set up for legacy. do i need to modify other files to fix this? I want the forums to use legacy, but the GAS to use the horizontal layout.
Corriewf
08-03-2005, 12:40 AM
Hmmm for some reason this resizes some images yet others that are beyond the 100 x 100 are not resized even though its the same file exts. Anyone have this problem?
Milktruck
08-03-2005, 05:43 AM
This is amazing..
Only one issue...
It's attached. Any ideas?
(I have 3.0.8.. I try to change that in the UserCP here in this forum but I get this
"You have not completed all of the required fields: username, password, homepage and email address." Heh.)
Corriewf
08-03-2005, 09:08 AM
Looks like you need to do a search for the gas phrases and pull one up and save it.
ihatetyping
08-03-2005, 02:48 PM
While logged into your control panel go to the "Languages & Phrases" menu.
From that drop down menu click on the "Search in Phrases" menu.
Search for "GAS_" and when you get a result you must click on the edit button.
Simply save the phrase without actually editing ANYTHING.
And you will probably need to exit the control panel but the next time you login your GAS setup should be fully visible & functional.
fuse3k
08-03-2005, 03:28 PM
Trying to install on 3.08. All steps went through fine except 'Step 705'.
step 705
in printthread.php, replace:
eval('$postbits .= "' . fetch_template('printthreadbit') . '";');
with:
// === GAS step 705 ===
eval('$postbits .= "' . fetch_template($template) . '";');
That string is nowhere in printthread.php. The closest I found to it is:
eval('$postbits .= "' . fetch_template($maintemplatename) . '";');
at the very bottom of the page. Is this what is replaced? Thanks for the help.
The Geek
08-03-2005, 03:50 PM
huh. thats an odd chage for the 3.0 series.
I dont have 3.08 installed, just a patched 3.07 - however why not try putting $maintemplatename=$template;
above
eval('$postbits .= "' . fetch_template($maintemplatename) . '";');
And double check both regular printthread and an article printthread looks ok. Lemme know and ill update the install.
jaredvolkl
08-03-2005, 06:14 PM
Trying to install on 3.08. All steps went through fine except 'Step 705'.
step 705
in printthread.php, replace:
eval('$postbits .= "' . fetch_template('printthreadbit') . '";');
with:
// === GAS step 705 ===
eval('$postbits .= "' . fetch_template($template) . '";');
That string is nowhere in printthread.php. The closest I found to it is:
eval('$postbits .= "' . fetch_template($maintemplatename) . '";');
at the very bottom of the page. Is this what is replaced? Thanks for the help.
This is exactly where I was getting hung up.
The Geek
08-03-2005, 06:19 PM
This is exactly where I was getting hung up.
Have you tried the fix I mentioned?
yoyoyoyo
08-03-2005, 06:29 PM
Have you tried the fix I mentioned?I installed it int o 3.0.8 and got the same error, and tried the fix mentioned and it works fine.
jaredvolkl
08-03-2005, 07:34 PM
Have you tried the fix I mentioned?
Yes I did, and no it did not work. I think I'm somewhere between installed and uninstalled, but I'm not quite sure where. Where are the settings for GAS stored? Would it be possible to wipe out GAS completely by hand and just reinstall it from the top? I think this is going to be my only hope as things seem to be really screwed up.
Also... my admincp directory is named just "admin". Should I be making any changes to your files to allow for this?
EDIT: I just tried deleting the GAS files, reuploading them, and rerunning the install. This time I renamed my admin directory to admincp (saw this in the install guide, sorry I didn't see it before). The install completed successfully, but still no articles. I don't see any change to the forums I've specified as articles. They look like regular old forums yet.
The Geek
08-03-2005, 08:10 PM
make sure you have entered the forumids in the forumid settings and moved over your changed files from gas/changes
The Geek
08-03-2005, 08:25 PM
Updated package for vb3.08
All this does is modify one of the install lines (step 705) for printthread.php as the line GAS looks for has changed.
No big deal really ;)
yoyoyoyo
08-03-2005, 08:53 PM
When I allow html in a forum the html is visible in the synopsis. Is this normal or did I fudge up the GAS when trying to modify it? If it is normal- is there any way to allow html in the forumdisplay synopsis?
jaredvolkl
08-03-2005, 09:14 PM
make sure you have entered the forumids in the forumid settings and moved over your changed files from gas/changes
That was it, didn't move changes folder over. I thought this was done automatically. No big deal. Now it'll just be a matter of manually fixing up my table since I'd deleted it. :( At least my article system is back up.
The Geek
08-03-2005, 09:28 PM
When I allow html in a forum the html is visible in the synopsis. Is this normal or did I fudge up the GAS when trying to modify it? If it is normal- is there any way to allow html in the forumdisplay synopsis?
hmmm... yoyo... off the top of my head you want to change this in forumdisplay:
$thread['synopsis']=parse_bbcode2($thread['synopsis'], 0, 1, 1, 1);
to this
$thread['synopsis']=parse_bbcode2($thread['synopsis'], 1, 1, 1, 1);
But Im only speaking off the top of my head ;) (I know its one of those flags!)
yoyoyoyo
08-03-2005, 10:19 PM
hmmm... yoyo... off the top of my head you want to change this in forumdisplay:
$thread['synopsis']=parse_bbcode2($thread['synopsis'], 0, 1, 1, 1);
to this
$thread['synopsis']=parse_bbcode2($thread['synopsis'], 1, 1, 1, 1);
But Im only speaking off the top of my head ;) (I know its one of those flags!)dang you're good! :D Thanks!
yoyoyoyo
08-03-2005, 11:32 PM
Here is an ADDON: :D
I was playing around with this awesome hack and found out that you can easily add the article title over the article, and over the topic like they do the threads here at vb.org, using the existing template hacks from Zachery and Kall.
Zachery's 'Large Title over posts (https://vborg.vbsupport.ru/showthread.php?t=88868)':
edit GAS_showthread & GAS_forumdisplay instead of showthread and forumdisplay (see post #2 in that thread) and be sure to change $thread[title] to $foruminfo[title] (on GAS_forumdisplay only) as mentioned by kall in post #15
kall's 'Large title over Forums (https://vborg.vbsupport.ru/showthread.php?t=89385)':
edit GAS_forumdisplay instead of forumdisplay (no changes needed- works as described)
If that is too confusing I can re-write it and re-post it.
Milktruck
08-04-2005, 02:21 AM
Looks like you need to do a search for the gas phrases and pull one up and save it.
Thanks a lot, worked fine. :D
CampusCrawler
08-04-2005, 05:12 PM
Here is my porblem. I have read many pages on this thread and gave up b4 I could find it.
I cannot upload an attatchment without recieving this error.
Warning: move_uploaded_file(../public/c982361ab03e8945df26d8831a3a734d): failed to open stream: Permission denied in /includes/functions_file.php on line 274
Warning: move_uploaded_file(): Unable to move '/tmp/phprG06zr' to '../public/c982361ab03e8945df26d8831a3a734d' in /includes/functions_file.php on line 274
Warning: filesize(): Stat failed for ../public/c982361ab03e8945df26d8831a3a734d (errno=2 - No such file or directory) in /includes/functions_file.php on line 286
my public dir is chmod to 0777 and I am running the 3.52 and have even tried a reinstall. This strange event has even spread to my normal forums. I will get the same error when i attempt to attatch something.
Thanks for the help. Love the hack.
SamirDarji
08-04-2005, 05:17 PM
Here is an ADDON: :D
I was playing around with this awesome hack and found out that you can easily add the article title over the article, and over the topic like they do the threads here at vb.org, using the existing template hacks from Zachery and Kall.
Zachery's 'Large Title over posts (https://vborg.vbsupport.ru/showthread.php?t=88868)':
edit GAS_showthread & GAS_forumdisplay instead of showthread and forumdisplay (see post #2 in that thread) and be sure to change $thread[title] to $foruminfo[title] as mentioned by kall in post #15
kall's 'Large title over Forums (https://vborg.vbsupport.ru/showthread.php?t=89385)':
edit GAS_forumdisplay instead of forumdisplay (no changes needed- works as described)
If that is too confusing I can re-write it and re-post it.Examples? I'd love to see it in action.
yoyoyoyo
08-04-2005, 06:39 PM
Examples? I'd love to see it in action.Sure thing. Keep in mind that I have stripped down vbulletin and the article system quite a bit (no rating, last post by column/info, etc..), but you will get the general idea as far as the headlines and articles go.
SamirDarji
08-04-2005, 07:19 PM
Sure thing. Keep in mind that I have stripped down vbulletin and the article system quite a bit (no rating, last post by column/info, etc..), but you will get the general idea as far as the headlines and articles go.So you could even make the title of the article in red if you wanted?
yoyoyoyo
08-04-2005, 07:23 PM
So you could even make the title of the article in red if you wanted?Yes- that is simply done with html markup. For red font you could use something like this:
<div style="font-size: 200%; text-align: center;"><font color="RED"><b>$thread[title]</b></font></div> or you could use <strong> instead of <b> if you want- whatever html you prefer regarding font style, etc..
The Geek
08-04-2005, 08:47 PM
Here is my porblem. I have read many pages on this thread and gave up b4 I could find it.
I cannot upload an attatchment without recieving this error.
Warning: move_uploaded_file(../public/c982361ab03e8945df26d8831a3a734d): failed to open stream: Permission denied in /includes/functions_file.php on line 274
Warning: move_uploaded_file(): Unable to move '/tmp/phprG06zr' to '../public/c982361ab03e8945df26d8831a3a734d' in /includes/functions_file.php on line 274
Warning: filesize(): Stat failed for ../public/c982361ab03e8945df26d8831a3a734d (errno=2 - No such file or directory) in /includes/functions_file.php on line 286
my public dir is chmod to 0777 and I am running the 3.52 and have even tried a reinstall. This strange event has even spread to my normal forums. I will get the same error when i attempt to attatch something.
Thanks for the help. Love the hack.
Looks like there is a directory permission error. You dont need your forums chmodded to 0777 (hope I misunderstood that!) - you just need the gas/iamges folder (and its sub folders) chmoded to 0777.
yoyo- nice touch. You may want to put it in the add ons section otherwise its going to get buried by tomorrow ;)
yoyoyoyo
08-04-2005, 10:15 PM
yoyo- nice touch. You may want to put it in the add ons section otherwise its going to get buried by tomorrow ;)I agree- I'm on it :D
CampusCrawler
08-05-2005, 12:21 AM
fixed the problem. thanx for the help.
SamirDarji
08-05-2005, 04:23 AM
Yes- that is simply done with html markup. For red font you could use something like this:
<div style="font-size: 200%; text-align: center;"><font color="RED"><b>$thread[title]</b></font></div> or you could use <strong> instead of <b> if you want- whatever html you prefer regarding font style, etc..Awesome! This is quite cool. Now if I can only get the same thing to apply to calendar event titles...
yoyoyoyo
08-05-2005, 11:27 AM
I released the large title thingy as an addon:
https://vborg.vbsupport.ru/showthread.php?t=93666
Now how to get it to show up in the top of this thread as an "addon"? I put the thread ID (75916) in the addon release " Addon for thread:" option.
The Geek
08-05-2005, 12:31 PM
thats why its appearing in the first post here as an addon :)
yoyoyoyo
08-05-2005, 01:21 PM
thats why its appearing in the first post here as an addon :)cool- it must take a bit for the cron job to catch up :D
yoyoyoyo
08-05-2005, 02:31 PM
I updated the "Large Title over Articles (https://vborg.vbsupport.ru/showthread.php?p=749909)" addon to version 1.1, which adds the optional ability to have the Article category appear before the Article title, like this: Article Category: Article Title
PS- When does a hack qualify for a PREMIUM ADDITION status? I think that nearly 1500 replies to this thread should put the Geek Article System in the running for consideration for that category!
slim cutty
08-05-2005, 03:41 PM
I have chmod'd the respective image directories/folders to 0777 over and over again... and for some odd reason... I continue to get the forbidden 403 error with the litte box with the x ..lol
can somebody please tell me what the issue is, I've tried over and over for atleast 2 hours to get it right searched through a good bit of this thread for answers but no one seemed to have the same problem
Help Please! THanks
yoyoyoyo
08-05-2005, 04:03 PM
I have chmod'd the respective image directories/folders to 0777 over and over again... and for some odd reason... I continue to get the forbidden 403 error with the litte box with the x ..lol
can somebody please tell me what the issue is, I've tried over and over for atleast 2 hours to get it right searched through a good bit of this thread for answers but no one seemed to have the same problem
Help Please! THanksGo to your CPanel and access the error logs and a more in-depth explanation as to what caused the error 403 will be displayed for each error you get. I had the same type of experience with a different hack, and the 777 was the problem. Many shared servers will not allow you to put permissions higher than 755. Try setting it to 755 and see if that helps, but as I said you error logs will tell you more.
The Geek
08-05-2005, 04:17 PM
755 technically should work as long as the folders are owned by the php process (if I remember right). You may also have other safe mode type restrictions in place that can prevent the uploading of files (thats why the gallery aspect was so important for release). You may be best contacting your host to enquire about the problem. You may also want to double check that your paths in the settings are acurate.
yoyo - Ive wondered about that. My guess is that I dont think there is a 'minimum' as much as a 'request' to get into the premium forum. To be honest, Im not overly bothered about it. Some things would be easier if GAS had a forum - but not many. I kind of like having a 1,500 thread mack... it makes me feel like all manly and stuff :)
SamirDarji
08-06-2005, 01:53 AM
PS- When does a hack qualify for a PREMIUM ADDITION status? I think that nearly 1500 replies to this thread should put the Geek Article System in the running for consideration for that category!I second that motion. This is one of the most popular article hacks.
Marco van Herwaarden
08-06-2005, 06:20 AM
The hack author must request the Premium status.
See: https://vborg.vbsupport.ru/showthread.php?t=73723
slim cutty
08-06-2005, 09:43 AM
in reference to chomod'ing gas folder and all it's contents to 777 or 755....
nothing seems to work, the default image shows in the pop up, but not on newthread.php?
I still get the box with the red X.. I've even tried moving the folders around in different areas. What the problem seems to be is when I upload an image it creates its own folder based on my ID, and that folder just will not allow me to view the picture, even when I copy and paste the direct URL. Funny thing is, when I place any random image via ftp anywhere outside the gas folder it shows with no problems. I'll keep working at this, I hope someone can help me out..lol thanks in advance
The Geek
08-06-2005, 11:20 AM
I see - its definatly a path problem then. Its uploading fine - but displaying the path to the image is the problem.
Right click the red x and clikc properties to see what the path is try to display. From there it should be a walk in the park ;)
GoTTi
08-07-2005, 04:39 AM
getting error.
Parse error: parse error, unexpected T_STRING in /home/site/public_html/forums/showthread.php on line 284
that line is step 604
GoTTi
08-07-2005, 04:42 AM
nevermind fix problem.
GoTTi
08-07-2005, 04:57 AM
is there any addons for this thing?
The Geek
08-07-2005, 06:39 AM
there are a couple from the lite version that havent been ported to this version and yoyoy just did a large titles over article modification.
The Geek
08-07-2005, 08:15 AM
Progress report for vb3.5
Hi all - I know many of you are anxious to know how the new version is coming along for vb3.5 so I thought I would give you a quick update.
It has been a massive challenge redoing this in the sense that this mack requires massive amounts of file edits (though I think everyone is in agreement that they are a snap with theinstaller ;) ). Learning to code for 3.5 changes and to do this without any file edits has made this a pretty massive redo however Im almost there.
The new system is actually called GARS (geek article and review system) and so far is requiring 0 file edits (and it looks to stay there). Here is a run down of the features:
1- Ability to create GAR types (i.e. Articles, reviews, tutorials, whatever).
2- Customize each of these types with their own attributes (choose which templates to use, which gallery, which rating system, etc. You can also set which verbiage to use like Search this Tutorial, etc...)
3- You can then assign each type to whatever forums you want (i.e. some forums are moview reviews, some are articles on movie production)
4- Ratings - you can create as many ratings as you want (i.e. for a game review type... you could create a standard rating for Graphics, Sound, Playability, etc)
5- named navigation - in essence you can use the old [break] bbcode or [break=onward ho] to produce a link to the next page that looks like: onward ho (page 1 of 4)
6- Mega customizable mod system. This has been a big challenge but its looking good now. Essentially, you can add as many mods (almost like hooks) in various places in the article/tutorial/whatever. The current locations are: Above the gar, inside the header (ideal for ratings), below the header, in a left sidebar, in a right sidebar. Each is customizable per type so your reviews and articles can use differing custom blocks. THis should make adding additional add ons or customizing the system a snap. I am also looking at adding addtional newthread/editpost hooks to make adding custom fields easy - however Im not sure if ill make this for the initial release.
So where am I with all of this? Im about 60% of the way done. Most of the hard stuff has been done and the largest problems overcome. Now Im working on finishing up the features and then cleaning up the code.
I was hoping to have an initial beta this weekend - however as these things go - I didnt anticipate spending 8 hours working on the mod system yesterday (thought it was already working and ended up rewriting it!). Anyway - ive been called down to London on business and now wont be able to work on it again until next weekend when I should be able to produce a beta - or something reasonably close.
nJoy
yoyoyoyo
08-07-2005, 12:00 PM
Progress report for vb3.5
Hi all - I know many of you are anxious to know how the new version is coming along for vb3.5 so I thought I would give you a quick update.
wow- very cool! I appreciate all of the hard work and your willingness to share it.
GoTTi
08-07-2005, 03:34 PM
just had a idea. would it be possible to have a attachment area for this addon?
meaning: when users post new articles and want to upload images, instead of using the regular attachments service, they would have a Geek Article Attachment Center (GAAC) within the Article System, and from there, they would have their article images available to them to use, making things a lil more organized.
GoTTi
08-07-2005, 03:53 PM
stuff isnt showing up in when i goto edit a article.
Lizard King
08-08-2005, 04:02 AM
Progress report for vb3.5
Hi all - I know many of you are anxious to know how the new version is coming along for vb3.5 so I thought I would give you a quick update.
It has been a massive challenge redoing this in the sense that this mack requires massive amounts of file edits (though I think everyone is in agreement that they are a snap with theinstaller ;) ). Learning to code for 3.5 changes and to do this without any file edits has made this a pretty massive redo however Im almost there.
The new system is actually called GARS (geek article and review system) and so far is requiring 0 file edits (and it looks to stay there). Here is a run down of the features:
1- Ability to create GAR types (i.e. Articles, reviews, tutorials, whatever).
2- Customize each of these types with their own attributes (choose which templates to use, which gallery, which rating system, etc. You can also set which verbiage to use like Search this Tutorial, etc...)
3- You can then assign each type to whatever forums you want (i.e. some forums are moview reviews, some are articles on movie production)
4- Ratings - you can create as many ratings as you want (i.e. for a game review type... you could create a standard rating for Graphics, Sound, Playability, etc)
5- named navigation - in essence you can use the old [break] bbcode or [break=onward ho] to produce a link to the next page that looks like: onward ho (page 1 of 4)
6- Mega customizable mod system. This has been a big challenge but its looking good now. Essentially, you can add as many mods (almost like hooks) in various places in the article/tutorial/whatever. The current locations are: Above the gar, inside the header (ideal for ratings), below the header, in a left sidebar, in a right sidebar. Each is customizable per type so your reviews and articles can use differing custom blocks. THis should make adding additional add ons or customizing the system a snap. I am also looking at adding addtional newthread/editpost hooks to make adding custom fields easy - however Im not sure if ill make this for the initial release.
So where am I with all of this? Im about 60% of the way done. Most of the hard stuff has been done and the largest problems overcome. Now Im working on finishing up the features and then cleaning up the code.
I was hoping to have an initial beta this weekend - however as these things go - I didnt anticipate spending 8 hours working on the mod system yesterday (thought it was already working and ended up rewriting it!). Anyway - ive been called down to London on business and now wont be able to work on it again until next weekend when I should be able to produce a beta - or something reasonably close.
nJoy
Perfect news. This and Geek AutoLinks is the 2 hack keeping me from update.
Geek Is there any possibility you can add a sidebar in forumdisplay which includes list or articles , reviews and etc. and a quick search ? Maybe article , review statistics inside ?
GrendelKhan{TSU
08-09-2005, 02:03 AM
Progress report for vb3.5
Hi all - I know many of you are anxious to know how the new version is coming along for vb3.5 so I thought I would give you a quick update.
It has been a massive challenge redoing this in the sense that this mack requires massive amounts of file edits (though I think everyone is in agreement that they are a snap with theinstaller ;) ). Learning to code for 3.5 changes and to do this without any file edits has made this a pretty massive redo however Im almost there.
The new system is actually called GARS (geek article and review system) and so far is requiring 0 file edits (and it looks to stay there). Here is a run down of the features:
1- Ability to create GAR types (i.e. Articles, reviews, tutorials, whatever).
2- Customize each of these types with their own attributes (choose which templates to use, which gallery, which rating system, etc. You can also set which verbiage to use like Search this Tutorial, etc...)
3- You can then assign each type to whatever forums you want (i.e. some forums are moview reviews, some are articles on movie production)
4- Ratings - you can create as many ratings as you want (i.e. for a game review type... you could create a standard rating for Graphics, Sound, Playability, etc)
5- named navigation - in essence you can use the old [break] bbcode or [break=onward ho] to produce a link to the next page that looks like: onward ho (page 1 of 4)
6- Mega customizable mod system. This has been a big challenge but its looking good now. Essentially, you can add as many mods (almost like hooks) in various places in the article/tutorial/whatever. The current locations are: Above the gar, inside the header (ideal for ratings), below the header, in a left sidebar, in a right sidebar. Each is customizable per type so your reviews and articles can use differing custom blocks. THis should make adding additional add ons or customizing the system a snap. I am also looking at adding addtional newthread/editpost hooks to make adding custom fields easy - however Im not sure if ill make this for the initial release.
So where am I with all of this? Im about 60% of the way done. Most of the hard stuff has been done and the largest problems overcome. Now Im working on finishing up the features and then cleaning up the code.
I was hoping to have an initial beta this weekend - however as these things go - I didnt anticipate spending 8 hours working on the mod system yesterday (thought it was already working and ended up rewriting it!). Anyway - ive been called down to London on business and now wont be able to work on it again until next weekend when I should be able to produce a beta - or something reasonably close.
nJoy
<<< mouth is officially watering. :D :D
can't wait for this one!!
hang in there!
gmanggg
08-09-2005, 05:00 PM
Sorry if this issue has been covered before, but I've been searching for and hour and I can't find a solution.
I just installed GAS 3.52 to my vbulletin site (3.0.8), but I'm not showing any content and the article templates are not displaying fully (see it here) (http://www.uwsod08.com/showthread.php?t=333) and the article listing doesn't seem to be displaying like it should. Mine looks like this (http://www.uwsod08.com/forumdisplay.php?f=92). :ermm:
When I switch the article forum back to act like a forum, the content reappears, but its gone again when its toggled back to act like an article forum.
Other parts the site installation seem to have went well. I see the new module in the admincp and I do seem to be getting the correct "add new article" template, but the button I click to get to it still says "new thread". When GAS is turned off, the entire site functions as it did before the install.
Installed most of the GAS hack using the autoinstaller, (it went through all changes including, the db mods, and template changes) but, since I have SAFE_MODE on, I had to modify the .php files manually. I double and triple checked all the changes to make sure I didn't make any typos.
I've also attached some screenshots. I hope someone knows whats going on here. Please let me know if you need anymore info. Please help. :nervous:
Thank you,
Garret
UPDATE: Got it to work!!! Geek, thanks for the tip! :up:
sketch42
08-09-2005, 07:20 PM
is it possible to show how many comments there are in each article
The Geek
08-10-2005, 07:32 AM
gmann - those have to be down to file changes - you need to double check through the changes again. Maybe start with a fresh copy :)
Sketch - yea - but I guess it depends on where. Comments are the same things as replies.
sketch42
08-10-2005, 07:49 AM
Sketch - yea - but I guess it depends on where. Comments are the same things as replies.
how bout like this???
The Geek
08-10-2005, 01:40 PM
how bout like this???
Sure, Im speaking off the top of my head... but put something like: there have been $thread[replycount] comments made
Of course, it would be best to wrap this in a phrase so it doesnt ever say:
there have been 0 comments made or
there have been 1 comments made (that one always annoys me).
sketch42
08-10-2005, 03:46 PM
Sure, Im speaking off the top of my head... but put something like: there have been $thread[replycount] comments made
Of course, it would be best to wrap this in a phrase so it doesnt ever say:
there have been 0 comments made or
there have been 1 comments made (that one always annoys me).
yea but where would i put that and what phrase would i use?
Hello,
When I try to write tables within an article, they drop down very far on the page so there is a massive gap from the start of the article, all the way down to where it starts showing the content. I have been reading in the thread looking for why this happens, but haven't seen it. Any suggestions? I am running 3.0.7. These are the first article i am writing useing html, and the html is on for the forum.
The table syntax is 100% accurate. Any ideas?
Here is an example of the code being used:
<table cellpadding="0" cellspacing="0" border="1" align="center" width="100%">
<tr>
<td colspan="3" align="center">test</td>
</tr>
<tr>
<td colspan="3" align="center">test</td>
</tr>
<tr><td align="center">test</td><td align="center">test2</td><td align="center">test3</td></tr>
<tr><td align="center">test</td><td align="center">test2</td><td align="center">test3</td></tr>
<tr><td align="center">test</td><td align="center">test2</td><td align="center">test3</td></tr>
<tr><td align="center">test</td><td align="center">test2</td><td align="center">test3</td></tr>
<tr><td align="center">test</td><td align="center">test2</td><td align="center">test3</td></tr>
<tr><td align="center">test</td><td align="center">test2</td><td align="center">test3</td></tr>
<tr><td align="center">test</td><td align="center">test2</td><td align="center">test3</td></tr>
<tr><td align="center">test</td><td align="center">test2</td><td align="center">test3</td></tr>
<tr><td align="center">test</td><td align="center">test2</td><td align="center">test3</td></tr>
<tr><td align="center">test</td><td align="center">test2</td><td align="center">test3</td></tr>
<tr><td align="center">test</td><td align="center">test2</td><td align="center">test3</td></tr>
<tr><td align="center">test</td><td align="center">test2</td><td align="center">test3</td></tr>
<tr><td align="center">test</td><td align="center">test2</td><td align="center">test3</td></tr>
<tr><td align="center">test</td><td align="center">test2</td><td align="center">test3</td></tr>
<tr><td align="center">test</td><td align="center">test2</td><td align="center">test3</td></tr>
<tr><td align="center">test</td><td align="center">test2</td><td align="center">test3</td></tr>
<tr><td align="center">test</td><td align="center">test2</td><td align="center">test3</td></tr>
<tr><td align="center">test</td><td align="center">test2</td><td align="center">test3</td></tr>
<tr><td align="center">test</td><td align="center">test2</td><td align="center">test3</td></tr>
<tr><td align="center">test</td><td align="center">test2</td><td align="center">test3</td></tr>
<tr><td align="center">test</td><td align="center">test2</td><td align="center">test3</td></tr>
<tr><td align="center">test</td><td align="center">test2</td><td align="center">test3</td></tr>
<tr><td align="center">test</td><td align="center">test2</td><td align="center">test3</td></tr>
</table>
The more data rows I add, the further down the page it goes.
The Geek
08-11-2005, 05:48 PM
When I try to write tables within an article, they drop down very far on the page so there is a massive gap from the start of the article, all the way down to where it starts showing the content. I have been reading in the thread looking for why this happens, but haven't seen it. Any suggestions? I am running 3.0.7. These are the first article i am writing useing html, and the html is on for the forum.
Im not exactly sure what you mean. Can you post either a link or a screen shot?
All the HTML and BBcode is handled by vb so Im not too sure if I can help you here (but Ill try!)
Hello,
Here is a screen shot:
http://img.photobucket.com/albums/0903/iguanairs/example1111.jpg
Now mind you, where the text starts is where the table starts! That space above is actually 4 times the size shown in the picture. I only have this problem in the articles, and the bbcode function doesn't have any problems. Just when I use html.
The Geek
08-11-2005, 06:56 PM
where the table starts! That space above is actually 4 times the size shown in the picture. I only have this problem in the articles, and the
Looks to me like the container table needs to be valigned="top"
Hello,
I tried that too before I tried the code posted above. No luck.
SamirDarji
08-11-2005, 08:01 PM
Do a view source of the page with the problem and see if there are any table tag problems. Something tells me there's something going on between vb's tables and the ones on your post.
jaredvolkl
08-11-2005, 08:23 PM
yea but where would i put that and what phrase would i use?
I'd be interested in how to do this. I also want to add how many views an article has just like a normal thread.
MillerLight
08-12-2005, 04:15 AM
Can images be uploaded and placed in the article when it is created? I have looked at the demo's and dont see this? On most, I see an attachment box, "Containing an Image",to the right of the article, which sometimes doesnt appear to go with the flow of the article?
Can it work like creating a normal post on VB?
Thanks
The Geek
08-12-2005, 11:55 AM
When you create an article - it is exactly the same as creating a post in vb (to vb, it is a post). Therefore placing images at runtime is as simple as uploading an attchment or using the bbcode. A lot of users (including myself) that use vba gallery or photopost also use the Geek Gallery Popup to insert pics from their gallery at article creation time.
to make a 'comments' phrase, add a new global phrase called [I]comments_reads with the text:
Comments: {1}, Reads: {2}
In your GAS_threadbit template... stick the following HTML wherever you fancy it:
<phrase 1="$thread[replycount]" 2="$thread[views]">$vbphrase[comments_reads]</phrase>
Bammo - there you go ;)
Iguana - Im with samir there... the displaying of the HTML doesnt have much to do with GAS other than the results get put into a GAS template... Check out the HTML output and see if you can find the problem from there. Still looks to me like it isnt valigned correctly.
HTH's
thephonemall
08-12-2005, 05:21 PM
Attempting to doa fresh install on VB 3.0.8
First error that popped up:
ERRORS:
cant find root directory gas
Make sure you have created this in your forum directory.
I have the gas folder with 777 in my forum directory. My root VB folder is named "community" rather than "forum"
Is this what is causing problems? Obivously a whole slew of errors incurred following the first and I proceeded with an uninstall. I would really like to get this working. Any help is appreciated.
The Geek
08-12-2005, 05:42 PM
Attempting to doa fresh install on VB 3.0.8
First error that popped up:
ERRORS:
cant find root directory gas
Make sure you have created this in your forum directory.
I have the gas folder with 777 in my forum directory. My root VB folder is named "community" rather than "forum"
Is this what is causing problems? Obivously a whole slew of errors incurred following the first and I proceeded with an uninstall. I would really like to get this working. Any help is appreciated.
Just follow directions in the readme for creating the directory structure yourself. This is an occasional problem with some setups but the readme has an easy wnough workaround.
You dont need to do an uninstall if you get file change errors btw ;)
Attempting to doa fresh install on VB 3.0.8
First error that popped up:
ERRORS:
cant find root directory gas
Make sure you have created this in your forum directory.
I have the gas folder with 777 in my forum directory. My root VB folder is named "community" rather than "forum"
Is this what is causing problems? Obivously a whole slew of errors incurred following the first and I proceeded with an uninstall. I would really like to get this working. Any help is appreciated.
I have this problem too. (on 3.0.8)
I have created all directory as you described in GAS3.53\README.html and have 777 as permission on them.
But I still give error!
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.
Please help me.
thephonemall
08-13-2005, 04:03 AM
Hey Geek, (respect intended)
On Manual Step 200 you have the following:
=======================================
step 200
in forumdisplay.php, replace:
$phrasegroups = array('forumdisplay'
with:
//=== GAS Step 200 ===
$phrasegroups = array('forumdisplay', 'geek_articles'
============================================
The actual file has a closing bracket here array('forumdisplay') <-----
Should I add the bracket after ....'geek_articles' ?
Same thing on:
first step 1 in editpost.php
Step 500 in newthread.php
Step 600 in showthread.php
Step 700 in printthread.php
My printthread.php is 0 bytes with no content so I could not make manual changes. I noticed that the original zip contained a printthread.php 6kb in size so I have replaced it and made changes.
Also there is no "// build thread data" in forumdisplay.php as mentioned in step 207. I took a guess on where to place this.
Install appears to work fine.
The Geek
08-13-2005, 07:43 PM
Thats by design. The replacements are inline and look like that for the automated installer. Just follow exactly and you should be cool.
Your printthread sounds freaky. The original thread should also NOT contain a printthread.php file (i just double checked and couldnt find it!). Im guessing that the one youre looking at is your own that has been modified in gas/changes.
Dont know what you mean for step 207 w/o looking at it again... but most likely its a conflict with another mack or something. I tested the latest install on clean 3.08's and got 0 errors. Regardless I hope everythings cool.
mhme... Looks like you will have to do the changes manually. That is the first time out of hundreds of installs that I have heard that though. Bummer as there are quite a few manual changes with this version :(
Hi,
any chances a beta version of the new gas system be released in the next couple of days ?
don't wana annoy just need to know what to do with my site
thanks :D
The Geek
08-14-2005, 08:01 AM
chances are pretty slim to none for this weekend. Mrs Geek is forcing me to get the user management features of my ad system done this weekend so I can start selling ad space on my site.
sorry but I can only do so much and she has supported my extending coding habits so far :(
Heh :)
no problems and thanks for the quick replay.
good luck with the ad system.
Mithan
08-15-2005, 04:44 PM
I have a few questions that I couldn't really find the answer to earlier (sorry, but there are 37 pages ;) )
Questions:
I ran the Installer and it ran fine, however it did not edit any of the files, even after it said it DID edit the files. The replacement files were all added to the /gas/ directory and such. Either way, I had to manually edit all the files to get them to work. Should I have CHMOD'ed all the files that were going to be changed?
What is meant by "edit the PHRASES" stuff? Use PHPMyAdmin to just find the table and edit them there? I ended up just running that part of the Install file again and it started working.
Is there a vBAdvanced Module for this that enables the articles to appear in the News on the front page, using the look they have when they appear in the forum table?
I appreciate anybody taking the time to answer these questions and I greatly appreciate the Author making this in the first place, as this is a great tool for sites.
sketch42
08-16-2005, 05:49 AM
Questions:
1) I ran the Installer and it ran fine, however it did not edit any of the files, even after it said it DID edit the files. The replacement files were all added to the /gas/ directory and such. Either way, I had to manually edit all the files to get them to work. Should I have CHMOD'ed all the files that were going to be changed?
all the replacement files are located in your GAS folder
forum/gas/changes
all you needed to do was move the files in the changes folder to their appropriate locations and overwrite the existing ones..
2) What is meant by "edit the PHRASES" stuff? Use PHPMyAdmin to just find the table and edit them there? I ended up just running that part of the Install file again and it started working.
this is just in the instructions in case you dont see the option in the admincp and such
what its saying to do is goto your Admincp and goto Languages and Phrases and search for any phrase that has the word gas_ in it and press edit and save it it so all the phrases will appear..
3) Is there a vBAdvanced Module for this that enables the articles to appear in the News on the front page, using the look they have when they appear in the forum table?
I appreciate anybody taking the time to answer these questions and I greatly appreciate the Author making this in the first place, as this is a great tool for sites.
i dunno bout this one as i dont use vBAdvanced or any other portal software
TPCComOld
08-18-2005, 09:09 PM
Could you please goto http://www.tpcsdl.com/geek/ and tell my webmaster why we are getting 2 warnings and a fatal error when he clicks install for the Geek Article System?
Thanks in advanced. :ermm:
sketch42
08-18-2005, 09:35 PM
Could you please goto http://www.tpcsdl.com/geek/ and tell my webmaster why we are getting 2 warnings and a fatal error when he clicks install for the Geek Article System?
Thanks in advanced. :ermm:
ummm all i see in the link you provided were the files contained in the zip he needs to follow the Readme and follow the installation instructions.. you cant just unzip the files an upload everything to a folder called geek and expect things to work
TPCComOld
08-18-2005, 11:34 PM
ummm all i see in the link you provided were the files contained in the zip he needs to follow the Readme and follow the installation instructions.. you cant just unzip the files an upload everything to a folder called geek and expect things to work
Sketch42 I think my webmaster realizes the obvious that you pointed out. The 2 warnings and the fatal error messages come when he clicks the install. So how about going back, or anyone for that matter, to http://www.tpcsdl.com/geek/ then clicking on the install.php file and looking at the error and warning messages and then offering your advice please. Thanks
SamirDarji
08-19-2005, 12:02 AM
Well, for starters, I don't think the files are in the right directory. Second, if they don't know that or couldn't figure it out, they probably don't need to be hacking a vb forum.
sketch42
08-19-2005, 12:09 AM
Sketch42 I think my webmaster realizes the obvious that you pointed out. The 2 warnings and the fatal error messages come when he clicks the install. So how about going back, or anyone for that matter, to http://www.tpcsdl.com/geek/ then clicking on the install.php file and looking at the error and warning messages and then offering your advice please. Thanks
You truly are an idiot.. YOU need to read the README.html file that clearly states
Copy the files included with this package into their corresponding folders
Run the /admincp/gas3_install.php file and follow it through. This will install phrases, settings, DB changes and templates needed.
What this means is, and ill speak sloooooooowly foooor you .
is that you need to upload all the files in specific directories.
i.e the gas3_install.php shoul be uploaded to the admincp folder on the server and than you need to goto www.mySite.com/forums/admincp/gas3_install.php and follow the installation instructions there
if they don't know that or couldn't figure it out, they probably don't need to be hacking a vb forum.
Exactly
TPCComOld
08-19-2005, 12:53 AM
You know Sketch42,
You and the other guy are probably right. Maybe he shouldnt be hacking vb. At some point you had to learn what you know.
And I am probably an idiot too like you said since you know me so well. But I am and have been smart enough to employ brains like you to make me very wealthy beyond YOUR means. And every time I start a new project that I know nothing about I always look for smart people such as yourself to do the grunt work while I do the marketing and rack in the cash.
So I truely appreciate you setting us simple people straight. I'm sure it made you feel like a winner.
Question. Did you have to learn everything you know or did you just get it via osmosis? If my stupidity serves me correctly, everyone had to learn at some point how to do everything. But hey, what do I know. I'm an idiot! :)
Appreciate your genius. Can an idiot like me and my webmaster call on your genius again? I sure do hope so. Man, I had trouble tying my shows this morning.
Seriously, if you feel it necessary to call someone an idiot because they are trying to learn or dont know more than you, then I am not sure who the idiot is. Lets compare lives and bank accounts idiot to brain.
Thanks again for setting us straight. I will tell my webmaster, the genius has bestowed his wisdom.
thephonemall
08-19-2005, 04:01 AM
Can I somehow FORCE all users to view the articles by TITLE or can I sort them specifically? I want them to be in a specific order for all users.
csidlernet
08-20-2005, 05:41 AM
Nice thanks!
nathanaus
08-20-2005, 11:32 AM
First real opportunity I have had to use this and it's not working for me.
Issue 1 - the character limit of 10,000 is killing me
Issue 2 - the [BREAK] command does nothing. I type it in and I get [BREAK] written on the screen. I try Break and get the word rather an an actual page break.
I have [BREAK] listed in teh code in the options but for whatever reason it's not working. Just when I have the need for a very important article to go up it's not working :(
Ok,
I have now finished installing the "Geek Article System 3.52" on my vb3.5 board and yes it's possible :D
takes about 4 hours where you baisicly sit and course the designers of vb but othat than that most changes are rather trivial.
p.s.
nathanaus if im not mistaken the character limit you state is set by vb itself, you can change it in the vb options and solve that problem.
Cool tpr,
can you give any tips?
Zachery
08-22-2005, 11:30 AM
PLease keep the discussion clean, thank you
PLease keep the discussion clean, thank you
oh come on this i didn't say anything rude but some of the changes are just plain annoying :D
The Geek
08-22-2005, 12:53 PM
guys - gars for 3.5 is on its way... dont sweat it and it will require 0 file edits.
Sorry it keeps going to back burner for other pressing projects (ye shall see this week!) - but Im about ready to go back to the end race on GARS.
BTW: There is also a setting in GAS to override the default character limit for article forums ;)
cclaerhout
08-22-2005, 08:38 PM
guys - gars for 3.5 is on its way... dont sweat it and it will require 0 file edits.
Sorry it keeps going to back burner for other pressing projects (ye shall see this week!) - but Im about ready to go back to the end race on GARS.
BTW: There is also a setting in GAS to override the default character limit for article forums ;)
Great :-)
I hope phrases will be in the xml file -> would be easier to translate ;-) Thanks a lot for your work :-)
guys - gars for 3.5 is on its way... dont sweat it and it will require 0 file edits.
........
Boy o boy...... This will be my main reason to upgrade to vbulletin 3.5 :)
Btw.... When you're in the forum/index.php view and click on the 'last post' link to a GARS forum, will it only show the comments (like with gas) or also the actual article as first post? My members found it quite disturbing that the first post (the actual article or review where people are commenting to) was missing when you enter a topic this way.
The Geek
08-23-2005, 08:01 AM
It will go to the comments however the comments page will start with a preview of the article so that it makes more sense :)
Very cool hack thank you very much :)
Is there any chance of a drop down box with "difficulity rating" that adds the text "hard", "easy" and so on to the thread subject? :)
Many Thanks
Mat
The Geek
08-23-2005, 08:36 PM
Just a quick note to say that you can see some of the early alpha testing of the new GARS system here (http://www.thevbgeek.com/forumdisplay.php?f=40)
Mat - I doubt it simply because there is another mack around here that does that and after 99 pages... youre the first to ask ;)
Thanks for getting back to me :)
Can you point me in the direction of the hack you mentioned? I can't for the life of me find it
Many Thanks
Mat
The Geek
08-25-2005, 06:06 AM
the files are not availible yet - I was just linking to the early alpha preview :)
Very cool hack thank you very much :)
Is there any chance of a drop down box with "difficulity rating" that adds the text "hard", "easy" and so on to the thread subject? :)
Many Thanks
Mat
hehe i was taliking about this one :)
PS: just looking through the rest of your hacks, very good work :)
the GRAMPS system is just what i was looking for.
Many Thanks
Mat
The Geek
08-25-2005, 06:42 AM
hehe i was taliking about this one :)
PS: just looking through the rest of your hacks, very good work :)
the GRAMPS system is just what i was looking for.
Many Thanks
Mat
Thanks Nutzz :)
What I meant is that you could easily apply the hack that does what you want to GAS without a problem :)
OK cool
do you know if there is a hack that already exists or shall I request :)
The Geek
08-25-2005, 07:17 AM
OK cool
do you know if there is a hack that already exists or shall I request :)
Its out here somewhere... Dont recall what its called though!
commTRU
08-25-2005, 02:12 PM
I currently have v3 Articles installed, but this looks so much better, and has options that I could really benefit from! So I'll get round to installing this today :) I have an idea though, although I'm not sure if it would be feasible:
I would like to use this article system as a way for my members to post their own fiction/fan-fiction, thus would it be possible to create an add-on that shows you what articles a member has created in his/her profile? That would look pretty cool :D
Also, a add-on or link to show peoples created articles in their user cp, perhaps with a link to edit them?
Anyway, very nice hack! ^^;;
The Geek
08-25-2005, 02:19 PM
Thanks :)
Sure, I dont think it would be overly difficult to do... however I dont think I would be able to do it as Im pretty busy with vb3.5 ports and re writes right now :(
Id love to see it regardless!
commTRU
08-25-2005, 02:21 PM
I'll love to see it too, if anyone who loves this hack would like to help make a few add-ons? ;)
Right, I've just installed *clicks install* and I have to say, that is the funniest installer I have ever seen in my life :D
"You are about to get GAS" :D :D
Thank you :squareeyed:
cmiller1014
08-26-2005, 02:48 AM
GOGO geek hacks! I am a member on your site now and cannot wait to unleash my site with 3.5 and all these addons. I sure hope you will make them all as "products" with no file mods. :)
Its nice to know someone is actively working on, and supporting hacks I need to make money with my site!
ClockCrew
08-26-2005, 03:13 AM
Hey, i have set the max dimensions of image uploads to 100x100, but it lets you upload larger images, and it doesn't resize them or anything. No thumbnails. Thumbnails are enabled in admincp.
Any clues?
The Geek
08-26-2005, 06:40 AM
Check you GD settings. GAS doesnt think you have GD installed so it skips the resizing stage.
Katrina's Korner
08-26-2005, 01:55 PM
I am looking for something that I can use to generate static (indexable) content for the search engines. I am not very technically-inclined, so please forgive me if this question is worded funny, but does this hack help you to generate static pages that are indexable and can help with page rank. Or are these pages stored in the database and shown as dynamic URLs?
The Geek
08-26-2005, 01:58 PM
They are just the same as normal threads but displayed differently (actually - theres a lot more to it then that - but in a nutshell no).
Many members use mod re-wrties for what you're looking for
Katrina's Korner
08-26-2005, 02:41 PM
They are just the same as normal threads but displayed differently (actually - theres a lot more to it then that - but in a nutshell no).
Many members use mod re-wrties for what you're looking for
Congrats on a great hack. :classic:
BTW, what is a mod rewrite ?
*will have to look into it...*
UPDATE: Nevermind, I googled it...
Conlons
08-26-2005, 03:03 PM
Installing the Arcade on 3.08 working through the hacks is fine. but when I get to the Template Modification, I then get the following error:
"Parse error: parse error, unexpected T_CONSTANT_ENCAPSED_STRING, expecting ')' in /usr/local/apache/share/legacy/c/o/conlons/httpdocs/www.conlons.co.uk/forum/includes/init.php on line 544" :o
I then cannot see the Forum at all. It did work on the previous version of VBulletin. Can someone please help
vBulletin® v3.8.12 by vBS, Copyright ©2000-2024, vBulletin Solutions Inc.