vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 2.x Full Releases (https://vborg.vbsupport.ru/forumdisplay.php?f=4)
-   -   [Addon for glamour hack by ztsky] (https://vborg.vbsupport.ru/showthread.php?t=22148)

webhost 07-12-2001 03:23 AM

My have a problem with this script. This is what I have noticed.

It seems if a registered used post's or replies to thread the personalviews show;s a total for them. But if a registered user does post a thread or reply to any his views or not showing up in the members profile area. They all have zero's. I watched 3 members tonight view alot of threads but there personalview count stayed at zero. Then one of them replied to a message and then every time he view a thread it totaled in his personalviews like it should.

Any answers why this would act like this? Kinda have the same problem with the last online hack. The other 10 to 12 hacks I have installed all work fine.

Joey

webhost 07-12-2001 03:48 AM

All members that have 0 posts show 0 personalviews even though they have viewed alot of pages. I have one member that has not been on the board since April. When that member was on the board it was only for 1 day. They made 4 or 5 posts. That member shows to have 172 personal views. Why is this not showing total page views correctly. Can someone fix this please?

Joey

ztsky 07-12-2001 06:02 AM

Quote:

Originally posted by webhost
All members that have 0 posts show 0 personalviews even though they have viewed alot of pages. I have one member that has not been on the board since April. When that member was on the board it was only for 1 day. They made 4 or 5 posts. That member shows to have 172 personal views. Why is this not showing total page views correctly. Can someone fix this please?

Joey

$personal= 3*$activity02+2*$activity01+$activity03;

YOU can edit it.
eample:
$personal= $activity02+*$activity01+$activity03;

or:

$personal= 2*$activity02+1*$activity01+2*$activity03;

webhost 07-12-2001 10:14 AM

That did not work, anyone with zero post's shows no personalviews although we know they have viewed pages.

Please help me to correct this error.

ztsky 07-12-2001 11:02 AM

Quote:

Originally posted by webhost
That did not work, anyone with zero post's shows no personalviews although we know they have viewed pages.

Please help me to correct this error.

personalviews is the user's post be viewed by others!
Not his views on other's post!

webhost 07-12-2001 11:12 AM

ok understand, how would I add a option or hack say, that would show a total amount of viewed pages a member has?

ztsky 07-12-2001 11:16 AM

In Chinese,i said it's ¸öÈË÷ÈÁ¦¡¢¸öÈË»ý·Ö¡£¡£¡£¡ £
In English ,I think it can be named glamour or bonus

webhost 08-02-2001 02:08 PM

Ok I tried to move script from showthread to functions.php
I placed here. hack still works in member profile but does not
showup in showthread views. Iplaced here in functions but still not working any ideas how to fix this?

$post[avatar]="";
$post[profile]="";
$post[email]="";
$post[useremail]="";
$post[icqicon]="";
$post[aimicon]="";
$post[yahooicon]="";
$post[homepage]="";
$post[findposts]="";
$post[signature]="";
$onlinestatus="";
$personal0 = $DB_site->query_first("
SELECT SUM(views) AS personalviews FROM thread WHERE postuserid='$userinfo[userid]' AND open!='10'");
$activity01= $userinfo[posts]-$starts;
$activity02= $starts;
$activity03= $personal0[personalviews];
$personal= 3*$activity02+2*$activity01+$activity03;
if ($personal2 == ""):
$personal2 = "0";
endif;
// end Findhow much personal glamour
}
// do ip addresses

illogicalx 08-02-2001 02:11 PM

so what about 2.0.3 is't work with it ??

webhost 08-02-2001 02:14 PM

that is the probelm I just upgraded to 2.0.3
It works in the member profile but it doesn't
work in the showthread view .


All times are GMT. The time now is 01:42 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.00974 seconds
  • Memory Usage 1,738KB
  • 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_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (3)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