News:

Bored?  Looking to kill some time?  Want to chat with other SMF users?  Join us in IRC chat or Discord

Main Menu

SA Knowledge Base

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

Previous topic - Next topic

Ramón Cutanda

Quote from: vbgamer45 on February 19, 2013, 06:13:35 PM
1. You can probably do a database query or insert each record manually in the database.

Great! Worked like a charm!!! But I had to change the "Content" field from "TEXT" to "MEDIUMTEXT" because many of my document got "cut" before the end.

Quote2. That gets really complex normally for mods I generate a separate search page just for that mod.

I'm not really sure of having understood what you meant, but even before I asked I knew that was going to be a difficult request.

Thanks so much for taking the trouble to reply. You've been most helpful. Even if the "search" cannot be combined now at least I will be able to integrate my existing documents in my forum.

THANKS!!!

Capt. John

BUMP:

Is there anyone to put Knowledge base articles in my Simple Portal Frontpage?

Instead of using topics already made, I would like to use the articles in the knowledge base-to clarifiy.

Site address: www.pumping-iron.netau.net

Thank you :)
http://www.pumping-iron.netau.net

If you enjoy weight lifting, check out our site!
(more features included!)

TheListener

Why not use the Portal pages?

Easier if you know at least some coding.

GlitchPC

I have a Facebook page and want to use links on this page that redirect people to specific Knowledge Base articles.  However, when I copy and paste the link in a FB status box...and a user clicks it, it redirects them to the forum's homepage and not the article itself.

Is this an issue with the mod...or, is it the way Facebook handles external links?

Kindred

a) I believe that  facebook chokes on one of the characters...  like ; & or ?
and b) did you make the KB available to guests?
Слaва
Украинi

Please do not PM, IM or Email me with support questions.  You will get better and faster responses in the support boards.  Thank you.

"Loki is not evil, although he is certainly not a force for good. Loki is... complicated."

GlitchPC

Thanks, for the quick r eply.

So...it IS a Facebook issue then?

b)  Yes, the KB is viewable for "Guests".

vbgamer45

Facebook doesn't like links with ; I belive.
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™

yes it is a facebook problem  howeever it is possible rebuild the links comming from fb

this mod should do the trick
http://custom.simplemachines.org/mods/index.php?mod=3601
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 -___-

kevin.michiels

This mod is great.
Many thanks !!
just got this question :
When I create a category and give it a title name, i can add <b>and </b> for example.
It will show correctly on the category overview page.
But it will not show up correctly once u clicked on the cat. Then the top title gives the code instead of the rendered bold text.

This is why normal topic titles can't be styled either I guess.
Now my question is : Can I edit the mods code so "bold" is a standard title style?

Kindred

yes.

firefix+firebug is your friend to find what CSS is used for any specific location
Слaва
Украинi

Please do not PM, IM or Email me with support questions.  You will get better and faster responses in the support boards.  Thank you.

"Loki is not evil, although he is certainly not a force for good. Loki is... complicated."

kevin.michiels

#210
I can only find general a link code that i can edit.. Which makes it change on whole my forum..
There was not used any specific class for that title...
How could I solve this? Php? and where could I find it?

SA™

i think the part your looking for is

'title' => $catname['name'],

in kb_veiwall.php line 73

'title' => '<strong>'.$catname['name'].'</strong>',
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 -___-

kevin.michiels

Quote from: SA™ on May 13, 2013, 08:40:35 AM
i think the part your looking for is

'title' => $catname['name'],

in kb_veiwall.php line 73

'title' => '<strong>'.$catname['name'].'</strong>',
Thanks but this change did not work. But yes that is what I mean :)
Also another question :p
Is it possible to make articles listed in alphabetical order by default?

MrMike

Quote from: kevin.michiels on May 15, 2013, 03:13:55 PM
Is it possible to make articles listed in alphabetical order by default?

Sure, you'd just need to change the ORDER clause in the sql (or add one if not present).

kevin.michiels

Quote from: MrMike on May 15, 2013, 08:57:34 PM
Quote from: kevin.michiels on May 15, 2013, 03:13:55 PM
Is it possible to make articles listed in alphabetical order by default?

Sure, you'd just need to change the ORDER clause in the sql (or add one if not present).

In the db at kb_articles i got the following :

MrMike

I'd guess that you'd want to change the query to ORDER by the "title" column.

kevin.michiels

Quote from: MrMike on May 16, 2013, 12:08:22 PM
I'd guess that you'd want to change the query to ORDER by the "title" column.
ok I tried putting the query inside 'sql' and I get as a result the correct articles on alphabetic order. Which is good.

Now I want it to show on my forum.
So I need to change the query inside the kb code?? and where can I find that?

Thanks for the support already !!

SA™

KBVeiw_all.php

'default_sort_col' => 'kbnid',

replace with

'default_sort_col' => 'title',

your done  ;D
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 -___-

MrMike

Beat me to it. SA™ is the man! :)

kevin.michiels

Lol, when i do that query, it gives me from "z to a" instead of "a to z" :p

Advertisement: