News:

Want to get involved in developing SMF, then why not lend a hand on our github!

Main Menu

Tagging System For Topics

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

Previous topic - Next topic

Dannii

http://microformats.org/wiki/rel-tag
As part of the microformats movement, there is a proposed spec for rel="tag". It would be good if the default URLs used for this mod put the tag name itself in the query, so that if the microformat isn't directly supported, theme/site authors could do it themselves.
"Never imagine yourself not to be otherwise than what it might appear to others that what you were or might have been was not otherwise than what you had been would have appeared to them to be otherwise."

merosler

Hello,

I installed the tags mod, however, nothing no fields appear in my post.

I'm not sure what additional tweaking I need to do to my post, display and index files to make this work. (attached). 

Can anyone suggest what I need to do to integrate into my customized theme? (http://www.went2networks.com/smf)

(I tried to insert code I saw in this forum into my post.template file, but that didn't seem to change anything)

Any help would be appreciated!

thanks,
matt

franklinrony

hello    
it was thinking that serious interesting that this mod has the option to suggest tags of which already they have added in others post also of which it uses tags of technorati
http://twitter.com/franklinrony

Entra y aprende a ser un webmaster
www.sv-blog.com
--Si pides ayuda al menos agradece el soporte recibido----

neilbombd

I really love this mod, and thanks for making it.  However, I'd like to make some suggestions.

Firstly, and perhaps most importantly, it'd be great if you could remove someone's ability to make tags. 

Also I'd love to be able to make some censored tags.  So that I would define censored tags, and the tagging page would then reject them when someone tries to enter them. 

Would be nice to be able to have better tag administration too.  For instance, if there was an option for just the admin to be able to delete ALL instances of a tag on the main tag page, that would save a lot of time, and make it so much easier to look after.

I have it set so anyone can add and delete tags, but it would also be great if people could either add but not delete tags, or only delete their own (apart from the admin of course.)

franklinrony

a bug is when move a topic with tag in the tagcloud the tag no redirect to new position of topic
http://twitter.com/franklinrony

Entra y aprende a ser un webmaster
www.sv-blog.com
--Si pides ayuda al menos agradece el soporte recibido----

Dannii

Please use the proper QueryString.php validated $topic rather than $_REQUEST['topic'], so that URL rewriting mods will work.

Are you planning on doing much more with this? I'd be interested in taking over if you weren't.
"Never imagine yourself not to be otherwise than what it might appear to others that what you were or might have been was not otherwise than what you had been would have appeared to them to be otherwise."

jen

Great mod. I sincerely hope that it continues to be developed...

Robi052

Quote from: dsanchez on March 21, 2007, 11:14:38 AM
..................
<!-- Tagging System -->
<strong>', $txt['smftags_topic'], '</strong>';
foreach ($context['topic_tags'] as $i => $tag)
{
echo '<a href="' . $scripturl . '?action=tags;id=' . $tag['ID_TAG']  . '">' . $tag['tag'] . '</a>&nbsp;';
if(!$context['user']['is_guest'])
echo '<a href="' . $scripturl . '?action=tags;sa=deletetag;id=' . $tag['ID']  . '">
<span style="color:#f00;">[X]</span></a>&nbsp;';
}

if(!$context['user']['is_guest'])
echo '&nbsp;<a href="' . $scripturl . '?action=tags;sa=addtag;topic=',$context['current_topic'], '">' . $txt['smftags_addtag'] . '</a>

<!-- End Tagging System -->


Cause I don't think it's necesary to show the users where the Tagging System starts and finish. By the way I did copy that piece of code right before

<a name="lastPost"></a>';

in the Display.Template.php file.
..............

After when add this code I have two links Add Tag below post

bathgate

hey vbgamer what do i add to make a tag cloud on the index page i tried a playing with the tag code but i keep geeting errors it keeps saying the function template main() is already being used thanks

dsanchez

Quote from: dsanchez on April 24, 2007, 12:08:39 PM
Quote from: rosiem on April 22, 2007, 12:32:18 PM
When I add the same tags to different threads it seems to create duplicates in the tag cloud (instead of adding it to the existing tag)??

this happen when you let spaces between commas.

correct:

tag1,tag2,tag3

incorrect:

tag1, tag2, tag3

Does anyone knows how to correct this bug?

glennk

I get this.

Am running 1.1.3

The package you tried to upload either is not a valid package or has become corrupted.

Any help please ?

TrueSatan

Have you tried re-downloading the package...perhaps with a different browser?

Morendo

Has anyone been able to pull out the code needed to display the tag cloud in a block instead of having a separate page for it?
http://wtfsouplive.com [nofollow] - Political discussion, games & more!

Morendo

I would like to see tags that are separated by a comma to become their own tag in the tag listing instead of a string of tags.  That would make this mod A+ and make it so you don't have to enter each tag you want individually.
http://wtfsouplive.com [nofollow] - Political discussion, games & more!

bathgate

for the tag cloud you need tiny portal and then use this
http://www.tinyportal.net/index.php?topic=13744.10 [nofollow]

you can have it on every page of just on the tinyportal front page

ragots

Can I manually install this MOD on a forum running 1.1 RC 3 ?

TrueSatan

@ ragots

This mod is compatible with the following SMF versions:

1.1, 1.1.1, 1.1.2, 1.1.3

You would be best to upgrade from the old version of SMF you are using. You may, or may not (probably the latter), manage to get it to work on obsolete SMF versions but I very much doubt that you will be given any support for such an installation.

ragots

#117
I'm running 1.1 RC3 and I have too many mods (39) installed and I'm worried about upgrading and loosing all  my MODS.

The tag system for posts is very much neeed and is the last mod I'd want to install.

Why wouldn't it work if install it manually ?




Quote

Nom du mod     Version     
1.    Streaming 3    4.2.2a    [ Désinstaller ] [ Lister les fichiers ] [ Effacer ]
2.    Advanced Visual Verification    1.0    [ Désinstaller ] [ Lister les fichiers ] [ Effacer ]
3.    Anonymous Posting Mod    1.01    [ Désinstaller ] [ Lister les fichiers ] [ Effacer ]
4.    Max Subject Length    1.1    [ Désinstaller ] [ Lister les fichiers ] [ Effacer ]
5.    Digg Topic    1.0    [ Désinstaller ] [ Lister les fichiers ] [ Effacer ]
6.    Rename Topic    1.0.2    [ Désinstaller ] [ Lister les fichiers ] [ Effacer ]
7.    Ad Managment    2.0    [ Désinstaller ] [ Lister les fichiers ] [ Effacer ]
8.    Users Online Today Mod    1.4.0b3    [ Désinstaller ] [ Lister les fichiers ] [ Effacer ]
9.    SMF File Manager    1.0.1    [ Désinstaller ] [ Lister les fichiers ] [ Effacer ]
10.    No Spam by Guests!    0.1    [ Appliquer le mod ] [ Lister les fichiers ] [ Effacer ]
11.    Hide Post    1.0.7    [ Désinstaller ] [ Lister les fichiers ] [ Effacer ]
12.    MessagePreview    1.0    [ Désinstaller ] [ Lister les fichiers ] [ Effacer ]
13.    Board Viewers Mod    1.0    [ Désinstaller ] [ Lister les fichiers ] [ Effacer ]
14.    SMF 1.0.9 and 1.1 RC3-1 Security Patch    1.0.8/1.1 RC3    [ Désinstaller ] [ Lister les fichiers ] [ Effacer ]
15.    Karma Buttons    1.02    [ Désinstaller ] [ Lister les fichiers ] [ Effacer ]
16.    Board Notes    1.0.5    [ Désinstaller ] [ Lister les fichiers ] [ Effacer ]
17.    Contact Page    1.0    [ Désinstaller ] [ Lister les fichiers ] [ Effacer ]
18.    SMF Shoutbox    1.15    [ Désinstaller ] [ Lister les fichiers ] [ Effacer ]
19.    Hide Board    1.1    [ Désinstaller ] [ Lister les fichiers ] [ Effacer ]
20.    Hide Tag    1.2.4    [ Désinstaller ] [ Lister les fichiers ] [ Effacer ]
21.    Enhanced Quick Reply for 1.1 RC3    TBA    [ Désinstaller ] [ Lister les fichiers ] [ Effacer ]
22.    Expand Pages Mod    1.0    [ Désinstaller ] [ Lister les fichiers ] [ Effacer ]
23.    Active Members In Topic    1.5    [ Désinstaller ] [ Lister les fichiers ] [ Effacer ]
24.    View Single Post    2.0    [ Désinstaller ] [ Lister les fichiers ] [ Effacer ]
25.    Profile User Action    1.1    [ Désinstaller ] [ Lister les fichiers ] [ Effacer ]
26.    Simple Award System    1.0    [ Désinstaller ] [ Lister les fichiers ] [ Effacer ]
27.    Minimum Characters/Words Per Post    1.0.0    [ Appliquer le mod ] [ Lister les fichiers ] [ Effacer ]
28.    Signature Permission    1.0    [ Désinstaller ] [ Lister les fichiers ] [ Effacer ]
29.    Edit Meta Data    1.0    [ Désinstaller ] [ Lister les fichiers ] [ Effacer ]
30.    Signature Option Post    1.1    [ Désinstaller ] [ Lister les fichiers ] [ Effacer ]
31.    BBCode Bar For Signature    1.3    [ Désinstaller ] [ Lister les fichiers ] [ Effacer ]
32.    Profile Comments    1.2.1    [ Désinstaller ] [ Lister les fichiers ] [ Effacer ]
33.    SMF Links    1.6.3    [ Désinstaller ] [ Lister les fichiers ] [ Effacer ]
34.    nwsw.nwswAdminAttachAnything    1.1 RC3    [ Désinstaller ] [ Lister les fichiers ] [ Effacer ]
35.    SMF Gallery Lite    1.7.1    [ Désinstaller ] [ Lister les fichiers ] [ Effacer ]
36.    Enhanced Quick Reply for 1.1 RC3    TBA    [ Désinstaller ] [ Lister les fichiers ] [ Effacer ]
37.    Media Center    1.0    [ Désinstaller ] [ Lister les fichiers ] [ Effacer ]
38.    Karma Description Mod    2.3    [ Désinstaller ] [ Lister les fichiers ] [ Effacer ]
39.    Spoiler Tag    0.2.6    [ Désinstaller ] [ Lister les fichiers ] [ Effacer ]

TrueSatan

It really isn't a good idea to either use mods that don't, officially, support a particular version of SMF or to continue to use an obsolete version of SMF. As your version gets more and more out of date you will be at ever greater security risk due to patched problems in the current versions still being unfixed in the one you use and the lack of mods that will support such an old version.

I would suggest that given some of my forums have a great deal more mods than you appear to run and yet they are quite easy to keep up to date yours can be too.

I would further suggest that you do the following...I'll give you two possible ways to do it:


  • Install a new (fresh install) test forum using SMF 1.1.3
  • One by one install all the mods and themes you wish to continue to use into the test forum (using the latest versions of all products)
  • When finished backup all the files from the test forum (not the database)
  • Backup the files and database of your live/production forum
  • Look at the directories in the SMF 1.1.3 package...with that as a guide you will be able to differentiate between those added by mods and the core ones (for instance Gallery or arcade mods make new directories)
  • With the exceptions of Settings.php and Settings_bak.php in the forum root delete and replace all the old core files and directories in your live/production forum with those from the backup of your test forum
This will not affect your database at all and thus no postings will be lost...it will bring your forum up to date with SMF 1.1.3 and it is a rather easy process. If you do the backups there is no risk attached to it as you can always restore from backup. The mods and themes will also be up to date.

Alternatively you could forego the test forum and do the following:


  • Backup your files and database
  • Delete and replace the core files and directories with those from the SMF 1.1.3 package except for Settings.php and Settings.bak.php in your forum root...this should include your Packages directory and all sub directories.
  • The above will have removed all your mods and themes so again you will need to install new ones using the latest versions.

Personally I much prefer the first method but either will bring you up to date.

I won't get into considerations of why mods that support current SMF versions might not support older versions...it's a futile thing to do. Code changes and improves over time and one should make sure that the code used is up to date. Neither method is difficult nor particularly time consuming.

ragots

#119
Thanks, I would gladly pay someone to do the ugprade job for me.
Maybe you (some paypal money)

I'm too scared of messing my forum.
Here is a link to the forum

index page
http://love.mixbeat.com/hype/index.php?option=com_smf&Itemid=238

board view
http://love.mixbeat.com/hype/index.php?option=com_smf&Itemid=231&board=1.0

Advertisement: