Announcement
Collapse
No announcement yet.
[Addon for glamour hack by ztsky]
Collapse
X
-
ok if it was a good hack. What did you do with the showthread script, if you don't mind telling us
-
these 2 need new placement in functions.php somewhere
PHP Code:$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
PHP Code:$personal0 = $DB_site->query_first("
SELECT SUM(views) AS personalviews FROM thread WHERE postuserid='$userinfo[userid]' AND open!='10'");
$personal= 2*$userinfo[posts]+$personal0[personalviews];
if ($personal0 == ""):
$personal0 = "0";
endif;
Leave a comment:
-
yea I tried that, I got error in my functions file, Maybe the
hack man will answer the qestion.
Leave a comment:
-
what i knew it shoud be like this
PHP Code:$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'");
$personal= 2*$userinfo[posts]+$personal0[personalviews];
if ($personal0 == ""):
$personal0 = "0";
endif;
Leave a comment:
-
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 .
Leave a comment:
-
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
Leave a comment:
-
this hack's name
In Chinese,i said it's ¸öÈË÷ÈÁ¦¡¢¸öÈË»ý·Ö¡£¡£¡£¡£
In English ,I think it can be named glamour or bonus
Leave a comment:
-
ok understand, how would I add a option or hack say, that would show a total amount of viewed pages a member has?
Leave a comment:
-
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.
Not his views on other's post!
Leave a comment:
-
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.
Leave a comment:
-
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
YOU can edit it.
eample:
$personal= $activity02+*$activity01+$activity03;
or:
$personal= 2*$activity02+1*$activity01+2*$activity03;
Leave a comment:
-
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
Leave a comment:
widgetinstance 262 (Related Topics) skipped due to lack of content & hide_module_if_empty option.
Leave a comment: