#76
are these smileys ever going to work on this shoutbox??
  • midwestSS
  • Rank: YAF MVP
  • Reputation:
    Exalted
    100%
  • Medals:
    Medal of Honor for Bug Finder: Given for kick-assery at finding bugs by being excellent at QA.Medal of Open Source Contributer: Given to someone who gets open source and gives back to the community.
  • Joined: 17/08/2008
  • Posts: 357
  • Thanks: 6 times
  • Was thanked: 9 time(s) in 8 post(s)
#77
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










  • midwestSS
  • Rank: YAF MVP
  • Reputation:
    Exalted
    100%
  • Medals:
    Medal of Honor for Bug Finder: Given for kick-assery at finding bugs by being excellent at QA.Medal of Open Source Contributer: Given to someone who gets open source and gives back to the community.
  • Joined: 17/08/2008
  • Posts: 357
  • Thanks: 6 times
  • Was thanked: 9 time(s) in 8 post(s)
#78
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
  • EP
  • Rank: YAF Camper
  • Reputation:
    Friendly
    63.8%
  • Joined: 20/06/2008
  • Posts: 23
#79
i got that part working.. of course the smileys dont work
  • midwestSS
  • Rank: YAF MVP
  • Reputation:
    Exalted
    100%
  • Medals:
    Medal of Honor for Bug Finder: Given for kick-assery at finding bugs by being excellent at QA.Medal of Open Source Contributer: Given to someone who gets open source and gives back to the community.
  • Joined: 17/08/2008
  • Posts: 357
  • Thanks: 6 times
  • Was thanked: 9 time(s) in 8 post(s)
#80
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
  • JoeOuts
  • Rank: YAF Developer
  • Reputation:
    Exalted
    97.4%
  • Medals:
    Medal of Honor Key: Given to pillars of the community who are key players in the YAF community and project.
  • Joined: 05/06/2009
  • Posts: 79
#81
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?
  • midwestSS
  • Rank: YAF MVP
  • Reputation:
    Exalted
    100%
  • Medals:
    Medal of Honor for Bug Finder: Given for kick-assery at finding bugs by being excellent at QA.Medal of Open Source Contributer: Given to someone who gets open source and gives back to the community.
  • Joined: 17/08/2008
  • Posts: 357
  • Thanks: 6 times
  • Was thanked: 9 time(s) in 8 post(s)
#82
I just got it working... 🙂
KASL Technologies  - Specializing in Custom Web Application Development
  • JoeOuts
  • Rank: YAF Developer
  • Reputation:
    Exalted
    97.4%
  • Medals:
    Medal of Honor Key: Given to pillars of the community who are key players in the YAF community and project.
  • Joined: 05/06/2009
  • Posts: 79
#83
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
  • JoeOuts
  • Rank: YAF Developer
  • Reputation:
    Exalted
    97.4%
  • Medals:
    Medal of Honor Key: Given to pillars of the community who are key players in the YAF community and project.
  • Joined: 05/06/2009
  • Posts: 79
#84
Joe kicks all forms of azz!! thanks so much!!
it works in my IE8 btw
  • midwestSS
  • Rank: YAF MVP
  • Reputation:
    Exalted
    100%
  • Medals:
    Medal of Honor for Bug Finder: Given for kick-assery at finding bugs by being excellent at QA.Medal of Open Source Contributer: Given to someone who gets open source and gives back to the community.
  • Joined: 17/08/2008
  • Posts: 357
  • Thanks: 6 times
  • Was thanked: 9 time(s) in 8 post(s)
#85
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...
  • AsULikeIt
  • Rank: Advanced Member
  • Reputation:
    Friendly
    73.4%
  • Joined: 20/05/2009
  • Posts: 38
  • Thanks: 1 times
#86
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
  • JoeOuts
  • Rank: YAF Developer
  • Reputation:
    Exalted
    97.4%
  • Medals:
    Medal of Honor Key: Given to pillars of the community who are key players in the YAF community and project.
  • Joined: 05/06/2009
  • Posts: 79
#87
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
  • linhmuc
  • Rank: YAF Forumling
  • Reputation:
    Neutral
    50.6%
  • Joined: 15/07/2009
  • Posts: 1
#88
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.
  • Zero2Cool
  • Rank: YAF Leader
  • Reputation:
    Exalted
    100%
  • Medals:
    Medal of Honor for the Support Knight: Given to a community member who has assisted lots and lots of people!
  • Joined: 26/04/2011
  • Posts: 1,076
  •  Man  United States
  • Location: in a van down by the river
  • Thanks: 245 times
  • Was thanked: 101 time(s) in 92 post(s)
#89
Originally Posted by: mdlesk

Yes, a recompile is necessary.



Nice. :cheesy:

shachris attached the following image(s):
air 5.jpg
dinoseurs.jpg
  • shachris
  • Rank: YAF Forumling
  • Reputation:
    Neutral
    54.2%
  • Joined: 10/09/2014
  • Posts: 6
  •  Nigeria
  • Thanks: 3 times
Users browsing this topic
  •  guest
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