Register Members List Search Today's Posts Mark Forums Read

Reply
 
Mod Options
v3 Articles, How many Articles a user made (in postbit) Details »»
v3 Articles, How many Articles a user made (in postbit)
Mod Version: 1.00, by Guy G (Contributor) Guy G is offline
Developer Last Online: Jan 2006 I like it Show Printable Version Email this Page

This modification is in the archives.
vB Version: 3.0.3 Rating: (1 vote - 5.00 average) Installs: 7
Released: 29 Dec 2004 Last Update: Never Downloads: 0
Not Supported  

This is my first hack so please be nice to me :P
This is an addon for the v3Article hack which can be found HERE
Anyway, this hack will add a field in the postbit for how many articles a user has posted.

Specs:
Templates Edited:1
Queries added: 1 during new article post.
File Edits: 1
Tables Changed: 1
Installation Time: 3min

So, first of all open Article.php and find the following code:

Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

under it add:

Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

Now run this query through PhpMyAdmin or something...

Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

note that "vb3" should be your table prefix!

now after you done that its time for template editing..
go to postbit_legacy (for me) and search for this line:

Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

directly under it add this(customize colors as you want..):

Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

note: if you already created articles than it will not update your status, you will need to manually add the numbers to the ppl who posted articles.

Feel free to comment and enhance this hack by any way.

Thats it! your done Click Install! :]

Download Now

Only licensed members can download files, Click Here for more information.

Screenshots

Click image for larger version

Name:	ScreenShot001.jpg
Views:	150
Size:	20.1 KB
ID:	22608

Show Your Support

  • To receive notifications regarding updates -> Click to Mark as Installed.
  • This modification may not be copied, reproduced or published elsewhere without author's permission.
Similar Mod
Mod Developer Type Replies Last Post
[v3 Articles] Printable Articles ChurchMedia vBulletin 3.0 Full Releases 25 21 Dec 2004 16:25

Comments
  #2  
Old 30 Dec 2004, 00:28
cinq's Avatar
cinq cinq is offline
 
Join Date: Oct 2002
I don't use this hack, but just wondering how did you call

Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

without amending showthread.php ?

Also, instead of creating a new column in the user table, why not just query the article table for count(articleuserid) ?

Reply With Quote
  #3  
Old 30 Dec 2004, 00:33
Guy G Guy G is offline
 
Join Date: Nov 2004
1. $post[user_article_count] uses the existing array that the showthread.php uses, so all i had to do is echo it.. showthread.php already SELECT * from vb3_user ...

2.you could do that, but it would be better to have 1 additional query used whenever posting a new article than adding an additional query to showthread.php which is excuted alot more times, therfore better performance :]
Reply With Quote
  #4  
Old 30 Dec 2004, 01:07
cinq's Avatar
cinq cinq is offline
 
Join Date: Oct 2002
Ic. Thanks for the clarification,Zorobz
Reply With Quote
  #5  
Old 30 Dec 2004, 10:03
BarHopper BarHopper is offline
 
Join Date: Mar 2003
Im gonna defaintly use this, excellant. Also, on your screenshot, i see the boxes around the fields, in the postbit. How do you do that?
Reply With Quote
  #6  
Old 30 Dec 2004, 13:37
Guy G Guy G is offline
 
Join Date: Nov 2004
thats just part of the style...
Reply With Quote
  #7  
Old 30 Dec 2004, 23:15
Guy G Guy G is offline
 
Join Date: Nov 2004
Update hopefully coming soon...
Reply With Quote
  #8  
Old 03 Jan 2005, 11:02
trackpads's Avatar
trackpads trackpads is offline
 
Join Date: Aug 2003
Real name: Jason
Excellent, gonna use for sure!
Reply With Quote
  #9  
Old 11 Jan 2005, 05:58
KTBleeding's Avatar
KTBleeding KTBleeding is offline
 
Join Date: Feb 2004
Real name: Tyler
Question: Is there an easy way to get this to link to all the articles submitted by the user? Rather than just listing how many they have posted, could it also link to them? Thanks.
Reply With Quote
  #10  
Old 13 Jan 2005, 19:38
Guy G Guy G is offline
 
Join Date: Nov 2004
Originally Posted by KTBleeding
Question: Is there an easy way to get this to link to all the articles submitted by the user? Rather than just listing how many they have posted, could it also link to them? Thanks.
Possible of course...

Ill see what i can do.
Reply With Quote
  #11  
Old 16 Jan 2005, 05:31
Amavisca Amavisca is offline
 
Join Date: Oct 2003
Originally Posted by Guy G
Possible of course...

Ill see what i can do.
Ya plz do it, I was gonna have the same question 4 u
Reply With Quote
  #12  
Old 17 Jan 2005, 19:59
Guy G Guy G is offline
 
Join Date: Nov 2004
Originally Posted by Amavisca
Ya plz do it, I was gonna have the same question 4 u
Ok im not sure this gonna happen, a new article system came out, a better one...
Reply With Quote
  #13  
Old 14 Mar 2005, 16:39
Polo's Avatar
Polo Polo is offline
 
Join Date: Jun 2004
Is there a way so that the number of articles written is shown only if the members has 1 article or more? not many of my members post articles and I would not like to see a bunch of
"articles written : 0"
all over my site..
__________________
God180 <--------------------- My Modified vBulletin

Last edited by Polo : 14 Mar 2005 at 18:36.
Reply With Quote
  #14  
Old 14 Mar 2005, 18:04
kall's Avatar
kall kall is offline
 
Join Date: Apr 2004
Real name: Ace
Probably

Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

__________________
vBulletin Styles (All styles compatible with 3.8.4 - Steel Blue 4.0 Available) | vBulletin Hosting
Reply With Quote
  #15  
Old 14 Mar 2005, 18:34
Polo's Avatar
Polo Polo is offline
 
Join Date: Jun 2004
Originally Posted by kall
Probably

Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

thanks kall... I will give it a try
__________________
God180 <--------------------- My Modified vBulletin
Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
Mod Options

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


New To Site? Need Help?

All times are GMT. The time now is 07:05.

Layout Options | Width: Wide Color: