Oh no! Where's the JavaScript?
Your Web browser does not have JavaScript enabled or does not support JavaScript. Please enable JavaScript on your Web browser to properly view this Web site, or upgrade to a Web browser that does support JavaScript.
Not a member yet? Click here to register.
Forgot Password?

Tags System Panel

Asked Modified Viewed 16,394 times
H
HobbyMan
H
Just some Guy
  • Veteran Member, joined since
  • Contributed 1,486 posts on the community forums.
  • Started 91 threads in the forums
  • Started this discussions
asked
Veteran Member

[mp]274[/mp]
Edited by HobbyMan on 23-04-2011 00:02,
0 replies

31 posts

R
Rolf Mayer
R
Ex
  • Senior Member, joined since
  • Contributed 391 posts on the community forums.
  • Started 7 threads in the forums
answered
Senior Member

Great! I like it. Thanks.
0 replies
A
arat
A
arat 10
  • Member, joined since
  • Contributed 79 posts on the community forums.
  • Started 21 threads in the forums
answered
Member

Super duper stuff Philip... very good! :D
0 replies
A
Ankur
A
Ankur 10
Hi! Its me, Ankur Thakur! smile
  • Veteran Member, joined since
  • Contributed 1,277 posts on the community forums.
  • Started 60 threads in the forums
answered
Veteran Member

Very Nice Philip ..... :D
0 replies
F
faga
F
faga 10
I choose a lazy person to do a hard job. Because a lazy person will find an easy way to do it.” - Bill Gates
  • Member, joined since
  • Contributed 158 posts on the community forums.
  • Started 14 threads in the forums
answered
Member

Nice . I was looking for something like this :D
0 replies
A
Ankur
A
Ankur 10
Hi! Its me, Ankur Thakur! smile
  • Veteran Member, joined since
  • Contributed 1,277 posts on the community forums.
  • Started 60 threads in the forums
answered
Veteran Member

Quote

faga wrote:
Nice . I was looking for something like this :D


There also exist something like this in the DB : http://www.php-fusion.co.uk/forum/vie...d_id=27126

But, the difference is that is Flash and only for Forums... ;)
0 replies
F
faga
F
faga 10
I choose a lazy person to do a hard job. Because a lazy person will find an easy way to do it.” - Bill Gates
  • Member, joined since
  • Contributed 158 posts on the community forums.
  • Started 14 threads in the forums
answered
Member

I know . But I need for news and this infusion is perfect .`


edit:
Can you make it to display the same tag only one time ?

http://awesomescreenshot.com/0368yxx11
0 replies
H
HobbyMan
H
Just some Guy
  • Veteran Member, joined since
  • Contributed 1,486 posts on the community forums.
  • Started 91 threads in the forums
  • Started this discussions
answered
Veteran Member

Quote

faga wrote:
Can you make it to display the same tag only one time ?


I tried, but I couldn't get it to work right. It'll be in the next version.
0 replies
S
Structor
S
  • Member, joined since
  • Contributed 116 posts on the community forums.
  • Started 11 threads in the forums
answered
Member

This is a "first class" infusion, Philip! Thank you!
0 replies
F
faga
F
faga 10
I choose a lazy person to do a hard job. Because a lazy person will find an easy way to do it.” - Bill Gates
  • Member, joined since
  • Contributed 158 posts on the community forums.
  • Started 14 threads in the forums
answered
Member

Quote

Philip wrote:

Quote

faga wrote:
Can you make it to display the same tag only one time ?


I tried, but I couldn't get it to work right. It'll be in the next version.


ok
0 replies
S
Structor
S
  • Member, joined since
  • Contributed 116 posts on the community forums.
  • Started 11 threads in the forums
answered
Member

all_tags.php and tags.php pages are missing the site footer.
I use v7.01.02

May I suggest you to include the photoalbums in the tags system? I use photoalbums to post images of the houseplans I make, so the usage for me would be to separate one floor houses, two floor houses, and so on.

Maybe it will be useful for others too, I guess. :)

I think this system should be included in the V7.03 core, or at least in V8
Edited by Structor on 11-03-2011 00:30,
0 replies
H
HobbyMan
H
Just some Guy
  • Veteran Member, joined since
  • Contributed 1,486 posts on the community forums.
  • Started 91 threads in the forums
  • Started this discussions
answered
Veteran Member

Quote

Structor wrote:
all_tags.php and tags.php pages are missing the site footer.
I use v7.01.02


Not sure what you mean here, both files have the inclusion of footer.php

Quote

May I suggest you to include the photoalbums in the tags system? I use photoalbums to post images of the houseplans I make, so the usage for me would be to separate one floor houses, two floor houses, and so on.

Maybe it will be useful for others too, I guess. :)


Interesting idea. But, a site would have to have many dozens of albums for it to be necessary..

Quote

I think this system should be included in the V7.03 core, or at least in V8


Thanks, but v7.02 will be the last v7 upgrade which is now locked, after that work begins on v8
0 replies
M
mstokens
M
  • Junior Member, joined since
  • Contributed 31 posts on the community forums.
  • Started 6 threads in the forums
answered
Junior Member

Very nice Philip! One little problem... an apostrophe in the tag breaks the link :)
0 replies
L
Luke
L
Luke 10
  • Newbie, joined since
  • Contributed 3 posts on the community forums.
answered
Newbie

This is great job Philip! I have only one little request. How to get the tags linked directly to custom page, not to tags.php. I tried to look at the code of panel but i'm noob with that. What should i change?

Thanks in advance.
0 replies
H
HobbyMan
H
Just some Guy
  • Veteran Member, joined since
  • Contributed 1,486 posts on the community forums.
  • Started 91 threads in the forums
  • Started this discussions
answered
Veteran Member

That's kind of missing the point of the whole thing and not really possible without a rewrite.

Remember, tags are the key not page id's
0 replies
H
HobbyMan
H
Just some Guy
  • Veteran Member, joined since
  • Contributed 1,486 posts on the community forums.
  • Started 91 threads in the forums
  • Started this discussions
answered
Veteran Member



v1.2 now in AddonDB

Added tag search to side panel
Added second U-Ctr panel to display tags under each tagged item
0 replies
A
Arda
A
Arda 10
  • Member, joined since
  • Contributed 150 posts on the community forums.
  • Started 11 threads in the forums
answered
Member

Hey Philip, how about this idea:

Add a panel to admin panel (like user_info_panel shown in admin panel (you can edit user_info panel to include panel code simply)) and show the tags area when adding/editing content there. This would be very easy for administrators and they can add the tags while adding the content.

edit: by the way, to disable multiple tag additions, you must do this:

this query:
$result= dbquery("SELECT 
                                tag_id,
                                tag_type,
                                tag_tags
                                FROM ".DB_TAGS."
                                ORDER BY
                                RAND() LIMIT 0,10
                                ");


should change as:
$result= dbquery("SELECT 
                                tag_id,
                                tag_type,
                                tag_tags
                                FROM ".DB_TAGS."
                                GROUP BY tag_tags
                                ORDER BY
                                RAND() LIMIT 0,10
                                ");
Edited by Arda on 23-04-2011 15:20,
0 replies
H
HobbyMan
H
Just some Guy
  • Veteran Member, joined since
  • Contributed 1,486 posts on the community forums.
  • Started 91 threads in the forums
  • Started this discussions
answered
Veteran Member

Thanx m8. I'll have a look at the admin idea. I already tried GROUP BY tag_tags. The problem is it will only group those entire entries that are the same, not individual tag words.

[ulist=disc]one, two, three, four, five
one, two, three, four, six[/ulist]
won't be grouped together.
I played around with other alternatives to just group the individual keywords but I couldn't get it to work right.
0 replies
A
Arda
A
Arda 10
  • Member, joined since
  • Contributed 150 posts on the community forums.
  • Started 11 threads in the forums
answered
Member

Idea:

If you couldn't manage to use array_unique() First split them with explode(), and use in_array() to check if they are in the $tags array, and then use array_push to add the new tag.

Example:

$current_tags=array("one,","two","three","four","five");

$new_tags="one, two, three, four, six";

$temp_tags=explode(", ",$new_tags);//we splitted new tags and made a $temp_tags array
foreach ($temp_tags as $eachtag) {
if (!in_array($eachtag,$current_tags))
array_push($current_tags, $eachtag); // or $current_tags[]=$eachtag;
}

print_r($current_tags); //six will be added to $current_tags array
0 replies
H
HobbyMan
H
Just some Guy
  • Veteran Member, joined since
  • Contributed 1,486 posts on the community forums.
  • Started 91 threads in the forums
  • Started this discussions
answered
Veteran Member

I've been trying something like that. The problem is that neither array_push or array_unique work as they're in a while loop from the dbquery.
If I move them out of the loop they lose the data.
0 replies

Labels

None yet

Statistics

  • Views 0 views
  • Posts 31 posts
  • Votes 0 votes
  • Topic users 12 members

0 participants

Notifications

Track thread

You are not receiving notifications from this thread.

Related Questions

Not yet