PDA

View Full Version : vbArticles v0.4 -- For your repository of Articles/Tutorials/FAQs etc.


Pages : 1 [2]

4Square
10-23-2003, 07:42 PM
I have a question about the vbhome hack for the articles addon. Right now, the hack just shows the catagory names and descriptions. I'm trying to make it so that it shows the number of articles in each catagory as well as the most recent articles (I haven't started on that part yet though).

Anyways for showing the number of articles, I found the code in articles.php which does the actual pulling from the db...

// count
$tutcount = $DB_site->query_first("SELECT COUNT(*) AS artid FROM vbArticles_content WHERE categoryid=$catid and valid='1'");
$totaltuts = number_format($tutcount['artid']);
// count

and of course $totaltuts being the variable used to show the actual number pulled.

Now, I've tried a few different placements in index.php file for vbhome, but have not been able to figure out how to add it to the code which is already in there for the article bit. Basiclly I keep getting mysql errors where ever I put it. Any ideas on how I could get this working?

cinq
10-25-2003, 02:42 PM
Looking great. Really looking forward to an update. Cinq, if you would consider it, when this hack is completed - I'd be willing to pay for a vB3 conversion. This hack and the Link Database hack is all that's holding me back - not that I mind as all is working well! :)

Thanks again.

I'm still some way off from finishing this for a Full Release for vb2.
When that's done, then we'll talk vb3 version :D

sabret00the
10-25-2003, 04:02 PM
i've not managed to get this to work :(

cinq
10-27-2003, 04:58 AM
Will be scraping the idea of using vbcode for this hack.
No point since a WYSIWYG editor will be offered to the user as well as the admin who is submitting the article.

Anyways, more screenies on the progress :

1) View All articles
2) View All categories
3) Add new article

FleaBag
10-27-2003, 07:00 AM
I dunno if it's such a good idea to get rid of the support altogether, some people don't like WYSIWYG.

gmarik
10-27-2003, 11:31 AM
Cinq, how about my editor, not good enough?!

cinq
10-27-2003, 11:16 PM
Looks like you never can please everyone, can you.

Give them a blank content box, they want more.
Give them vbcode, they want more.
Give them WYSIWYG, they want more.

geez..

maybe I'll just stick to blank content boxes and let users learn to code in HTML and don't be lazy. :p

cinq
10-27-2003, 11:17 PM
Cinq, how about my editor, not good enough?!
I don't understand how it works. In fact, i don't even know what format that is ?! lol :p

gmarik
10-29-2003, 10:56 AM
An IE5.5 and up format.
You can just read about it in google.com ...

DiscussAnything
10-29-2003, 06:17 PM
cinq, is it possible to provide the bugfix for the dash problem? I see it's fixed in 0.5, but its really bugging me and if it can be resolved while we all wait for 0.5, that'd be great.

So far great hack :)

thanks

-------
Update: Prob fixed, thanks cinq

corsacrazy
11-04-2003, 02:11 PM
more updates cuming any time soon mate ? sorry if your busy :(

gmarik
11-04-2003, 06:40 PM
And thumg.gif's would be great too.

corsacrazy
11-12-2003, 01:05 PM
0.5 features look good i cant w8 :P

Andrew111888
11-28-2003, 09:51 PM
Does anyone else have the problem of submitting a rather large article but it not showing up?

If I fill each field with something like "asdfasf" it submits and displays fine, but if I put in an actual article it says added to the database, then doesn't show up.

I tried changing the content field in the db to longtext, but it's still broken..

corsacrazy
11-28-2003, 09:54 PM
i havnt installed to b honest as tthis hack is sttill betta im waitin 4 a nice stable release :)

ITPMenace
11-29-2003, 03:36 AM
OK...it's been way too long since I installed this hack. Do you have a "version indicator" in any of the files so I can tell how much of the upgrades need to be done???

cinq
11-29-2003, 04:14 AM
I dont have the time to work on this right now.
If you're patient, hold on and give me time. :)
If you're not, feel free to work on the hack yourself for the features you need if you are proficient enough.
Personally I already have all the features i need in my own live system. Addition of features only serve for the benefit of you folks.

corsacrazy
11-29-2003, 07:38 AM
I dont have the time to work on this right now.
If you're patient, hold on and give me time. :)
If you're not, feel free to work on the hack yourself for the features you need if you are proficient enough.
Personally I already have all the features i need in my own live system. Addition of features only serve for the benefit of you folks.

no problems mate ur real life is more important than this virtual internet life that takes over us i understand

Andrew111888
11-29-2003, 01:43 PM
Cinq, how would I fix the large articles not submitting but short gibberish articles do?

FleaBag
11-29-2003, 02:07 PM
That's a question a lot of people would like an answer to LOL. :)

Aaron1
11-29-2003, 04:56 PM
Can't wait until version 0.5 comes out! ;-)

This is looking very promising. The first thing that i would like though is the automatic date & user who is filling out an article.

Thanks for your work Cinq!
Appreciated

cinq
12-01-2003, 05:18 AM
Cinq, how would I fix the large articles not submitting but short gibberish articles do?
It's not a matter of the length of article, i believe its a aprostophe (sp?) somewhere in the content that is causing havoc.
It has been fixed for the next release.

cinq
12-01-2003, 05:19 AM
The first thing that i would like though is the automatic date & user who is filling out an article.

They have already been implemented.
Check back on the first page of this hack for updates.
Will update it as and when i have the time to play with the code.

FleaBag
12-01-2003, 08:06 AM
It's not a matter of the length of article, i believe its a aprostophe (sp?) somewhere in the content that is causing havoc.
It has been fixed for the next release.

The length of the article does make a difference. I myself have the same problem, where large articles simply disappear.

cinq
12-01-2003, 01:47 PM
Discontinuing this hack.

assassingod is doing something similiar, you can get it here (https://vborg.vbsupport.ru/showthread.php?t=58919&page=1&pp=15)

dontpanic
12-01-2003, 02:25 PM
cing, sorry to see it come to an end. Thanks for all your hard work on this hack. I will most likely continue to run it until I make the move to vB 3.0 using CPublish.

Thanks again!

ITPMenace
12-01-2003, 02:32 PM
I'm disappointed to see this one end...I hate switching midstream to something else. I'm sure you'll still have people wanting to use your hack if you contine to develop it.

FleaBag
12-01-2003, 11:04 PM
Ditto. Shame to see this one die as it was going well. Oh well I guess it's copy and paste time to the new system.

Giveit2u43
12-04-2003, 04:18 PM
Have looked at the other hack and find it`s current functionality not upto what seemed to be coming with the next version of this hack, not to mention having to change the data over to that hack.. if your determined to discontinue it could I have the code you already have done for v0.5 and your permission to continue it for those that would prefer to use this hack?

obsidian
12-04-2003, 05:20 PM
I agree....I think this hack shows much more promise than the other one. This hack also has an existing userbase. I would be willing to help someone get .5 up and running

cinq
12-05-2003, 02:53 AM
I may work on this after Christmas, but cannot promise anything as time is really limited and don't wish to get others' hopes up.

After i finally finish up on all the features i promised, i will release it as a Full version and not beta.
cheers folks and thanks for the encouragement, you're a great bunch.

memobug
12-06-2003, 01:28 AM
Discontinuing this hack.

assassingod is doing something similiar, you can get it here (https://vborg.vbsupport.ru/showthread.php?t=58919&page=1&pp=15)

Is that why there's no longer any installation attachment in the Download Here post (https://vborg.vbsupport.ru/showpost.php?p=408918&postcount=3)

???

Regards,

Matt

Giveit2u43
12-07-2003, 04:02 AM
Cinq, I hope you do decide to continue work, it`s a great hack already and has the potential to be awesome.. I think the vBulletin World is big enough for two tutorial/article hacks ;)

Anyways if you do decide to come back to this after christmas then I`d be happy to help, if not I`d be happy to take over the project as I originally said.

Cheers.

FleaBag
12-07-2003, 12:08 PM
It would be nice if you would put the original file back, so I can at least fully un-install this hack.

cinq
12-07-2003, 12:34 PM
Remove articles.php , vbarticlesadmin.php from your forum root and forum admin dir respectively.

Remove all templates that has vbarticles_ prefixes.
In your database, remove vbarticles_content and vbarticles_cat

Happy uninstalling.

FleaBag
12-07-2003, 02:45 PM
Thanks mate, I couldn't remember if I'd made any changes to functions.php e.t.c. Sorry to see this hack go, thanks for the support and work in the past. Good luck in future projects. :)

cinq
12-08-2003, 03:47 AM
In admin/adminfunctions.php

Remove the code

// ###################### Start maketableheaderview #######################
function maketableheaderview ($title,$anchor="",$htmlise=1,$colspan=6) {
// makes a two-cell spanning bar with a named <A> and a title
// then reinitialises the bgcolor counter.
global $bgcounter;
echo "<tr class='tblhead'><td colspan='$colspan'><a name=\"$anchor\"><font size='1'><center><span class='tblhead'>".iif($htmlise,htmlspecialchars($title),$title)."</span></center></font></a></td></tr>";
$bgcounter = 0;
}


In admin/index.php
Remove the code

makenavoption("View/Edit/Add article","vbArticlesadmin.php?","<br>");
makenavoption("Add Category","vbArticlesadmin.php?action=addnewcat","<br>");
makenavoption("View all articles","vbArticlesadmin.php?action=viewbulk","<br>");
if ($valid == '1'){
makenavoption("Validate New","vbArticlesadmin.php?action=validate");
}
makenavselect("vbArticles");


In admin/template.php
Remove the code

$only['vbArticles'] = 'vbArticles';



That would make it a clean uninstall :)

FleaBag
12-08-2003, 11:42 AM
Cheers for the tip on adminfunctions. Found that the only way I could delete the templates was via phpMyAdmin as they had been inserted into the default template set.

VPREATR
12-11-2003, 03:03 AM
Question, out the two available solutions (this) and the Tutorial Hack - which offers the most?

Thanks!

memobug
12-11-2003, 04:38 AM
Question, out the two available solutions (this) and the Tutorial Hack - which offers the most?

Thanks!
Yours may be a moot question since there doesn't appear to be any way to download this hack any longer. However, this hack looks better to me, from the installations I've seen.

Regards,

Matt

cinq
12-12-2003, 01:39 AM
Yours may be a moot question since there doesn't appear to be any way to download this hack any longer. However, this hack looks better to me, from the installations I've seen.


hehheh :D
took it down as it is no point installing a buggy version.
when 0.5 is cleaned up and proper, will then post the attachment again in a new thread in Full Releases section.

sabret00the
12-12-2003, 10:51 AM
when will that be?

Russ_T
12-26-2003, 04:30 PM
Cinq: I am running 0.3 and apart from the bugs its doing a good job for everything at www.zclub.net thank you :-)

Are there any plans to add a proper independant admin page later on? In our club I'm dividing jobs up, we have a gallery admin and such but I really dont wanna give out access to my forum control panel so people can moderate the articles.

Also a "tick" mod, like photopost has so that when a new article is uploaded you get a visible tick for admins to see or an e-mail would be very nice :-)

Thanks for your time, hope 0.5 is about soon :D

Dominick
12-31-2003, 01:41 PM
this looks to be a good hack. Im keen on the next release

cinq
01-04-2004, 12:55 AM
Yipee, seem to have sub categories working :D

cinq
01-04-2004, 01:00 AM
Are there any plans to add a proper independant admin page later on? In our club I'm dividing jobs up, we have a gallery admin and such but I really dont wanna give out access to my forum control panel so people can moderate the articles.
Also a "tick" mod, like photopost has so that when a new article is uploaded you get a visible tick for admins to see or an e-mail would be very nice :-)


Russ, I'm afraid I wont be working on an independent admin page as this hack is meant to be integrated with the vb admin panel all along.

A future additional feature would be to automatically send a PM or email ( by admin choice/option ) to the admins when a new article is submitted, so that the admin will know to check and validate or delete if neccessary.

Time is very limited but rest assured i work on this all i can. :)
Just be patient people and thanks for your understanding :D

dontpanic
01-04-2004, 01:00 AM
Yipee, seem to have sub categories working :DAWESOME!! Cing, you know my v 0.3 is hacked all to hell and back...but I am anxious to see the next version with subcategories and all of the other goodies you've going on. If it can be done, please consider my earlier request that the script be modified to write the complete URL into another field in the row. This of course would be dynamic as each new ID was generated. I use to get my search engine right that indexes the Library, so there might not be too much demand for it. Let me know if you have a question about what I'm trying to get at.

cinq
01-04-2004, 01:04 AM
dontpanic , will try to see what I can do for you once I finish up with this hack. Will be considered an addon ( assuming I know how to do it heh :p ) since it is likely not a feature wanted by many others.

dontpanic
01-04-2004, 01:08 AM
Understand. I just added the extra field to the articles table and I put the URL in by hand after the fact using phpMyAdmin. With as many articles as I've got currently, and as many as I've got coming up, the addition of the search engine was a real requirement for MCSE World. Again, the hack is awesome and the sub categories is even better. Looking forward to the next version!

dontpanic
01-04-2004, 01:11 AM
Oh yeah...one more thing...something I just noticed yesterday as a matter of fact. Date sorting is screwy when multiple years are involved in regards to the X most recently added articles display on the main page. I had December 2003 articles that showed as more recent than January 2004 articles when the dates were in the format of mm/dd/yyyy. I have changed them to long dates now like December 1, 2003. I know this is due to that field being plaintext instead of a date field. Maybe you fixed in v 0.4...just thought I'd bring it up.

cinq
01-04-2004, 01:43 AM
Yep , the field is now a timestamp :)
I think I am going to have nightmares with the upgrade script ...... lol

dontpanic
01-04-2004, 01:49 AM
OK, I think I might manually update the applicable code in the meantime then. :)

Thanks again and looking forward to the next version!

cnczone
01-04-2004, 04:55 AM
Please tell me your going to make this hack work for VB3.

cinq
01-05-2004, 05:10 AM
cnczone, I'll see how it goes, my main priority now is to push out the full version for v2.x.x :)

cinq
01-05-2004, 05:12 AM
A look at the article validation portion.
Nothing is fixed at this point, just posting updates as I go along and also to draw ideas for suggestions to improve on :)

D|ver
01-05-2004, 02:22 PM
yeah that would be so great, if this hack would be also available for vb3 :D

chrisvonc
01-09-2004, 12:01 AM
I too am eager to give the new version for vB2.3.x a try as I didnt get a chance to try the original. Something like this may be perfect for all the articles that get submited to my site! I will have to watch the thread closely now.
:)

Chris

Okiewan
01-10-2004, 04:53 PM
ditto

Drile
01-11-2004, 04:35 AM
yeah that would be so great, if this hack would be also available for vb3 :D

Huge, huge, huge thumbs up.

obsidian
01-11-2004, 12:49 PM
... just posting updates as I go along and also to draw ideas for suggestions to improve on :)

It would be nice to have thumbnail images on the articles themselves. I have been using this for reviews and having a graphical image of the item reviewed would be great. It could even be done like the main category where you have to specify the thumb yourself.

ehsanix
01-11-2004, 05:57 PM
yeah that would be so great, if this hack would be also available for vb3 :D
Waiting for the vb3 version of this hack ! :)

Deska
01-15-2004, 10:26 AM
Where to download the hack?
Thank's...

memobug
01-15-2004, 05:56 PM
Where to download the hack?
Thank's...

Dear Kael-el/Clark:

The author pulled the code because of a bug issue. It would be handy if he has the time to make a note in the original post at the front of this thread. I found out here:
https://vborg.vbsupport.ru/showpost.php?p=451579&postcount=291

Regards,

Memo

pigsy
01-22-2004, 10:59 AM
cinq, looking forward to the new release - any news on progress? Thanks!

cinq
02-05-2004, 10:02 AM
Additional of 2 more new features just implemented.

- Pagination of article ( pagebreak string set by admin )
- Pagination of articles under each category ( number of articles shown per page set by admin )

:D
Patience my friends , my comp went down on me and all my data unfortunately was not backed up.
Had to work on this from scratch again .... but it is coming along , slowly but surely.

cinq
02-05-2004, 10:06 AM
Dear Kael-el/Clark:

The author pulled the code because of a bug issue. It would be handy if he has the time to make a note in the original post at the front of this thread. I found out here:
https://vborg.vbsupport.ru/showpost.php?p=451579&postcount=291

Regards,

Memo

Thanks for covering me , memo.
Yep, i pulled it cos i didnt want people installing the hack and giving the same old bug feedbacks.
They have all been fixed in the upcoming version .... now let's hope i dont introduce more bugs with the new features lol

Russ_T
02-06-2004, 09:08 PM
Hey cinq,

I just did a 2.3.4 upgrade and now I wish I hadn't! lol

Hows the new version coming please? Until it's out www.zclub.net is looking somewhat bare. If theres anything I can do to assist let me know!

Cheers

cinq
02-07-2004, 12:22 AM
Wat's wrong with the upgrade ?
( havent tested this hack on 2.3.4 though , am working on it on a localhost version of 2.3.2 )

Well, I am having a tough time figuring out the commenting and rating system , any form of leads would be good :)

Russ_T
02-09-2004, 09:00 PM
Well it just doesn't run on 2.3.4 at all :( :)

It doesn't display any articles or allow you to edit them. The same goes for vbLinks which has borrowed heavily from vbArticles I believe?

If I can help at all please let me know, without vbArticles my car club has no faq, no classifieds, no reviews, no links, nothing worth having! :)

cinq
02-09-2004, 10:08 PM
That's odd, can anyone specify what changes were made in 2.3.4 ?


The same goes for vbLinks which has borrowed heavily from vbArticles I believe?

It is the other way around actually. I initially did this hack from an idea i got while looking at the structure of vbLinks and from my own requirements for my personal site. The code has changed quite a lot but I still owe much credit to Arunan who first created vbLinks for getting me off my feet on this hack :D
Believe it or not, his hack got me into PHP coding and vb hacking :D

cinq
02-10-2004, 05:55 AM
I'm currently working on the comments function.

Got some questions here :

1) How can I include a user avatar ? What kind of SQL Join query should i execute ?
2) How about user titles ?
3) And also , how can i enable the parsing of smilies in the comment bits ? Any clue as to which php file i can look into to draw ideas from ?

Any help would be appreciated in getting this hack pushed out faster :)
thanks folks :D

cinq
02-10-2004, 05:59 AM
How it looks so far ...

Not much to look at really, now working more on the functionality than the look.
'Beautifying' of the templates layouts will be left to the final stages :D

TheComputerGuy
02-11-2004, 12:17 AM
This would make a great addition for vB3. I might look into the features you mentioned above.

Olate
02-13-2004, 04:31 PM
Does this work with vB3?

cinq
02-16-2004, 10:10 AM
My NEW HD just crashed on me !!! arghhhhhh did not have backup done....argh !!!!
sorry , i had to vent

:(:(:(

Russ_T
02-16-2004, 04:03 PM
Unlucky.

Erm well I don't know the exact changes but I'm sure it will be easier to run Beyond Compare on version 2.3.2 and 2.3.4 or something :)

I really would help if we could get it going for 2.3.4, my site has been pretty silent since we lost all the articles and links etc :(

Russ_T
02-17-2004, 04:48 PM
I'm gonna see what the differences are between 2.3.0 and 2.3.4 and try to track down the bug for you... will let you know later what's changed to see if you can include it in the next revision.

Cheers

Fenriz
03-14-2004, 03:35 PM
Is there any alternative hack for articles? ..'cos I've already broken hope to see 0.5 version of this hack..

Russ_T
03-14-2004, 05:28 PM
Ahh I reinstalled and there dont appear to be any issues worth reporting with 2.3.4

aakk
03-15-2004, 05:39 AM
Download hack here


Latest dated 01/08/2003.
All bugs and fixes in ALL posts before post 183 taken care of :)


WHERE IS THE DOWNLOAD LINK? :devious:

Fenriz
03-15-2004, 06:32 AM
WHERE IS THE DOWNLOAD LINK? :devious:
heh, nobody knows

Gary King
05-25-2004, 12:54 AM
Any future release for vBulletin 3 that might be available soon?

cinq
05-25-2004, 01:03 AM
I lost the old code in a comp crash.

Have redone some coding for my own site which runs on 3.0.1. Everything is pretty hardcoded though, but that's fine cos it's for my own site.
preview (http://www.petfrd.com/forum/articles.php)

But since there seem to be other hacks around now that do the same thing, i shan't be investing time and effort into getting my hack published.

If someone would be so kind as to attach the latest vbarticles for vb2, it would be most appreciated.

Gary King
05-25-2004, 01:25 AM
Alright, I understand; but how much have you got done? If done, or almost, then please release soon :D

joeychgo
06-04-2004, 12:51 AM
How are we doing on this????

MissKalunji
06-22-2004, 07:26 PM
Download hack here


Latest dated 01/08/2003.
All bugs and fixes in ALL posts before post 183 taken care of :)



Where Can i get this hack???

I dont see n e where to download :surprised:

Masterfulkiller
07-16-2004, 11:45 PM
I Need a Mod that let s me post tutorials in an organized fashion and on vb3 are there any?

cinq
07-17-2004, 01:03 AM
I Need a Mod that let s me post tutorials in an organized fashion and on vb3 are there any?
Yes, there are.
Do a search.

Masterfulkiller
07-17-2004, 06:56 PM
ever thought that i had? :o

dndog
07-17-2004, 07:05 PM
The two demos running this article system don't work...

akonze
07-23-2004, 10:14 PM
LOL, and this thing is listed for the upcoming HOTM...

No download...
No demos...
No votes...

cinq
07-24-2004, 12:28 AM
Dude, you got this hack confused with another.
That's what happens when the name of the hack is similar.