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]

RE: Add 'Staff member' text on postbit

This post was last modified: 27-10-2015, 10:28 PM by DarkHorse
#22
27-10-2015, 10:12 PM
Harry Wrote:
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:
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:
Piece of code Provided
<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.

Might be the theme? Im using the one fromRealityForum that is available in here

RE: Add 'Staff member' text on postbit

This post was last modified: 27-10-2015, 10:30 PM by Addicted
#23
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:
*REMOVED*

Don't post things that are in the hide tag...

RE: Add 'Staff member' text on postbit

This post was last modified: 27-10-2015, 10:28 PM by DarkHorse
#24
27-10-2015, 10:20 PM
Addicted Wrote:
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:
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:
Removed Code
<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']}

Don't post things that are in the hide tag...

I goof for a minute, my bad. Feel free to edit your quoted text too Smile

RE: Add 'Staff member' text on postbit

#25
27-10-2015, 10:28 PM
DarkHorse Wrote:
27-10-2015, 10:20 PM
Addicted Wrote:
27-10-2015, 10:10 PM
DarkHorse Wrote:
27-10-2015, 10:05 PM
Harry Wrote:
27-10-2015, 10:03 PM
DarkHorse Wrote:
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:
Removed Code
<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']}

Don't post things that are in the hide tag...

I goof for a minute, my bad. Feel free to edit your quoted text too Smile

No problem, just letting you know.

RE: Add 'Staff member' text on postbit

#26
Its interesting...will try to apply it.

RE: Add 'Staff member' text on postbit

#27
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)

you need this plugin

http://mybbhacks.zingaburga.com/showthread.php?tid=260
| A | v4hl| Addicted | Senpai | Sui | Sensei | H | fdigl |


RE: Add 'Staff member' text on postbit

#28
01-11-2015, 06:42 PM
Believer 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)

you need this plugin

http://mybbhacks.zingaburga.com/showthread.php?tid=260

Yeah, realized that the other day.

Thanks anyways, much appreciated!

RE: Add 'Staff member' text on postbit

#29
[Image: 8QMPwCr.png]

I got this error. anyone can help me pleas

RE: Add 'Staff member' text on postbit

#30
nice theme, but i wish i can download it

Users browsing this thread: 5 Guest(s)