News:

SMF 2.1.4 has been released! Take it for a spin! Read more.

Main Menu

Tagging System For Topics

Started by SMFHacks.com Team, December 19, 2006, 10:59:20 AM

Previous topic - Next topic

goldenboy48

Quote from: PanesarV on May 10, 2008, 03:39:41 PM
Quote from: vbgamer45 on July 23, 2007, 08:10:07 AM
Released Tagging System 1.0.4 with eldʌkaː fix for pretty urls.

Hi,
I'm still facing this problem of "No Topic Selected" I have the latest Pretty URLs Mod installed. I downloaded the latest version from SMF Mod Site but the error continues to show up.

Please help. Thanks.

Bump.

vbgamer45

It may not work with that release have not tested with the latest pretty url.
Community Suite for SMF - Grow your forum with SMF, Gallery,Store,Classifieds,Downloads,more!

SMFHacks.com - Paid Modifications for SMF

Mods:
EzPortal - Portal System for SMF
SMF Gallery Pro
SMF Store SMF Classifieds Ad Seller Pro

rumfa

hi.. i get this error when adding some utf-8 charachters.

Illegal mix of collations (latin1_swedish_ci,IMPLICIT) and (utf8_general_ci,COERCIBLE) for operation '='
file: /*****/Sources/Tags.php
Line: 274

MY database is mosty in utf8 but the tag is in latin1_swedish_ci . Do i need to covert the table in utf8 and how do i do that?

127.0.0.1

I am trying to figure out how to add/remove tags in the display.template via javascript so a new page isn't loaded for each action. Similar to how it is done in Flickr.

127.0.0.1

Something like this via AJAX.

In the display.template.php, the view of tags associated with the topic:



After clicking [Add a tag] a textbox form appears to enter a new tag:



After clicking OK the tag is added and it appears on the list along with another [Add a tag] link so the process can be repeated if desired:



Also, clicking the "x" deletes and clears the tag from the list, all done via AJAX so the process is less laborious.

However, I don't know AJAX. If anyone likes this idea and wants to implement it; would you mind sharing the code and could you make it compatible for SMF 1.1.1 (which is what I am on).

vbgamer45

That would be cool would need to look into that.
Community Suite for SMF - Grow your forum with SMF, Gallery,Store,Classifieds,Downloads,more!

SMFHacks.com - Paid Modifications for SMF

Mods:
EzPortal - Portal System for SMF
SMF Gallery Pro
SMF Store SMF Classifieds Ad Seller Pro

127.0.0.1

Indeed. I have no patience so I am trying to figure it out for myself. ;D

Any time frame as to when you think you'd include that feature if it is possible?

goldenboy48

Please make it compatible with latest pretty urls mod, if you have time.

Thanks.

erosolmi

Thanks a lot for this mod. Very useful.

Any way to consider tags the same even if written in different UPPER/lower letters?

Thanks
Eros
www.thinbasic.com | community.thinbasic.compsch.thinbasic.com
WinXP Pro SP2 - Centrino Core 2 2GHz - 2Gb Ram - Ati Radeon Mobility X1600 512Mb

127.0.0.1


kai920

#230
I installed this mod on 1.1.5... the testing phase seemed to be fine.

After I apply the mod, I can see the tags field in Start New topic... (it tells me "Seperate each tag by a comma"... see attached) but I don't notice the tagging system anywhere else in my forum.

I thought I was using the default theme. Should I do manual edits to the theme files?

NM: found out I was on a copy of the default theme. switched to default and it's working now.

kai920

Can anyone tell me why I've got two different tags for the same word? ('hong kong')

One has two tags, the other has one.

How do I combine their items?

Link: http://www.kaitech.hk/option,com_smf/Itemid,71/action,tags/

kai920

Does anyone know how to combine threads with "duplicate tags"?

DonMateo

Hello!

I was just wondering if this mod could also be applied to SMF 2.0? How?

Greets, DM

niko

Quote from: kai920 on June 06, 2008, 09:47:02 AM
Can anyone tell me why I've got two different tags for the same word? ('hong kong')

One has two tags, the other has one.

How do I combine their items?

Link: http://www.kaitech.hk/option,com_smf/Itemid,71/action,tags/

Other seems to have space before word it's " hong kong". Changing it will probably fix it.
Websites: Madjoki || (2 links retracted by team, links out of date and taken over.)
Mods: SMF Arcade, Related topics, SMF Project Tools, Post History

WIP Mods: Bittorrent Tracker || SMF Wiki

kai920

Quote from: Niko on June 13, 2008, 11:34:01 AM
Other seems to have space before word it's " hong kong". Changing it will probably fix it.

Thanks, you were right :)

I "accidentally" added an extra space when listing them out, but this is the usual practice correct?

tag1, tag2, tag3

and not

tag1,tag2,tag3

Can we edit the code so that it will strip all spaces immediately after the comma and before the first letter of the next tag?  I noticed another moderator has added tags, and they too have a white space before each tag.

niko

Quote from: kai920 on June 13, 2008, 11:45:39 AM
Quote from: Niko on June 13, 2008, 11:34:01 AM
Other seems to have space before word it's " hong kong". Changing it will probably fix it.

Thanks, you were right :)

I "accidentally" added an extra space when listing them out, but this is the usual practice correct?

tag1, tag2, tag3

and not

tag1,tag2,tag3

Can we edit the code so that it will strip all spaces immediately after the comma and before the first letter of the next tag?  I noticed another moderator has added tags, and they too have a white space before each tag.

This should work

Sources/Post.php

find


$tagcount = 0;
foreach($tags as $tag)
{


Replace with

$tagcount = 0;
foreach($tags as $tag)
{
$tag = trim($tag);


trim is function which removes white-space characters (sucha as space).
Websites: Madjoki || (2 links retracted by team, links out of date and taken over.)
Mods: SMF Arcade, Related topics, SMF Project Tools, Post History

WIP Mods: Bittorrent Tracker || SMF Wiki

kai920

Thanks Niko.

Any other word conversions we should make. Would TAG be the same as tag? If different , perhaps we should do a strtolower? (as suggested here)

Kimmie

#238
Quote from: TrueSatan on July 23, 2007, 07:05:07 PM
This issue has been discussed in past postings in this topic...please note it would be appreciated if people would read the whole topic as often they'll find the answers to their questions have already been asked and answered...this mod doesn't, as you have realised, delete tags when a topic is deleted...should you wish to delete the tags you would have to edit them from your database.

care to elaborate on how exactly this is to be done (as it would come in handy since this poses both a problem for members who would be looking for the posts attached to that tag and an irritation for admins who would then have to explain on a constant basis as to why they cannot find the posts)?

thanks

vbgamer45

Quote from: DonMateo on June 13, 2008, 04:08:42 AM
Hello!

I was just wondering if this mod could also be applied to SMF 2.0? How?

Greets, DM
Uploaded the SMF 2.0 version to the mod site.
Community Suite for SMF - Grow your forum with SMF, Gallery,Store,Classifieds,Downloads,more!

SMFHacks.com - Paid Modifications for SMF

Mods:
EzPortal - Portal System for SMF
SMF Gallery Pro
SMF Store SMF Classifieds Ad Seller Pro

Advertisement: