Tagging System For Topics

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

Previous topic - Next topic

vbgamer45

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

wizzard1

really nice mod but in membergroups settings i didnt click on regular users can add tags
but they stil can

how do i switch it of that only admins can tag ?

vbgamer45

Can they really add a tag? Or does it say not allowed when they click add tag
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

wizzard1


vbgamer45

Double check under regular members for permissions make sure manage tags and add tag are not allowed
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

wizzard1

admin >>>members>>>permissions>>general permissions>> regular members >>> didnt checked the 3 boxes for the tagging

but they can stil tag

ediyt i just noticed that also didnt check the boxes for removing own topic and with my test acount on regular users i could remove my topic i just made to test out the tagging

Soulmaster

i've got this problem. so please tell me where i can remove one of the 2 bars.

check out my lightning site

chilly

are that users in additional membergroups?
maybe post-based membergroups? (specific rights enabled for post-based membergroups?)


Language Coordinator

wizzard1

Quote from: chilly on July 28, 2010, 05:08:15 AM
are that users in additional membergroups?
maybe post-based membergroups? (specific rights enabled for post-based membergroups?)

i got it fixed i made in some usergroups (newbie etc etc ) the stupid mistake to chance to unique permissions and it screwed up the whole permission thing hahaha
(fixed my problem ty for the replay's people )

jpaulino

Great work vbgamer45!  ;)

Is it possible to use the tag cloud in a SimplePortal block? It would be nice that way :)

vbgamer45

Possible yes.  I added one to ezportal I belive so could be copied to SP as well
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

jpaulino

#691
Quote from: vbgamer45 on August 02, 2010, 07:19:52 PM
Possible yes.  I added one to ezportal I belive so could be copied to SP as well

Thanks! I have checked and SP has already an PHP blocks ... just need to try it.

Could I suggest a feature for this system? It would be nice to set by default the name of the board. This way even if the user didn't define any tag, it will use the board name as default. It was nice for systems, like mine, that the board name is the name of the tag :)

jpaulino

Quote from: jpaulino on August 02, 2010, 08:02:22 PM
Could I suggest a feature for this system? It would be nice to set by default the name of the board. This way even if the user didn't define any tag, it will use the board name as default. It was nice for systems, like mine, that the board name is the name of the tag :)

What you think about this?

Btw I found a bug/problem: if you use the same tag with different caps, it shows the two (in the picture you can see "java" and "JAVA") and I have two times "vb.net" because one has a space in the beginning.


PS: This is in a test environment

vbgamer45

Posted an update that will always make the tags lowercased to fix the different cases issue.
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

jpaulino

Quote from: vbgamer45 on August 05, 2010, 09:48:35 AM
Posted an update that will always make the tags lowercased to fix the different cases issue.

Thanks vbgamer45!  ;)

Draetheus

Just confirming that there's no way to actually search for tagged topics aside from wading through the tag cloud?   :-\

vbgamer45

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

sharks

vbgamer45, could you please fix the following bug:

in the post editor, when typing in a list of tags related to the post, if i leave a space after the comma, then the tags are not recognized.
for example: jazz, rock, pop, classic (all tags are not recognized, except for the first one)
and in this format, the list works just fine: jazz,rock,pop,classic

the problem in this case is that most people type the correct way, so they always add a space after the comma.

can you make it, such that if a person includes a space after the comma, or not, the tags will still work.

Giulio92

I want you to notice that there is a bug here:

<file name="$themedir/Post.template.php">

<operation>

<search position="before"><![CDATA[<input type="text" name="subject"', $context['subject'] == '' ? '' : ' value="' . $context['subject'] . '"', ' tabindex="', $context['tabindex']++, '" size="80" maxlength="80" />

</td>

</tr>]]></search>

<add><![CDATA[

';

//Tagging system Mod

if(!isset($context['num_replies']))

{

echo '

<tr>

<td align="right">

<b>', $txt['smftags_topic'], '</b></td>

<td>

<input type="text" name="tags"', ' tabindex="', $context['tabindex']++, '" size="80" maxlength="80" />

<br /><span class="smalltext">', $txt['smftags_seperate'], '</span>

</td>

</tr>';



}





//End Tagging system mod

echo '





]]></add>

</operation>


the maxlength not be fixed ("80") but the result of:

$modSettings['smftags_set_maxtaglength']*$modSettings['smftags_set_maxtags']

If it remains at 80, that has meant the panel and the management of the number and length of the tags?

Because even if I put the maximum number of tags at 1000.000 and length of each tag in 1000, always and only 80 characters I can use.

I changed this and it works:

<file name="$themedir/Post.template.php">

<operation>

<search position="before"><![CDATA[<input type="text" name="subject"', $context['subject'] == '' ? '' : ' value="' . $context['subject'] . '"', ' tabindex="', $context['tabindex']++, '" size="80" maxlength="',$modSettings['smftags_set_maxtaglength']*$modSettings['smftags_set_maxtags'],'" />

</td>

</tr>]]></search>

<add><![CDATA[

';

//Tagging system Mod

if(!isset($context['num_replies']))

{

echo '

<tr>

<td align="right">

<b>', $txt['smftags_topic'], '</b></td>

<td>

<input type="text" name="tags"', ' tabindex="', $context['tabindex']++, '" size="80" maxlength="80" />

<br /><span class="smalltext">', $txt['smftags_seperate'], '</span>

</td>

</tr>';



}





//End Tagging system mod

echo '





]]></add>

</operation>

</file>

distante

I think the tags don't should be more than 80 characters, even 80 is big! It supposed to be a tag don't a title

I think...

Advertisement: