Not signed in (Sign In)

Categories

Vanilla 1.1.4 is a product of Lussumo. More Information: Documentation, Community Support.

Help keep Vanilla free:
Welcome Guest!
Want to take part in these discussions? If you have an account, sign in now.
If you don't have an account, apply for one now.
  1.  # 1
    This discussion allows users and administrators to add tags initiating a new discussion. Existing discussions can also be tagged either by editing the first comment in a discussion thread or from the 'all discussions' view.

    The extension also presents both recent and full history tag clouds to highlight the most commonly used tags.

    Version History
    0.3.1 Addresses a MySQL error when a user is not logged in

    0.3.0 Initial release
    •  
      CommentAuthorTomTester
    • CommentTimeMar 2nd 2007
     # 2
    Love this, but doesn't work with tables theme.
    How difficult would it be to adapt?
    • CommentAuthorDanro
    • CommentTimeMar 2nd 2007
     # 3
    I also love this extension. It's a nice supplement to the category system. Any chance of this being added to the core code (with a search option, manage tags through settings, ...)?
    •  
      CommentAuthorTex
    • CommentTimeMar 15th 2007
     # 4
    Is it possible to display those tags at the first comment of the discussion, too?
    • CommentAuthoriternity
    • CommentTimeMar 15th 2007
     # 5
    The Phrase "All Discussion Tags" is aligned to the right...

    http://www.investorsbull.com/extension.php?PostBackAction=DiscussionTags

    Any thoughts?
    •  
      CommentAuthorTomTester
    • CommentTimeMar 15th 2007 edited
     # 6
    Using FireBug (a kick-ass free add-on for FireFox) it's really easy to see the cause: vanilla.css (line 260)
    .ContentInfo {
    text-align:right;
    }

    FYI, the way I do this (after FireBug add-on is installed, which you can get at www.getfirebug.com):
    - Open page with problem.
    - Hit F12 to open FireBug
    - Click INSPECT button
    - Move cursor over offending CSS problem
    - Click once -> CSS appears on right with full inheritance
    - Scroll down the items and see what could be causing the problem..
    - You can EVEN test LIVE this by temporarily editing the CSS on the right (just click in label/tag))

    This add-on is the best thing since sliced bread... (with cheese!)

    Anyway, that said... vanilla.css is pretty complex. Always make a backup, always test on different browsers.

    Good luck.
    •  
      CommentAuthorTex
    • CommentTimeMar 15th 2007
     # 7
    Simply changing .ContentInfo would cause different problems, e.g. distorting the position of 'Bottom of Page'. As far as I can see, the extension uses o not yet defined CSS class 'ContentInfo Top BlogsTitle'. Maybe you can use that one.
    • CommentAuthoriternity
    • CommentTimeMar 15th 2007 edited
     # 8
    Not that easy because

    .ContentInfo {
    text-align:right;
    }

    is needed for the phrase "Bottom of Page" in the discussions (i think).
    •  
      CommentAuthorTomTester
    • CommentTimeMar 15th 2007 edited
     # 9
    Try ADDING to the bottom of vanilla.css (untested, I'm lazy)

    .ContentInfo.Top.BlogsTitle {
    text-align:left;
    }


    Scratch... see that was already suggested... Did you try it?
    • CommentAuthoriternity
    • CommentTimeMar 15th 2007
     # 10
    Not that easy. Some of the above fixes the alignment for the Phrase "All Discussion Tags" but then there is a problem with the text "Bottom of Page".

    Not easy :)
    • CommentAuthormis-one
    • CommentTimeMar 16th 2007
     # 11
    Has anyone figured a way to move the tags listing on the comments page to display inline under the first discussion as opposed to the panel? Or even how to display "Discussion Tags" the way "Recent Tags" looks, inline. Right now I have users that at first glance are confused at it's resemblance of the "Who's Online" extension.
    •  
      CommentAuthorjimw
    • CommentTimeMar 17th 2007
     # 12
    I think it would be easier to put above the discussions, having played around a little with the comments.
  2.  # 13
    iternity wrote:
    "The Phrase 'All Discussion Tags' is aligned to the right ..."

    I think I've hacked this into place without breaking anything. ;-)

    In the DiscussionTags default.php file I added the following after line 233:

    $Head->AddStyleSheet('extensions/DiscussionTags/style.css');
    It now looks something like this:

    if ($Context->SelfUrl == 'extension.php' AND ForceIncomingString('PostBackAction','') == 'DiscussionTags') {
    $Head->AddStyleSheet('extensions/DiscussionTags/style.css');
    $Context->PageTitle = 'Discussion Tags';

    This forces the DiscussionTags style.css file to be called on the page in question (as an aside: I think its okay to move the earlier identical reference to this position, rather than creating a second reference — but I'll leave that for you to decide). At any rate, we do this because the style.css file was being called on the Discussions page, but not the DiscussionTags page (now it's called on both).

    Further down the default.php file (right towards the end), there are some "echo '...blah...';" writes.

    I changed mine to look like this (the first line is just for reference):

    $min = 0;
    echo '<div class="ContentInfo"><h1>All Discussion Tags</h1></div>';

    And even further down, I replaced the remaining writes with:

    echo '<div id="BackToDiscuss"><a href="index.php">&laquo; Back to Discussion view</a></div>';
    Then in the style.css file, I added:

    /* Fixer-Upper */

    #ExtensionPage .ContentInfo h1 {
    text-align: left !important;
    padding: 20px 10px 20px 0;
    }

    #BackToDiscuss {
    padding-top: 10px;
    }

    It'd probably be an idea to use the exact same classes/ids used by Vanilla. Also, we could reduce the number of divs being utilised pretty easily. I would have looked into it ... (but am lazy). #BackToDiscuss was off the top of my head and is probably not ideal ... However, I'm just arguing semantics here. It works just fine.

    I also fixed up the sidebar from peeking through the Soulscape theme margins, but that was a no-brainer (convert to unordered list).

    So, I think that's everything I did. You get the general idea, anyway.
  3.  # 14
    Hi, my users are complaining about a major drop in performance since i installed this plugin. are there more people noticing this, and is there someone that maybe has a solution to speed things up.

    Currently there are only 10 tags used in the forum, will it slowdown more if more tags get used?
  4.  # 15
    Since there was never a reaction about the performance i have rewritten this plugin a bit to increase performance to an acceptable level.
    I will modify it so, it can be installed over the original plugin and post it here.

    (indication of increase,
    - with no plugin and 10 users active the discussions page with 30 discussions loaded in 3-5 secs.
    - with original plugin, and 10 users active the discussions page with 30 discussions loaded in 15-20 secs.
    - with my modification and 10 users active the discussions page with 30 discussions loaded in 4-5 secs.
    • CommentAuthordan39
    • CommentTimeJul 18th 2007 edited
     # 16
    15-20 seconds?? That doesn't sound right. I think other users of this Add-On would have complained about that slowness by now if it were affecting everyone. It might just be your site.

    The main issue I noticed was that those who have permission to tag had to load extra javascripts -- which bogged things down a bit. But, my feeling is that not every user should need to tag things (certainly non-authenticatd guests can't). So, most users wouldn't be affected by this in that set up.

    Were you having slowness everywhere? Even when people weren't logged in??
  5.  # 17
    Well it really only was the discussion page with the tags, that slows things down, if i turn off my tweaked page, and turn on the original, load times increase drastically.

    I can't test it with no users logged in, there are always at least 7-15 users logged in 24/7.

    The problem is in the sql of the DiscussionTagList. For every line a sql query with a join on 2 tables is called, and the full result set is parsed row by row. This is done without using the SQL-builder. using the sql builder and caching the tags, so they can be fetched in one single value single row result for each line has given me enough speed increase so people don't notice any difference with it turned on or off.

    Maybe it is my setup, it is running on minimal hardware, and the sql server is not on the same server as the website.
    • CommentAuthordan39
    • CommentTimeJul 19th 2007 edited
     # 18
    You should get in touch with houseinprogress. Sounds like you have some good ideas.

    It's not clear if he is still supporting this Add-On or not. Does anyone know?

    BTW, you can see his forum with lots of tags here:
    http://www.houseblogs.net/community/
  6.  # 19
    Hey folks, sorry to be absent for a while. I've not been actively developing features at Houseblogs.net for a few months so I've been here less often.

    As dan39 suggested, we've got lots of tags on our own install and we aren't seeing 15-20 second load times. We did have general slowness issues on a shared hosting account earlier this year but moving to a dedicated server addressed most of that.

    I am interested in ideas like the ones above that speed up the database calls, though. little_peet, if you post your code here I can have the developer who helps (I don't code the extensions myself) me look at it.
    • CommentAuthorjstubbs
    • CommentTimeJul 30th 2007
     # 20
    Hi,

    I get this error when clicking on the "view all tags" link:

    A fatal, non-recoverable error has occurred

    Technical information (for support personel):

    Error Message
    The "DiscussionTags" class referenced by "DiscussionTags" does not appear to exist.
    Affected Elements
    ObjectFactory.NewObject();
    For additional support documentation, visit the Lussumo Documentation website at: lussumo.com/docs

    Am using MAMP on OSX for local development. I have changed some of the default language definitions in my own /conf/language.php file if that means anything (new to Vanilla), but I guess it should not make any difference...
    • CommentAuthorjstubbs
    • CommentTimeAug 9th 2007
     # 21
    Anyone....?
    •  
      CommentAuthorjimw
    • CommentTimeAug 9th 2007
     # 22
    @jstubbs: Maybe the default.php file got corrupted when you uploaded it. Did you try uploading again?
    • CommentAuthorjstubbs
    • CommentTimeAug 9th 2007
     # 23
    Hi, I downloaded a fresh version, then removed the old discussion tags from the extensions folder. After uploading the new folder and enabling it, I get the same error as above.

    Note I am on localhost - MAMP.

    The tags work, as in they display fine and I can click on the tag links and it works fine. Its only the "view all tags" link that brings the error I mention above.
    • CommentAuthorjakob_r
    • CommentTimeOct 7th 2007 edited
     # 24
    Littlepeet wrote:
    I will modify it so, it can be installed over the original plugin and post it here.

    Hi littlepeet. Would you be willing to share your update/modification of discussion tags?
    •  
      CommentAuthorGodfather
    • CommentTimeOct 25th 2007
     # 25
    the sense and realization of extension is cool, but what about of deleting old, unsuccesfull tags?
    •  
      CommentAuthormonstr
    • CommentTimeJan 4th 2008
     # 26
    hm well seems like there is no support for german special caracters (öäü) - what a wonder :D
    when you try to use tags icluding these letters there's a mysql warnng an the letters get transformed into a

    any ideas how i could fix it?
    • CommentAuthorvaniller
    • CommentTimeJan 12th 2008
     # 27
    I have exactly the same problem as # jstubbs - can't view all tags,fatal error .. vanilla 1.1.4. In previous version everything was OK.
    •  
      CommentAuthorjimw
    • CommentTimeJan 13th 2008
     # 28
    When you move your mouse over the View All Tags link, what does it look like? Mine looks like:
    http://localhost/Vanilla.1/extension.php?PostBackAction=DiscussionTags
    • CommentAuthorvaniller
    • CommentTimeJan 13th 2008
     # 29
    •  
      CommentAuthorjimw
    • CommentTimeJan 13th 2008
     # 30
    Just to be sure, is your local Vanilla installed in the root or in a folder like mine called Vanilla.1?
    • CommentAuthorpguth
    • CommentTimeFeb 6th 2008 edited
     # 31
    I dont want to give tagging-rights to all groups. Is there a way to give only special groups the ability to tag their discussions?
    •  
      CommentAuthorØ
    • CommentTimeFeb 6th 2008
     # 32
    I also wish it was possible.
    • CommentAuthorpguth
    • CommentTimeFeb 6th 2008 edited
     # 33
    Because one can add tags with whitespaces (which is great) I find it neccessary to comma-separate the tags. I accomplished this by changing line 228 in default.php to
    $toreturn .= ' <a style="font-size:'.$fontsize.'%; text-decoration:none; color:'.$color.';" href="index.php?TagFilter='.$Value[2].'">'.$Value[0].','.'</a> ';

    I also want all tags to be lowercase, so I inserted
    $Value = mb_strtolower($Value); below line 58 in ajax.php (and in default.php below line 133 - but this doesn't seem to neccessary).
    • CommentAuthorfery
    • CommentTimeMar 5th 2008 edited
     # 34
    is there a way to drop the tag lines from the discussions list totally? (inclusive the edit button and everything discussion-tag related)

    thanks a bunch
    • CommentAuthorsstawarz
    • CommentTimeMar 7th 2008 edited
     # 35
    Anyone have issues with this and FriendlyURLs?

    Basically, the code is written with index.php The problem is that it does not take into account the friendly rewrite.

    It's when you click on a Discussion title itself that Discussion tags get kind of screwed up. The will show on the page, but the show all tags, does not work.

    I'll keep testing and see if I can find a fix, but if someone else has, that would be great.
    •  
      CommentAuthorHamed
    • CommentTimeMar 30th 2008
     # 36
    i get this on the people.php page

    // DiscussionTags Table Structure $DatabaseTables['DiscussionTags'] = 'DiscussionTags'; $DatabaseColumns['DiscussionTags']['TagID'] = 'TagID'; $DatabaseColumns['DiscussionTags']['Tag'] = 'Tag'; $DatabaseTables['DiscussionHasTags'] = 'DiscussionHasTags'; $DatabaseColumns['DiscussionHasTags']['TagID'] = 'TagID'; $DatabaseColumns['DiscussionHasTags']['DiscussionID'] = 'DiscussionID'; ?>
  7.  # 37
    The errors I'm getting aren't caused by FriendlyURLs or any other extension, so I've deduced that this extension just doesn't like 1.1.4. In addition to getting Hamed's errors in other weird places, there's also a big fat MYSQL join error when clicking on any tag link (as shown here with some privacy edits):


    Notice: Undefined index: DiscussionHasTags in /home/.path/user/domain.com/library/Framework/Framework.Functions.php on line 549

    Notice: Undefined index: DiscussionHasTags in /home/.path/user/domain.com/library/Framework/Framework.Class.SqlBuilder.php on line 80

    Notice: Undefined index: DiscussionHasTags in /home/.path/user/domain.com/library/Framework/Framework.Class.SqlBuilder.php on line 263

    A fatal, non-recoverable error has occurred
    Technical information (for support personel):

    Error Message
    An error occurred while retrieving discussions.
    Affected Elements
    DiscussionManager.GetDiscussionList();

    The error occurred on or near: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'left join LUM_CategoryBlock cb on t.CategoryID = cb.CategoryID and cb.UserID = ' at line 1

    For additional support documentation, visit the Lussumo Documentation website at: lussumo.com/docs


    I have no clue on how to fix this or update the extension. Any help would be very much appreciated as tags are a big part of my community's functionality.
  8.  # 38
    Woooo I fixed it!

    After removing the entire extension, I found I was still getting Hamed's error. It wasn't anywhere in the database, so it had to have been in the files given write permission. I checked out conf/database.php and apparently the tables were appended AFTER the PHP block closed. All I did was removed the extra ?> and all was go!

    Hope this helps anyone else who needs it!
Add your comments
    Username Password
  • Format comments as