Navigation

    • Register
    • Login
    • Search
    • Categories
    • Recent
    • Popular
    • Tags
    • Users
    • Groups
    1. Home
    2. Samurais
    3. Posts
    • Profile
    • Following
    • Followers
    • Topics
    • Posts
    • Best
    • Groups

    Posts made by Samurais

    • RE: sitemap does not update

      I am using nodebb too.
      https://rockq.org/sitemap/topics.1.xml

      the sitemap hasn't been updated for a long time. So, is there any trigger ?

      posted in General Discussion
      Samurais
      Samurais
    • RE: Is there any option to show an outline for a post ?

      So, there is no plugin to archive this currently, I assume. I would try to make it.

      posted in General Discussion
      Samurais
      Samurais
    • Is there any option to show an outline for a post ?

      hey, folks

      We have a series of posts that published on a forum based on nodebb, the articles are well organized, and it is long, so for each article, we want a outline sticking on the right side. It can be used as shortcuts, like what you get bellow.

      0_1461655505284_upload-122f4972-42d2-43dd-be21-899bffb0b877

      So, the outline is used with #, or h1 tag.

      Is they any plugin can do so ?

      posted in General Discussion
      Samurais
      Samurais
    • RE: JWT Authentication for Write API from Mobile App / Web App

      Even use cookie is possible to make an mobile application, but the server should provide api to verify username and password and return cookie value for this session. And the mobile then set the cookie for following requests.

      I give it a sample for iOS platform.

          // set cookie storage
          NSHTTPCookieStorage *cookieStorage = [NSHTTPCookieStorage
                                                sharedHTTPCookieStorage];
          [cookieStorage setCookieAcceptPolicy:NSHTTPCookieAcceptPolicyAlways];
          
          CDVPluginResult * result = nil;
          
          NSString *appUrl = [command.arguments objectAtIndex:0];
          NSString *appCookie = [command.arguments objectAtIndex:1];
          
          if (appUrl != nil && [appUrl length] > 0 && appCookie != nil && [appCookie length] > 0) {
              NSArray *cookieArray = [appCookie componentsSeparatedByString:@";"];
              
              for (NSString *cookieItem in cookieArray) {
                  
                  NSMutableDictionary *cookieDict = [NSMutableDictionary dictionary];
                  NSRange range = [cookieItem rangeOfString:@"connect.sid="];
                  if (range.location != NSNotFound){
                      NSString *cookieValue = [cookieItem substringFromIndex:(range.location + range.length)];
                      
                      //domainCookie = [cookieItem stringByAppendingString:domainRapidApps];
                      //[cookieDict setObject:domainCookie forKey:NSHTTPCookieValue];
                      
                      NSURL *url = [NSURL URLWithString:[appUrl stringByAddingPercentEscapesUsingEncoding:NSUTF8StringEncoding]];
                      NSString *domain = [url host];
                      
                      // set cookie
                      [cookieDict setObject:@"connect.sid" forKey:NSHTTPCookieName];
                      [cookieDict setObject:cookieValue forKey:NSHTTPCookieValue];
                      [cookieDict setObject:domain forKey:NSHTTPCookieDomain];
                      [cookieDict setObject:@"/" forKey:NSHTTPCookiePath];
                      [cookieDict setObject:@"0" forKey:NSHTTPCookieVersion];
                      NSHTTPCookie *cookie = [NSHTTPCookie cookieWithProperties:cookieDict];
                      [cookieStorage setCookie:cookie];
                  }
              }
      
      
      
      posted in NodeBB Plugins
      Samurais
      Samurais
    • RE: [nodebb-plugin-solr] Solr search plugin

      @Bin this plugin is awesome ! It support Chinese, haha !

      posted in NodeBB Plugins
      Samurais
      Samurais
    • RE: Chinese search engine not supported?

      @aya I also find this plugin, but it does not work since it is too old.
      https://github.com/joe1chen/nodebb-plugin-search-elasticsearch

      posted in General Discussion
      Samurais
      Samurais
    • Is there any mobile client for nodebb

      Even hybrid app is great, I am not sure if someone have published iOS application.
      I think it would make nodebb even more powerful. And maybe it is easy to make a hybrid application.

      posted in General Discussion
      Samurais
      Samurais
    • RE: how to enable search features in nodebb for Chinese

      Update

      I think I know how to use this plugin now.

      0_1460287505208_upload-a62ba588-9126-4c35-8d53-008e310a6373

      there is an indexing page for this plugin, I just found it and trigger it, then the search works for english.
      https://github.com/barisusakli/nodebb-plugin-dbsearch/issues/22
      Maybe it does not support Chinese out of box, I have tested it. How to make it work with Chinese ?

      Samurais created this issue in barisusakli/nodebb-plugin-dbsearch

      open how to make nodebb-plugin-dbsearch support Chinese ? #22

      posted in NodeBB Plugins
      Samurais
      Samurais
    • how to enable search features in nodebb for Chinese

      Recently, I setup a forum with nodebb, the users are Chinese, so the posts are in Chinese. An important feature is the search page. I have activated this db search plugin. https://github.com/barisusakli/nodebb-plugin-dbsearch

      Then I get this very fancy search page.

      0_1460286975578_upload-99603f8a-badf-435e-b6a1-b64e90f5389c

      BUt the truth is the search does not work. I test it with a Chinese post and a English post, both return wrong results after hitting search button.

      So, first, does this plugin support Chinese ?

      Second, what is the right way to make it work, any index should be done manually ?

      Thanks.

      posted in NodeBB Plugins
      Samurais
      Samurais
    • Can not login after installation, get error message 'Forbidden'

      hi, Folks

      Could anyone take a look at my problem ?

      https://github.com/NodeBB/NodeBB/issues/4461

      I get stuck with the login and I want to use nodebb as a community BBS.

      I am appreciated if someone can help.

      Cheers.
      Hain

      Samurais created this issue in NodeBB/NodeBB

      closed Can not login with login form and response as "Forbidden" #4461

      posted in Technical Support
      Samurais
      Samurais
    • 1 / 1