Go Back   vb.org Archive > vBulletin Modifications > Archive > vB.org Archives > vBulletin 3.0 > vBulletin 3.0 Full Releases
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools
v3 Articles 1.0.1 - [vB 3.0.1] Details »»
v3 Articles 1.0.1 - [vB 3.0.1]
Version: 1.0.2, by John John is offline
Developer Last Online: Nov 2023 Show Printable Version Email this Page

Version: 3.0.1 Rating:
Released: 06-06-2004 Last Update: 12-26-2004 Installs: 307
 
No support by the author.

v3 Articles 1.0.1

By John Warwick, Web Development Freelancer (john@eovieinteractive.com)
Fully tested and working on vBulletin 3.0.1.
Part of www.v3arcade.com

Important Security Fix - Please download v3 Articles 1.0.2.zip
---
If you are upgrading, please read Security Fix Upgrade.txt
If you are installing for the first time, read Instructions.txt


INTRODUCTION
v3 Articles was originally written for the fine people at www.DodgeTalk.com, for use with their vBulletin forum. The purpose of this add-on is to provide a place in vBulletin for articles (e.g. news, reviews, editorials) similar to that of the thread interface - but with a more content-oriented approach.

Features:
- Usergroup based permissions
- Full editing/deletion/moderation system
- Article attachments
- Article ratings
- Comments system
- "Featured Article" system, give great articles top exposure
- Introduction and category description text
- Smilies and icons
- Full BBCODE/WYSIWYG support
- Attachment captions
- Full page navigation for articles and comments
- Comment dupe checking
- Status icons
- View users' ratings in their comments

Alternatively, check the screenshots!

I've tried to make the installation as quick and painless as possible. Enjoy!


WORKING DEMO
You can see a working demo of v3 Articles at www.v3articles.com. (Part of the v3 Arcade website.)


MANY THANKS
- Ron Wilson, of DodgeTalk.com
- Everyone on v3Arcade.com who donated to keep the server running


SUPPORT
Support can be found in the v3 Articles thread on vBulletin.org, and shortly on v3arcade.com. (I'll set up a priority support system.) As always, I'll happily give support for real problems. However, a lot of the time people ask questions about things which have already been answered hundreds of times. If you have a problem caused by not reading through the instructions or checking through the support thread, I can't guarantee a response.


DONATIONS
v3 Articles is free, but my server isn't! Any donations are hugely appreciated in order to help me keep my v3 sites running. (PayPal: john@eovie.com). Many thanks to those who donate!
If you're looking for someone to install v3 Articles for you, email me at john@eovieinteractive.com.


PLEASE CLICK INSTALL
Needless to say, if you install this please click the "Install" button. Thanks.

Show Your Support

  • This modification may not be copied, reproduced or published elsewhere without author's permission.

Comments
  #692  
Old 11-28-2004, 10:07 PM
dnoyeb2002 dnoyeb2002 is offline
 
Join Date: Aug 2003
Location: Ennismore, Ontario
Posts: 16
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Great Mod!

Just one question, if someone would be willing to help me. . .

I am looking to order the articles in order of title, as opposed to id # . . . could someone possibly help me figure out where I would need the ORDER BY title ASC line to go please . . . thanks!

Thanks In Advance
Reply With Quote
  #693  
Old 11-29-2004, 11:29 PM
JustAskJulie JustAskJulie is offline
 
Join Date: Nov 2002
Posts: 197
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Qwest
Anyone figured out how to get this hack to allow adsense code in the articles?

I want to allow my users to ad adsense ads to the article aor have it auto submit ads in the article body.
While I don't know if you could add the code into the actual article body (ie. allow the user who submitted the article to add the code), you could add the code to the template and it would show up on every article.

For that matter, what type of code does Adsense use? is it not just HTML? If so, then you should be able to just allow HTML in the articles and then users could submit the code if they chose to.
Reply With Quote
  #694  
Old 11-29-2004, 11:41 PM
bendigo-tech bendigo-tech is offline
 
Join Date: Aug 2004
Location: Australia
Posts: 78
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by JustAskJulie
For that matter, what type of code does Adsense use? is it not just HTML? If so, then you should be able to just allow HTML in the articles and then users could submit the code if they chose to.
Seems to me like you have just answered your own question.
Reply With Quote
  #695  
Old 11-30-2004, 07:33 AM
smdani smdani is offline
 
Join Date: Nov 2004
Posts: 106
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Good hack, but it is very buggy and standalone is not a good idea. I unistall and wait for next release. THANKS A LOT!!!!

Some Bugs found:
- If you [ Feature This Article ] you can not undo.
- When I attach an image I can only see a X where image must be loaded
Thumbnails work fine on my forum. The article thumbnails are not working.
- I have just see at your articles site that someone hacked your articles system, maybe there is a way of editing articles without permissions
- Last user who made a comment isnt linked to his profile (linkvalue is empty
- Questionmarks wont be parsed (it shows the HTML-Code instead)
- When editing an article, if you preview the changes and then save it, it saves the original. When you click preview, it enters the original text in the textbox.

Some suggestions for the future
- set permissions on each category
- vbulletin Search system index articles - Integrated with vBulletin Search
- Guests can write comments
- Printable Version for Articles
- New Articles Shown in Bold
- Ability to Move Articles to Different Categories
- Listing in Who's Online
* Viewing Article
* Article Title (with link to specific article)
- External Javascript feed to show last articles anywhere on the website
- A "Byline" field to be displayed next to the article. Too often I will upload an article but it was actually written by somebody else.
- integrate this into the forum itself, so that articles automatically become threads and comments are replies
Reply With Quote
  #696  
Old 12-01-2004, 07:19 PM
intrigue intrigue is offline
 
Join Date: Nov 2002
Posts: 89
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

hey i cant seem to find the place where to post new articles and also is the featured article hack a seperate thing?
.matt
Reply With Quote
  #697  
Old 12-02-2004, 02:57 AM
Pitman's Avatar
Pitman Pitman is offline
 
Join Date: Dec 2001
Posts: 99
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by smdani
- I have just see at your articles site that someone hacked your articles system, maybe there is a way of editing articles without permissions
In article.php, Search For:

Code:
	$article = $DB_site->query_first("
	SELECT article.*, articlepost.postbody AS content, article.articlehash FROM " . TABLE_PREFIX . "article AS article
	INNER JOIN " . TABLE_PREFIX . "articlepost AS articlepost ON(articlepost.postid = article.firstpostid)
	WHERE article.articleid=$articleid");
Just after it, add this:

Code:
	if ($article['articleuserid'] !== $bbuserinfo['userid'])
	{
		if (!($permissions['articlepermissions'] & CANEDOTHART))
		{
			print_no_permission();
		}
	}
	else
	{
		if (!($permissions['articlepermissions'] & CANEDOWNART))
		{
			print_no_permission();
		}
	}
That should fix it
Reply With Quote
  #698  
Old 12-02-2004, 03:01 AM
SilentK SilentK is offline
 
Join Date: Nov 2004
Location: Maryland
Posts: 57
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I am having some trouble getting this to work.
Quote:
Invalid SQL: SELECT * FROM article
WHERE categoryid=1 AND (articleuserid=485 OR open IN (0,1)) ORDER BY dateline DESC LIMIT 0,
mysql error: 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 '' at line 2

mysql error number: 1064
What am I missing? I thought I got everything.
Reply With Quote
  #699  
Old 12-02-2004, 05:26 AM
smdani smdani is offline
 
Join Date: Nov 2004
Posts: 106
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Thnaks a lot Pitman! Now works like a charm.
Do you know how can i unfeatured and article, and how can I let guests write comments?
Really thanks!!!
smdani
Reply With Quote
  #700  
Old 12-02-2004, 02:05 PM
Pitman's Avatar
Pitman Pitman is offline
 
Join Date: Dec 2001
Posts: 99
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by smdani
Thnaks a lot Pitman! Now works like a charm.
Do you know how can i unfeatured and article, and how can I let guests write comments?
Really thanks!!!
smdani
Well, the only way to unfeature an article is to feature another one. If you don't want any article to be featured, ever, you can just remove the HTML from the templates.

As for the guests to be able to post comments, there are permissions for that, but they don't work. I never noticed that, but if I get time to figure it out, I'll let you know.
Reply With Quote
  #701  
Old 12-02-2004, 07:04 PM
Pitman's Avatar
Pitman Pitman is offline
 
Join Date: Dec 2001
Posts: 99
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

It was only showing the comment parts of an article to users with a userid and then taking permissions into account. This should fix it:

In the template article_display, Search for AND Remove:

HTML Code:
<if condition="$bbuserinfo['userid'] != 0">
Search for:

HTML Code:
<div class="vbmenu_popup" id="articletools_menu" style="display:none">
Above it, you should see:

HTML Code:
</if></if>
Replace that with:

HTML Code:
</if>
Then save the template
Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 05:11 AM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2024, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.05403 seconds
  • Memory Usage 2,321KB
  • Queries Executed 25 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (2)bbcode_code
  • (4)bbcode_html
  • (5)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (6)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (3)pagenav_pagelinkrel
  • (11)post_thanks_box
  • (11)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (11)post_thanks_postbit_info
  • (10)postbit
  • (11)postbit_onlinestatus
  • (11)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete