got stuck on tryign to install this mod

Started by wynnyelle, April 12, 2013, 10:02:04 PM

Previous topic - Next topic

shadow82x

Install it ignoring that error, and do the first Display.template.php edit manually.

Code (Find) Select
<hr class="post_separator" />';
Code (Add After) Select
//Tagging System
if (($message['id'] == $context['first_message']) && !empty($context['tagsinfo']))
{
echo '
<div class="cat_bar">
<h3 class="catbg">'.$txt['tags_topic'].'</h3>
</div>
<div class="windowbg2" style="overflow: auto;">
<div class="content_tags">';
foreach ($context['tagsinfo'] as $tag)
echo '
<div class="content_tags">
<span><a href="'.$scripturl .'?action=tags;sa=search;id_tag='.$tag['id_tag'].'">'.$tag['tag'].'</a></span>
</div>';
echo '
</div>
</div>';
}
//Tagging System END
Colin B
Former Spammer, Customize, & Support Team Member

wynnyelle

Thank you.


I added it to the one in default theme, but it was already there. That part installed fine, but the mod still isn't working.

Here is what it is doing, instead of working right

shadow82x

My apologies, after taking a second look the error was on the second (replace) change in display.template.php

So do the following in that same file:
Code (Find) Select
echo '
      <br class="clear" />';

   if ($context['show_spellchecking'])

Code (Replace) Select
echo '
      <br class="clear" />';
   
   //Tagging System
   if (!empty($context['tagsrelated']) && !empty($modSettings['tag_enabled_related_topics']) && !empty($modSettings['tag_enabled']))
   {
      echo '
         <div class="cat_bar">
            <h3 class="catbg">'.$txt['tags_related_title'].'</h3>
         <>
         <div class="tborder topic_table" id="messageindex">
            <table class="table_grid" cellspacing="0">
               <thead>
                  <tr class="catbg">
                     <th scope="col" class="smalltext first_th">'.$txt['subject'].'</th>
                     <th scope="col" class="smalltext last_th" width="14%">'.$txt['replies'].'</th>
                  </tr>
               </thead>
               <tbody>';
      foreach ($context['tagsrelated'] as $rtags)
      {
         echo '      <tr class="windowbg">
                     <td class="subject">
                        <div>
                           <a href="'.$rtags['topic_href'].'">'.$rtags['subject'].'</a>
                        <>
                        <a href="'.$rtags['board_href'].'">'.$rtags['board_name'].'</a> <span style="font-size:0.8em;">'.$txt['started_by'].' <a href="'.$rtags['member_href'].'">'.$rtags['real_name'].'</a></span>
                     </td>
                     <td class="stats">
                        '.$rtags['num_replies'].' '.$txt['replies'].'
                        <br />
                        '.$rtags['num_views'].' '.$txt['views'].'
                     </td>
                  </tr>';
      }
      echo '      </tbody>
            </table>
         <>';
   }
   //Tagging System END
   
   if ($context['show_spellchecking'])


That should do the trick. :)

Source
Colin B
Former Spammer, Customize, & Support Team Member

wynnyelle

#4
Okay...

Interesting results. I am still getting some jargon going on like in that screenshot so it is not yet ready to be released, but it did record the tags. However, the tags do not show up when the thread gets posted. They seem to disappear. So, I don't know if this is actually working or not.

I can get a screenshot if you need one.

Also, the tags don't allow spaces or special characters. That's a bit of a  problem.

Here's the screen

shadow82x

Hmm, well something didn't get installed right. Typically we say that you ask support related questions in the mod support topic but try attaching your Post.Template.php here and the Display.template.php and I'll double check to make sure the code looks right. If not it would be best for you to ask it there. :)
Colin B
Former Spammer, Customize, & Support Team Member

wynnyelle

Okay! Where is that thread though? I couldn't find it and it wasn't on the mod's page {I looked before I posted here}.
One sec, lemme go attach those. Thank you again!

French

Quote from: GroovystarI couldn't find it and it wasn't on the mod's page {I looked before I posted here}.
Well there's

shadow82x

I'm at a loss the mod edits look fine. As French showed above, you should try asking in the mod support topic. Also make sure all the edits carried onto your custom theme template files, if your using one that is.
Colin B
Former Spammer, Customize, & Support Team Member

wynnyelle

I have no idea how to check for that.

I'm using a custom theme, that's all I know.


wynnyelle

#10
...I did some looking on my forum and apparently the mod is partly working, just not like I need it to.

Have a look at the attachment.

I dislike tag clouds. I've always considered them a useless doily on a website. Maybe some people use them--I just never have. They seem like a decorative element and that's it {and we have enough of those}. I cannot remember even once clicking an entry on a tag cloud, ever, in all my years. How do I replace it with a tag search box? They can key in whatever tag they like and then all the threads with that tag get displayed when they hit the search button?

I do like that it seems to be displaying the most popular tags on that page already. I am slightly worried that the one with 2 entries isn't listed first, though. Something may be wrong.

The other problem is that the tags attached to a given thread are not showing on that thread's page at all--not below the post or above it or in its header...not anywhere.

...Why does it show X's to delete tags off that page? What would that do to the tag system on the site? Is it just there for if someone made some kind of nasty tag? That might be an issue at first, but I'd think that once the tags got used more, the most popular ones would be shown up on the first page, and prevent less popular ones from taking front space {most of the nasty tags would be less popular}? If this is what the delete tags is there for, is there a way to ghost certain tags? Sort of a tag filter--people can search for that tag and use that tag, but it won't display an entry on the tags page.

Advertisement: