News:

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

Main Menu

Topics Filter v3.0

Started by M-DVD, October 10, 2007, 06:57:55 PM

Previous topic - Next topic

karlbenson

Doesnt for me in IE or Firefox or Opera.

What browser are you using?

Marook

I'm also using IE 7... take a look at the pictures.
Here the normal view without any filters...


And here after applying a filter
SMF Rulez ;) | Meet me home ! | My Mods

karlbenson

hmm. it seems to have brought you out of the messageindex.

Its meant to redirect back to the same page.

Ctrl+f5, and then try again.

Marook

#43
A page-refresh doesn't solve the problem. I must go into the childboard "[Demo] Topics Filter" because there are some messages applied with the filter. Here i can remove the filter and if im going back to the parent board, the messages will shown again. (And also the filterbar) In the child board the filterbar still appears although there are no messages to show. I think there is a problem if a child-board exists...

You can try it yourself, go to the "SMF Modification Demos" board and apply the "Last 7 Days" Filter, after that the messages disappear and the filterbar too
SMF Rulez ;) | Meet me home ! | My Mods

karlbenson

#44
I did that and I get the following.

There are NO posts within the last 7 days. So no messages should show.
And the filter bar is still there.

Tested in IE7, Opera/Firefox.

If should not redirect back to the BoardIndex but straight back to the MessageIndex.
Is there anything weird/wrong in the URL?

Marook

You're in the child board "[Demo] Topics Filter", there the bar appears, but go up one level to the board "SMF Modification Demo", there the bar disappears...
SMF Rulez ;) | Meet me home ! | My Mods

karlbenson

Sorry Marook. I get what you mean now. :)
I'll have to look into it.
The bug isn't in the mod per-se, but it fails to work-around some smf core functionality.

Marook

SMF Rulez ;) | Meet me home ! | My Mods

Bulakbol

You must be working hard with this mod. Pretty good. Thanks Karlbenson.
Please do not PM me for support · My Mods and Theme · SMF Coding Guidelines · Modifications Approval Guidelines

qubbah

hope one day this mode can be set to reset automatically during opening/refreshing new page..

karlbenson

There is a reset button to reset it.

Its actually meant to store the variable between new pages/refreshing.
It stores the variables in the db for users and session for guests.


ivamsi

Hi kalberson,

First of all thank you for the great mod.

I just now installed Topics filter 2.1 and I got the below error

After installing I am not able to open the boards link from the Admins Cpanel.

--------------------
Unknown column 'b.filter_alphanum' in 'field list'
File: /mounted-storage/home63c/sub004/-----JEEJ/www/smf/Sources/Subs-Boards.php
Line: 1512

Note: It appears that your database may require an upgrade. Your forum's files are currently at version SMF 1.1.4, while your database is at version 1.1.3. The above error might possibly go away if you execute the latest version of upgrade.php.

---------------

I manually edited the subs-board.php file.


Where the problem will be?

may be it will be a small problem, but i am not able to get where it would be..

Thanks

Vamsi

karlbenson

It looks like the column filter_alphanum didn't get installed onto smf_boards.

Either uninstall the mod/reinstall

or manually add the columns added by the file in install.php into phpmyadmin.

taurean

Hi Karl,

when i am trying to add this Mod manually thru SMF package parser i observed one thing.

Sourcedir/Load.php is mentioned twice at beginning and at the end that to be modified. can i modify the file at once as mentioned or should i modify the files as per the arrangement mentioned in the Mod parser
Eager to Learn SMF

taurean

Quote from: taurean on January 12, 2008, 02:42:05 AM
Hi Karl,

when i am trying to add this Mod manually thru SMF package parser i observed one thing.

Sourcedir/Load.php is mentioned twice at beginning and at the end that to be modified. can i modify the file at once as mentioned or should i modify the files as per the arrangement mentioned in the Mod parser
Hi karl,  When i install the load.php file thru mod parser

In file $sourcedir/Load.php
Find: 
b.ID_THEME, b.override_theme, b.permission_mode, b.countPosts
Add after:
, filter_alphanum



the error is:
Unknown column 'filter_alphanum' in 'field list'


pls help
Eager to Learn SMF

diegolyanky

Ups ...

Parse error: syntax error, unexpected ')' in /home2/diego/public_html/Sources/MessageIndex.php on line 175

Here is my Messageindex.php

What's wrong with it ?
SMF ... SimpleMachines ... Simple, but complete if you want it ;)

karlbenson

Change
         $datefilter = "AND '". ( time() - ($context['filter_date'] * 24 * 60 * 60? ) ."' <= ml.posterTime";

To
         $datefilter = "AND '". ( time() - ($context['filter_date'] * 24 * 60 * 60? )) ."' <= ml.posterTime";

karlbenson

I have reuploaded this mod and screenshots for it.

I am in the process of doing it for ALL my other mods aswell.  Please bear with me.

diegolyanky

Quote from: karlbenson on January 18, 2008, 07:00:17 PM
Change
         $datefilter = "AND '". ( time() - ($context['filter_date'] * 24 * 60 * 60? ) ."' <= ml.posterTime";

To
         $datefilter = "AND '". ( time() - ($context['filter_date'] * 24 * 60 * 60? )) ."' <= ml.posterTime";

Sorry, but I have same error :

Parse error: syntax error, unexpected ')' in /home2/diego/public_html/Sources/MessageIndex.php on line 175

Any other idea ?
SMF ... SimpleMachines ... Simple, but complete if you want it ;)

karlbenson

can you attach your messageindex.php please

Advertisement: