Announcement

Collapse
No announcement yet.

[Addon for glamour hack by ztsky]

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • express
    replied
    ok if it was a good hack. What did you do with the showthread script, if you don't mind telling us

    Leave a comment:


  • Kengan
    replied
    Good Hack ! thanks !

    Leave a comment:


  • express
    replied
    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]; 
    $personal3*$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'");
    $personal2*$userinfo[posts]+$personal0[personalviews];
    if (
    $personal0 == ""):
    $personal0 "0";
    endif; 

    Leave a comment:


  • illogicalX
    replied
    i hope some one can help us in this hack

    we are waiting

    Leave a comment:


  • express
    replied
    yea I tried that, I got error in my functions file, Maybe the
    hack man will answer the qestion.

    Leave a comment:


  • illogicalX
    replied
    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'"); 
    $personal2*$userinfo[posts]+$personal0[personalviews]; 
    if (
    $personal0 == ""): 
    $personal0 "0";
    endif; 
    but it is not working

    Leave a comment:


  • express
    replied
    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:


  • illogicalX
    replied
    humm

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

    Leave a comment:


  • express
    replied
    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:


  • ztsky
    replied
    this hack's name

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

    Leave a comment:


  • express
    replied
    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:


  • ztsky
    replied
    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!

    Leave a comment:


  • express
    replied
    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:


  • ztsky
    replied
    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;

    Leave a comment:


  • express
    replied
    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.
Working...
X