Author: Hetor (duh)
Description: The Xfire Miniprofile BBCode is a simple BBCode that displays a miniprofile of Xfire (IM for gamers, for all those who don't know) user you specify.
BBCode:
Code: Select all
[xfire]{INTTEXT}[/xfire]
HTML:
Code: Select all
<a href="http://profile.xfire.com/{INTTEXT}"><img src="http://miniprofile.xfire.com/bg/sh/type/2/{INTTEXT}.png" alt="" style="width:450px; height:34px;"></a>
Helpline:
Code: Select all
Xfire miniprofile: [xfire]your_xfire_username_here[/xfire]
Example:
[xfire]nofokashwak[/xfire]
poppertom69 wrote:I haven't yet decided to rewrite the code for 3.0.8 or wait for 3.1 and use the hook system for this. What does everyone want?
Can you expand on this?conan_troutman wrote:just had a thought... not a major one... but my anonymous robot has reported one of our members likes dirty dancing
is there a way that when the user are browsing the anonymous forum they no longer show as on line... cos we all know who it is....sad git...lol
3.1 is so far that you could rewrite it and codeing your hown hooks, in case. If I were you..poppertom69 wrote:I haven't yet decided to rewrite the code for 3.0.8 or wait for 3.1 and use the hook system for this. What does everyone want?
O.K. Here is my Bugfixsmills29 wrote:I spoke too soon, it now appears that all replies by non-administrator users are anonymous regardless of forum. Please advise.poppertom69 wrote:Open
includes/function_posting.php
FindReplace WithCode: Select all
if ($data['forum_id'] == $post_bot['post_bot_anon_forums'] && $mode == 'post')
Code: Select all
if ($data['forum_id'] == $post_bot['post_bot_anon_forums'] && $mode == 'post' ||$mode == 'reply')
Code: Select all
/*
* Post Bot - Anonymous Poster
* By Poppertom69
*/
if (pb::check_extension_status('post_bot_anonymous_poster'))
{
global $post_bot;
if ($data['forum_id'] == $post_bot['post_bot_anon_forums'] && $mode == 'post')
{
$switch_perm = pb::change_auth($post_bot['post_bot_id']);
$user->ip = '00.000.000.000';
}
}
/* End Post Bot */
Code: Select all
/*
* Post Bot - Anonymous Poster
* By Poppertom69
*/
if (pb::check_extension_status('post_bot_anonymous_poster'))
{
global $post_bot;
if ($data['forum_id'] == $post_bot['post_bot_anon_forums'] && $mode == 'post')
{
$switch_perm = pb::change_auth($post_bot['post_bot_id']);
$user->ip = '00.000.000.000';
}
else if ($data['forum_id'] == $post_bot['post_bot_anon_forums'] && $mode == 'reply')
{
$switch_perm = pb::change_auth($post_bot['post_bot_id']);
$user->ip = '00.000.000.000';
}
else if ($data['forum_id'] == $post_bot['post_bot_anon_forums'] && $mode == 'quote')
{
$switch_perm = pb::change_auth($post_bot['post_bot_id']);
$user->ip = '00.000.000.000';
}
}
/* End Post Bot */
Code: Select all
/*
* Post Bot - Auto Reply
* By sTraTo & modified by Poppertom69 for the new release
*/
if (pb::check_extension_status('post_bot_auto_reply') && $mode == 'post')
{
pb::check_autoreply($data['forum_id'], $subject, $data['topic_id']);
}
/* End Post Bot */
/*
* Post Bot - Anonymous Poster
* By Poppertom69
*/
if (pb::check_extension_status('post_bot_anonymous_poster'))
{
if ($data['forum_id'] == $post_bot['post_bot_anon_forums'] && $mode == 'post')
{
pb::change_auth('', 'restore', $switch_perm);
}
}
/* End Post Bot */
Code: Select all
/*
* Post Bot - Auto Reply
* By sTraTo & modified by Poppertom69 for the new release
*/
if (pb::check_extension_status('post_bot_auto_reply') && $mode == 'post')
{
pb::check_autoreply($data['forum_id'], $subject, $data['topic_id']);
}
/* End Post Bot */
/*
* Post Bot - Anonymous Poster
* By Poppertom69
*/
if (pb::check_extension_status('post_bot_anonymous_poster'))
{
if ($data['forum_id'] == $post_bot['post_bot_anon_forums'] && $mode == 'post')
{
pb::change_auth('', 'restore', $switch_perm);
}
else if ($data['forum_id'] == $post_bot['post_bot_anon_forums'] && $mode == 'reply')
{
pb::change_auth('', 'restore', $switch_perm);
}
else if ($data['forum_id'] == $post_bot['post_bot_anon_forums'] && $mode == 'quote')
{
pb::change_auth('', 'restore', $switch_perm);
}
}
/* End Post Bot */
poppertom69 wrote:Can you expand on this?conan_troutman wrote:just had a thought... not a major one... but my anonymous robot has reported one of our members likes dirty dancing
is there a way that when the user are browsing the anonymous forum they no longer show as on line... cos we all know who it is....sad git...lol
Jorup16 wrote:In spanish message...
Hello, I can not put these characters when I write a message from the bot.
Code: Select all
á, é, í, ó, ú, ñ
It's changes by question marks
Code: Select all
??
Example:
Feliz cumpleaños = Feliz cumplea??os