News:

Want to get involved in developing SMF, then why not lend a hand on our github!

Main Menu

SMFPacks.com Shoutbox

Started by Nibogo, October 19, 2008, 11:41:06 AM

Previous topic - Next topic

buggerlugs


Rust

Hello all.  We tested the heck out of the shoutbox on a lot of browsers and OS and it works fine.  However, we are receiving reports that on IE under Windows 7 Home Premium this obnoxious pop up comes up every time a message is sent.  Any ideas on how to prevent this?  Why does it happen on IE but on nothing else?


N i g h t m a r e

So i put a bunch of commands into my "Shoutbox.php" file and it now the shoutbox wont allow me to shout, and the commands dont work
i was wondering if someone could possilbly fix up this shoutbox.php file so that the commands work and the shoutbox is working perfectly again

Commands:

// command /me
$cmd_me = false;
if (substr($msg, 0, 4) == '/me ')
{
$cmd_me = true;
$msg = substr_replace($msg, '', 0, 4);
}
// "search" command
if (substr($msg, 0, 8) == '/google ')
{
$msg = substr_replace($msg, '', 0, 8);
$msg = '<b>'.$txt['tb_to_search'].' &quot;'.$msg.'&quot; '.$txt['tb_using_google'].', <a href="http://lmgtfy.com/?q='.$msg.'" target="_blank">'.$txt['tb_click_here'].'</a>.</b>';
}
// command /action
if (substr($msg, 0, 8) == '/action ')
{
$tb_action = array(
"gets smacked by",
"is 0wnd by",
"is slapped around by",
"gets beat down by",
"is stomped on by",
"is destroyed by",
"gets annihilated by",
"is given a black eye by",
"is given a fat lip by",
"loves being choked by",
"gets pummeled by",
"gets ******-slapped by",
"gets smoked by",
"gets body slammed by",
"is kicked to the curb by",
"is punked by",
"gets pwned by",
"gets humiliated by",
"gets clobbered by",
"is thrown to the mat by",
"gets a piledriver from",
"is beaten to a pulp by",
"gets knocked out by",
"gets crushed",
"is repeatedly punched by",
"is visciously mauled by",
"is shanked by",
);
$rand_keys = array_rand($tb_action, 2);
$tb_action = $tb_action[$rand_keys[0]];

$msg = substr_replace($msg, '', 0, 8);
$recip = "--><span class=\"tb_action\">* $msg";
$msg = "$recip $tb_action $name *</span></span>";
$name = "<!--$name";
}
// command /whisper
if(strlen(strstr($name.' '.$msg,$name.' /whisper'))>1)
{
$whis = 2;
// command /news
if ($user_info['is_admin'] && substr($msg, 0, 6) == '/news ')
{
global $txt;
$name = $sbot;
$msg = substr_replace($msg, '', 0, 6);
$msg = '<span class="tb_news1">'.$txt['tb_announce'].': <span class="tb_news2">'.$msg.'</span></span>';
}
// command /welcome
if (!$user_info['is_guest'] && $msg == '/welcome')
{
$name = $sbot;
$msg = str_replace('/welcome','','<span class=\"tb_welcome\">'.$txt['tb_welcome'].'</span>');
}

mortymoose

Greetings kind hearted shoutbox folk, Can anyone explain to me why I am getting jargon on the top of the forum? Running latest version of smf . Also if I type in the text box, the little clock shows but nothing appears.... what gives. The shoutbox worked alright before. I unistalled it for a day to fissle with another mod, reinstalled it and then I started getting these issues.

May I be as bold to ask a 2nd question, how do I get this mod to appear on all boards?

thanking you in advance,

a shoutless morty....

;)

N i g h t m a r e

Quote from: mortymoose on January 26, 2013, 12:27:40 AM
Greetings kind hearted shoutbox folk, Can anyone explain to me why I am getting jargon on the top of the forum? Running latest version of smf . Also if I type in the text box, the little clock shows but nothing appears.... what gives. The shoutbox worked alright before. I unistalled it for a day to fissle with another mod, reinstalled it and then I started getting these issues.

May I be as bold to ask a 2nd question, how do I get this mod to appear on all boards?

thanking you in advance,

a shoutless morty....

;)
I used the search bar you know, the one on the top right of the screen :)
I'm not sure of what pages it will show up on but here are some codes:
admin
announce
arcade
managearcade
ban
boardrecount
buddy
calendar
cleanperms
collapse
comment
convertentities
convertutf8
coppa
deletemsg
detailedversion
display
dlattach
dumpdb
editpoll
editpoll2
featuresettings
featuresettings2
findmember
help
helpadmin
im
jsoption
jsmodify
lock
lockVoting
login
login2
logout
maintain
manageattachments
manageboards
managecalendar
managesearch
markasread
membergroups
mergetopics
mlist
modifycat
modifykarma
modlog
movetopic
movetopic2
news
notify
notifyboard
optimizetables
packageget
packages
permissions
pgdownload
pm
post
post2
postsettings
printpage
profile
profile2
quotefast
quickmod
quickmod2
recent
regcenter
register
register2
reminder
removetopic2
removeoldtopics2
removepoll
repairboards
reporttm
reports
requestmembers
search
search2
sendtopic
serversettings
serversettings2
shoutbox
manageshoutbox
smileys
smstats
spellcheck
splittopics
stats
sticky
theme
trackip
about:mozilla
about:unknown
about:unknown
unread
unreadreplies
viewErrorLog
viewmembers
viewprofile
verificationcode
vote
viewquery
who
.xml
tpadmin
forum
tpmod

Copy and paste it in the area you have circled in the 2nd image

As for your first question, you'll have to ask someone else about that :).

mortymoose

Greetings there -♦-Zeum-♦- ,

I humbly thank you for your prompt response and shall indeed adhere to your advice....

Cheers

Morty....

:)

N i g h t m a r e

Quote from: mortymoose on January 26, 2013, 01:26:40 AM
Greetings there -♦-Zeum-♦- ,

I humbly thank you for your prompt response and shall indeed adhere to your advice....

Cheers

Morty....

:)

No problem mortymoose :) ,i don't do all that big coding nonsense but the little things are what i'm good with haha.

Kindred

mortymoose...


what that crap at the top of your screen means is that something did not get installed correctly in your modifications.english.php file.

The txt strings got added, but they were added AFTER the ?> in the file... when they have to be BEFORE the ?>

solution - open the file in a text editor, find the ?> which is not at the end of the file...
move the ?> so that it is the last thing in the file... no space, no carriage returns... nothing should come after the ?>
Слaва
Украинi

Please do not PM, IM or Email me with support questions.  You will get better and faster responses in the support boards.  Thank you.

"Loki is not evil, although he is certainly not a force for good. Loki is... complicated."

Rust

Does anyone know why IE (and not any other browser) pops up that obnoxious message?  I've tested Shoutbox on Win, Mac, and Android with IE, Firefox, Safari and Chrome, and its only IE under Windows that does that.

Thanks for any help.

mortymoose

There we go, Thanks ♦-Zeum-♦- , spot on. The ?> had attached itself onto the same line as the last .... I just cut it and moved it onto it's own line underneath all the other coding....

Now we are operating as per normal...

Cheers and thanks

humbleworld

my seo mod that i bought from nibogo's smfpacks never works. i wish i could get a refund. no matter how i tried to fix it, the mod just messed up my forum and i had to uninstall it.

Colin

This is a bit off topic, isn't it? Did you contact him for support?
"If everybody is thinking alike, then somebody is not thinking." - Gen. George S. Patton Jr.

Colin

Werldklass

This mod isnt support in Thai language.

At the chat title and name of user who uses Thai language.

how to fix it.
แนะนำเว็บไซต์ Honda Jazz Club แห่งใหม่ เป็นเว็บไซต์สำหรับกลุ่มผู้ใช้ Honda Jazz 2014 [nofollow] โดยเฉพาะ ไม่ว่าจะเป็นข้อมูลวันเปิดตัว, ราคา, สเปค, การจอง, โปรโมชั่น ฯลฯ

ส่วนใครที่สนใจ Honda City 2014 [nofollow] สามารถติดตามข่าวและเข้ามาพูดคุยแลกเปลี่ยนความคิดเห็นได้ที่เว็บไซต์ของเรา ส่วนจะเปิดตัวเมื่อไรนั้นรอติดตามได้เลย

rubbishnor

#1933
Quote from: Werldklass on January 29, 2013, 01:51:15 AM
This mod isnt support in Thai language.

At the chat title and name of user who uses Thai language.

how to fix it.

you must setting at you phpmyadmin for your language(ผมเป็นคนไทย ต้องไปตั้งค่าที่นั่นเพราะ modอันนี้ ภาษาเริ่มต้นเป็น latin)

sorry about my answer (thai answer)

rubbishnor

anybody who know how to post swf file on shoutbox

thank

Colin

You could link to one. Do you want to embed one in a message?
"If everybody is thinking alike, then somebody is not thinking." - Gen. George S. Patton Jr.

Colin

rubbishnor


Arantor

You need to put a size into the code.

[flash=320,200]url[/flash]

That is assuming Flash is enabled in the posts and topics area, it is generally disabled for security reasons.

rubbishnor

How can i enable the
BBCode?

so when i put a

a video appears in a normal size.

or

[flash]http://{link}[/flash]

appears in a small size.

Thank

Arantor

Like I said a few posts up...

Quote from: Arantor on January 31, 2013, 11:10:32 AM
You need to put a size into the code.

[flash=320,200]url[/flash]

That is assuming Flash is enabled in the posts and topics area, it is generally disabled for security reasons.

It won't add YouTube, but speaking from experience, embedding a video into a shoutbox is actually rather unpleasant as it drastically makes it change size. It might be better just to leave it to link to the video instead.

Advertisement: