REGISTER or LOGIN to have the annoying ads removed.
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
MYPS Per Post Display
#21
Dang bro..what you doing up so late replying so fast! I gotta get to bed.
Reply
#22
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 ]
Reply
#23
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
Reply
#24
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 ?
Reply
#25
Not sure what php version i use. Thanks for your help all works fine now.
Reply
#26
Hi,

Quote:Warning: Invalid argument supplied for foreach() in /www/htdocs/w00855dc/anime4.de.forum/inc/plugins/myps_post.php on line 91

ô.O ?
Reply
#27
Read the thread as the fix for that is in here.
Reply
#28
You however already saw, which I do not use with Ajax? Is thus another error.
Reply
#29
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
Reply
#30
Hi,

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.
Reply


Possibly Related Threads...
Thread Author Replies Views Last Post
  MYPS Mybet labrocca 21 15,064 May 04, 2016, 06:08 PM
Last Post: hsnayd55
  Modded Download Section with MYPS labrocca 22 14,119 Mar 27, 2012, 01:40 PM
Last Post: royal_earner12
  Myps for Arcade problem AN Adam 1 4,084 Jul 22, 2010, 01:38 PM
Last Post: prizehubs
  MYPS Profile Shop labrocca 9 6,580 Apr 22, 2010, 07:32 PM
Last Post: scarface
  Minimum MYPS For View Attachment && PPV. labrocca 6 5,345 Aug 25, 2009, 01:25 PM
Last Post: D00MR4ZR

Forum Jump:


Users browsing this thread: 1 Guest(s)