Go Back   vb.org Archive > vBulletin Modifications > Archive > vB.org Archives > vBulletin 2.x > vBulletin 2.x Full Releases
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools
Details »»

Version: , by (Guest)
Developer Last Online: Jan 1970 Show Printable Version Email this Page

Version: Unknown Rating:
Released: 05-16-2001 Last Update: Never Installs: 0
 
No support by the author.

This hack is get info on user statu.
when view user's profile a "personal glamour"will be display.
here is a demo:

It's a Chinese Version.
but in my zipfile ,It's a english Version.
file to be edit: member.php
template to be edit:getinfo
updated on 05-19-2001 04:32 AM
here's the hack:

Show Your Support

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

Comments
  #22  
Old 05-18-2001, 02:48 PM
Me2Be's Avatar
Me2Be Me2Be is offline
 
Join Date: Oct 2001
Posts: 88
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally posted by Mark Hewitt
ah well if you've actually removed it from the code as opposed to just not displayi it then it wouldn't !
Phew, I was getting confused there for a second!
Reply With Quote
  #23  
Old 05-20-2001, 03:09 AM
ztsky
Guest
 
Posts: n/a
Default

Quote:
Originally posted by Me2Be
Hi Ztsky! What exactly do you mean by "how active"? Number of times they view a thread? Number of times they visit your forums?
I think Number of times they view a thread and Number of times they visit your forums and Number they post a thread and Number of their posts all of "how active" ,
I sugguest vb should support a function to display "how active" a user in our forum.
Reply With Quote
  #24  
Old 05-20-2001, 11:57 AM
Pingu
Guest
 
Posts: n/a
Default

Well, this was what I needed.

I'm going to let my members advertise on my forums, but I only want to allow active members to do so. This hack could save me a lot of trouble
Reply With Quote
  #25  
Old 05-20-2001, 02:04 PM
MrLister's Avatar
MrLister MrLister is offline
 
Join Date: Oct 2001
Posts: 434
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

using this you can easily restrict access to those who aren't active
Reply With Quote
  #26  
Old 05-20-2001, 05:22 PM
Pingu
Guest
 
Posts: n/a
Default

Quote:
Originally posted by mrlister
using this you can easily restrict access to those who aren't active
Not quite so, because the result is cummulative. People can still have a high number after being inactive for months.
But I've added a little extra code to check for the last activity. If that activity was more then 21 days ago, the glamour thing is set to 0
Reply With Quote
  #27  
Old 05-20-2001, 06:20 PM
ztsky
Guest
 
Posts: n/a
Default

Quote:
Originally posted by Pingu


Not quite so, because the result is cummulative. People can still have a high number after being inactive for months.
But I've added a little extra code to check for the last activity. If that activity was more then 21 days ago, the glamour thing is set to 0
Of cause "how active" is difficult to definite and it is not as a same thing everybody think about.
But this hack can give you a point.
Reply With Quote
  #28  
Old 06-15-2001, 11:39 AM
ThomasP
Guest
 
Posts: n/a
Default

Great hack!
Easy to setup and I love it
-Tom
Reply With Quote
  #29  
Old 06-24-2001, 07:12 PM
Nocturnal
Guest
 
Posts: n/a
Default

Quote:
Originally posted by Pingu

I've added a little extra code to check for the last activity. If that activity was more then 21 days ago, the glamour thing is set to 0
Care to share?
Reply With Quote
  #30  
Old 07-06-2001, 09:25 PM
DeadlyMax
Guest
 
Posts: n/a
Default

modified it a bit:

this will add Personal Views to the posts
image:



in showthread.php

Find:

PHP Code:
    $onlinestatus="";
  } 
Below that add:

PHP Code:
$personal0 $DB_site->query_first("
    SELECT SUM(views) AS personalviews FROM thread WHERE postuserid='
$userinfo[userid]' AND open!='10'");
$personal2*$userinfo[posts]+$personal0[personalviews];
  if (
$personal0 == ""):
      
$personal0 "0";
  endif; 
then edit template postbit:

Find:

Code:
	Posts: $post[posts]</smallfont></td>
Replace that with:

Code:
	Posts: $post[posts]<br>
	Personal Views: $personal </smallfont></td>
that should do the trick
have fun
Reply With Quote
  #31  
Old 07-12-2001, 07:47 AM
ShadowTech ShadowTech is offline
 
Join Date: Feb 2002
Location: Ohio, USA
Posts: 13
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I just thought I would point out that this hack has nothing to do with how active a member is on your forum.

ALL it does is shows how many times ANYONE has viewed a users thread. Not how many threads that user themselves have viewed.

If you want to see it in action to find out how it really works, open up a thread to view the posts.. look at the number of views for the thread creator.. then hit reload.. their number increases by one. Keep hitting reload and their number keeps rising.

So if you are using this hack thinking it shows how frequently your user is surfing around the board looking at people's posts.. you are mistaken.
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 10:45 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.04415 seconds
  • Memory Usage 2,295KB
  • 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
  • (2)bbcode_code
  • (2)bbcode_php
  • (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
  • (4)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
  • (3)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
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • postbit_imicons
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete