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 :)

Developer 02-13-2006 06:41 AM

thnx abd-el-rahman very good hack

Snake 02-13-2006 12:06 PM

Thank you, I've just installed it!

interceptor 02-13-2006 02:54 PM

I just like to have like this:

Our member of the day is: xxxx with 19 posts

I'm not coder I just know where to put it but not how and where to get it.

MorrisMcD 02-13-2006 02:56 PM

Quote:

Originally Posted by djjeffa
how about making it say: Todays most active user in the forum is: ?

Maybe both?

I will be installing this either way.. Thanks

Boofo 05-01-2006 11:00 PM

I have upgraded this to show the most active user today according to the viewer's timezone. I have also added the post count to the end of it. If anyone is interested, please let me know and I will post it in a message in this thread. ;)

Omranic 05-02-2006 12:17 AM

Boofo !
You are Needed !
yEs, we all need to see what you have done, share us Here

waiting...

// regards

Boofo 05-02-2006 03:10 AM

Here you go, sir. ;)

hdrmut 05-04-2006 11:34 AM

can i but name a most activ user on all page or navbar ?

Stop 05-10-2006 02:04 PM

Installed.
Thanks for the hack.
And thanks Boofo for the upgrading. <...You rock.;)

Kleptomaniac 02-04-2007 04:31 PM

Hi, thanks for the mod. When I installed it, the font size and style ended up being different from the rest of the forum homepage. How can I alter it to be the same? Yes I'm a turbo noob.

BuyHostCheap 02-05-2007 07:50 AM

simple replace the following coding :

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

TO :

<div class="smallfont">
<if condition="$maxposter[userid]"><div><phrase 1="member.php?$session[sessionurl]u=$maxposter[userid]" 2="$maxposter[username]" 3="$maxposter[total]">$vbphrase[most_active_user_in_forums]</phrase></div></if>
</div>

dat will do da trick
enjoy

Kleptomaniac 02-05-2007 07:40 PM

That worked, thankyou.

AcidX 02-05-2007 07:50 PM

Simple & nice - installed ;)


All times are GMT. The time now is 03:24 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.01247 seconds
  • Memory Usage 1,760KB
  • 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
  • (3)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (23)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
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete