Code: Select all
$uid = $this->user->data['user_id'];
$query = $this->db->sql_query("SELECT count(post_id) as count FROM ".POSTS_TABLE." WHERE poster_id=$uid");
$result = $this->db->sql_fetchrow($query);
$ut = $result['count'];
Code: Select all
$ut = $this->user->data['user_posts'];
Thanks bro. You are welcome.ForoXL wrote:Very well. I need this ext in my board.
Good work man!
fav
Thanks, I will look into this.Shurtalk wrote:Good job
A little issue. If user quotes the message can read the hidden content in [minPosts=n]
First post updated, solved.Shurtalk wrote:Good job
A little issue. If user quotes the message can read the hidden content in [minPosts=n]
uruguayito wrote:Great idea....
Works perfect
a small suggestion: Is it possible to highlight the message if you have the number of posts needed?
Code: Select all
[minPosts=8000][b]Test[/b][/minPosts]
Code: Select all
[highlight={COLOR}]{TEXT}[/highlight]
Code: Select all
<span style="background-color: {COLOR};">{TEXT}</span>