![]() |
Tags order
Hi, is there a way to order tags not alphabetical? Where I found the code? Threadtag.php?
Please help Ex: If a user add b... d... a... c... I would like to have tag list shown tags in the same way the user post it and not alphabetically. Thanks |
Which tag list are you talking about? I think they get saved into the database in alphabetical order. So, you'll either have to change that, or do something in the function fetch_tagbits which will put them into a random order.
|
Uhm, i need more instrunctions on how to do this... I wouldn't like to have in random order but in the order i add tag on the form.
--------------- Added [DATE]1256053034[/DATE] at [TIME]1256053034[/TIME] --------------- In threadtag.php i changed ORDER BY tag.tagtext to ORDER BY tag.tagid but nothing changed... |
Then you will have to modify the code that adds the tags in the first place. I'm not sure exactly how you would do that, but I can point you to the right file with the functions for it - includes/functions_newpost.php All the add tags to new threads functions are in there.
|
Thanks Lynne!!! I modified Order by and now works fine!!! :up:
|
now, you just need to edit this file:
class_taggablecontent.php And erase ORDER BY tag.tagtext or something you want. |
Quote:
am i missing something? |
Quote:
|
thanks lynne do you have example? or line number!
would like it to be by last post order many thanks |
Did you look at class_taggablecontent.php and find the query? (around line 873)
But how do you put thread tags in a thread in last post order? |
All times are GMT. The time now is 11:47 PM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|