News:

Wondering if this will always be free?  See why free is better.

Main Menu

Topic Solved

Started by [SiNaN], January 19, 2009, 11:10:40 AM

Previous topic - Next topic

Ninja ZX-10RR

Read the last two pages of the thread ;) entirely, and you will understand :)
Quote from: BeastMode topic=525177.msg3720020#msg3720020
It's so powerful that on this post and even in the two PMs you sent me,you still answered my question very quickly and you're apologizing for the delay. You're the #1 support I've probably ever encountered man, so much respect for that. Thank you, and get better soon.

I'll keep this in my siggy for a while just to remind me that someone appreciated what I did while others didn't.

♥ Jess ♥

STOP EDITING MY PROFILE

swaggaderby

Nobody seems to understand me....that is the display.template php i explained and the path am suppose to edit isnt der

Kindred

Quote from: Kindred on September 18, 2014, 01:55:41 PM
well, see....  the errors indicate that the code was not found, as listed -- hence the auto installer could not complete that edit...   which means that you have to use human parsing to find the code (which will, obviously either be slightly different or completely different, depending on your theme's actual coding)
Слaва
Украинi

Please do not PM, IM or Email me with support questions.  You will get better and faster responses in the support boards.  Thank you.

"Loki is not evil, although he is certainly not a force for good. Loki is... complicated."

Ninja ZX-10RR

Try to download the file though, he tried to but it failed. I am not a coder but he tried to put the code into the file. I guess only Daniiel or a themer could understand how to do it :(
Quote from: BeastMode topic=525177.msg3720020#msg3720020
It's so powerful that on this post and even in the two PMs you sent me,you still answered my question very quickly and you're apologizing for the delay. You're the #1 support I've probably ever encountered man, so much respect for that. Thank you, and get better soon.

I'll keep this in my siggy for a while just to remind me that someone appreciated what I did while others didn't.

♥ Jess ♥

STOP EDITING MY PROFILE

swaggaderby

Quote from: ♦ Ninja ZX-10RR ♦ on September 18, 2014, 05:10:43 PM
Try to download the file though, he tried to but it failed. I am not a coder but he tried to put the code into the file. I guess only Daniiel or a themer could understand how to do it :(
Alright tnx

samborabora

I've removed the post icons column from my forum, but I'd like to display the tick next to 'marked solved' topics on MessageIndex and Display. Is there a variable I can use to check if a topic is solved or not, and if so, place the img before the topic title?

samborabora

I've tried topic[is_solved] and content[is_solved] and variations of these, but nothing seems to work on the messageindex page, context[is_solved] works great on display.template, but I'm really looking to test if a topic is solved from the message.index page, any ideas on how I can do this?

Kindred

Like many variables, I would assume that it is actually only set and testable on the page where it is mainly used...   Since the thing sets the icon to the checkmark, there is no need to do the test on the message index... Only in the message itself (display) where you can set or unset the value.
Слaва
Украинi

Please do not PM, IM or Email me with support questions.  You will get better and faster responses in the support boards.  Thank you.

"Loki is not evil, although he is certainly not a force for good. Loki is... complicated."

samborabora

Quote from: Kindred on October 10, 2014, 07:18:37 PM
Like many variables, I would assume that it is actually only set and testable on the page where it is mainly used...   Since the thing sets the icon to the checkmark, there is no need to do the test on the message index... Only in the message itself (display) where you can set or unset the value.

Yes, that's what I would expect too. Is it possible to modify it to incorperate a $topic variable that checks on messageindex per topic line? Either that or check which icon each topic has and set the image that way?

Sagar_king

really good mod thank you
http://mobiletek.in Smf 2.1
<hr>
Really Thankful to SMF community members for helping
All people are on this forum have their own website that's cool :D

samborabora

Or is there some kind of internal value for each $topic that I could flag on or off when the topic is solved? I'd really like to figure out a way to display an image or not dependent on the topics solve status without using post icons.

samborabora

Quote from: Kindred on October 10, 2014, 07:18:37 PM
Like many variables, I would assume that it is actually only set and testable on the page where it is mainly used...   Since the thing sets the icon to the checkmark, there is no need to do the test on the message index... Only in the message itself (display) where you can set or unset the value.

A bit old, but I'm still wondering about this mod, can you actually test on messageindex if a topic has a certain icon assigned to it? Then chose to display the icon only if it has the certain icon?

SaltedWeb

Hi there,
Where are the words modified? I wanted change what they said .

Thanks
Knowing your limitations makes you human, exceeding these limitations makes you worthy of being human.

SaltedWeb

Hunted around found it in Themes/default/languages/Modifications.english.php

Simple Edit.

Solved.
Knowing your limitations makes you human, exceeding these limitations makes you worthy of being human.

samborabora

Just thought I'd ask, I'm still looking for a way to display on the messageindex a 'tick' corresponding to a solved topic. What would be the best way to implement this, by modding this mod?

samborabora

Isn't it just a case of calling whatever variable says 'yep, this is solved/none, this ain't solved' into the messageindex for each topic? I'm not bothered about the overhead to the forum, it's only gonna be implemented on the support forum anyhow.

samborabora

I did it with this:

../Sources/MessageIndex.php

Find:

t.id_previous_board,

Replace:

t.id_previous_board, t.is_solved,

Find:

// Decide how many pages the topic should have.

Replace:

$row['first_subject'] = $row['is_solved'] ? '<img src="' . $settings['images_url'] . '/solved.png" class="solved_img" alt="" align="middle" />' . $row['first_subject'] : $row['first_subject'];

// Decide how many pages the topic should have.

krittin98

Great mod!
Can anyone tell me how can I view the list of topics that are solved or unsolved in the board where this mod has been enabled?

The Team K Developers
www.theteamk.co.nr

Kindred

I don't believe there is any sort based on status
Слaва
Украинi

Please do not PM, IM or Email me with support questions.  You will get better and faster responses in the support boards.  Thank you.

"Loki is not evil, although he is certainly not a force for good. Loki is... complicated."

krittin98

There is an option of "Mark this topic as solved" in some boards on this forum too. How do you guys then find out which topics are solved or not?

The Team K Developers
www.theteamk.co.nr

Advertisement: