vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.5 Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=113)
-   -   Most active user in the forums (https://vborg.vbsupport.ru/showthread.php?t=107811)

Omranic 02-11-2006 10:00 PM

Most active user in the forums
 
This product is no longer supported!



Warrning: this hack is no more supported, there is a new re-written fully controlled version published here:
https://vborg.vbsupport.ru/misc.php?...st_active_user


This hack lets you add to your forum home page the most active user
today, he is the user that has posted the most from 0:00 GMT
until the end of the day.

In your forum home page it appears something like:

The most active user in the forum is: Username!


First I have searched 3.5 Forums & doesn't find any like that so I have posted it

Its port from 3.0 Hack For Kentaurus with his permision

Quote:

Info for hackers:
You may modify, improve, upgrade, redistribute this hack, include it
in another hack or yours or translate it provided you do it free of
charge and you distribute it in www.vbulletin.org at least, there is no
need to pm me asking for permission
Some portions of the code are (c) Jelsoft Enterprises Ltd.
Details:
It uses only one query in the forumhome
It will displays todays most active user only if there is at least one user has posted today, if not there is nothing appears at all untill some one post.


Simply Import the Product & make the following Template Edit

################################################## #################
# Template modifications in FORUMHOME
################################################## #################

-------------------------------------------------------------------
search for this:
-------------------------------------------------------------------

HTML Code:

<div><phrase 1="member.php?$session[sessionurl]u=$newuserid" 2="$newusername">$vbphrase[welcome_to_our_newest_member_x]</phrase></div>
-------------------------------------------------------------------
change it to:
-------------------------------------------------------------------

HTML Code:

<div><phrase 1="member.php?$session[sessionurl]u=$newuserid" 2="$newusername">$vbphrase[welcome_to_our_newest_member_x]</phrase></div>
<if condition="$maxposter[userid]"><div><phrase 1="member.php?$session[sessionurl]u=$maxposter[userid]" 2="$maxposter[username]">$vbphrase[most_active_user_in_forums]</phrase></div></if>


Finally Do You Know This Buttom https://vborg.vbsupport.ru/ ? Click on it :)

Derekclarke 02-12-2006 08:26 PM

clicks install.

Works a treat.

Thanks

pete_brady 02-12-2006 09:09 PM

thanks. looks good under Total users that have visited today

interceptor 02-12-2006 09:49 PM

How to make it that number of posts appear too?

Rickie3 02-12-2006 10:09 PM

works well thankyou *installed*

XanTrax 02-12-2006 10:40 PM

Quote:

Originally Posted by interceptor
How to make it that number of posts appear too?

Im sure you can use a vBPhrase to print it. Do you want how many posts they made that day or how much they have total?

interceptor 02-12-2006 10:47 PM

I would like to add how many posts they made that day.

djjeffa 02-13-2006 12:13 AM

how about making it say: Todays most active user in the forum is: ?

OndaReal 02-13-2006 12:39 AM

nice hack, thanks

uae 02-13-2006 05:16 AM

Thanks :)


All times are GMT. The time now is 10:06 AM.

Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.

X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.01107 seconds
  • Memory Usage 1,739KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (2)bbcode_html_printable
  • (2)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (2)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.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/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.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
  • printthread_start
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete