midwestSS
  • Posts: 357
  • Joined: 17/08/2008
are these smileys ever going to work on this shoutbox??
midwestSS
  • Posts: 357
  • Joined: 17/08/2008
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
  • Posts: 23
  • Joined: 20/06/2008
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
  • Posts: 357
  • Joined: 17/08/2008
i got that part working.. of course the smileys dont work
JoeOuts
  • Posts: 79
  • Joined: 05/06/2009
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
  • Posts: 357
  • Joined: 17/08/2008
JoeOuts wrote:

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


do u have the smileys working in it?
JoeOuts
  • Posts: 79
  • Joined: 05/06/2009
I just got it working... 🙂
KASL Technologies  - Specializing in Custom Web Application Development
JoeOuts
  • Posts: 79
  • Joined: 05/06/2009
I had to make a change to:

Quote:

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



since I am using a MasterPage it looks like this:

Quote:

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
  • Posts: 357
  • Joined: 17/08/2008
Joe kicks all forms of azz!! thanks so much!!
it works in my IE8 btw
AsULikeIt
  • Posts: 38
  • Joined: 20/05/2009
JoeOuts wrote:

I had to make a change to:

Quote:

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



since I am using a MasterPage it looks like this:

Quote:

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
  • Posts: 79
  • Joined: 05/06/2009
Ok, I'll make it easy for everyone I hope.

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

//*****************************************************************************************************
// Original code by: DLESKTECH at 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
//*****************************************************************************************************
File Attachment(s):
yafShoutBox.zip (93kb) downloaded 133 time(s).

KASL Technologies  - Specializing in Custom Web Application Development
linhmuc
  • Posts: 1
  • Joined: 15/07/2009
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
  • Posts: 1077
  • Joined: 26/04/2011
Originally Posted by: vash

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...



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
  • Posts: 6
  • Joined: 10/09/2014
Originally Posted by: mdlesk

Yes, a recompile is necessary.



Nice. :cheesy:

shachris attached the following image(s):
Users browsing this topic
    Forum Jump  
    • You cannot post new topics in this forum.
    • You cannot reply to topics in this forum.
    • You cannot delete your posts in this forum.
    • You cannot edit your posts in this forum.
    • You cannot create polls in this forum.
    • You cannot vote in polls in this forum.

    About Us

    The YAF.NET is an open source .NET forum project. YAF.NET is supported by an team of international developers who are build community by building community software.

    Powered by Resharper Donate with PayPal button

    Project Twitter Updates

    Copyright © YetAnotherForum.NET & Ingo Herbote. All rights reserved