News:

SMF 2.1.4 has been released! Take it for a spin! Read more.

Main Menu

Search Logs

Started by husmen73 (Gulhin), July 24, 2008, 03:02:17 PM

Previous topic - Next topic

[SiNaN]

I meant after. Can you try installing it again and attach your Modifications.english.php file here?
Former SMF Core Developer | My Mods | SimplePortal

xrunner

Quote from: [SiNaN] on August 18, 2008, 07:41:33 AM
I meant after. Can you try installing it again and attach your Modifications.english.php file here?

I'm off to work, I'll have to do it later, thanks.

[SiNaN]

Okay, when you have time. ;)
Former SMF Core Developer | My Mods | SimplePortal

xrunner

Now I get two errors -

7.     Execute Modification     ./Sources/ManagePermissions.php     Test failed
13.     Execute Modification     ./Themes/default/index.template.php     Test failed


Minare

@xrunner

continue with installation and :

open and find this in Sources/ManagePermissions.php :

'who_view' => false,
'search_posts' => false,


Replace with :


'search_posts' => false,
'searchlog' => false,
'delete_searchlog' => false,


then, open and find this in index.template.php :

// Edit Profile... [profile]

replace with :

// Search Logs Page
if(!empty($modSettings['searchlog_enable']) && $context['allow_searchlog'])
echo ($current_action == 'searchlog' || $context['browser']['is_ie4']) ? '<td class="maintab_active_' . $first . '">&nbsp;</td>' : '' , '
<td valign="top" class="maintab_' , $current_action == 'searchlog' ? 'active_back' : 'back' , '">
<a href="', $scripturl, '?action=searchlog">' , $txt['searchlog_menu'] , '</a>
</td>' , $current_action == 'searchlog' ? '<td class="maintab_active_' . $last . '">&nbsp;</td>' : '';

// Edit Profile... [profile]


if you are using a different theme, u better put its index.temp file here and we check

good luck

timned88

i installed this mode and i am getting the following error message:
Fatal error: Function name must be a string in /home/themagi2/public_html/forum/Sources/Search.php on line 1869

line 1869 =       $word = $funcx['htmlspecialchars'](stripslashes($word), ENT_QUOTES)

when i set up the site, i had to change $func to $funcx so it would play nice with joomla.  any idea what else is going wrong?

[SiNaN]

After making it $func, do you still get error?
Former SMF Core Developer | My Mods | SimplePortal


[SiNaN]

I didn't understand the relation with Joomla? It should be $func.
Former SMF Core Developer | My Mods | SimplePortal

timned88

joomla also uses $func and when i tried to run SMF within a joomla wrapper i had some problems.

[SiNaN]

$func variable has many uses in SMF. Don't you get errors on other pages?
Former SMF Core Developer | My Mods | SimplePortal

Advertisement: