Results 1 to 5 of 5

Thread: look this: a little bug in lava/wapdesire

  1. #1
    Senior Member honkytonkman's Avatar
    Join Date
    Sep 2006
    Location
    italy
    Posts
    237
    Thanks
    0
    Thanked 3 Times in 2 Posts
    Rep Power
    0

    Default look this: a little bug in lava/wapdesire

    i've found a little bug on lava/wapdesire.
    when owner DELETE a username
    if this user had got some userfun actions along others
    users, this actions remain on database..
    for exemple if i delete username "mr.x" and he has
    smooched 3 times along someone
    you see again the link "3" and clicking on it
    nothing appears because the username nick has been delated..
    but not his numbers of actions.
    i think the more simple solution is
    to add a code as this on ownerproc.php
    in delete user function ($action=="delu"):


    $res = mysql_query("DELETE FROM ibwf_usfun WHERE uid='".$who."'");

    so you delete also his userfun actions when you need to delate a username..

    do you think the code would be right?

  2. #2
    Senior Member
    Join Date
    Jul 2008
    Posts
    364
    Thanks
    124
    Thanked 32 Times in 31 Posts
    Rep Power
    0

    Default

    Well congratulations you discovered 1 bug, but to be honest its not just that which remains in database, lot other things remain, which dont get displayed as the function get_nickuid($uid) doesnt work after the nick get deleted as the uid goes with it
    Last edited by morse; 09-08-09 at 14:17. Reason: half completed sentence earlier
    tinyurl.com/earnbymobile
    Easy earning for Indians
    ---------------------
    Alternative mobile advertising network .. Minimum 100 USD pay / NET15 pay cycle, Good Brand, Best targeting for Android
    goo.gl/6vub3

  3. #3
    Senior Member honkytonkman's Avatar
    Join Date
    Sep 2006
    Location
    italy
    Posts
    237
    Thanks
    0
    Thanked 3 Times in 2 Posts
    Rep Power
    0

    Default

    right..many things in any lava/wapdesire version not work well..some are simple things forgot by the authors (it's so easy lose something when you're working on projects like this) others are more hard to fix.
    another bug : the judges..if you delete a username that was also a judge..he stood on judge list
    you need to do this on deleteuser function in ownerproc:

    $res = mysql_query("DELETE FROM ibwf_judges WHERE fid='".$who."' OR uid='".$who."'");

  4. #4
    Senior Member honkytonkman's Avatar
    Join Date
    Sep 2006
    Location
    italy
    Posts
    237
    Thanks
    0
    Thanked 3 Times in 2 Posts
    Rep Power
    0

    Default

    i tested now the code

    $res = mysql_query("DELETE FROM ibwf_usfun WHERE uid='".$who."'");
    in my site and works fine..

  5. #5
    Senior Member CreativityKills's Avatar
    Join Date
    May 2009
    Location
    Lagos
    Posts
    844
    Thanks
    0
    Thanked 106 Times in 62 Posts
    Rep Power
    4

    Default

    duh, u have to ava function dat runs delete thru ALL the tables. Then call d function.

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Major bug discovered in Microsoft Windows 7 RC
    By Vicelord in forum Trash forum
    Replies: 0
    Last Post: 12-05-09, 05:06
  2. Wrong Ghost Inbox Bug In Xhtml_wml_chat_script2
    By honkytonkman in forum Site / Script testing and error fixing
    Replies: 4
    Last Post: 22-12-08, 15:22
  3. Lava/wapdesire Automatic Logout
    By honkytonkman in forum Scripts Forum
    Replies: 0
    Last Post: 19-11-08, 09:40
  4. All About Phpbb !
    By jayasanka in forum Scripts Forum
    Replies: 20
    Last Post: 03-04-08, 03:28
  5. Rw Script Bug
    By araaa in forum Coding Forum
    Replies: 1
    Last Post: 20-02-07, 01:37

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  

SEO by vBSEO

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19