Jump to content

Most Used Tags


Adriano Faria

Recommended Posts

%7Boption%7D



File Name: Most Used Tags

File Submitter: Adriano Faria

File Submitted: 12 Mar 2013

File Category: Utilities

Supported Versions: IP.Board 3.3.x, IP.Board 3.4.x



This hook will create a new stats to list all most used tags in all applications (that uses tags, of course!) that you have installed on your board.

New stats page will list:

  • Tag
  • Times a tag was used
  • Times a tag was defined as prefix
  • Last time used

Settings:
  • Number of tags on stats page (lines)
  • Groups allowed to view the link stats (board index) and view the stats page



here to download this file

Link to comment
Share on other sites

  • 4 months later...
  • 8 months later...
  • 5 months later...

I've just installed this and the link to Most Used Tags just takes me back to the main forum index.

The link is showing as:

http://myforum.com/forum/index.php?/app=forums/page__module__extras__section__stats__do__tags

But if I manually type in the URL below, it works and takes me to the Most Used Tags page:

http://myforum.com/forum/index.php?app=forums&module=extras&section=stats&do=tags
But, links to tags in other apps (eg, blogs, links), takes me back to the main forum index too.

I know nothing about PHP. I did notice that in this bit in the hook.xml file

parse url="app=forums&module=extras&section=stats&do=tags
there's an "amp;" after "stats&" but not after any of the other &s. Might it have anything to do with why clicking the link in the stats area just takes me back to the main index page?
Link to comment
Share on other sites

I guess I didn't explain myself well last night (it was late in the UK and I was tired)... So let me try again smile.png

In a nutshell:

The hook doesn't work for me because clicking on the link fails to load the page for Most Used Tags and instead sends me back to the main forum index.

More info:

1/ When I hover over the link for Most Used Tags in the stats area, I see this link:

http://myforum.com/forum/index.php?/app=forums/page__module__extras__section__stats__do__tags
But it doesn't work for me because when I click on this link for Most Used Tags in the stats area: it sends me back to my main forum index page instead of sending me to the page with the list of Most Used Tags. In the address bar, the link above is what shows.

2/ As a test, I changed and typed the link in the address bar - not in the hook or in any other file/template nor anywhere else - to:
http://myforum.com/forum/index.php?app=forums&module=extras&section=stats&do=tags
It worked and took me to the page with the list of Most Used Tags.

When on this page with Most Used Tags, clicking on the filter button for Blogs (and for the app "Links Directory" which also uses tags) sent me back to the main forum index, with the same link in the address bar as the first link.

3/ I thought I'd look at the hook.xml to see if I could figure out what might be causing the error. I noticed that the "parse url" showed like this:
app=forums&module=extras&section=stats&do=tags
and saw there's an amp; after stats& but not after any of the other &. Not knowing much about PHP or XML code, I didn't know if this had anything to do with why the link for Most Used Tags in the stats area isn't working for me.
Link to comment
Share on other sites

  • 5 months later...

Archived

This topic is now archived and is closed to further replies.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...