YAFLogo

midwestSS
15 years ago
are these smileys ever going to work on this shoutbox??
midwestSS
15 years ago
ive been trying to recompile this in the 1.9.3 final release.. trying to compile it and i do not think this one is 1.9.3 final compatible.. or im just an idiot..

Warning	10	The variable 'x' is declared but never used	C:\yaf\YAF-v1.9.3-FINAL-SRC\YAF.Classes\YAF.Classes.Utils\Context.cs	941	22	YAF.Classes.Utils

Warning	9	The variable 'ex' is declared but never used	C:\yaf\YAF-v1.9.3-FINAL-SRC\YAF.Classes\YAF.Classes.Utils\StaticData.cs	51	30	YAF.Classes.Utils

Error	8	'YAF.Classes.Data.DB' does not contain a definition for 'DLESKTECH_ShoutBox_GetMessages'	C:\yaf\YAF-v1.9.3-FINAL-SRC\YetAnotherForum.NET\controls\ShoutBox.ascx.cs	95	

Error	1	Member modifier 'static' must precede the member type and name	C:\yaf\YAF-v1.9.3-FINAL-SRC\YAF.Classes\YAF.Classes.Data\DB.cs	172	3	YAF.Classes.Data










EP
  • EP
  • 63.8% (Friendly)
  • YAF Camper
15 years ago
The DLESKTECH_ShoutBox_GetMessages function needs to be added to the DB.cs file located here:

C:\yaf\YAF-v1.9.3-FINAL-SRC\YAF.Classes\YAF.Classes.Data\DB.cs

midwestSS
15 years ago
i got that part working.. of course the smileys dont work

JoeOuts
  • JoeOuts
  • 97.4% (Exalted)
  • YAF Developer
15 years ago
Got it working on my YAF 1.9.3 site. Works Great, Thanks for all the hard work.

Clan Rampancy 


KASL Technologies  - Specializing in Custom Web Application Development
midwestSS
15 years ago

Got it working on my YAF 1.9.3 site. Works Great, Thanks for all the hard work.

Clan Rampancy 

JoeOuts wrote:

do u have the smileys working in it?

JoeOuts
  • JoeOuts
  • 97.4% (Exalted)
  • YAF Developer
15 years ago
I just got it working... 🙂
KASL Technologies  - Specializing in Custom Web Application Development
JoeOuts
  • JoeOuts
  • 97.4% (Exalted)
  • YAF Developer
15 years ago
I had to make a change to:

InsertStringAtCurrentCursorPositionOrOverwriteSelectedText(document.getElementById('forum$ctl01$ctl00$messageTextBox'),code)

since I am using a MasterPage it looks like this:

InsertStringAtCurrentCursorPositionOrOverwriteSelectedText(document.getElementById('ctl00_ContentPlaceHolder1_forum_ctl01_ShoutBox1_messageTextBox'), code)

It was also using the Textbox controls Name attribute instead of the ID attribute.

notice the underscores instead of the dollar signs.

The Name attribute works in IE7 but not IE8 or Firefox

Make sure that you have smilies imported into your board from the admin section


KASL Technologies  - Specializing in Custom Web Application Development
midwestSS
15 years ago
Joe kicks all forms of azz!! thanks so much!!

it works in my IE8 btw

AsULikeIt
15 years ago

I had to make a change to:

InsertStringAtCurrentCursorPositionOrOverwriteSelectedText(document.getElementById('forum$ctl01$ctl00$messageTextBox'),code)

JoeOuts wrote:

since I am using a MasterPage it looks like this:

InsertStringAtCurrentCursorPositionOrOverwriteSelectedText(document.getElementById('ctl00_ContentPlaceHolder1_forum_ctl01_ShoutBox1_messageTextBox'), code)

It was also using the Textbox controls Name attribute instead of the ID attribute.

notice the underscores instead of the dollar signs.

The Name attribute works in IE7 but not IE8 or Firefox

Make sure that you have smilies imported into your board from the admin section

I am not able to get the Smilies working.... it gives null is null error... I have applied the final DLESKTECH ShoutBox v 1[1].1.0.2 shoutbox .. Please meed help...

JoeOuts
  • JoeOuts
  • 97.4% (Exalted)
  • YAF Developer
15 years ago
Ok, I'll make it easy for everyone I hope.

I included the dll for people who can't compile the code.

//*****************************************************************************************************

http://www.dlesktech.com/support.aspx 

// Modifications by: KASL Technologies at www.kasltechnologies.com

// Mod date: 6/18/2009

// Mods: working smileys, moved smilies to bottom, added clear button for admin, new stored procedure

// Mods: fixed the time to show the viewers time not the server time

// Note: clear button removes message more than 24hrs old from db

//*****************************************************************************************************


KASL Technologies  - Specializing in Custom Web Application Development
linhmuc
  • linhmuc
  • 50.6% (Neutral)
  • YAF Forumling
14 years ago
to enable smiles, login with Admin right, then goto ADMIN --> SMILES -->Add smile (this will add emotion icons to the DB). Import pak file does not insert to DB
Zero2Cool
  • Zero2Cool
  • 100% (Exalted)
  • YAF Leader YAF Version: YAF 3.1.16
10 years ago

Hi, is it possible to add the shoutbox in a different page other than forum.ascx? I've tried adding it on a new page but could not get the shoutbox to display. Please see attached files

Thanks...

Originally Posted by: vash 

I have a ASP.NET page with YAF and would like to have the ShoutBox also display in an additional page of my own design. The purpose of this new page would be for users to chat.

I'm playing around with the source code trying to figure out how implement the ShoutBox control into an ASPX page on its own.

Any help would be appreciated.

shachris
  • shachris
  • 54.2% (Neutral)
  • YAF Forumling
9 years ago

Yes, a recompile is necessary.

Originally Posted by: mdlesk 

Nice. :cheesy: