![]() |
|
|
Mod Options |
v3 Articles, How many Articles a user made (in postbit) Details »»
|
|||||||||||||||||||||||||||||||
|
v3 Articles, How many Articles a user made (in postbit)
Developer Last Online: Jan 2006
This modification is in the archives.
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:
under it add:
Now run this query through PhpMyAdmin or something...
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:
directly under it add this(customize colors as you want..):
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 Show Your Support
No members have liked this post.
|
|||||||||||||||||||||||||||||||
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
|
||||
|
||||
|
I don't use this hack, but just wondering how did you call
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) ? ![]() No members have liked this post.
|
||||
|
#3
|
|||
|
|||
|
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 :] No members have liked this post.
|
|
#4
|
||||
|
||||
|
Ic. Thanks for the clarification,Zorobz
![]() No members have liked this post.
|
|
#5
|
|||
|
|||
|
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?No members have liked this post.
|
|
#6
|
|||
|
|||
|
thats just part of the style...
No members have liked this post.
|
|
#7
|
|||
|
|||
|
Update hopefully coming soon...
No members have liked this post.
|
|
#8
|
||||
|
||||
|
Excellent, gonna use for sure!
No members have liked this post.
|
|
#9
|
||||
|
||||
|
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.
No members have liked this post.
|
|
#10
|
|||
|
|||
|
Originally Posted by KTBleeding
Possible of course...
Ill see what i can do. No members have liked this post.
|
|
#11
|
|||
|
|||
|
Originally Posted by Guy G
Ya plz do it, I was gonna have the same question 4 u
No members have liked this post.
|
|
#12
|
|||
|
|||
|
Originally Posted by Amavisca
Ok im not sure this gonna happen, a new article system came out, a better one...
No members have liked this post.
|
|
#13
|
||||
|
||||
|
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
No members have liked this post.
Last edited by Polo : 14 Mar 2005 at 18:36. |
|
#14
|
||||
|
||||
|
__________________
vBulletin Styles (All styles compatible with 3.8.4 - Steel Blue 4.0 Available) | vBulletin Hosting No members have liked this post.
|
|
#15
|
||||
|
||||
|
Originally Posted by kall
thanks kall... I will give it a try ![]() No members have liked this post.
|
![]() |
«
Previous Mod
|
Next Mod
»
| Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) |
| Mod Options | |
|
|
| New To Site? | Need Help? |
All times are GMT. The time now is 06:31.







