|
Friday, May 09, 2008
|
|
Monday, December 28, 2009 3:38:09 AM
|
29 [0.08% of all post / 0.04 posts per day] |
|
1
|
|
0
|
|
0
|
View All Posts by User
|
Thanks!
|
|
Hi,
I just downloaded the source for 1.9.4 RC1 and tired to build the solution without any modifications and get errors relating to a missing AjaxPro assembly.
Can anyone help with that?
Thanks
|
stewartlab wrote:The only down side is if someone posts in one language and another person posts in a another, google doesnt detect which language it is and decipher it for you. Although that would be great if there was a module like that. Maybe if every post recorded what language it was written in you could have a script that deciphered it the language it was being read in. For members that wouldnt be so hard but for guest you would have to have them click what language they are typing in. I wonder how much work that would be?? I'm going to take a serious look at it in the next couple of weeks... BTW if you are using the .net Google Translate API you don't have to record what language they're writting in becuase Google translate can auto detect the language!
|
|
ok not to worry got around this by adding the name of the assembley in the web.config
<add tagPrefix="YAF" namespace="YAF" assembly="yaf_deploy" />
|
I'm trying to implement YAF 1.9.3 in a subfolder of a current application. The current application is a vb.net application so I have compiled YAF into a single dll added that to my app bin and copied everything else into the /forum folder but I'm getting this error: Quote: Parser Error Message: Unknown server tag 'YAF:Forum'.
Source Error:
Line 19: <form id="form1" runat="server" enctype="multipart/form-data"> Line 20: <div style="width:998px;"> Line 21: <YAF:Forum runat="server" ID="forum"></YAF:Forum> Line 22: </div> Line 23: </form>
Source File: /forum/default.aspx Line: 21
Any help appriciated. Thanks
|
|
Got this working.... although I had to make one change line 208 of controls/forumlist.ascx.cs to
return ( ( Int64 ) row ["Subforums"] > 0 );
Otherwise the cast did not work.
|
|
not to worry worked it out - I had no "special char" in the password
|
|
Great news, just setting this up now as a fresh installation, everytime I try to setup the new admin user I'm told that the password is invalid... what would be a valid password?
Cheers
|
|
OK thanks, I'll give this one a go!
|
Hi Bboobb, I have just used svn 2316 and tried to install but I get this error: Code:Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.
Exception Details: System.Exception: FILE: mysql/procedures.sql
ERROR: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'DELETE FROM yafnet.yaf_User WHERE UserID = i_UserID; END IF; END' at line 54
STATEMENT: DROP PROCEDURE IF EXISTS yafnet.yaf_user_delete; CREATE PROCEDURE yafnet.yaf_user_delete(i_UserID INT) BEGIN DECLARE ici_GuestUserID INT; DECLARE ici_UserName VARCHAR(100); DECLARE ici_GuestCount INT;
SELECT `Name` INTO ici_UserName FROM yafnet.yaf_User WHERE UserID=i_UserID;
SELECT a.UserID INTO ici_GuestUserID FROM yafnet.yaf_User a inner join yafnet.yaf_UserGroup b on b.UserID = a.UserID inner join yafnet.yaf_Group c on b.GroupID = c.GroupID WHERE (c.Flags & 2)<>0 GROUP BY a.UserID LIMIT 1;
SELECT COUNT(1) INTO ici_GuestCount FROM yafnet.yaf_UserGroup a join yafnet.yaf_Group b on b.GroupID=a.GroupID WHERE (b.Flags & 2)<>0;
IF NOT (ici_GuestUserID=i_UserID AND ici_GuestCount=1) THEN
UPDATE yafnet.yaf_Message SET UserName=ici_UserName,UserID=ici_GuestUserID WHERE UserID=i_UserID; UPDATE yafnet.yaf_Topic SET UserName=ici_UserName,UserID=ici_GuestUserID WHERE UserID=i_UserID; UPDATE yafnet.yaf_Topic SET LastUserName=ici_UserName,LastUserID=ici_GuestUserID WHERE LastUserID=i_UserID; UPDATE yafnet.yaf_Forum SET LastUserName=ici_UserName,LastUserID=ici_GuestUserID WHERE LastUserID=i_UserID;
DELETE FROM yafnet.yaf_Active WHERE UserID=i_UserID; DELETE FROM yafnet.yaf_EventLog WHERE UserID=i_UserID ; DELETE FROM yafnet.yaf_UserPMessage WHERE UserID=i_UserID; IF NOT EXISTS(SELECT 1 FROM yafnet.yaf_PMessage WHERE FromUserID=i_UserID) THEN DELETE FROM yafnet.yaf_PMessage WHERE FromUserID=i_UserID; END IF; /*set messages as from guest so the User can be deleted*/ UPDATE yafnet.yaf_PMessage SET FromUserID = ici_GuestUserID WHERE FromUserID = i_UserID; DELETE FROM yafnet.yaf_CheckEmail WHERE UserID = i_UserID; DELETE FROM yafnet.yaf_WatchTopic WHERE UserID = i_UserID; DELETE FROM yafnet.yaf_WatchForum WHERE UserID = i_UserID; DELETE FROM yafnet.yaf_UserGroup WHERE UserID = i_UserID; /*ABOT CHANGED Delete UserForums entries Too*/ DELETE FROM yafnet.yaf_UserForum WHERE UserID = i_UserID; DELETE FROM yafnet.yaf_IgnoredUser WHERE UserID = i_UserID OR IgnoredUserID = i_UserID /*END ABOT CHANGED 09.04.2004*/ DELETE FROM yafnet.yaf_User WHERE UserID = i_UserID; END IF; END;
Source Error:
Line 4757: { Line 4758: trans.Rollback(); Line 4759: throw new Exception(String.Format("FILE:\n{0}\n\nERROR:\n{2}\n\nSTATEMENT:\n{1}", scriptFile, sql, x.Message)); Line 4760: } Line 4761: }
Source File: D:\Users\Jacques\Documents\Downloaded .Net Code\YAF\yafdotnet\trunk\yafsrc\YAF.Classes\YAF.Classes.Data\DB.cs Line: 4759
Stack Trace:
[Exception: FILE: mysql/procedures.sql
I am using MySQL V5 on my local server becuase this is what my host uses. Will these procedures not work with v5?? Thanks
|
|