Thread Rating:
  • 0 Votes - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
 Very Simple Automatic Medals Based On Posts
Sama34 Offline
Senior Member
****
Posts: 490
Joined: May 2011
Post: #11
RE: Very SImple Automatic Medals Based On Posts
For some reason this doesn't work using Template Conditionals plugin, I think the reason is because of the code, I don't understand it but it looks like it is a advanced code than can only be used with PHP in Templates / Complex Templates plugin.

I mean this code:

PHP Code:
<if str_replace($mybb->settings['thousandssep'],'',$post['postnum']) >= $mybb->settings['pn1'] then>


I tried to 'modify' it and it did worked:

PHP Code:
<if $mybb->settings['thousandssep'] + $post['postnum'] >


Is that code right?


Support PM's will be ignored. Yipi
Plugins: Announcement Bars - Custom Reputation - Mark PM As Unread
07-22-2011 12:20 PM
Visit this user's website Find all posts by this user Quote this message in a reply

« Next Oldest | Next Newest »

Messages In This Thread
RE: Very SImple Automatic Medals Based On Posts - Sama34 - 07-22-2011 12:20 PM

 Standard Tools
Forum Jump: