JoeOuts
  • Posts: 79
  • Joined: 05/06/2009
Here is the solution I came up with by modding DLESKTECH version of the shoutbox.

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 http://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 12hrs old from db
// Note: Flyout button opens new chat only window
//*****************************************************************************************************


Update 7/21/09: Added Flyout button to Shoutbox that opens a new window that just runs the shoutbox.
This way you can browse your forums while still talking to other members.

Update 7/22/09: Removed Linq reference and changed title. The bottom file is the latest file. (51kb)

Update 7/23/09: Fixed flyout so smiley images show onload of window.

Update 7/28/09: Added Javascript to ShoutBox.ascx to fix jumpy scrolling issue.
File Attachment(s):
yafShoutBox.zip (94kb) downloaded 164 time(s).
yafShoutBox_winzip.zip (47kb) downloaded 96 time(s).
yafShoutBox_withFlyout_winzip.zip (52kb) downloaded 132 time(s).

KASL Technologies  - Specializing in Custom Web Application Development
Sponsor
midwestSS
  • Posts: 357
  • Joined: 17/08/2008
i have this in use on my forum and its awesome. thanks joe!
ddscart
  • Posts: 60
  • Joined: 01/10/2008
After downloading the zip file, I tried to open the file, it errored out as an invalid zip file. Am I missing something?
www.ddscart.orgUserPostedImageddscart@ddscart.org
Disabled Dachshund Society of Georgia
midwestSS
  • Posts: 357
  • Joined: 17/08/2008
try using winrar
JoeOuts
  • Posts: 79
  • Joined: 05/06/2009
I created it using winrar, so you may need that to open it.

It's a free utility: WinRaR 
KASL Technologies  - Specializing in Custom Web Application Development
ddscart
  • Posts: 60
  • Joined: 01/10/2008
First let me say I am overwhelmed with your presentation of new code! For beginning users of Yaf, or more appropriately, programming: you have taken into consideration our inabilities. You have included all assembled dll’s, code and 5 straightforward and easy to understand steps to install this shoutbox. For this, I appreciate and give many thanks!

With that said, you got tech-y just once. You gave six steps to install. In step 5

“5.) Execute the SQL script included in this package.”

You left me behind. How do I execute the script?

www.ddscart.orgUserPostedImageddscart@ddscart.org
Disabled Dachshund Society of Georgia
midwestSS
  • Posts: 357
  • Joined: 17/08/2008
you run it from sql manager
JoeOuts
  • Posts: 79
  • Joined: 05/06/2009
If you have access to your database and SQL Manager, this is the best way to go about it.
Otherwise you can use your favorite database management software.
Another option is to use your hosting companies database tools if available.

I use GoDaddy and they have an online Database Management Console, most hosting companies should.

If these tools are not available:

In the admin section of YAF, on the left side, there is a link at the bottom under Database called "Run SQL Query"
You should be able cut-n-paste the scripts here and run them.

Hope this helps and thanks for the kudos. 🙂
KASL Technologies  - Specializing in Custom Web Application Development
midwestSS
  • Posts: 357
  • Joined: 17/08/2008
JoeOuts wrote:



In the admin section of YAF, on the left side, there is a link at the bottom under Database called "Run SQL Query"
You should be able cut-n-paste the scripts here and run them.



generally yes, but there are some, like backup database scripts that dont use.
sonnguyen_ali
  • Posts: 1
  • Joined: 27/06/2009
Visit http://www.gamevui.com/forum/ . My ShoutBox run very well
ddscart
  • Posts: 60
  • Joined: 01/10/2008
I have all the means to install this shoutbox and believe it should be straightforward and easy. Many thanks!

Now if I can just get updated to 9.3! I have tried several ways and many connection strings and I don’t seem to be able to connect to my database. MS Visual Developer 2008 Express Edition allows you to connect to a database, but I have been unable to so far. I guess my main problem with updating is connecting. GoDaddy Support was no help!

I’m looking forward to having this shoutbox on my forum! Thanks again!

www.ddscart.orgUserPostedImageddscart@ddscart.org
Disabled Dachshund Society of Georgia
JoeOuts
  • Posts: 79
  • Joined: 05/06/2009
I also use GoDaddy and I got the new version running locally with a local db first and just copied the whole site to GoDaddy. This was a new site not an upgrade.
KASL Technologies  - Specializing in Custom Web Application Development
ddscart
  • Posts: 60
  • Joined: 01/10/2008
GoDaddy alows two db's and I installed a new install that works on the second one. I am working with a friend to see if we can transfer the data I can't lose! If I can't do it one way, I'll try another!

I've got to get rid of the second board soon though because it plays games with logging on and off with the first board. I've got to log out of the second board to log out of the first board!

Thanks again my friend!
www.ddscart.orgUserPostedImageddscart@ddscart.org
Disabled Dachshund Society of Georgia
JoeOuts
  • Posts: 79
  • Joined: 05/06/2009
That sounds like your best solution. It's much easier to move the data than upgrade the app. Good Luck.
KASL Technologies  - Specializing in Custom Web Application Development
F.L.
  • Posts: 14
  • Joined: 12/07/2009
Hi, first post so to start with I would like to thank everyone involved in YAF. You are doing a great job!

However, I didn't register only to say that (unfortunately :cheesy: )

I upgraded today to 1.9.3 and took the opportunity to add this new cool feature with the Shoutbox.
But my forum is behaving weird after this and I _think_ its because of the shoutbox.

When being idle on the first page the page "jumps" up and down changing position.
So for example if you are almost at the bottom of page reading forum sections it can suddenly jump to the very bottom.
Sometimes it jumps to the middle of the page and sometimes to the top. Depending on where you are standing.

The page has loaded completely so there are no pictures or anything that could cause this.

Could this be from the Ajax control refreshing the shoutbox?
If so can it modified somehow so it is not changing the focus on the page?

Its quite annoying to have a page scrolling by itself :wink:

I´m running unmodified YAF on Win2k3 .NET 2.0 and the behavior is in both IE8 and FF 3.5
The shoutbox is at the top of the page if that matter and I used the precompiled dll.

EDIT: I tested to remove the Shoutbox and then it stopped so indeed is it related.
EDIT2: By looking at sonnguyen_ali forum I can see that he doesn't have the same problem which makes me even more confused :cry:

Many thanks for any suggestions to solve this






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