View Full Version : Article System
krohnathlonman
04-15-2004, 10:00 PM
Alright, here's my Beta... Do not even touch this unless you know what you're doing! To upgrade to future versions you WILL have to have a fair amount of knowledge about templates and other things.
I need help with an installer and any feedback and suggestions on things to add/do
An example of it can be found running here (http://iamnotageek.com/articles.php).
All code made and testing on VB 3.0.0 and shouldn't have any issues with 3.0.1 or any future releases. This doesn't relay on any Vbulletin templates. The only vbulletin functions it uses is basic template and DB connectivity.
The support on this will be VERY limited. I only need people that know enough to be helpful in tracking down bugs that they may find. I'm very busy during the week. You'll want to edit index.php and add links to any of the admin functions you want.
I covered alot here (https://vborg.vbsupport.ru/showthread.php?t=63703)
NEW STUFF:
Hialls (https://vborg.vbsupport.ru/member.php?u=17882) is helping me with the installer and helping add some things that will help you guys use and install this alot easier.
Go ahead and check this system out and tell me what needs to be added and I'll see about adding it to my additions list ;)
Hialls
04-16-2004, 03:43 AM
Use htl to make one for you
Hialls
04-16-2004, 03:47 AM
If you give me the required templates and any file modes ill make it in htl for you
krohnathlonman
04-16-2004, 04:02 AM
Thanks! Currently there's 0 file mods and only the templates which are in that .zip file in instructions.txt
I haven't even installed HTL yet LOL I probably should....
Silverdawn222
04-16-2004, 07:11 AM
I love it BUT there is no instructions.txt :squareeyed:
Hialls
04-16-2004, 11:37 AM
Sorry i don't find the instructions file if you upload that ill make you an installer
Acido
04-16-2004, 12:05 PM
Sorry i don't find the instructions file if you upload that ill make you an installer
A hack without instructions....
He is cruel and he likes to be it :rolleyes:
Silverdawn222
04-16-2004, 12:46 PM
I don't object to finding out some things myself but all I get is a white screen of death. :)
Edit: I realized why it's a blank page. Do NOT install this hack until the author replies to this thread: it is not working until he updates the file. I checked the code and there appear to be references to 'new' templates which are probably installed by creating them from the instuctions.txt... however, there is no instructions.txt yet! So wait until that is included in the package...
Regards,
Tom
spence2
04-16-2004, 02:02 PM
"I'm heading to bed, it's after midnight..."
Poor man. Hope he sleeps well.
But, I also hope he doesn't hit the snooze button!
krohnathlonman
04-16-2004, 03:05 PM
I'm back, and included the instructions.txt file in this one. Sorry about that, I live in the eastern timezone and it was like midnight I was doing this.
new .zip file I'm starting to get to know the HTL system so I may have some easy instructions later today. I've gotta take care of business first.
Hialls
04-16-2004, 03:47 PM
Krohnathlonman, i've used htl to install the script do you want the htl installer?
Silverdawn222
04-16-2004, 03:48 PM
It works correctly, thanks! However, I don't know how to succesfully add it to a category? What do I specify?
EDIT: Also, you forgot to add the printer.php?
krohnathlonman
04-16-2004, 04:00 PM
Can you upload the htl installer? I'll upload the one with the printer file now... It's one of the files I haven't converted to Vbulletin yet. Sorry about that.
Silverdawn222
04-16-2004, 04:08 PM
The printer file works, thanks! Two things.
1) Categories? I updated the category names in the Templates, but I can't figure out how to add an article to a certain category. Inputting the names in the category field doesn't yield a result, what do I do? How do people know which files to access to add / edit / remove articles? You should provide some instruction as to what the files do, at least.
2) Paragraphs? After adding an article all my paragraphs were gone?
krohnathlonman
04-16-2004, 04:13 PM
I just noticed in articles.php
require_once('./global.php');
require("config.php");
the require("config.php"); part is old and obsoleted. Might as well have the display quit opening that file.
Currently the categories are handled with ID numbers. When adding articles just enter 1 for anything in the first category. I haven't improved the categories side of things yet. It's something I have planned.
You will have to use HTML in all of the fields. That would be why your paragraphs are gone. It doesn't do ANY formatting. it's best to insert HTML in here. Use some sense when using those fields, Don't insert all the HTML header garbage. the first part should be something like "<p>After slipstreaming my SP2 CD I decided to take..." do NOT put the /body and /html tags in either. this will end the html page!
Also to change the Title on the articles list page look here:
//Default Page title
$home['pagetitle'] = 'Articles List';
}
I do plan on setting some global variables at the top of the file, but haven't gotten around to it.... Some people wanted to see where I was at on this so it's a BETA that needs quite a bit of work to make it a full release.
Hialls
04-16-2004, 04:20 PM
Ok but before i upload maybe i should wait for all the files?
krohnathlonman
04-16-2004, 04:25 PM
I'm working on a new version of printer.php that is completely integrated with VB so there'll probably be at least 1 more template when I get that done.
Hialls
04-16-2004, 07:31 PM
#########UPDATE#################
I'm currently in the process of setting up settings, i.e. turn sidebar on/off also making the article system fully in vbuletin phrases
#########UPDATE#################
I'm currently in the process of setting up settings, i.e. turn sidebar on/off also making the article system fully in vbuletin phrases
alright! finally got it huh? im going to download this in a few hours when i get time to install everything... good job :)
krohnathlonman
04-16-2004, 10:36 PM
I'm doing a bit more testing but the HTL installer should be released soon
Hi all hope you are well
I cant wait for this to be a full release, when do you think it will move out of beta
Regards
Chet
krohnathlonman
04-16-2004, 11:24 PM
well, some people will have to test the installer when it's completed and I have to finish making the admin side of things fully VB integrated.
This thing will be a BETA until I finish with all the functions I'm planning on adding. After I have all the functions completed I'll port everything over to having a NEWS page too! It's rather easy to grab data from a specified news forum.
spence2
04-17-2004, 04:37 AM
We are all very appreciative to you for all of your work and for sharing it with us.
krohnathlonman
04-17-2004, 05:24 AM
I've nearly eliminated the need for a seperate config.php file :) I nearly have all of the admin panel integrated with VB enough to grab the DB info.
I've got somebody else working on a new way of handling the categories.
ixian
04-17-2004, 05:30 AM
Darnit! You beat me to it! Mine's in private beta.
I like your layout better. However, I have integrated the excellent open-source HTMLArea WYSIWYG editor into mine. I've fixed it up so it supports the Word document import (so you can paste in Word for Windows docs while having all the useless Word formatting crap stripped out and replaced with XHTML formatting code) a pretty good image upload/insert system, and a Spell Checker.
Would you be interested in working this into your hack? I only have very basic templates and such done; as I said, yours is better. But I can give you the code to make HTMLArea work. That would solve your article entry issues; writers won't need to input raw HTML now.
Email/PM me if you are interested.
krohnathlonman
04-17-2004, 05:56 AM
yeah I'm interested.... You can help develop parts of this system If you're interested in helping out. If you can think of an easy way of putting the WYSIWYG editor into my system let me know! I'm certainly interested in it. I've currenly been sticking with plain HTML since I format everything properly in HTML anyway. I write my articles in Dreamweaver :)
How on earth would a person go about handling multiple pages with a WYSIWYG editor like that? If nothing else I could do something like Iframe that editor in and just tell people to view the source and paste it into the forum field. I know it'll be a PITA to get 10 instances of that editor working together properly.
It looks like hialls will be handling mainly the installer part while I'm writing most of the core stuff.
I'm about to upload some of the updates to the first post here.
As to when this thing exits Beta, It may never :) by time I am satisfied enough with the article system code to no longer classify it as beta then I'll be adding the news system in :) The first official release MAY be a true portal. The current hacks called portals aren't really what I would call a portal.
ixian
04-17-2004, 06:22 AM
Krohnathlonman, check your PM's.:)
krohnathlonman
04-17-2004, 06:24 AM
I don't see anything :)
Aleksey
04-17-2004, 03:45 PM
can someone finish this and release it?
Like I said in previous posts "I really can not wait for this release", if I was to install this now in beta, how much of a change to you think there will be in the RC version, the reason I ask is because I totally no good at modifications at all so would like to keep is as minimal as possible.
Regards
Chet
krohnathlonman
04-17-2004, 04:06 PM
can someone finish this and release it? I Did release it.... If you're wanting "finished" code it'll never come. The version available on the first post is really quite good. There'll be a couple more steps taken to make the install process easier, but if you need to so bad it's right there ;)
Everything I did yesterday had 0 effect on templates.
Currently the upgrade path doesn't look like it'll be anymore than template mods and overwriting some of my old files. This system isn't even using any of Vbulletin's templates :) I'm NOT even having you guys do any hacking of the VB files. Except that admincp/index.php but that's optional just to put the links in your admin panel.
i just downloaded it finally... just got free time.
i noticed: First upload all of these files articles.php and config.php in your base forum directory.
You mean the Printer.php? or config... because i dont have a config file... :\
I've nearly eliminated the need for a seperate config.php file :) I nearly have all of the admin panel integrated with VB enough to grab the DB info.
I've got somebody else working on a new way of handling the categories.
so should i wait until you get that? or is that going to take a while?
just curious...
krohnathlonman
04-17-2004, 06:47 PM
The integrated admin panel is done...
the missing config.php tells me you're using that version I was talking about.....
Hialls is working on the installer right now while I work on some additional features. He's also going to do some more admincp related stuff.
I still have to write a categories administration. This possibly won't be around until I hit a milestone with my categories handling.
I've just uploaded a templates.xml for you to be able to merge it with your current style to easily get the template part of the install done.
Don't expect to see another updated file until probably Monday. I have paying projects that I need to spend time on. Plus I take Sundays off. I have to finish writing a new article for my site IANAG as well.
Also an update on the WYSIWYG editor. If anybody knows a way to have something like a checkbox to go to the HTML view Let me know! I can't posibly integrate that editor without it.
ixian
04-17-2004, 07:37 PM
Also an update on the WYSIWYG editor. If anybody knows a way to have something like a checkbox to go to the HTML view Let me know! I can't posibly integrate that editor without it.
Could you clarify this? I'm not sure what you mean.
krohnathlonman
04-17-2004, 07:55 PM
In the WYSIWYG editor.. HTMLArea Basically enable a Checkbox that switches to the HTML view. Instead of the WYSIWYG view. Say paste the stuff into the editor... Hit a box and you see all of the HTML. OR paste in HTML and check the box and go to the WYSIWYG environment.
Without that I will not do anymore work on integrating this editor. i did manage to make multiple instances of this load....
ixian
04-17-2004, 08:40 PM
In the WYSIWYG editor.. HTMLArea Basically enable a Checkbox that switches to the HTML view. Instead of the WYSIWYG view. Say paste the stuff into the editor... Hit a box and you see all of the HTML. OR paste in HTML and check the box and go to the WYSIWYG environment.
Without that I will not do anymore work on integrating this editor. i did manage to make multiple instances of this load....
Well, then, it's your lucky day, because that is already IN HTMLArea :)
Load up an instance of it. See that icon that looks like <> ? Click it, and you switch into raw html mode. Problem solved.
I don't doubt you got multiple instances of it going but - and I mean no offense, this is a really nice hack and you did better work on the output than I did - the way you do it (the add/edit articles) is really inefficent. Rather than load up ten text areas in one edit page - which looks cluttered already and is going to look really cluttered with HTMLArea loaded - you should really have a "next page" button that submits the first page and takes you to a new page to add. That's one of two ways I have usually seen multipage stuff done, as I explained in the PM, and this way wouldn't be too hard.
If you are too busy to do it I'll be happy to once you upload your next version with the fixes you mentioned a little earlier and the HTL installer is done (so there's no backtracking involved).
Also, there should really be at least an option to include the authors forum name automatically, along with having PHP automatically generate the date for you.
Like I said, don't get me wrong, I think you did a great job. I want to make this hack even better, just like the other one I am helping with, VB-Bugs.
krohnathlonman
04-17-2004, 09:41 PM
Whats the best way to handle a multi page submission like that? just have say 2 pages at a time and post them into hidden form elements?
I wrote this completely with the display end speed in mind. I had to make sure it could handle 150k+ pageviews a day because my site spikes up there often enough that I have to worry about it. I don't want my server crawling from it. In the next release you'll see in the admin panel where it's real easy to turn features off. I'm also writing some global variables for you guys to define!
Thanks for point that <> out... I overlooked it! I'll start testing it after I get my feature list taken care of ;) Something that big will be one of the last things I do! I want to make sure everythings stable and working great before I throw something as big as that into the mix.
one thing i dont get about the instructions...
Import the articles.sql file
Where do i import them from and to??? may sound stupid - but i just want to be safe!
krohnathlonman
04-17-2004, 09:53 PM
it's a .sql file.... go into phpmyadmin or command line it...
Import that into your forums DB
lol... ive never done that before...?
i'm a noob - is there anywhere to learn this?
ixian
04-18-2004, 04:28 AM
Whats the best way to handle a multi page submission like that? just have say 2 pages at a time and post them into hidden form elements?
I wrote this completely with the display end speed in mind. I had to make sure it could handle 150k+ pageviews a day because my site spikes up there often enough that I have to worry about it. I don't want my server crawling from it. In the next release you'll see in the admin panel where it's real easy to turn features off. I'm also writing some global variables for you guys to define!
Thanks for point that <> out... I overlooked it! I'll start testing it after I get my feature list taken care of ;) Something that big will be one of the last things I do! I want to make sure everythings stable and working great before I throw something as big as that into the mix.
This shouldn't affect display speed, it's all on the admin side.
The best way for THIS hack, I think, is as I kind of went into above:
Have ONE text area on the submit page.
Instead of one submit button, have two - one that says submit, one "Next Page" or "Continue" or whatever.
If the user hits submit, that means they are done adding pages, and the article is submitted exactly as it is done now.
If they hit "Next Page", then you have a subroutine that:
Submits the textarea data in the form to it's space in the db table.
Brings up a new window, textarea field called p2 like you have it now.
And so on.
OR
Have it be all one page for submitting the form/textarea data, and have the user insert a custom tag like <pagebreak> or something where they want new pages to start. Adding a button to do that automatically in HTMLArea - so the user just puts the cursor where they want the new page to start and clicks "New Page" - is so simple it's not even funny.
Now, I know you are worried about load, and that is a valid concern of course. However, you are missing something here. The <pagebreak> tag I talk about above isn't something that gets processed every time someone views an article. It's post-processing done when you submit the article. In fact, your article.php and the rest of your code won't need to be modified at all. Just the add article file.
What you do is add a routine for the pagebreak tag, and have each section submit to your table/pages. Something like this:
$textarray=spliti("\[PAGEBREAK]",$text);
Would work. Use spliti to split the text for you (spliti is case-insensitive unlike split). Now you have php doing all the work for you when you submit an article. And as I said, this is NOT done on the viewing side - it doesn't change a thing. This is all done on the submit side.
If you want, when you get your latest changes uploaded (you really need something to handle categories, but you already know that) I'd be happy to work on part of this for you. Just let me know.
ixian
04-18-2004, 04:35 AM
lol... ive never done that before...?
i'm a noob - is there anywhere to learn this?
Go to your admin cp.
Scroll down to where you see "Import and Maintenance"
Click it.
Click "execute a SQL query".
Paste in the text from the articles.sql file.
Done.
BACK UP your database first.
An error occurred while attempting to execute your query. The following information was returned.
error number: 1064
error desc: You have an error in your SQL syntax. Check the manual that corresponds to your MySQL server version for the right syntax to use near ';
CREATE TABLE amartinref (
article smallint(6) NOT NULL
could this be from installing phpMyAdmin tonight??? :\
please help - i would like to get this articles program up and running!
ixian
04-18-2004, 06:36 AM
No, phpadmin would have nothing to do with it. But if you have phpadmin why aren't you using that? Use the SQL option on the vbulletin db and paste the text in there.
I think, now that I think about it (pun!) that vb's sql query feature restricts you to one query at a time. That's probably the issue there.
Jon Ward
04-18-2004, 09:07 AM
Hi everyone -
A small problem which may also need correcting in a future release ...
Like many people I choose to adopt a prefix when setting up database tables to identify which script they belong to - this is an option for VBulletin, of course.
However, this causes a problem with articles.php in at least one SQL statement (c line 35) where hard reference is made to 'thread', one of the (unprefixed) VB table names. (The prefix setting config.php in /includes doesn't figure in the proceedings ...) There may well be other instances
Thanks K and everyone else helping this project through!
Jon
The Dok
04-18-2004, 01:38 PM
when I call up the forum/articles.php all I get is a white page. I've looked over the install instructions and everything looks correct... but seeing that I'm an extreme noobie to this stuff, I don't know. Any thing I need to look at specifically?
Thanks
Silverdawn222
04-18-2004, 02:39 PM
Did the template files you created go into the right style?
The Dok
04-18-2004, 03:28 PM
Yes, I only have one available to the members.
No, phpadmin would have nothing to do with it. But if you have phpadmin why aren't you using that? Use the SQL option on the vbulletin db and paste the text in there.
I think, now that I think about it (pun!) that vb's sql query feature restricts you to one query at a time. That's probably the issue there.
i'm still trying to set it all up (phpMyAdmin)... but this stuff is confusing! lol
when i try to set THIS up i get THIS error lol...
MySQL said:
#1045 - Access denied for user: 'root@localhost' (Using password: NO)
i thought i edited the config file right... guess not... im not sure how to connect it to my database..
nevermind... got phpmyadmin now... gotta figure out the rest!
Warning: main(config.php): failed to open stream: No such file or directory in /home/illicitr/public_html/board/articles.php on line 12
Fatal error: main(): Failed opening required 'config.php' (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/illicitr/public_html/board/articles.php on line 12
i keep getting this... any clues what im doing wrong now?
krohnathlonman
04-18-2004, 05:44 PM
Thanks for everybodies help on this! I'm learning alot as I go along... I never knew about the spliti function at processing time. I'm also getting a bit of help on the categories system. If would be great to get this thing to be able to handle an unlimited number of pages. Currently I have a number of hardcoded number related things that I'm going to need some help overcoming.
My next release will have some options in the admin panel to easily turn a number of things on/off. It's been alot of work getting this thing working just right in VB Yesterday I spent most of my development time making as many queries as possible optional. I still have to do some more with things like $unset and clean alot of things up. The next time I upload anything will be a while. I'm going to hold out for most of the features to be completed.
The table prefix issues will happen anywhere it calls for a VB table. I don't use a special prefix on any of my DBs so this was something that I overlooked. I'll make sure that I add that extra case in for that. Currently the only thing it's grabbing from the forum DB is the latest topics. not too far down in articles.php you'll see a line called $rec look inside the query and put in your table prefix if you want this to work right.
The Dok
04-18-2004, 06:35 PM
Warning: main(config.php): failed to open stream: No such file or directory in /home/illicitr/public_html/board/articles.php on line 12
Fatal error: main(): Failed opening required 'config.php' (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/illicitr/public_html/board/articles.php on line 12
i keep getting this... any clues what im doing wrong now?
Me too
ixian
04-18-2004, 08:59 PM
Me too
Guys, that's a leftover bit from his previous version. Just open Articles.php with an editor, go to line 7 where the call to config.php is made, and comment it out by putting // in front of the line.
I am sure he will correct this in his next version.
The Dok
04-18-2004, 10:03 PM
Guys, that's a leftover bit from his previous version. Just open Articles.php with an editor, go to line 7 where the call to config.php is made, and comment it out by putting // in front of the line.
I am sure he will correct this in his next version.
Thanks...
I don't get the errors but I get a plain white screen. I'm pretty familiar with some things. For instance I have vbadvanced and have done several other mods to my forum.
Not sure were to go from here... perhaps I should wait until the next version, but if this one works (and it seem to for everyone else - which points the problem to me :rolleyes:) it is something I actually need pretty badly. Anyway, if anyone knows where I need to look or what I need to do please let me know, if not - no problem.
Thanks in advance.
n8
alright! works now... just gotta figure out how to take these ad's off of here now lol...
also - how can i change the RECENT topics from showing? ehhh ill try to figure it out... i'd like some tips for the ad's tho :)
thanks IXIAN! and krohnathlonman for a great hack! well - more than a hack lol...
zennifer
04-19-2004, 02:01 AM
So I have run into a problem. If your article has a single quote in it ' you can add it with no problems but when you go back to edit it you get an error. Any suggestions on how to fix this?
-Jenn
ixian
04-19-2004, 02:26 AM
alright! works now... just gotta figure out how to take these ad's off of here now lol...
also - how can i change the RECENT topics from showing? ehhh ill try to figure it out... i'd like some tips for the ad's tho :)
thanks IXIAN! and krohnathlonman for a great hack! well - more than a hack lol...
Sounds like you have the "old" version still dude. He updated the download in his first post but forgot to edit said post to reflect the recent change. Download the hack again.
So I have run into a problem. If your article has a single quote in it ' you can add it with no problems but when you go back to edit it you get an error. Any suggestions on how to fix this?
-Jenn
Post the error. Sounds like your standard PHP not seeing escape character issue, but you need to post the error message so we know what line it's happening on.
Sounds like you have the "old" version still dude. He updated the download in his first post but forgot to edit said post to reflect the recent change. Download the hack again.
Odd... i downloaded it last night... this will be the third time lol...
thanks
krohnathlonman
04-19-2004, 10:14 AM
I just noticed my problem with editing when I went to edit some articles on my site. I did recently rewrite pretty the whole admin side of things. I'll have to take a look at the two versions and figure out what I did so differently.
joeychgo
04-19-2004, 10:21 AM
Looks like your doing a great job on a great hack. Im anxiously awaiting a version a newbie like me can install ----
spence2
04-19-2004, 12:20 PM
Would you possibly consider in your re-write allowing article posting by usergroups in addition to admin?
Thank you for your work on this!
krohnathlonman
04-19-2004, 12:37 PM
Yeah, I'm considering going about it through usergroups, but that would make me write something like a /articlecp and making a somewhat seperate admin panel. It's not that hard to do. Basically just a usergroup check at the TOP of the admin panels.
I have something like this in my printer file.
$guest = 1;
if (is_member_of(array('userid'=>$bbuserinfo['userid'], 'usergroupid'=>$bbuserinfo['usergroupid'], 'membergroupids'=>$bbuserinfo['membergroupids']), $guest)){
echo "Registered members only\n";
}
you'll have to reverse it in this case though cause you only want certain groups to see the pages :)
Hialls
04-19-2004, 01:01 PM
ah good you listened to me :D
spence2
04-19-2004, 01:06 PM
Basically, which usergroups can post articles, view articles and post comments.
A master list of contributors, alphabetized & paginated, with links to their articles (paginated).
And could the admin retain control of the types (categories) of articles that are allowed to be submitted?
You're doing great work and it is very appreciated by all!
IXIAN... i don't see any difference in any of the files i recently downloaded again... everything looks the same to me?
Anyways - i've been installing so much stuff lately i'm getting kind of lost here.
this may be the dumbest question in the thread... but HOW do i write the articles??? or ADD new articles...?
Acido
04-19-2004, 05:17 PM
IXIAN... i don't see any difference in any of the files i recently downloaded again... everything looks the same to me?
Anyways - i've been installing so much stuff lately i'm getting kind of lost here.
this may be the dumbest question in the thread... but HOW do i write the articles??? or ADD new articles...?
I cant reply the article (feedback). Sorry but i cant test this hack as it was released in despite of the fact that it is just a beta :(
haha... im dumb. i see it now in the admicp... wow ive been staying awake too long. :)
krohnathlonman
04-19-2004, 05:23 PM
Acido, look at the NAME of this forum... This forum is designated for beta hacks. If you don't want anything to do with beta hacks then don't browse this forum!
You must put the URL to Feedback in the Designated Feedback field when posting an article.
I've given Ixian all the latest updates. I'm not doing anymore work on this this week. I've got too many things to do.
Hmmm... curious now. (yeah i know i ask alot of questions) How do you figure out how big each page is?
I need to transfer some of my old HTML files to this and i need to know how to deal with the page size? Does it go to a certain amount of characters or what?
krohnathlonman
04-19-2004, 05:47 PM
MySQL limits you for to 65,000 characters since it's using "text" whereas mediumtext is 16 million
Didn't really plan on really large pages since it's built for multiple pages.
okay that's cool - i just wasn't sure if it might be something like 1,000 like VB or something.
Sounds even better! Thanks for the great "hack"! Now my vBadvanced is almost a true portal lol...
lol how do we delete the pages? :( i tried a test and now i can't seem to figure out how to delete it - also - it shows TWO articles on the test part... meaning: i neamed the test page "test" and it shows up twice????
ixian
04-19-2004, 10:50 PM
I am working on this while krohnathlonman takes care of some stuff. Right now I am fixing a couple things, then I am tackling the pagnation issues and HTMLArea. It's gonna be a few days, so be patient.
spence2
04-20-2004, 02:26 AM
After the ordeal of waiting for Jelsoft to perfect vB3 anyone who has not learned patience by now "just can't get with the program!" ;)
LOL i know you guys probably hate me... but...
[QUOTE=krohnathlonman]
You must put the URL to Feedback in the Designated Feedback field when posting an article.QUOTE]
What does that mean? was there a feedback thing with this? or do you mean a URL for the forums or something?
:ermm: confused...
sorry guys... :rolleyes:
krohnathlonman
04-20-2004, 01:56 PM
In the add article system.... there should be a field that is called FEEDBACK. That is where you put your feedback URL.
The VB "portals" are really nothing more than news pages. After the code on this is stabilized I plan on building a completely integrated solution that will approach vbportal in features. This will only happen if I still have the free time ;) The query to grab the news is actually very simple. I've got the latest topics already. a WOL is going to come pretty soon.
Next time I get a chance to work on this it'll be to start making it more portal like and building in even more user configurable options than the current build.
The Dok
04-20-2004, 02:01 PM
In the add article system.... there should be a field that is called FEEDBACK. That is where you put your feedback URL.
The VB "portals" are really nothing more than news pages. After the code on this is stabilized I plan on building a completely integrated solution that will approach vbportal in features. This will only happen if I still have the free time ;) The query to grab the news is actually very simple. I've got the latest topics already. a WOL is going to come pretty soon.
Next time I get a chance to work on this it'll be to start making it more portal like and building in even more user configurable options than the current build.
That would be great... I have an article based site and have a portal as well. This idea would be perfect for me....
Thanks for working on this, I look forward to the end result.
Pro: do you mind if I PM you?
TD
SmasherMaster
04-20-2004, 02:36 PM
A HTL version would be absolutly fantastic!!!! Would this article hack also be able to double as a reviews/cheats hack as well with some mods?
krohnathlonman
04-20-2004, 03:23 PM
For my site I'm creating a seperate file/system for reviews. After the article one is finalized I'll duplicate it for reviews. so yes it's VERy easy. I believe cheating is wrong so you won't get any help from me to create a cheats page. You will have to use your head, it's very easy to create.
SmasherMaster
04-20-2004, 05:02 PM
No lol not cheating as in real life, I meant video games. :)
Do you thin I will be able to make layout like This (http://www.ntli.info/) when its complete
Chet
Hialls
04-20-2004, 08:15 PM
Do you thin I will be able to make layout like This (http://www.ntli.info/) when its complete
Chet
Should be fine the most viewed extra are simple to code..
That is great news, we have created a load of articles for our NTLworld users and they are in need of a clean up, this article system should do the trick for us
Regards
Chet
SmasherMaster
04-20-2004, 11:16 PM
Do the users have to register to post an article/review? If so, this is already installed on my forums. :)
ixian
04-21-2004, 12:14 AM
Do the users have to register to post an article/review? If so, this is already installed on my forums. :)
Right now articles are added via AdminCP, so regular users can't even submit them.
User/Group checking doesn't appear to be in the article.php at the moment, but that's not hard to add. I will look into adding it after I get this WYSIWYG mess added.
SmasherMaster
04-21-2004, 01:15 AM
Right now articles are added via AdminCP, so regular users can't even submit them.
User/Group checking doesn't appear to be in the article.php at the moment, but that's not hard to add. I will look into adding it after I get this WYSIWYG mess added.
That would be neat. If there was a user submission page that would just rock. :)
spence2
04-21-2004, 02:25 AM
If you allow usergroups to contribute articles...could you have an "author's" page for each contributor to display their articles by title with a link to each article they have contributed?
And a master list of contributors as well that links to each author's page?
SmasherMaster
04-21-2004, 11:15 AM
If you allow usergroups to contribute articles...could you have an "author's" page for each contributor to display their articles by title with a link to each article they have contributed?
And a master list of contributors as well that links to each author's page?
That would be a great addition.
This hack has wonderful potential. I can't wait to see it fully completed.
krohnathlonman
04-21-2004, 02:12 PM
I don't like the user submitted articles "feature" Although it would be easy to add I believe all these features should remain in the admincp. Any article worth posting should go through the admin.
That is one feature I will not ever want added to the main release. It can be an addon.
I wholeheartedly agree with you on this one, the articles that our posted on our forums are posted in good faith and the best of our knowledge, the last thing we want is a users posting a fix that totally screws up somebody's PC and leave us with the blame
Any news on a release date yet
krohnathlonman
04-21-2004, 02:28 PM
Ixian is working on some big new features and it'll be sometime next week before I have the time to really dig in and finish off some things that I'd like to do. So I can tell you for sure it'll be at least a week before anything can be polished up and released.
SmasherMaster
04-21-2004, 02:43 PM
I don't like the user submitted articles "feature" Although it would be easy to add I believe all these features should remain in the admincp. Any article worth posting should go through the admin.
That is one feature I will not ever want added to the main release. It can be an addon.
Well you could have the admin validate the aticle posting like when in vB3 you can moderate threads and approve or disapprove them. That's what i'm aiming at.
spence2
04-21-2004, 03:34 PM
It can be an addon...good news.
ixian, might you consider doing this?
In many instances the articles specific to a board might not be technical or "how-to's" although they are site specific to yours.
For example, my board might be about politics and the nature of my members' articles opinion (not fact).
Or my board might be about sewing and the nature of member articles might be experiences with cotton or satin, etc.
I respect your caution in not publishing articles on a tech site that might contain harmful information.
However, the need for this limitation may not exist for many who love your hack and would benefit greatly from this amount of versatility in its application.
I'd do the add-on myself if I knew how.
zetetic
04-21-2004, 04:57 PM
I apologize for not really knowing what I'm talking about since I don't know how much (if at all) this hack is tied in to the standard forum code, but is it not possible to allow user-submitted articles and moderate them?
krohnathlonman
04-21-2004, 06:21 PM
Yes it's possible.... Just not something the developer(ME) needs so it's extremely low priority. All of the features that I want are the first to be added. After everything I want is done then I'll begin looking into what other people want. After the next release I'm open to anybody adding this feature and sending it to me for inclusion.
zetetic
04-21-2004, 06:27 PM
Sounds fair to me. :)
just a question... i know this is more or less a VB thing - but when i go and add the teplates do i need to do each Style Set seperately? or is there a way to add the templates all at once? Because i've got 5 styles right now and it's alot of adding to do lol...
just curious if anyone knows how to do this all at once.
Also - for the feedback form - i dont have one...? I dont believe anyways... i can't seem to find it in the admincp... this is where it's supposed to be?
joeychgo
04-22-2004, 03:17 AM
When might a more newbie friendly release be coming? I am dying to install this hack and like it so much I stopped other plans to accomplish something similar -
Also -- is it possible to have 2 columns of articles?
ixian
04-22-2004, 05:08 AM
Working on it, as always. This and vb-bugs are eating a lot of time. Plus I never claimed to be the world's best coder:)
As for the two column thing, it's template-driven, so you can change the html output to whatever you want. I'll probably have a couple different examples by the time this whole shooting match is done.
vbmechanic
04-22-2004, 02:35 PM
Working on it, as always. This and vb-bugs are eating a lot of time. Plus I never claimed to be the world's best coder:)
As for the two column thing, it's template-driven, so you can change the html output to whatever you want. I'll probably have a couple different examples by the time this whole shooting match is done.
Did you get the pagination down? Did what I sent help at all?
ixian
04-22-2004, 03:16 PM
Did you get the pagination down? Did what I sent help at all?
The pagination yes, the splitting not yet. Your method also involves altering the db structure and changing alot of code, so I haven't had a chance to test it yet:)
vbmechanic
04-22-2004, 03:29 PM
The pagination yes, the splitting not yet. Your method also involves altering the db structure and changing alot of code, so I haven't had a chance to test it yet:)
LOL.. change it now, or change it later ;) I'm curious to see how else you would do it.
SmasherMaster
04-22-2004, 03:30 PM
This is already getting me very excited. Any estimate at all on how long this might take? :)
SmasherMaster
04-23-2004, 04:24 PM
One other thing, would it be possible to display the articles/reviews on the vBadvanced homepage? And regarding the latest articles thing, is it possible to have 2 different "latest aticles" rows? I suppose this would be possible by installing 2 seperate instances of this hack. Like cheats.php and reviews.php. The reason for this is because I am running a video game cheat & review website. :)
One other thing, would it be possible to display the articles/reviews on the vBadvanced homepage? And regarding the latest articles thing, is it possible to have 2 different "latest aticles" rows? I suppose this would be possible by installing 2 seperate instances of this hack. Like cheats.php and reviews.php. The reason for this is because I am running a video game cheat & review website. :)
I keep getting an SQL error everytime i try to edit my pages on this...?
1064 MySQL error... Can someone tell me how to fix this? Even on the pHpMyAdmin is says i have a SYNTAX error in the database... :(
Not familiar with SQL, please help!
oops ^ i quoted that cause i liked the idea although my reply to it didn't show up before my Help question.
speedway
04-25-2004, 04:30 AM
I'm just wondering here why Htmlarea is being considered. VB 3 comes with a great WSIWYG entry system, why not just include that. It is already inbuilt, does some good stuff. In essence, why reinvent the wheel?
renderst
04-25-2004, 06:10 PM
Hey, i installed the hack and everything.
But it says to upload a config.php file (which didnt come with the package) where do i get it?
I tried to copy and paste the confid from my includes folder, which made it work.. but how do i edit the template?
Jolten
04-25-2004, 08:33 PM
I realize support is limited.. but...
I want to include my vb header in the article system, not run a second header. I accomplished this on the article home page by just changing $home[header] to $header (same thing with the footer). But I can't seem to gt the header to appear on teh article pages. if I insert $header I get "Reference ID:8" displayed on the page. Any help woul dbe appreciated. The footer works fine.
Jolten
04-26-2004, 01:50 AM
Nevermind. Got it sorted by changing the articles.php file. Also cut down on a lot of unneeded templates.
FYI... the html in the files is really not that great. The FONT tag is old and outdated and shouldn't be used for anything.
zetetic
04-26-2004, 03:30 PM
Hey, i installed the hack and everything.
But it says to upload a config.php file (which didnt come with the package) where do i get it?
I tried to copy and paste the confid from my includes folder, which made it work.. but how do i edit the template?
It was mentioned earlier in this thread that the config.php file is no longer included or required. The instructions.txt file simply hasn't been updated to reflect that you'll want to upload printer.php now and not config.php.
Unless I'm mistaken you can also open articles.php and comment out this line:
require("config.php");
any help with fixing this error?
Tim Wheatley
04-27-2004, 09:16 PM
Just wanna say thanks... It worked perfect straight off for me (after removing the require config line). I've modified it a bit and removed 5 queries.... Thanks for this, very nice. :)
You can see it in action here:
http://forum.rscnet.org/articles.php?aid=1&page=1&topic=GPL1965
Marulatree
04-29-2004, 01:17 PM
any chance of posting your updated code and the dev re-attached the updated code in the first post?
Just wanna say thanks... It worked perfect straight off for me (after removing the require config line). I've modified it a bit and removed 5 queries.... Thanks for this, very nice. :)
You can see it in action here:
http://forum.rscnet.org/articles.php?aid=1&page=1&topic=GPL1965
krohnathlonman
04-29-2004, 08:18 PM
Not going to release any updated code until it's ready.... It will be posted when it's ready and not a minute sooner ;)
The Dok
04-29-2004, 08:49 PM
krohnathlonman,
If I could make a suggestion or two...
If you aren't already, is there anyway you could allow for a 'teaser' of each article of say 25 characters (or perhaps admin adjustable) in the article list menu.
Also, add the Authors name and the date written under the article list menu.
Just suggestions. Once I got mine (it was all my fault that it didn't work, I'm not even going to say what I did - kinda embarrassing) working I really like it and it is going to work perfectly for me and these suggestions are merely that... suggestions.
SmasherMaster
05-01-2004, 01:37 AM
Any progress updates? I'm very eager to try this. :)
krohnathlonman
05-01-2004, 01:48 AM
I have a version I just upgrade IANAG to that has options in the control panel plus installer without any of the major feature additions that are in the works. I'm tweaking it some more and stress testing it.
Most of my time has been spent on a news system... Ixian will have to update you guys on his feature additions. Be patient, when it's ready for its next release stage I'll let you guys know. THink of the MONTHS VBP wasn't even available for download ;) I'm not saying it'll be months, but I am saying it does take quite a bit of time.... Time that I don't have much of right now to dedicate to a non paying project.
Marulatree
05-04-2004, 06:47 AM
I see there is a Articles system being used on john's Arcade website: http://www.v3arcade.com/play/article.php? - Is this the public release of you HACK?
Hialls
05-04-2004, 01:24 PM
I see there is a Articles system being used on john's Arcade website: http://www.v3arcade.com/play/article.php? - Is this the public release of you HACK?
No john is making a seperate project vbarticles i believe it the title, and i thought it was for money? Not a free hack? Don;t quote me on that though :P
Aleksey
05-04-2004, 02:15 PM
Don't feel like reading all these 9 pages, are the zips in the first post working good?
SmasherMaster
05-05-2004, 10:33 PM
No john is making a seperate project vbarticles i believe it the title, and i thought it was for money? Not a free hack? Don;t quote me on that though :P
Looks very nice for a paid hack. I wish it was free like the v3 arcade :p
Jolten
05-06-2004, 02:35 AM
It would be great if you could add a field for a short description of the article along withthe title.
Aleksey
05-06-2004, 03:27 AM
hello, do the files in the first post work without any errors?
zennifer
05-07-2004, 07:14 PM
I have this installed and have made some customizations. I was just wondering if plans were in the works to integrate the vBulletin's existing WYSIWYG editor into the article submission/edit page?
krohnathlonman
05-08-2004, 05:47 AM
The VB built in one, no.... possibly a different one. I have been working on the news side of things quite a bit lately. I'll be able to have a full news + articles build probably as a part of the official release whenever it comes around....
still no help with the DB error huh? lol... screw it...
can't wait for the final release to come out... i dont even wanna mess with the one i got... can't delete or edit anything without getting errors... :(
krohnathlonman
05-08-2004, 07:51 PM
Line 1 of my opening post said
Alright, here's my Beta... Do not even touch this unless you know what you're doing!
The edit error has been fixed, and I've stated MANY times that if you don't know what your doing then wait for the actual release.
SmasherMaster
05-08-2004, 10:45 PM
Line 1 of my opening post said
Alright, here's my Beta... Do not even touch this unless you know what you're doing!
The edit error has been fixed, and I've stated MANY times that if you don't know what your doing then wait for the actual release.
How far away is it now? :)
krohnathlonman
05-08-2004, 11:04 PM
it's alot further along than it was a week ago :)
I've mainly been focusing on the news side of this and it's no longer going to be just an article system... It's going the total portal route.
This means the release gets pushed back quite a bit but when it finally arrives it'll put the smackdown on the competition. I'm contemplating at what point to do a preview of it.
Jolten
05-09-2004, 07:34 AM
FYI folks... you can edit the data in PHPMyAdmin if you have it installed.
InsaneContender
05-09-2004, 02:23 PM
Why are you going for the full portal route???
Personally, I hate portals, and I was hoping someone would make a good article system for vB. Not a portal. Come on now...
SmasherMaster
05-09-2004, 03:46 PM
it's alot further along than it was a week ago :)
I've mainly been focusing on the news side of this and it's no longer going to be just an article system... It's going the total portal route.
This means the release gets pushed back quite a bit but when it finally arrives it'll put the smackdown on the competition. I'm contemplating at what point to do a preview of it.
Ugh...more waiting...I just want the articles. :D
mark99
05-10-2004, 10:33 AM
Have to agree, we have PORTAL system's coming out of our ears now so don't really need another ;).
SmasherMaster
05-10-2004, 12:44 PM
Oh forget this, i'm gonna try to install the beta and modify to my needs...
krohnathlonman
05-11-2004, 03:42 PM
no... there's not a real portal anywhere to be found...... There's bits and pieces floating around YES. I'm making a complete package.
Anybody that wants to just use the article part will easily be able to... It WILL still be easy to use by itself.
animate
05-11-2004, 09:34 PM
Hi,
I have downloadet the file now, and i can only found a article-system_templates.xml in the zip file, how can i install this xml file? I cannot found any instructions.
thx
seiya
kaotic
05-12-2004, 08:19 AM
... why did you remove the attachment?
krohnathlonman
05-12-2004, 02:11 PM
Too many people continually asking questions about it.... basically this part of the BETA is over. I've received all the feedback I need.
vBulletin® v3.8.12 by vBS, Copyright ©2000-2024, vBulletin Solutions Inc.