• Welcome to Simple Machines Community Forum. Please login or sign up.

SA Knowledge Base

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

Previous topic - Next topic

SaltedWeb

 I guess I should have looked and seen if there was a user setting.
Thanks Kindred... 8)
Knowing your limitations makes you human, exceeding these limitations makes you worthy of being human.

Parmaster

Hi!

In my forum I use this mod: https://custom.simplemachines.org/mods/index.php?mod=2925

I need to use it in the KB too but I'm not sure what to do. Do I only need to copy the js file into the kb directory, or is there something more to do?

Kind Regards

vbgamer45

Just install via the package manager takes care of it all.
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

Parmaster

No it doesn't, that's the reason why I asked. In an article in the KB is the normal code bbc active.

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

Parmaster

The mod for sytnax highlighting https://custom.simplemachines.org/mods/index.php?mod=2925 works perfectly in the forum, but not in the kb.
My question was, what I have to do to make it in the kb too.

vbgamer45

Not sure I guess add the calls from syntax highlighting to the kb code somewhere?
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

Parmaster

Not sure what you're asking.

How to add the calls from the mod to kb? That's the question I asked.

vbgamer45

I don't know anything about that mod. I would have to research it but i don't have the time for that.
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

Parmaster

Well, I ask the other mod author for help.

thrawn75

Is it possible to pin/fix sort order for articles? I'd like to have a specific order of articles within a category - it seems it sorts them by ID desc.

vbgamer45

Not possible currently it is by the ID Desc
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

Cruiser79

Hello All.

I am running SMF 2.0.15 and when trying to install SA KB via package manager, I get a failure.

It cannot seem to find // Action and board are both empty... BoardIndex! in index.php so it can add before if (!empty($modSettings['kb_knowledge_only']) && $modSettings['kb_enabled'])
{
require_once($sourcedir . '/KB/KBMain.php');
    return 'KB';
}


Any solutions?

vbgamer45

Check the original SMF install files then find the similar area in your 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

Cruiser79

Thank you for your quick response.

I did before I posted here, nothing similar.

Kindred

I guarantee that it is there unless something else removed it
Please do not PM, IM or Email me with support questions.  You will get better and faster responses in the support boards.  Thank you.<br /><br />"Loki is not evil, although he is certainly not a force for good. Loki is... complicated."

vbgamer45

It's in this code area in index.php

// If guest access is off, a guest can only do one of the very few following actions.
elseif (empty($modSettings['allow_guestAccess']) && $user_info['is_guest'] && (!isset($_REQUEST['action']) || !in_array($_REQUEST['action'], array('coppa', 'login', 'login2', 'register', 'register2', 'reminder', 'activate', 'help', 'smstats', 'mailq', 'verificationcode', 'openidreturn'))))
{
require_once($sourcedir . '/Subs-Auth.php');
return 'KickGuest';
}
elseif (empty($_REQUEST['action']))
{
// Action and board are both empty... BoardIndex!
if (empty($board) && empty($topic))
{
require_once($sourcedir . '/BoardIndex.php');
return 'BoardIndex';
}
// Topic is empty, and action is empty.... MessageIndex!
elseif (empty($topic))
{
require_once($sourcedir . '/MessageIndex.php');
return 'MessageIndex';
}
// Board is not empty... topic is not empty... action is empty.. Display!
else
{
require_once($sourcedir . '/Display.php');
return 'Display';
}
}
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

Cruiser79

Thank you all, indeed it was missing.

I added the missing part and finished the installation through package manager. Up and working!

Sir Osis of Liver

September 06, 2018, 12:34:10 AM #318 Last Edit: September 06, 2018, 12:49:38 AM by Sir Osis of Liver
SA KB 1.2 running in 2.0.15, php 5.6.37, default Curve, causes registration captcha image to not display -



Confirmed on two installs, same server, different domains.  Is there a fix?

Does not cause this problem when installed in clean test install with scratch database.
"The best laid schemes o' mice an' men / Gang aft a-gley." - Robert Burns

vbgamer45

Do you have a link to the site that it occurs on?
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: