May 20, 2007, 04:16 AM
May 20, 2007, 05:40 AM
labrocca Wrote:Dang bro..what you doing up so late replying so fast! I gotta get to bed.
Its 12.30 AM overhere ! =P
Edit ::
I did it like this :
Normal :: $mybb->settings['myps_name'];
onMouseOver :: This Post was worth x MYPS
onClick :: It returns the $mybb->settings['myps_name'];
Edit2 :: Full Plugin ! =P Feel Free to Test And Complain ^^, Just for the record, it works FINE overhere =P [ http://thingiej.be/forum/showthread.php?tid=1 ]
May 20, 2007, 07:21 AM
Ok i get this error -
Warning: Invalid argument supplied for foreach() in /home/fhlinux183/t/tussaudtimes.co.uk/user/htdocs/inc/plugins/myps_post_ajax.php on line 191
This Post was worth 45 MYPS
Warning: Invalid argument supplied for foreach() in /home/fhlinux183/t/tussaudtimes.co.uk/user/htdocs/inc/plugins/myps_post_ajax.php on line 191
This Post was worth 45 MYPS
May 20, 2007, 07:29 AM
It's the same warning like the other plugin ... Put // before $message = remove_custom_ajax($message);
Some people learn out of "warnings/errors/mistakes" and go selfexploring how to fix it. And what PHP version do you use ?
Some people learn out of "warnings/errors/mistakes" and go selfexploring how to fix it. And what PHP version do you use ?
May 20, 2007, 07:52 AM
Not sure what php version i use. Thanks for your help all works fine now.
May 21, 2007, 08:55 PM
Hi,
ô.O ?
Quote:Warning: Invalid argument supplied for foreach() in /www/htdocs/w00855dc/anime4.de.forum/inc/plugins/myps_post.php on line 91
ô.O ?
May 22, 2007, 01:09 AM
Read the thread as the fix for that is in here.
May 22, 2007, 06:03 AM
You however already saw, which I do not use with Ajax? Is thus another error.
May 22, 2007, 10:29 AM
SweetySchnuffel Wrote:You however already saw, which I do not use with Ajax? Is thus another error.
No its the same. The plugin with AJAX or without uses the SAME function(s) to count the chars in the message.
Just put comment tags before $message = remove_custom($message);
Edit ::
I will set //$message = remove_custom($message); as default , so no one with a crappy PHP has to complain anymore =P
Edit 2 ::
Have replaced the foreach loop with a while loop ... hopefully no warnings now =P
May 22, 2007, 05:01 PM
Hi,
after I replaced the file, these errors come.
Quote:Warning: reset() [function.reset]: Passed variable is not an array or object in /www/htdocs/w00855dc/anime4.de.forum/inc/plugins/myps_post.php on line 91
Warning: Variable passed to each() is not an array or object in /www/htdocs/w00855dc/anime4.de.forum/inc/plugins/myps_post.php on line 92
after I replaced the file, these errors come.