SA Knowledge Base

Started by SMFHacks.com Team, January 20, 2012, 06:14:12 PM

Previous topic - Next topic

vbgamer45

Looks like a setting best bet just remove that code
Community Suite for SMF - Take your forum to the next level built for SMF, Gallery,Store,Classifieds,Downloads,more!

SMFHacks.com -  Paid Modifications for SMF

Mods:
EzPortal - Portal System for SMF
SMF Gallery Pro
SMF Store SMF Classifieds Ad Seller Pro

pierrelogic

Back on page 5 of this thread I had a comment on this mod.  So jumping back in now.  Still using the FAQ mod from Suki but wanting to try this one out for a while.  Since my first post a few pages ago I've gotten more comfortable when manual intervention is required.  So here's my 2 questions.

1. Has anyone tried this mod while using Tiny Portal?  The mod is making some adjustments pretty close to some tportal code. not that it makes much difference but anything that close makes me cautious since tportal is vital on my forum.

During the dry tun install of the mod I get 2 warnings, both in the .index.php of my forum.

QuoteCode: (Find) [Select]
      // Action and board are both empty... BoardIndex!


Code: (Add Before) [Select]
      if (!empty($modSettings['kb_knowledge_only']) && $modSettings['kb_enabled'])
      {
         require_once($sourcedir . '/KB/KBMain.php');
          return 'KB';
      }

and....

QuoteCode: (Find) [Select]
      // Fall through to the board index then...
      require_once($sourcedir . '/BoardIndex.php');
      return 'BoardIndex';
Code: (Add Before) [Select]
      if (!empty($modSettings['kb_knowledge_only']) && $modSettings['kb_enabled'])
      {
         require_once($sourcedir . '/KB/KBMain.php');
          return 'KB';
      }

2. Just to make sure I do this in the right order, should I make the manual adjustments listed above first, over write the index.php file (via ftp) then try to perform the normal uninstall through the admin section of SMF or a different sequence here?

Thanks! 
It's all about the ride

vbgamer45

Those two changes would be safe. If you get a warning manually make the change to the forum and should be ok.
Community Suite for SMF - Take your forum to the next level built for SMF, Gallery,Store,Classifieds,Downloads,more!

SMFHacks.com -  Paid Modifications for SMF

Mods:
EzPortal - Portal System for SMF
SMF Gallery Pro
SMF Store SMF Classifieds Ad Seller Pro

SA™

If you not using kb only mode you can just ignor them edits :)
http://samods.github.io/SAChatBar/

Xbox Live: smokerthecheese 360 or xbone
My Work
Piano Movers / Delivery service
QuoteMy allies are dead.
I'm 'bout to be too.
Zombies are chasing me.
F*** it, I'm screwed -___-

novill

Quote from: novill on November 24, 2012, 03:00:06 PM
Code (Sources\KB\KBMain.php) Select

//I am a robot

    $context['robot_no_index'] = true;

It's worked. :)
I have removed the quoted code, and now google has indexed the KB to.

vbgamer45

Awesome glad that worked so fast!
Community Suite for SMF - Take your forum to the next level built for SMF, Gallery,Store,Classifieds,Downloads,more!

SMFHacks.com -  Paid Modifications for SMF

Mods:
EzPortal - Portal System for SMF
SMF Gallery Pro
SMF Store SMF Classifieds Ad Seller Pro

pierrelogic

Quote from: vbgamer45 on November 27, 2012, 01:51:04 AM
Those two changes would be safe. If you get a warning manually make the change to the forum and should be ok.

Good news, and bad news.

After making the manual changes the uninstall of the other FAQ mod went well.  The new install of this mod went without a hitch too.  Bad news is I lost all the content that was sitting in the old FAQ mod.  I did make sure not delete the data when I uninstalled the FAQ mod.

Good thing is I made manual cut-n-paste back-ups of the FAQ contents.   8)  Not complaining here, just confirming when switching between these two mods the contents were wiped on my particular forum setup regardless of the confidence level I had prior to uninstalling the FAQ mod.  Also, it pays to be careful and backup things up old school sometimes.   ;D
It's all about the ride

pierrelogic

Quote from: pierrelogic on November 29, 2012, 07:52:46 PM
Quote from: vbgamer45 on November 27, 2012, 01:51:04 AM
Those two changes would be safe. If you get a warning manually make the change to the forum and should be ok.

Good news, and bad news.

After making the manual changes the uninstall of the other FAQ mod went well.  The new install of this mod went without a hitch too.  Bad news is I lost all the content that was sitting in the old FAQ mod.  I did make sure not delete the data when I uninstalled the FAQ mod.

Good thing is I made manual cut-n-paste back-ups of the FAQ contents.   8)  Not complaining here, just confirming when switching between these two mods the contents were wiped on my particular forum setup regardless of the confidence level I had prior to uninstalling the FAQ mod.  Also, it pays to be careful and backup things up old school sometimes.   ;D

Never mind, I stand corrected.  While I was about to start pulling back in the information from the old FAQ mod I sort of stumbled on the part where you can import into the KB mod.   :-[  Then I had my own personal 'Holy Toledo' moment as I pulled in all the Tiny Portal articles and realized how incredibly useful this mod can be on our forum.  Was looking for a way to point people to events tied to our Calendar without simply posting on a forum board and having the critical info in the first post of the thread get lost with numerous replies.  This is going to allow users a simple & single click away from the articles in the Tiny Portal that contain all the information they'd ever need about the events. 

Funny how while playing with this mod I found a very cool way of utilizing the features.  Friggin' nice!!   ;D
It's all about the ride

SMFHacks.com Team

Disclaimer: SMFHacks.com Team is not affiliated with the SMF Team or the SimpleMachines NPO.
SMFHacks.com -  Paid Modifications for SMF
Latest Mods:
Community Suite
Newsletter Pro SMF Gallery Pro SMF Classifieds SMF Store

teos55

#189
SMF 2.0.3  SP 2.3.5 Default theme curve  attachment question

Instaled the mod cleanly, thanks for your efforts.

  In one of the articles, I wanted to add .xls file.  I added .xls type to config, configured the size as 3096kb.

Windows 8 says the filesize is 748kb

But I got error while adding :

"files size is larger than 3.02kb"

what am I doing wrong ?

nb. also facde the problem with a jpg file only 35kb.  so it is not specific to  .xls type

GlitchPC

#190
Been a while since I posted here.  Uninstalled old version and installed new version without a hitch.  Only issue I have is cosmetic and I'm hoping to get this resolved.  I did it before...but, for the life of me...can't remember how I did it.

I'd like to remove the Knowledge Base menu tab from this mod and place it in the drop down of my Help menu.  Can anyone enlighten me on how to get this accomplished?

Thanks, in advance...

Edit...

I feel like a real putz.  After searching this thread I found the answer in one of my earlier posts.  Sorry...

vbgamer45

Glad you got it working. Keep it bookmarked just in case in the future.
Community Suite for SMF - Take your forum to the next level built for SMF, Gallery,Store,Classifieds,Downloads,more!

SMFHacks.com -  Paid Modifications for SMF

Mods:
EzPortal - Portal System for SMF
SMF Gallery Pro
SMF Store SMF Classifieds Ad Seller Pro

Skaty

It would be great if it has some features like this. is it possible ?

Add Article Number in Profile



Show Last Articles in Sidebar With Image (Entegred With Simple Portal Blocks



vbgamer45

Possible to do just would need to write code.
Community Suite for SMF - Take your forum to the next level built for SMF, Gallery,Store,Classifieds,Downloads,more!

SMFHacks.com -  Paid Modifications for SMF

Mods:
EzPortal - Portal System for SMF
SMF Gallery Pro
SMF Store SMF Classifieds Ad Seller Pro

Skaty


novill

I switched the fancy box mod to Highslide 4 SMF mod, and now the knowledge base attached pictures are no more in thumbnail size. :(
The KB shows the pictures in original size, highslide is enabled.

How can i fix this problem?

novill

Any suggestion how can i fix this problem?

vbgamer45

Community Suite for SMF - Take your forum to the next level built for SMF, Gallery,Store,Classifieds,Downloads,more!

SMFHacks.com -  Paid Modifications for SMF

Mods:
EzPortal - Portal System for SMF
SMF Gallery Pro
SMF Store SMF Classifieds Ad Seller Pro

Ramón Cutanda

Hi,

I've got tons of HTML documents made in an independent Knowledge Base that I would love to integrate into SMF.

1. Is it possible to insert HTML code in SA KB articles? Yes... I'm fully aware of all the risks... I'm the admin of the forum and I've succesfully post the HTML content of the documents I'd like to transfer to SMF as "testing" post in the forum using the HTML tags (again, I would be THE ONLY ONE using html tags) However, those tags don't work for SA KB articles. Once all articles have been transfered I would use BBC as the normal writing method but, again, I would need to transfer HTML formatted documents. I've tried to convert HTML to BBC using Hoteditor then pasting the code generated into SA BK, but I'm not very happy with the result.

2. One of the reasons why I would like to move from my current independent KB into SMF is to make the SMF search function to "look" both into the forum posts and the KB articles. Is it possible to include the contents of SA KB in the search results? Just to complicate things further I'm currently using Sphinx as the search method in in my forum (I'm over 400,000 post)

I'm probably asking for the impossible, but thanks for reading anyway.

Bests,

vbgamer45

1. You can probably do a database query or insert each record manually in the database.

2. That gets really complex normally for mods I generate a separate search page just for that mod.
Community Suite for SMF - Take your forum to the next level built for SMF, Gallery,Store,Classifieds,Downloads,more!

SMFHacks.com -  Paid Modifications for SMF

Mods:
EzPortal - Portal System for SMF
SMF Gallery Pro
SMF Store SMF Classifieds Ad Seller Pro

Advertisement: