Topic Solved

All new MODs released in our MOD Database will be announced in here. All support for released MODs needs to take place in the Customisations Database.
Forum rules
READ: phpBB.com Board-Wide Rules and Regulations

NOTICE: This forum is only for the announcement of new releases and/or updates of MODs. Any MOD support should be obtained through the Customisations Database in the support area designated for each MOD.

A direct link to support for each MOD is in the first post of the respective topic.
Locked
User avatar
tumba25
Former Team Member
Posts: 4430
Joined: Wed Jun 06, 2007 6:42 am
Location: Kokkola, Finland.
Name: Jari Kanerva
Contact:

Re: Topic Solved

Post by tumba25 »

Have you refreshed your browser cache?
Need a mod/extension created/installed, other custom-coded solution or a server admin? https://tumba25.net
User avatar
Peetra
Registered User
Posts: 291
Joined: Mon Jun 04, 2007 1:41 pm
Location: Kokkola, Finland
Contact:

Re: Topic Solved

Post by Peetra »

shadowfire90 wrote:also it did NOT uninstall through the Automod so be careful with it.

Any idea if this will be updated to 3.0.5?
I wanted to test! So... I installed and uninstalled with AutoMOD RC2 on a 3.0.5 board with no problems.
I am so hooked on bubbles, that I made a Bubble Witch Saga WP-site! Most addictive game since Tetris!
shadowfire90
Registered User
Posts: 2
Joined: Fri Jul 10, 2009 10:05 pm

Re: Topic Solved

Post by shadowfire90 »

yes i did all the refreshing and such.

maybe it is conflicting with another mod with the whole install and uninstall thing.
User avatar
tumba25
Former Team Member
Posts: 4430
Joined: Wed Jun 06, 2007 6:42 am
Location: Kokkola, Finland.
Name: Jari Kanerva
Contact:

Re: Topic Solved

Post by tumba25 »

shadowfire90 wrote:maybe it is conflicting with another mod with the whole install and uninstall thing.
Might be. What other MODs do you have. SEO MODs have a tendency to break many MODs and this one to.
Need a mod/extension created/installed, other custom-coded solution or a server admin? https://tumba25.net
mrbaseball34
Registered User
Posts: 143
Joined: Thu Jul 17, 2003 2:46 pm

Re: Topic Solved

Post by mrbaseball34 »

mrbaseball34 wrote:
noelcrowley wrote:
tumba25 wrote:
Durbatuluk wrote:and is there posibility to send message with set solved topic?
?? PM? No, not in PM's.

Is is possible to send the message just via email?
I just want to know were the solved gets set so I can update my user's total_solved value.
That would probably be the same place to also compile and send an email.
Hey, look around line 584 in viewtopic.php, you'll find this code:

Code: Select all

  $sql = 'UPDATE ' . TOPICS_TABLE . '
          SET topic_solved = ' . $set_solved . $lock_solved . '
	  WHERE topic_id = ' . $topic_id;
  $db->sql_query($sql);
After the above code is where you want to do your PM or email thing.

This is where I increment the total_solved value for the user like this:

Code: Select all

    // ************************************************************************
    // This SQL updates the count of total solved topics by the user that 
    // posted the topic that was selected as the answer
    //
    // NOTE: Make sure that you have a total_solved column in the users table!!!
    //
    $sql = 'UPDATE ' . USERS_TABLE . '
            SET total_solved = total_solved + 1
            WHERE user_id = (SELECT poster_id FROM ' . POSTS_TABLE . '
                             WHERE post_id = ' . $post_id . ')';
    $db->sql_query($sql);
    // ************************************************************************
If you figure out how to do the PM thing, I'd like to know, too. I already know how to do the email.
Which poster do you want to notify, the topic starter?
User avatar
spaceace
Registered User
Posts: 1990
Joined: Wed Jan 30, 2008 8:50 pm
Contact:

Re: Topic Solved

Post by spaceace »

just installed this on my board and had no problems at all :D

thanks :mrgreen:
mrbaseball34
Registered User
Posts: 143
Joined: Thu Jul 17, 2003 2:46 pm

Re: Topic Solved

Post by mrbaseball34 »

Yo, tumba25,
How do I show the forum_solve_text in viewforum next to the topic title?
I don't see that in the MOD.
User avatar
tumba25
Former Team Member
Posts: 4430
Joined: Wed Jun 06, 2007 6:42 am
Location: Kokkola, Finland.
Name: Jari Kanerva
Contact:

Re: Topic Solved

Post by tumba25 »

Recheck your edits in viewforum.php and viewforum_body.html. And purge your forum and browser cache.
Need a mod/extension created/installed, other custom-coded solution or a server admin? https://tumba25.net
mrbaseball34
Registered User
Posts: 143
Joined: Thu Jul 17, 2003 2:46 pm

Re: Topic Solved

Post by mrbaseball34 »

I did that and the edits are there. It shows in view_topic, but not in view_forum.
My board is not yet online but I will let you know when I put it up.

I have another issue that isn't working, either.
I'm trying to align these images to the bottom of the post:
REPORT_IMG
SOLVED_SET_IMG / SOLVED_UNSET_IMG
INFO_IMG
WARN_IMG
DELETE_IMG

