|
|
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.orgItems 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
|
|
|
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.
|
|
|
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.
|
|
|
Rank: Member
Joined: 6/20/2008 Posts: 17
|
in the web.config:
<trace enabled="false" pageOutput="true" requestLimit="1000" />
|
|
|
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 Diễn đàn đại học Công Nghiệp TPHCM: http://congnghiep4.com
|
|
|
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!
|
|
|
 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?
|
|
|
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 What is this change for? You got smilyes working?
|
|
|
 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
|
|
|
 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?
|
|
|
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.
|
|
|
 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.
|
|
|
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?
|
|
|
 Rank: YAF Commander
Joined: 8/17/2008 Posts: 101 Location: il
|
i dont have VS, and I dont know how to recompile.
|
|
|
 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
|
YAFPro Theme Created by Jaben Cargman (Tiny Gecko)Powered by YAF 1.9.3 RC2 |
YAF © 2003-2008, Yet Another Forum.NETThis page was generated in 0.148 seconds.