MyBB Tutorials

Add 'Staff member' text on postbit

Submitted by AndresXZ09, , Thread ID: 2756

Thread Closed

RE: Add 'Staff member' text on postbit

#21
27-10-2015, 10:10 PM
DarkHorse Wrote:
27-10-2015, 10:05 PM
Harry Wrote:
27-10-2015, 10:03 PM
DarkHorse Wrote:
27-10-2015, 09:49 PM
Harry Wrote:
27-10-2015, 09:44 PM
DarkHorse Wrote:
Does this still work for 1.8.x? Kinda breaks my UTF-8 setup lol (Parse error: syntax error, unexpected '' (T_ENCAPSED_AND_WHITESPACE), expecting identifier (T_STRING) or variable (T_VARIABLE) or number (T_NUM_STRING) in /homepages/30/d596870373/htdocs/public_html/foro/inc/functions_post.php(467) : eval()'d code on line 2)

Worked on mine 1.8.x myBB forum?

[Image: 4c4ffac3ad.jpg]

Certainly weird, not sure what im doing wrong lol

Just follow the tutorial slowly lol Tongue.

It's a One Step tutorial, i don't think im that dumb enough (yet) to mess up:
Code:
<if in_array($post['usergroup'], array(4,3)) then><span style="color: pink;">Staff member</span><else></if>
<div class="postbit-box">{$lang->postbit_posts} <div class="float_right">{$post['postnum']}</div></div>
<div class="postbit-box">{$lang->postbit_threads} <div class="float_right">{$post['threadnum']}</div></div>
<div class="postbit-box">{$lang->postbit_joined} <div class="float_right">{$post['userregdate']}</div></div>
{$post['replink']}{$post['profilefield']}{$post['warninglevel']}

I'd have to check my coding but can't see why it doesn't work.
The Pengest Turkey

[Image: The-Chicken-Connoisseur-PENGEST-TURKEY-1-1.gif]


Users browsing this thread: 10 Guest(s)