Announcement

Collapse
No announcement yet.

[Addon for glamour hack by ztsky]

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

  • DeadlyMax
    replied
    weird are u sure u did it in showthread.php and edited the template?

    and do you have icq its easier to talk

    Leave a comment:


  • OrangeFaygo
    replied
    It is not working for me no matter what I do, I run version 2.0 and have edited everything but nothing shows.

    Leave a comment:


  • DeadlyMax
    replied
    Originally posted by OrangeFaygo
    Do I place the code:

    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;
    Does that go before the } or after the }
    after the }

    Leave a comment:


  • OrangeFaygo
    replied
    Do I place the code:

    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;
    Does that go before the } or after the }

    Leave a comment:


  • Martz
    replied
    Wow, so simple yet so impressive

    Thanks a lot

    Leave a comment:


  • DeadlyMax
    started a topic [Addon for glamour hack by ztsky]

    [Addon for glamour hack by ztsky]

    his post can de found here:
    http://www.vbulletin.com/forum/showt...threadid=17116

    i wanted to add another feature
    all credits go to ztsky i dont want any of em..

    ok here we go:
    ---------------------

    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
    Last edited by DeadlyMax; Fri 6 Jul '01, 3:57pm.
widgetinstance 262 (Related Topics) skipped due to lack of content & hide_module_if_empty option.
Working...
X