News:

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

Main Menu

Recent posts user preference

Started by miseryshining, March 19, 2007, 05:37:32 PM

Previous topic - Next topic

niksy

Hello,

I get this error message:

8: Undefined index: recentpostsExtraprefs
File: /home/tvzino/public_html/forum/SSI.php
Line: 247


How can I fix it? I am using SMF 1.1.4.

Thanks!

miseryshining

Quote from: niksy on April 21, 2008, 04:44:03 AM
Hello,

I get this error message:

8: Undefined index: recentpostsExtraprefs
File: /home/tvzino/public_html/forum/SSI.php
Line: 247


How can I fix it? I am using SMF 1.1.4.

Thanks!

Did you get any errors during install? Was it able to do all modifications? (if not you would see some lines highlighted in red during install + a warning)

niksy

Everything installed successfully.

I'm not using
require_once('SSI.php');
if (function_exists('ssi_recentPostsPref')) ssi_recentPostsPref();
on the front page, but it's working fine (it shows me custom number of posts), but it creates huge log file which makes site very slow.
Is this may cause a problem?

miseryshining

Quote from: niksy on April 21, 2008, 07:34:32 AM
Everything installed successfully.

I'm not using
require_once('SSI.php');
if (function_exists('ssi_recentPostsPref')) ssi_recentPostsPref();
on the front page, but it's working fine (it shows me custom number of posts), but it creates huge log file which makes site very slow.
Is this may cause a problem?

it might be caused because the value haven't been set in the administrative settings. go to:
admin->features & options-> recent posts and topics
tick "   Enable extra user preferences for recent post blocks" and save. if you wish to disable the option untick again and save.

Please tell me if that solved it so i can fix this permanently.

niksy

Well I think it fixed it, it doesn't show in error log anymore.

Leemy

I am completely new to all of this. I installed your mod with no errors but was unsuccessful to "insert the code block whereever I want it to show".  I tried going through all the different php files to make sure the installation was successful and all the inserts/edits look complete.
my site is http://bhangrateamsforum.com/discuss/index.php
and i want to show this nice grid you made either above the listing of the boards or below.  WHERE can i put that code snippet, which part of which PHP file? PLEASE advise, thank you.

Leemy

Quote from: Saleem on April 25, 2008, 11:41:21 PM
I am completely new to all of this. I installed your mod with no errors but was unsuccessful to "insert the code block whereever I want it to show".  I tried going through all the different php files to make sure the installation was successful and all the inserts/edits look complete.
my site is http://bhangrateamsforum.com/discuss/index.php
and i want to show this nice grid you made either above the listing of the boards or below.  WHERE can i put that code snippet, which part of which PHP file? PLEASE advise, thank you.

so this line was in my boardindex.php but i cant get the 'extended' mode it gives nothing, only the columns for array, what to do?

$context['latest_posts'] = ssi_recentPostspref(null, null, 'array', null, null, null);;

miseryshining

Quote from: Saleem on April 29, 2008, 12:42:10 AM
Quote from: Saleem on April 25, 2008, 11:41:21 PM
I am completely new to all of this. I installed your mod with no errors but was unsuccessful to "insert the code block whereever I want it to show".  I tried going through all the different php files to make sure the installation was successful and all the inserts/edits look complete.
my site is http://bhangrateamsforum.com/discuss/index.php
and i want to show this nice grid you made either above the listing of the boards or below.  WHERE can i put that code snippet, which part of which PHP file? PLEASE advise, thank you.

so this line was in my boardindex.php but i cant get the 'extended' mode it gives nothing, only the columns for array, what to do?

$context['latest_posts'] = ssi_recentPostspref(null, null, 'array', null, null, null);;

Hmm, im not sure what you want to do. The grid with extended info can only be shown on its own page. You can read detailed instructions about how to use the mod in the opening post

slackerpunk


FragaCampos


Angelle

How did you get this to install?  It won't even install when I tried to install it on 1.1.5

Mimmi

I would also like an upgrade for 1.1.5.!
Forum-junkie and still a newbie in the world of administrating php etc... Volunteers in reproductive rights. http://www.liv-laga.no/

NEMINI

use this and it installs and works just fine:

index.php?action=packages;version_emulate=1.1.4
signatures are boring.

Mimmi

Quote from: NEMINI on June 12, 2008, 04:52:51 PM
use this and it installs and works just fine:

index.php?action=packages;version_emulate=1.1.4

I have to do a manual installation. Is that possible with 1.1.5?
Forum-junkie and still a newbie in the world of administrating php etc... Volunteers in reproductive rights. http://www.liv-laga.no/

NEMINI

manual installations are possible with any version.
signatures are boring.

Mimmi

Quote from: NEMINI on June 13, 2008, 02:29:31 AM
manual installations are possible with any version.

There are no instructions for 1.1.5. Or can you direct me?
Forum-junkie and still a newbie in the world of administrating php etc... Volunteers in reproductive rights. http://www.liv-laga.no/

NEMINI

just set the drop down to 1.1.4 they are virtually the same.
signatures are boring.

beeawin

Quote from: NEMINI on June 13, 2008, 04:16:21 AM
just set the drop down to 1.1.4 they are virtually the same.

How to do ?

miseryshining

Quote from: beeawin on June 13, 2008, 04:45:33 AM
Quote from: NEMINI on June 13, 2008, 04:16:21 AM
just set the drop down to 1.1.4 they are virtually the same.

How to do ?

i updated the mod:

-2.52 adds support for 1.1.5 and hopefully fixes the remaining undefined indexes.


Mimmi

Quote from: miseryshining on June 13, 2008, 07:37:57 AM
i updated the mod:

-2.52 adds support for 1.1.5 and hopefully fixes the remaining undefined indexes.


Wouvou! That's what I call fast service. Thank you! :D
Forum-junkie and still a newbie in the world of administrating php etc... Volunteers in reproductive rights. http://www.liv-laga.no/

Advertisement: