Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Messages - myg_weng

Pages: [1]
1
Coding / Re: Avatar Maker Mod
« on: March 18, 2007, 04:52:49 pm »
...waiting :D

2
SMFShop Announcements / Re: Known bugs in SMFShop 3.0
« on: February 25, 2007, 11:00:06 pm »
i think $_POST['username']  should be $_POST['stealname']


:D

..im using RS3 by the way

3
SMFShop Announcements / Re: Known bugs in SMFShop 3.0
« on: February 25, 2007, 02:44:00 pm »
what does this do in the steal.php part  line 72?

      $_POST['username'] = strtr($_POST['username'], array('\\"' => '"'));
      preg_match_all('~"([^"]+)"~', $_POST['username'], $matches);
      $userArray = array_unique(array_merge($matches[1], explode(',', preg_replace('~"([^"]+)"~', '', $_POST['username']))));


----

i think the steal.php is not working on my site... i have increased the probability to 100%

ERROR :

8: Undefined index: username
File: /home2/mygimm75/public_html/myg/smf111b/Sources/shop/items/Steal.php
Line: 72


-------

cant we not just point $username to the typed user?

4
Items / Re: Item: Egg your victims avatar
« on: February 25, 2007, 02:38:44 pm »
Or better yet...change the where clause to this:
Code: [Select]
WHERE memberName = '".$_POST['egguser']."' OR realName = '".$_POST['egguser']."'

That way it will check for either....

there would be a possibility that it would return two records :

1. If my username is USERA
2. then i changed it to USERB
3. then SOMEONE (say USERC) changed his name to USERA

then it would return two records.. if SOMEONE would egg USERA, then it would be either USERB or USERA.. dont know bout the succeeding lines but one of them would be egged.. but not exactly USERA


5
Items / Re: Item: Egg your victims avatar
« on: February 24, 2007, 03:08:29 am »
if you encounter :

"Unsuccessful, <name> not found, here have another egg"

and yet, you are 100% sure that the name is existing in the database, the username might not be the original one from his registration. 

To fix this problem just change the part where it compares the

memberName   = '".$_POST['egguser']."'"

to

realName. = '".$_POST['egguser']."'"




its on Line 171, Col 128 onwards

6
Items / Re: Item: Egg your victims avatar
« on: February 22, 2007, 12:15:06 am »
is this compatible to any SMF version?

7
youd experience user not found if the user changed his "displayed username" and is different from his logged in name.

i think the one that smsshop is looking for is the logged in user

8
General SMFShop Discussion / Re: Birthday Present
« on: February 18, 2007, 04:51:49 pm »
^^^^

then everyday i would be changing my birthday :P

9
Items / change someones avatar
« on: February 18, 2007, 04:34:56 pm »
would it be possible in the near future?   tnx!  :coolsmiley:

Pages: [1]