I'm using fsubice2, inherited from subsilver2 and this code just doesn't work:
{NOTE the bottom valign on the tr}

Code: Select all

<table width="100%" cellspacing="0">
<tr valign="bottom"> 
  <td class="gensmall" align="{S_CONTENT_FLOW_END}">
  <!-- IF not S_IS_BOT -->
    <!-- IF postrow.U_REPORT --><a href="{postrow.U_REPORT}">{REPORT_IMG}</a> <!-- ENDIF --> 
    <!-- IF postrow.U_SET_SOLVED -->
      <a href="{postrow.U_SET_SOLVED}">
        <!-- IF postrow.S_TOPIC_SOLVED -->
          {SOLVED_UNSET_IMG}
        <!-- ELSE -->
          {SOLVED_SET_IMG}
        <!-- ENDIF -->
      </a>
    <!-- ENDIF -->
    <!-- IF postrow.U_INFO --><a href="{postrow.U_INFO}">{INFO_IMG}</a> <!-- ENDIF --> 
    <!-- IF postrow.U_WARN --><a href="{postrow.U_WARN}">{WARN_IMG}</a> <!-- ENDIF --> 
    <!-- IF postrow.U_DELETE --><a href="{postrow.U_DELETE}">{DELETE_IMG}</a> <!-- ENDIF -->
  <!-- ENDIF -->
  </td>
</tr>
</table>
It still looks like this:
Image

And I want it to look like this:
Image

Any ideas on how to do that correctly?
User avatar
tumba25
Former Team Member
Posts: 4430
Joined: Wed Jun 06, 2007 6:42 am
Location: Kokkola, Finland.
Name: Jari Kanerva
Contact:

Re: Topic Solved

Post by tumba25 »

The fsubice2 author would give you much better support on how to align the images.
Need a mod/extension created/installed, other custom-coded solution or a server admin? https://tumba25.net
mrbaseball34
Registered User
Posts: 143
Joined: Thu Jul 17, 2003 2:46 pm

Re: Topic Solved

Post by mrbaseball34 »

But why do you not think the forum_solve_text in viewforum is not showing next to the topic title?
The edit is done:

Code: Select all

<!-- IF topicrow.S_UNREAD_TOPIC --><a href="{topicrow.U_NEWEST_POST}">{NEWEST_POST_IMG}</a><!-- ENDIF -->
{topicrow.ATTACH_ICON_IMG} <!-- IF topicrow.S_HAS_POLL or topicrow.S_TOPIC_MOVED --><b>{topicrow.TOPIC_TYPE}</b> <!-- ENDIF --><a title="{L_POSTED}: {topicrow.FIRST_POST_TIME}" href="{topicrow.U_VIEW_TOPIC}"class="topictitle">{topicrow.TOPIC_TITLE}</a>
<!-- IF topicrow.SOLVED_TOPIC -->&nbsp;&nbsp;<a href="{topicrow.U_SOLVED_TOPIC}" class="topictitle"{topicrow.SOLVED_STYLE}>{topicrow.SOLVED_TOPIC}</a><!-- ENDIF -->					<a href="{topicrow.U_MCP_QUEUE}">{UNAPPROVED_IMG}</a>&nbsp;
<!-- IF topicrow.S_TOPIC_REPORTED -->
<a href="{topicrow.U_MCP_REPORT}">{REPORTED_IMG}</a>&nbsp;
<!-- ENDIF -->
<!-- IF topicrow.PAGINATION -->
<p class="gensmall"> [ {GOTO_PAGE_IMG}{L_GOTO_PAGE}: {topicrow.PAGINATION} ] </p>
I'm now online at http://www.delphicommnity.com
WastedJoker
Registered User
Posts: 74
Joined: Mon Nov 17, 2008 10:20 pm

Re: Topic Solved

Post by WastedJoker »

I'm using AutoMod RC2 w/ phpbb version 3.0.5 and have uploaded the mod to /www/forum/store/mods and it doesn't appear on the list of mods to install.

Edit: Solved it - You need to upload the whole topic_solved folder and contents.
User avatar
tumba25
Former Team Member
Posts: 4430
Joined: Wed Jun 06, 2007 6:42 am
Location: Kokkola, Finland.
Name: Jari Kanerva
Contact:

Re: Topic Solved

Post by tumba25 »

mrbaseball34: There are two almost identical finds in viewforum_body.html. I think that you edited the first when you should have edited the second.
Need a mod/extension created/installed, other custom-coded solution or a server admin? https://tumba25.net
mrbaseball34
Registered User
Posts: 143
Joined: Thu Jul 17, 2003 2:46 pm

Re: Topic Solved

Post by mrbaseball34 »

DUH ME!, that looks like that was it,

Thanks....
WastedJoker
Registered User
Posts: 74
Joined: Mon Nov 17, 2008 10:20 pm

Re: Topic Solved

Post by WastedJoker »

I'm using ProSilver Special Edition and this meant some manual editing of buttons.css, colours.css and imageset.cfg. Nothing too difficult as long as you remember to refresh templaes, theme and imagesets + cache.

Note: Some of the find instructions in install.xml will not be exact if you're trying to modify your Prosilver SE theme - the icon sizes are slightly different so remember to look carefully for the necessary edits.
Locked

Return to “[3.0.x] MOD Database Releases”