Mark Selected Topics As Read

Started by JayBachatero, September 16, 2006, 02:43:30 AM

Previous topic - Next topic

JayBachatero

You really shouldn't be running 1.1 RC2.  I suggest taht you upgrade to 1.1.1 asap.
Follow me on Twitter

"HELP!!! I've fallen and I can't get up"
This moment has been brought to you by LifeAlert

dcmouser

Wonderful mod..
Another masterpiece by Jay!
proud member of donationcoder.com (forum)

gome

I received this error when i tried to install it

Installing this package will perform the following actions:  Type Action Description
1. Execute Modification ./Sources/Subs-Boards.php Test successful
2. Execute Modification ./Themes/default/Recent.template.php Test failed

SMF Version: 1.1.1

Any ideas??

RoarinRow

Sweet, it worked!   8)

Quote from: gome on February 10, 2007, 12:27:32 AM
I received this error when i tried to install it

Installing this package will perform the following actions:  Type Action Description
1. Execute Modification ./Sources/Subs-Boards.php Test successful
2. Execute Modification ./Themes/default/Recent.template.php Test failed

SMF Version: 1.1.1

Any ideas??

You'll probably need to manually make the updates to that file.

SMF 2.0
TP 1.0 RC1.1
Wordpress 3.1.3

gome


RoarinRow

I notice that when someone uses this mod I get this in the error log

8: Undefined index: topics
File: /forum/Sources/Subs-Boards.php
Line: 239

How can I fix this?

SMF 2.0
TP 1.0 RC1.1
Wordpress 3.1.3

JayBachatero

Follow me on Twitter

"HELP!!! I've fallen and I can't get up"
This moment has been brought to you by LifeAlert

RoarinRow


SMF 2.0
TP 1.0 RC1.1
Wordpress 3.1.3

JayBachatero

That looks correct.  Are you using this on t custom theme?
Follow me on Twitter

"HELP!!! I've fallen and I can't get up"
This moment has been brought to you by LifeAlert

RoarinRow

Quote from: JayBachatero on February 14, 2007, 04:03:02 PM
That looks correct.  Are you using this on t custom theme?

Yes I am.  But I stripped all duplicate files from the custom mod so files such as display.template, boardindex.template, etc. are all pointing to the default theme.

SMF 2.0
TP 1.0 RC1.1
Wordpress 3.1.3

JayBachatero

Can't you PM me a test account so that I can look into it?
Follow me on Twitter

"HELP!!! I've fallen and I can't get up"
This moment has been brought to you by LifeAlert

RoarinRow

Quote from: JayBachatero on February 14, 2007, 04:21:58 PM
Can't you PM me a test account so that I can look into it?

PM sent, thanks!   

SMF 2.0
TP 1.0 RC1.1
Wordpress 3.1.3

JayBachatero

Here is your problem. "<option value="markread">Mark selected read</option>".  You made your own dropdown menu but you got the name wrong for the field.  It should be mark_selected_read.
Follow me on Twitter

"HELP!!! I've fallen and I can't get up"
This moment has been brought to you by LifeAlert

RoarinRow

Quote from: JayBachatero on February 14, 2007, 04:44:05 PM
Here is your problem. "<option value="markread">Mark selected read</option>".  You made your own dropdown menu but you got the name wrong for the field.  It should be mark_selected_read.

What file is that in?  I check index.template.php and subs-board.php and didn't see it there.

SMF 2.0
TP 1.0 RC1.1
Wordpress 3.1.3

RoarinRow

I found this in my Recent.template.php file:

// Mark selection as read?
   if (isset($context['topics_to_mark']))
      echo '
   <form action="', $scripturl, '?action=markasread;sa=unreadreplies;sesc=', $context['session_id'], ';ut" method="post" name="markasread" accept-charset="', $context['character_set'], '" style="margin: 0;">
      <input type="hidden" name="mark_selected_read" value="1" />';

SMF 2.0
TP 1.0 RC1.1
Wordpress 3.1.3

JayBachatero

It's in the Recent.template.php. Post the whole file.
Follow me on Twitter

"HELP!!! I've fallen and I can't get up"
This moment has been brought to you by LifeAlert

RoarinRow

Quote from: JayBachatero on February 14, 2007, 09:06:50 PM
It's in the Recent.template.php. Post the whole file.

Thanks again.  See attached.

SMF 2.0
TP 1.0 RC1.1
Wordpress 3.1.3

JayBachatero

I took a quick glance and couldn't spot the error.  I'll look at it tom.
Follow me on Twitter

"HELP!!! I've fallen and I can't get up"
This moment has been brought to you by LifeAlert

RoarinRow

Quote from: JayBachatero on February 15, 2007, 12:13:12 AM
I took a quick glance and couldn't spot the error.  I'll look at it tom.

no problem, thanks.  sorry for the late response.  was out for V-day.   ;D

SMF 2.0
TP 1.0 RC1.1
Wordpress 3.1.3

JayBachatero

I haven't forgotten about this.  Been too busy to take a closer look at it.  I'll try to get back to you soon.
Follow me on Twitter

"HELP!!! I've fallen and I can't get up"
This moment has been brought to you by LifeAlert

Advertisement: