nneonneo's Shoutbox

Started by nneonneo, December 26, 2006, 06:58:11 PM

Previous topic - Next topic

Nequil

Quote from: nneonneo
@Nequil: Yes, but if you are paranoid you can always backup yshout/ before upgrading.

thanks, all works

Kyle P

Quote from: nneonneo on December 06, 2008, 08:13:57 PM
@alex clone: Probably right before or after the code
// The main content should go here.
echo '
<div id="bodyarea" style="padding: 1ex 0px 2ex 0px;">';


(your custom theme will have id="bodyarea", but might not look exactly like this)

The theme im using doesnt have that code there :S
Ive tryed to break the code down it doesnt say "bodyarea" anywhere either
AblePage - Blazing Fast SMF Hosting

nneonneo

@alex clone: Try looking for the end of the template_main_above function, then.
Check out the AJAX Shoutbox (my one and only mod to date :P)
Do you like SMF? Are you using ProBoards, InvisionFree, ActiveBoards or some other web-hosted forum? I can help you convert to SMF (without having to purchase a DB conversion)...contact me [nneonneo {at} gmail *dot* com], and see this topic
spammers here!

lowbuck

#4603
SunKing here is the index.




*Edit Added the correct Index

[unplugged]

The shoutbox in that index.template.php is not the same as this one. The support thread for that mod can be found HERE. I will be glad to help you add nneonneo's Shoutbox to your custom theme template if you decide to go with it instead.
« Next Edit: Tomorrow at 08:34:45 PM by SunKing »   <---- « someone stole my sig... :o »



lowbuck

Oops sorry about that.  The code you saw in there was left over from another one that I tried.  Here is the clean index.

[unplugged]

No problem at all. Which version of the shoutbox are you wanting installed?
« Next Edit: Tomorrow at 08:34:45 PM by SunKing »   <---- « someone stole my sig... :o »



lowbuck

I currently have nneonneo's AJAX ShoutBox 1.22 installed and it works well for the default site.  Its just when I do the mods with the theme index that it goes all crazy.  LOL  I tried putting the code in the right place but everytime I do it and load the page it is never in the right spot and then causes other stuff on the page to break.   :-[  Like showing parts of the page twice and so on...

lowbuck

#4608
I am also thinking that I would like to try AdvSB_1.22.  Will the mods to the theme index be different?  Should I load this one and see if I like it better first?



*Edit
Strike that, as I cant seem to get it to install anyway.  lol  So I will just stick with nneonneo's AJAX ShoutBox 1.22

[unplugged]

OK. Make a backup of your current index.template.php then upload the attached file. It should work, but with custom themes, there are often "hiccups". I will be more than happy to help. Also, could you post a link to your site (or PM it to me)?
« Next Edit: Tomorrow at 08:34:45 PM by SunKing »   <---- « someone stole my sig... :o »



lowbuck

So far it seems to be working Great!!!  I keep trying to send you a PM but I must be doing something wrong.  I send it and then it does not show up in the "sent" messages

igforum

Hello...

I have run the shoutbox install and followed the instruction for my version (1.1.7) to the letter as far as manual changes. It does not show up, even for the admin. my site: hxxp:www.informationgospel.net [nonactive]

If there is some glaring thing i have yet to do, would appreciate knowing, thank you.

[unplugged]

I do not see any yshout lines in your page's sourcecode. You need to make sure you have edited the index.template.php for your theme, as the shoutbox only installs into the default theme.
« Next Edit: Tomorrow at 08:34:45 PM by SunKing »   <---- « someone stole my sig... :o »



mickeyb107

i was using another shoutbox but i wanted this option for forum posts to be displayed.. so i made a request and nneonneo said his shoutbox does this,well here i am... i now have everything working the way i want... great mod...

my only problem seems to be i cant give my staff mods and co admin permissions to delete shouts or ban... can someone point me in right direction? ive tried under the members permissions... i checked moderate shoutbox but doesnt seem to work...

also in admin i dont see any settings... should i ?? thank you
<a href="http://ftasatfile.com">FTASATFILE FREE TV YOUR
SOURCE FOR ALL YOUR SATELLITE NEEDS

[unplugged]

#4614
Hey nneonneo, I know I keep you busy.   ;D

I just added the "Shoutbox Post Notification" edit and think it's great. I tweaked it a little by adding the /me to the front of the text displayed and reworded it some. It gives it a bit more of an "announced" look.

Anyway, I have a odd issue with it, well, with it coexisting with 2 other mods. The shoutbox edit works as designed. But I have a "Post Anonymously" and "Post As Staff" mods/hacks installed. What the notification edit does is post a notification in the shoutbox as intended, but it is posted under the actual poster rather than "Anonymous" or "Site Staff". Now, with Staff it's not a big issue, it would just reflect which staff member posted. However, it's also posting which member has just posted anonymously, thus defeating the purpose of this feature.   :P

My question, then, is can this be fixed so that they work happily together? No rush. I'll make an announcement to members regarding the "glitch" with anonymous posting. Thanks in advance.

ALSO: I just noticed that after you have clicked on the link in the shoutbox, it takes you to the post/reply, but upon returning to the main page it still shows that board as having unread content in it. If you go into the board directly, it clears the "new" status. No big deal as far as functionality of the edit, just an unneeded step IMO. Just trying to keep this awesome mod awesome. ;)
« Next Edit: Tomorrow at 08:34:45 PM by SunKing »   <---- « someone stole my sig... :o »



Denis Russkih

Quote from: pipo_il_primero on September 30, 2008, 05:47:17 AM
Also, sometimes there's a cursor blinking in the input box (which is great help for correcting text), sometimes not. Why?

Just change the function floodControl() in "yshout.js".

Old (wrong) code:

function floodControl() {
   $("shout-text").disabled = true;
   $("shout-button").disabled = true;
   $("shout-text").value = "";
   setTimeout("enableShout()", floodTime);
}


New (true) code:

function floodControl() {
   $("shout-button").focus();
   $("shout-text").value = "";
   $("shout-text").disabled = true;
   $("shout-button").disabled = true;
   setTimeout("enableShout()", floodTime);
}


nneonneo, this is a bug report. :)

fext

Hi Neo,

It appears to be working now - last time i missed a comma - DOH!

Cheers!

nneonneo

@mickeyb107: If you have given them permission to moderate, then it *should* work.

@SunKing: Can you point me at this mod? My guess is that overwriting $context['user'] to appear as a guest (by setting ['is_guest'] and ['username'] keys appropriately) before calling makeShout() will work, but I don't know how the mod works so I can't say for sure.

The mod itself is based entirely off the notifications data. Can you try subscribing to a thread, then posting anonymously in it? I wonder if you get an email with the member's name or if it is anonymized; if it is the latter, then I should know how to fix it. Similarly, with the read/unread status, the link in the post is the same as the one sent to topic/board subscribers, so it might be an SMF bug if that link doesn't change the unread status.

@Denis Russkih: Thanks for the patch! It will appear in the next version.
Check out the AJAX Shoutbox (my one and only mod to date :P)
Do you like SMF? Are you using ProBoards, InvisionFree, ActiveBoards or some other web-hosted forum? I can help you convert to SMF (without having to purchase a DB conversion)...contact me [nneonneo {at} gmail *dot* com], and see this topic
spammers here!

mickeyb107

nneonneo

my only permissions i get in admin for this shoutbox is 3 check marks in the permissions area... for co admin and super mod i give all permissions so i have the 3 allows checked... i have a few test members and i cant get the permissions to work right... is there any other code i need for this? thx for the help
<a href="http://ftasatfile.com">FTASATFILE FREE TV YOUR
SOURCE FOR ALL YOUR SATELLITE NEEDS

[unplugged]

The mod itself is an edited version of the "Post As Alternative User" mod, but I don't know if it's still available. I basically took that mod and got it working with SMF 2.0 Beta 4, changed the $txt strings, and hardcoded the IP as 0.0.0.0 into the database. If you would like to look at the install.xml, I can post it.

I subscribed to a thread and then posted to it anonymously. The email I received showed the posters name instead of "Anonymous".

As for the read/unread issue, it seems to have sorted itself out.

I just want to thank you again for all of your time and help! I really appreciate it.
« Next Edit: Tomorrow at 08:34:45 PM by SunKing »   <---- « someone stole my sig... :o »



Advertisement: