Welcome Guest Search | Active Topics | Log In | Register

3 Pages <123>
Tagboard/shoutbox for yaf forum Options · View
continienzo
#16 Posted : Monday, July 21, 2008 2:35:31 PM
Rank: Advanced Member


Joined: 1/23/2008
Posts: 72
Location: Italy
EP wrote:
Ok, after going to 1.9.3 I was able to add the controls and compile. The installation instructions could use some help, though and if I get some free time (good luck to me!) I could put together the steps I had to take to get it working.

You may want to add the refresh.gif to the download - I just googled one and added it to my images folder. Also the scripts to create the stored procs are prefixed with "inc_" and the code is looking for "yaf_". The location of the constant should be noted - needs to go in the Cache section.

my working sample is here: http://forums.euroblitz.org

Items on my wishlist, that I may or may not get to soon: alternate item style in the repeater, adding smiley support (popup link maybe?), and using whatever method is used to display regular posts - that should take care of smileys, images, links, etc.

Great work, by the way!


Hi EP, at the moment I haven't got time to add new features but if you or someone else manage to add smileys or other things it would be great if it would be shared here. It would be great if this will be integrated in the 1.9.3 beat of yaf repository.

PS: There's an annoying popup error about the asyncpostback that i didn't managed to get ride off. If someone else will, please let me know.
Thanks you Very Happy
EP
#17 Posted : Monday, August 18, 2008 2:29:38 PM
Rank: Member


Joined: 6/20/2008
Posts: 17
you gotta turn off enabletrace. once you do that the error goes away. the ajax stuff doesn't work with it turned on.
continienzo
#18 Posted : Friday, September 05, 2008 1:34:56 PM
Rank: Advanced Member


Joined: 1/23/2008
Posts: 72
Location: Italy
EP wrote:
you gotta turn off enabletrace. once you do that the error goes away. the ajax stuff doesn't work with it turned on.


What does it invole to turn off the trace and where do you think i should do it? In the whole application or only in the tagboard page if is it possible?

Thanks.
EP
#19 Posted : Monday, September 08, 2008 3:08:52 PM
Rank: Member


Joined: 6/20/2008
Posts: 17
in the web.config:

<trace enabled="false" pageOutput="true" requestLimit="1000" />
sinbad911
#20 Posted : Tuesday, September 09, 2008 4:45:11 AM
Rank: Member


Joined: 11/20/2007
Posts: 24
Location: vn
Code:
                    labelMessage.Text = YAF.Classes.UI.BBCode.ConvertBBCodeToHtmlForEdit(removeHTML(currentRow["Message"].ToString()));


Code:
       private string removeHTML(string text)
        {
           return System.Text.RegularExpressions.Regex.Replace(text, @"<(.|\n)*?>", string.Empty);
        }


I'm testing at http://congnghiep4.com Very Happy
Diễn đàn đại học Công Nghiệp TPHCM: http://congnghiep4.com
EP
#21 Posted : Tuesday, September 09, 2008 6:34:44 PM
Rank: Member


Joined: 6/20/2008
Posts: 17
did you have to set up any message flags? I had smileys and images working at one point and then I broke it...haha, this was before I had my source control set up, so I don't really remember what was different. But it looks like it is working fine on yours!
vash
#22 Posted : Sunday, September 14, 2008 4:41:02 PM

Rank: YAF Commander


Joined: 9/2/2008
Posts: 106
Location: Philippines
I have successfully implemented the shoutbox in my forum. You can view the actual implementation here ItchyTech.Net

There's only 1 problem that I encounter. The webpage is automatically being scrolled up or down everytime the shout box is being refreshed. I think it has something to do with AJAX. Any idea on how to solve this problem?

continienzo
#23 Posted : Tuesday, September 16, 2008 8:41:59 AM
Rank: Advanced Member


Joined: 1/23/2008
Posts: 72
Location: Italy
sinbad911 wrote:
Code:
                    labelMessage.Text = YAF.Classes.UI.BBCode.ConvertBBCodeToHtmlForEdit(removeHTML(currentRow["Message"].ToString()));


Code:
       private string removeHTML(string text)
        {
           return System.Text.RegularExpressions.Regex.Replace(text, @"<(.|\n)*?>", string.Empty);
        }


I'm testing at http://congnghiep4.com Very Happy


What is this change for? You got smilyes working?
vash
#24 Posted : Saturday, October 04, 2008 8:55:18 AM

Rank: YAF Commander


Joined: 9/2/2008
Posts: 106
Location: Philippines
Any update on this thread? Been looking forward for some improvements of the chatbox. Specially the one that causes the page to scroll up and down when the chatbox fetch for new records
midwestSS
#25 Posted : Wednesday, October 08, 2008 9:04:50 PM

Rank: YAF Commander


Joined: 8/17/2008
Posts: 101
Location: il
ok i understand what to do with most of the txt files,
but what to do you do with the readandsavemethodtoputinDBclass.txt file?
EP
#26 Posted : Tuesday, October 14, 2008 7:02:36 PM
Rank: Member


Joined: 6/20/2008
Posts: 17
you have to take the contents of that file and add them to the DB.cs file.
midwestSS
#27 Posted : Tuesday, October 14, 2008 9:24:48 PM

Rank: YAF Commander


Joined: 8/17/2008
Posts: 101
Location: il
and then recompile??
which db.cs do you edit, the one in yaf.classes\
the one in yaf.providers\memberships
the one in yaf.providers\profile
the one in yaf.providers\roles
?

I do not know how to recompile it anyway so, I may be S.O.L.
EP
#28 Posted : Wednesday, October 15, 2008 9:19:26 PM
Rank: Member


Joined: 6/20/2008
Posts: 17
Yaf.Classes.Data is where you'll find the file. The txt file is basically the 2 methods for saving to the database and reading from the database.

You'll need Visual Studio to recompile. Is the issue that you don't have VS or that it won't compile because of other errors?
midwestSS
#29 Posted : Thursday, October 16, 2008 2:56:20 PM

Rank: YAF Commander


Joined: 8/17/2008
Posts: 101
Location: il
i dont have VS, and I dont know how to recompile.
vash
#30 Posted : Saturday, October 25, 2008 1:42:17 AM

Rank: YAF Commander


Joined: 9/2/2008
Posts: 106
Location: Philippines
Hi Guys,

What should I do with the automatic scrolling of the page when the chatbox fetch for new records? And are the smilies available?

thanks in advance...
Users browsing this topic
Guest
3 Pages <123>
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.

YAFPro Theme Created by Jaben Cargman (Tiny Gecko)
Powered by YAF 1.9.3 RC2 | YAF © 2003-2008, Yet Another Forum.NET
This page was generated in 0.121 seconds.

SourceForge.net Logo Powered by ASP.NET v2.0 411ASP.NET