Subject:*
<
Name/Email:*
<
Message Icon:*
<
Select*
<
Message:*
<



Click the Preview to see the content in action.
Options:*
<
Confirmation Code*
<
0 + 3 = ?  
Input the result from the expression
Maximum attempts you can try: 10
*
<
     

Re: getting rid of the...
by Fragrate on 2005/5/26 1:17:04

thank you so much!
Re: getting rid of the...
by pegasus00321 on 2005/5/26 0:19:38

Go to the xoops_version.php in the modules/smartfaq folder.
Delete these lines or comment them out

le="color: #000000"><?php if (isset($xoopsModule) && is_object($xoopsModule) && $xoopsModule->getVar('dirname') == $modversion['dirname']) { global $xoopsModuleConfig, $xoopsUser; $isAdmin = false; if (!empty($xoopsUser) && is_object($xoopsModule)) { $isAdmin = ($xoopsUser->isAdmin($xoopsModule->getVar('mid'))); } if ($smartModule =& $xoopsModule) { $smartConfig =& $xoopsModuleConfig; // Add the Submit new faq button if ($isAdmin || (isset($smartConfig['allowsubmit']) && $smartConfig['allowsubmit'] == 1 && (is_object($xoopsUser) || (isset($smartConfig['anonpost']) && $smartConfig['anonpost'] == 1)))) { $modversion['sub'][1]['name'] = _MI_SF_SUB_SMNAME1; $modversion['sub'][1]['url'] = "submit.php?op=add"; } // Add the Request new faq if ($isAdmin || (isset($smartConfig['allowrequest']) && $smartConfig['allowrequest'] == 1 && (is_object($xoopsUser) || (isset($smartConfig['anonpost']) && $smartConfig['anonpost'] == 1)))) { $modversion['sub'][2]['name'] = _MI_SF_SUB_SMNAME2; $modversion['sub'][2]['url'] = "request.php?op=add"; } include_once XOOPS_ROOT_PATH . "/modules/smartfaq/include/functions.php"; // Creating the FAQ handler object $faq_handler =& sf_gethandler('faq'); if ($faq_handler->getFaqsCount(-1, _SF_STATUS_OPENED) > 0) { $modversion['sub'][3]['name'] = _MI_SF_SUB_SMNAME3; $modversion['sub'][3]['url'] = "open_index.php"; } } }
getting rid of the...
by Fragrate on 2005/5/25 22:07:31

i'm using smart faq for a tutorials section, is there a way to get rid of those submit links that popup under the tutorials link?
Resized Image

Who's Online

532 user(s) are online (476 user(s) are browsing Support Forums)


Members: 1


Guests: 531


Mamba

more...

Donat-O-Meter

Stats
Goal: $15.00
Due Date: Jul 31
Gross Amount: $0.00
Net Balance: $0.00
Left to go: $15.00
Make donations with PayPal!

Latest GitHub Commits