SMFHacks.com
** Home Forum Index Hacks Products Login Register Search
Welcome, Guest. Please login or register.
February 10, 2012, 07:06:20 am

Login with username, password and session length
Members
Total Members: 9903
Latest: jaredvaldez2
Stats
Total Posts: 27784
Total Topics: 4859
Online Today: 76
Online Ever: 2482
(April 09, 2011, 07:02:45 pm)
Users Online
Users: 0
Guests: 70
Total: 70
+ 
|-+ 
| |-+ 
| | |-+ 
| | | |-+ 
| | | | |-+ 
0 Members and 1 Guest are viewing this topic. « previous next »
Pages: 1 [2] 3 4 ... 7 Go Down Print
Author Topic: [Mod] Tagging System  (Read 65466 times)
monshou
Newbie
*
Offline Offline

Posts: 1


View Profile
« Reply #15 on: January 27, 2007, 03:41:59 am »

Is there any way to display the last X tagged posts through SSI.php?
thx
« Last Edit: January 27, 2007, 03:55:55 am by monshou » Logged
SMFHacks
Administrator
Hero Member
*****
Offline Offline

Posts: 9391


View Profile
« Reply #16 on: January 27, 2007, 08:36:39 am »

Not yet.
Logged
podarok
Newbie
*
Offline Offline

Posts: 1


View Profile
« Reply #17 on: January 29, 2007, 09:28:02 am »

feature request
- more permisions (integrating into smf permision system will be nice)
- tree level categorization (possible using as FAQ)
- tag selecting from list needed - cause after some time tags become as flood list 8(((
Logged
soMzE
Newbie
*
Offline Offline

Posts: 4


View Profile
« Reply #18 on: February 26, 2007, 12:05:09 pm »

Hello there, thank you for creating this AweSome Mod!!

I just installed it to my forum and all i can say.. It's GREAT  Grin


But i have a few questions, i want to tag topics that are allready there, so not just new topics..
So when i edit a topic i can't see the tag system line to add tags, is this possible?

And how do i delete tags from topics that are allready there?

Thank You, you have a great forum here!
Logged
SMFHacks
Administrator
Hero Member
*****
Offline Offline

Posts: 9391


View Profile
« Reply #19 on: February 26, 2007, 12:43:42 pm »

On the default theme at the bottom of a thread there is a link to add tags and other tags can be deleted by clicking the red x.
Logged
soMzE
Newbie
*
Offline Offline

Posts: 4


View Profile
« Reply #20 on: February 26, 2007, 01:12:13 pm »

Thnx, found it!  Smiley

And i have another question, why is it that my members can delete tags, is there a permission setting so they can't do this?
Logged
soMzE
Newbie
*
Offline Offline

Posts: 4


View Profile
« Reply #21 on: February 26, 2007, 01:14:49 pm »

Oh i'm sorry, i tried to delete a tag as a normal member and i have seen the message that they don't have permission to delete a tag  Smiley Is there any way to remove the red X next to the tag for normal members?
Logged
soMzE
Newbie
*
Offline Offline

Posts: 4


View Profile
« Reply #22 on: February 28, 2007, 02:33:12 pm »

Hey there, it's me again  Smiley

Really enjoying this mod, everything works fine and my members are loving it. I had a idea and i suggested this on TinyPortal but we can't seem to get it working so i need a little help..

I wanted to show the Tag Cloud in a block code snippet, and member JPDeni suggested to use this code in a phpbox:

Code:
global $db_prefix, $scripturl, $context;
$query = "SELECT t.tag AS tag, l.ID_TAG, COUNT(l.ID_TAG) AS quantity
  FROM {$db_prefix}tags as t, {$db_prefix}tags_log as l WHERE t.ID_TAG = l.ID_TAG
  GROUP BY l.ID_TAG
  ORDER BY l.ID DESC LIMIT 50";

$result = db_query($query, __FILE__, __LINE__);

$tags = array();

$tags2 = array();

while ($row = mysql_fetch_array($result))
{
    $tags[$row['tag']] = $row['quantity'];
    $tags2[$row['tag']] = $row['ID_TAG'];
}

if(count($tags2) > 0)
{
// change these font sizes if you will
$max_size = 250; // max font size in %
$min_size = 100; // min font size in %

// get the largest and smallest array values
$max_qty = max(array_values($tags));
$min_qty = min(array_values($tags));

// find the range of values
$spread = $max_qty - $min_qty;
if (0 == $spread)
{ // we don't want to divide by zero
    $spread = 1;
}

// determine the font-size increment
// this is the increase per tag quantity (times used)
$step = ($max_size - $min_size)/($spread);

// loop through our tag array
$context['poptags'] = '';
$row_count = 0;
foreach ($tags as $key => $value)
{
$row_count++;
    // calculate CSS font-size
    // find the $value in excess of $min_qty
    // multiply by the font-size increment ($size)
    // and add the $min_size set above
    $size = $min_size + (($value - $min_qty) * $step);
    // uncomment if you want sizes in whole %:
    // $size = ceil($size);

    // you'll need to put the link destination in place of the #
    // (assuming your tag links to some sort of details page)
    $context['poptags'] .= '<a href="' . $scripturl . '?action=tags;id=' . $tags2[$key] . '" style="font-size: '.$size.'%"';
    // perhaps adjust this title attribute for the things that are tagged
   $context['poptags'] .= ' title="'.$value.' things tagged with '.$key.'"';
   $context['poptags'] .= '>'.$key.'</a> ';
   if ($row_count > 5)
   {
    $context['poptags'] .= '<br />';
    $row_count =0;
   }
}
}

but the code isn't working, can anyone help me on this one please?  Smiley
« Last Edit: February 28, 2007, 02:34:52 pm by soMzE » Logged
technoworldinc.com
Newbie
*
Offline Offline

Posts: 14


View Profile
« Reply #23 on: March 01, 2007, 12:13:34 pm »

hi,

Im not able to uninstall this mod properly..the tags link is still visible in the menu..how can i remove that? please help
my site is http://www.technoworldinc.com

please help

-Vatsal
Logged
SMFHacks
Administrator
Hero Member
*****
Offline Offline

Posts: 9391


View Profile
« Reply #24 on: March 01, 2007, 01:46:51 pm »

Need to edit index.template.php and remove the code.
Logged
nyndnpa
Newbie
*
Offline Offline

Posts: 1


View Profile
« Reply #25 on: March 18, 2007, 12:32:34 pm »

Wow this mod is great; we've been looking for something like this for months!

Unfortunatley, I'll have to install it by hand Sad .  The *.zip file does not have a "tag.mod" file that shows how to modify the text in the *.php files.  Is it posted some place I could download?  I'd really love to install this.

David
Logged
SMFHacks
Administrator
Hero Member
*****
Offline Offline

Posts: 9391


View Profile
« Reply #26 on: March 18, 2007, 01:09:55 pm »

You would need to open up the tags.xml file which contains the information to install the mod manually.
Logged
majo
Newbie
*
Offline Offline

Posts: 3


View Profile
« Reply #27 on: March 19, 2007, 08:24:51 am »

I Followed this topic and uninstalled tag system, removed the button etc, and installed again new tag system for 1.1.2
Now everything looks ok except the forums, showing double tags, and also when you create new topic shows two tags line,

what file do i edit to remove that ?
Logged
SMFHacks
Administrator
Hero Member
*****
Offline Offline

Posts: 9391


View Profile
« Reply #28 on: March 19, 2007, 08:23:46 pm »

That would be Display.template.php
Logged
majo
Newbie
*
Offline Offline

Posts: 3


View Profile
« Reply #29 on: March 20, 2007, 07:32:44 am »

Yeah I removed all according to installation package xml, works now Grin
Logged
Pages: 1 [2] 3 4 ... 7 Go Up Print 
« previous next »
Jump to:  

Recent
by exit
[Today at 06:10:53 am]

[Today at 03:46:15 am]

[Today at 02:30:16 am]

[Today at 02:29:51 am]

[February 09, 2012, 05:30:55 pm]

by exit
[February 09, 2012, 04:47:13 pm]

[February 08, 2012, 09:09:16 pm]

[February 08, 2012, 09:11:02 am]

[February 08, 2012, 09:07:32 am]

[February 08, 2012, 03:46:49 am]
Random Picture
Donate to SMFHacks.com
Help Support the SMFHacks.com mod making.
Powered by SMF 1.1.16 | SMF © 2006-2011, Simple Machines LLC
TinyPortal v0.9.7 © Bloc
SMF and SimpleMachines are registered trademarks of Simple Machines. SMFHacks.com is not affiliated with nor endorsed by Simple Machines.
Page created in 0.295 seconds with 21 queries.