Go Back   vb.org Archive > vBulletin Modifications > Archive > vB.org Archives > vBulletin 3.5 > vBulletin 3.5 Add-ons
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools
GARS: Number of articles/reviews/tutorials in profile Details »»
GARS: Number of articles/reviews/tutorials in profile
Version: 1.1, by Lea Verou Lea Verou is offline
Developer Last Online: Jul 2012 Show Printable Version Email this Page

Version: 3.5.3 Rating:
Released: 01-23-2006 Last Update: 01-30-2006 Installs: 15
Uses Plugins Template Edits
 
No support by the author.

This little plugin will display the number of articles, reviews and tutorials that a user has contributed in his/her profile. Note that it will display the sum of all the threads in the forums you have assigned to GARS and not of each category seperately. Although I am really busy these days, I made it for my new site and decided to share. It didn't take more than 5 minutes anyway

You need to have GARS installed in order to use this. GARS is not a free hack and it is made by The Geek.


Instructions

  1. Import the plugin XML
  2. Add in the MEMBERINFO template where you want it:
    HTML Code:
    Articles/Reviews/Tutorials: $userarticles[count]
  3. Save it and you're done!
Please, don't forget to click INSTALL if you used this.

Show Your Support

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

Comments
  #12  
Old 01-24-2006, 04:40 PM
Lea Verou Lea Verou is offline
 
Join Date: Jul 2005
Location: Greece
Posts: 1,856
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by gamebgs
I rather use Drupal for all my page work, so much easier and looks alot more proffessional
Please let's not turn this in a GARS vs [insert-hacktitle-here] kind of thread.
Reply With Quote
  #13  
Old 01-24-2006, 05:33 PM
JirQUEST JirQUEST is offline
 
Join Date: Dec 2001
Posts: 103
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

well, i am not sure if editing will show u as the userid who posted it (because i edited a lot more threads than that)... and my count is at 43, even though i can only find 37.

nice hack by the way.
Reply With Quote
  #14  
Old 01-24-2006, 05:45 PM
nexialys
Guest
 
Posts: n/a
Default

/me take a look at Michelle, lick his lips, and ....

... start writting this post...

this is a good idea... great hack.. easy to manage or even modify to make other kinds of displayed...

nota: can be done to add to the postbit btw... for the interested!
Reply With Quote
  #15  
Old 01-24-2006, 05:50 PM
Lea Verou Lea Verou is offline
 
Join Date: Jul 2005
Location: Greece
Posts: 1,856
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I would never add this code to the postbit without some kind of optimisation!
It would add one query per post so if somebody had 100 posts per page (like I do) it would add 100 queries to the thread!!
Reply With Quote
  #16  
Old 01-24-2006, 05:51 PM
Paul M's Avatar
Paul M Paul M is offline
 
Join Date: Sep 2004
Location: Nottingham, UK
Posts: 23,748
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Michelle
There is no point lying you know, I can see if you clicked or not...
You're not alone either
Reply With Quote
  #17  
Old 01-24-2006, 05:52 PM
Lea Verou Lea Verou is offline
 
Join Date: Jul 2005
Location: Greece
Posts: 1,856
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by JirQUEST
well, i am not sure if editing will show u as the userid who posted it (because i edited a lot more threads than that)... and my count is at 43, even though i can only find 37.

nice hack by the way.
It will not show you in the forum like the poster but in the database it shows my userid for the articles that I edited...
Reply With Quote
  #18  
Old 01-24-2006, 05:56 PM
The Geek's Avatar
The Geek The Geek is offline
 
Join Date: Sep 2003
Location: Behind you
Posts: 2,779
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

hey, this is cool Michelle. Well done.
For the postbit thing... a gars module or vb plugin that fired on edit/creation/deletion of a gars thread could increase a user profile with the total.
I know its more complex and wasnt the goal, but I thought I would post anyway

Let me know when I get back home if I can help at all.

nJoy
Reply With Quote
  #19  
Old 01-24-2006, 08:57 PM
kall's Avatar
kall kall is offline
 
Join Date: Apr 2004
Location: New Zealand
Posts: 2,608
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Michelle
It will not show you in the forum like the poster but in the database it shows my userid for the articles that I edited...
Have you also the Advanced Editing Options hack installed? GARS doesn't like it.
Reply With Quote
  #20  
Old 01-24-2006, 09:49 PM
Lea Verou Lea Verou is offline
 
Join Date: Jul 2005
Location: Greece
Posts: 1,856
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Nope I haven't but I know somebody who has the same problem as you
Reply With Quote
  #21  
Old 01-25-2006, 01:33 AM
JirQUEST JirQUEST is offline
 
Join Date: Dec 2001
Posts: 103
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Michelle
It will not show you in the forum like the poster but in the database it shows my userid for the articles that I edited...
oh of course it wont show in the forum. what i mean is, i edited more than 6 articles, and if what u say is the case, then i should be getting more than a count of 43 (and i mentioned before that i have an actual amount of 37 submitted articles). i hope that helps in your debugging.
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 07:47 PM.


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.05563 seconds
  • Memory Usage 2,301KB
  • 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
  • (1)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
  • (3)pagenav_pagelink
  • (11)post_thanks_box
  • (11)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (11)post_thanks_postbit_info
  • (10)postbit
  • (10)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