Advertisement:

Author Topic: Topic Note 1.0.3 released!  (Read 32737 times)

Offline Jessica.

  • Full Member
  • ***
  • Posts: 468
  • Gender: Female
  • I use SMF 2.0.2, Default theme
    • Testing Zone
Re: Topic Note 0.9 released!
« Reply #100 on: January 17, 2011, 08:20:46 PM »
can this be made compatible for 1.1.12 please?
Testing Zone - SMF 2.0.7, default Curve
School & Chat - phpBB3, over 170 mods installed, official live forum

I use the latest version of Chrome

phpBB: Forum = a section; Board = whole site
SMF: Forum = whole site; Board = a section

Offline Akyhne

  • SMF Friend
  • SMF Hero
  • *
  • Posts: 7,331
Re: Topic Note 0.9 released!
« Reply #101 on: January 17, 2011, 08:53:23 PM »
Nope.

Offline helike13

  • Jr. Member
  • **
  • Posts: 164
Re: Topic Note 0.9 released!
« Reply #102 on: April 15, 2011, 12:14:00 PM »
Hello!

How to make topic note visible under the topic subject on this screen?

« Last Edit: April 16, 2011, 02:06:14 PM by helike13 »

Offline OCJ

  • Full Member
  • ***
  • Posts: 494
  • Gender: Male
Re: Topic Note 0.9 released! Fails with calendar.
« Reply #103 on: June 13, 2012, 11:53:42 PM »
I like the mod - used an older version last year but the topic note icon wasnt displaying. I just tried the new version and its fine, except...

Seems to be problems with the calendar. When an event/topic  is linked to the calendar or deleted from the calendar, the topic note is deleted.
I think changing the calendar date also deleted the topic note.

If it is intended for events and most likely used with the calendar, then its a something that needs attention.


Still like it  :) but will uninstall until working with the calendar.

Offline OCJ

  • Full Member
  • ***
  • Posts: 494
  • Gender: Male
Re: Topic Note 0.9 released!
« Reply #104 on: June 14, 2012, 12:01:31 AM »
Quote
How to make topic note visible under the topic subject on this screen?
@helike13
There is another mod that does that - topic description i think... no icon though, no bbcode colour.

Offline Akyhne

  • SMF Friend
  • SMF Hero
  • *
  • Posts: 7,331
Re: Topic Note 0.9 released!
« Reply #105 on: June 14, 2012, 04:04:44 AM »
Seems to be problems with the calendar...
I'll check that.

Hello!

How to make topic note visible under the topic subject on this screen?


It used to do so but I disabled it during the developement of the 2.0 final, because of the way the sticky and locked icons were put into the code. It gave me troubles.
And then I forgot all about it but it's fixed now.

Offline MK-12_20MM

  • Jr. Member
  • **
  • Posts: 131
  • SIP/2.0 200 OK
Re: Topic Note 0.9 released!
« Reply #106 on: July 04, 2012, 12:07:02 AM »
Nice mod...  any plans to make the board note customizable like the topic note. instead of being using just windowbg class.


Thanks..

Offline Akyhne

  • SMF Friend
  • SMF Hero
  • *
  • Posts: 7,331
Re: Topic Note 1.0.3 released!
« Reply #107 on: July 04, 2012, 09:08:47 AM »
...any plans to make the board note customizable like the topic note...
Done!

Offline MK-12_20MM

  • Jr. Member
  • **
  • Posts: 131
  • SIP/2.0 200 OK
Re: Topic Note 1.0.3 released!
« Reply #108 on: July 04, 2012, 10:56:58 AM »
...any plans to make the board note customizable like the topic note...
Done!

WOW ! That was quick.  I will check it out.

Thanks very much!  ;D 

Offline liuxyon

  • Newbie
  • *
  • Posts: 9
Re: Topic Note 1.0.3 released!
« Reply #109 on: October 05, 2012, 09:44:50 AM »
I can't find the code in MessageIndex.template.php.  I using SMF2.0.2.


Code: [Select]

<td class="subject ', $alternate_class, '">
                        <div

Offline Shambles

  • SMF Hero
  • ******
  • Posts: 5,510
  • Gender: Male
    • i30 Owners Club
Re: Topic Note 1.0.3 released!
« Reply #110 on: October 05, 2012, 02:29:55 PM »
I can't find the code in MessageIndex.template.php.  I using SMF2.0.2.


Code: [Select]

<td class="subject ', $alternate_class, '">
                        <div

You might have a mod that's displaced some part of that search string that this mod requires as part of its installation..

See if you can find this string in your file:

Code: (find) [Select]
// Some columns require a different shade of the color class.
and copy the next 15 or so lines into your next post between [code]...[/code] tags - we can take it from there.

Offline JTVaughn

  • Jr. Member
  • **
  • Posts: 177
Re: Topic Note 1.0.3 released!
« Reply #111 on: February 10, 2013, 11:07:11 AM »
I moved the board note code in messageindex above the child boards, but it causes the note to be repeated as many times as there is child boards. So where I had 9 child boards, I had 9 board notes instead of 1. Any idea why this happens?

Offline Akyhne

  • SMF Friend
  • SMF Hero
  • *
  • Posts: 7,331
Re: Topic Note 1.0.3 released!
« Reply #112 on: February 11, 2013, 09:06:32 AM »
No idea as I don't know what you did.

Offline JTVaughn

  • Jr. Member
  • **
  • Posts: 177
Re: Topic Note 1.0.3 released!
« Reply #113 on: February 12, 2013, 03:12:19 AM »
In messageindex.template I moved --

Code: [Select]
// Board Note
if ($context['board_note'])
{
$pos = strpos($modSettings['boardnote_html'], '[note]');

if (!$pos === false && $modSettings['boardnote_view'] == 5) {
$boardHtml = explode('[note]', $modSettings['boardnote_html']);
} else {
$boardHtml = array();

//Use Topic Header View
if ($modSettings['boardnote_view'] == 0) {
$boardHtml[] = '
<div class="cat_bar">
<h3 class="catbg"><span class="left"></span>';
$boardHtml[] = '
</h3>
</div>';

//Use Topic View
} else if ($modSettings['boardnote_view'] == 1) {
$boardHtml[] = '
<div class="windowbg">
<span class="topslice"><span></span></span>
<div class="content">';
$boardHtml[] = '
</div>
<span class="botslice"><span></span></span>
</div>
<br />';

//Use Note View
} else if ($modSettings['boardnote_view'] == 2) {
$boardHtml[] = '
<p class="windowbg description">';
$boardHtml[] = '
</p>';

//Use Roundframe View
} else if ($modSettings['boardnote_view'] == 3) {
$boardHtml[] = '
<div class="windowbg">
<span class="upperframe"><span></span></span>
<div class="roundframe">';
$boardHtml[] = '
</div>
<span class="lowerframe"><span></span></span>
</div>
<br />';

//Use Information View
} else if ($modSettings['boardnote_view'] == 4) {
$boardHtml[] = '
<div class="information">';
$boardHtml[] = '
</div>';
}
}

echo $boardHtml[0] . parse_bbc($context['board_note']) . $boardHtml[1];
}
// End Board Note


So it was ABOVE --

Code: [Select]
// Show the "Child Boards: ". (there's a link_children but we're going to bold the new ones...)
if (!empty($board['children']))
{
// Sort the links into an array with new boards bold so it can be imploded.
$children = array();
/* Each child in each board's children has:
id, name, description, new (is it new?), topics (#), posts (#), href, link, and last_post. */
foreach ($board['children'] as $child)
{
if (!$child['is_redirect'])
$child['link'] = '<a href="' . $child['href'] . '" ' . ($child['new'] ? 'class="new_posts" ' : '') . 'title="' . ($child['new'] ? $txt['new_posts'] : $txt['old_posts']) . ' (' . $txt['board_topics'] . ': ' . comma_format($child['topics']) . ', ' . $txt['posts'] . ': ' . comma_format($child['posts']) . ')">' . $child['name'] . ($child['new'] ? '</a> <a href="' . $scripturl . '?action=unread;board=' . $child['id'] . '" title="' . $txt['new_posts'] . ' (' . $txt['board_topics'] . ': ' . comma_format($child['topics']) . ', ' . $txt['posts'] . ': ' . comma_format($child['posts']) . ')"><img src="' . $settings['lang_images_url'] . '/new.gif" class="new_posts" alt="" />' : '') . '</a>';
else
$child['link'] = '<a href="' . $child['href'] . '" title="' . comma_format($child['posts']) . ' ' . $txt['redirects'] . '">' . $child['name'] . '</a>';

// Has it posts awaiting approval?
if ($child['can_approve_posts'] && ($child['unapproved_posts'] | $child['unapproved_topics']))
$child['link'] .= ' <a href="' . $scripturl . '?action=moderate;area=postmod;sa=' . ($child['unapproved_topics'] > 0 ? 'topics' : 'posts') . ';brd=' . $child['id'] . ';' . $context['session_var'] . '=' . $context['session_id'] . '" title="' . sprintf($txt['unapproved_posts'], $child['unapproved_topics'], $child['unapproved_posts']) . '" class="moderation_link">(!)</a>';

$children[] = $child['new'] ? '<strong>' . $child['link'] . '</strong>' : $child['link'];
}
echo '
<tr id="board_', $board['id'], '_children"><td colspan="3" class="children windowbg"><strong>', $txt['parent_boards'], '</strong>: ', implode(', ', $children), '</td></tr>';
}
}
echo '
</tbody>
</table>
</div>
</div>';
}

In the hopes I could move the board note box above the child boards.

After doing it, the board note box appeared 9 times above the 9 child boards.

Offline JTVaughn

  • Jr. Member
  • **
  • Posts: 177
Re: Topic Note 1.0.3 released!
« Reply #114 on: February 16, 2013, 04:12:18 AM »
Anyone?

Offline JTVaughn

  • Jr. Member
  • **
  • Posts: 177
Re: Topic Note 1.0.3 released!
« Reply #115 on: February 24, 2013, 11:14:04 AM »
Bump ^^

Offline Akyhne

  • SMF Friend
  • SMF Hero
  • *
  • Posts: 7,331
Re: Topic Note 1.0.3 released!
« Reply #116 on: March 02, 2013, 05:13:35 PM »
Well, aparently the code can't go there or you'll have to look a little harder.

I just don't have the time to help atm.

Offline JessyKa

  • Semi-Newbie
  • *
  • Posts: 42
Re: Topic Note 1.0.3 released!
« Reply #117 on: August 26, 2019, 02:27:50 AM »
Hello,
I am searching for a similar modification like this one.
Want:
- board information/summary for new user to orient oneself (with summary text, links to important threads/posts)
- preferably to open and close by user

Is there an alternative for SMF 2.0.15?

Thanks

Offline Rock Lee

  • Native Language Support Specialist
  • SMF Hero
  • *
  • Posts: 3,697
  • Gender: Male
  • Learning more every day!
    • BomberCode.Oficial on Facebook
    • RockLee-BC on GitHub
    • @Bomber_Code on Twitter
    • Bomber Code ~ La nueva era del conocimiento
Re: Topic Note 1.0.3 released!
« Reply #118 on: August 26, 2019, 02:31:17 PM »
This modification should work only has no more support from the author, or am I misunderstanding?


Regards!
¡Regresando como cual Fenix! ~ Bomber Code © 2020
Ayudas - Aportes - Tutoriales - Y mucho mas!!!