The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
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 |
#2
|
||||
|
||||
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.
|
#3
|
|||
|
|||
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... |
#4
|
||||
|
||||
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.
|
#5
|
|||
|
|||
Thanks Lynne!!! I modified Order by and now works fine!!! :up:
|
#6
|
|||
|
|||
now, you just need to edit this file:
class_taggablecontent.php And erase ORDER BY tag.tagtext or something you want. |
#7
|
|||
|
|||
Quote:
am i missing something? |
#8
|
||||
|
||||
Just deleting it doesn't necessarily change the order. If you want it to spit out the tags in a different order, then you need to *change* that line to tell it in what order.
|
#9
|
|||
|
|||
thanks lynne do you have example? or line number!
would like it to be by last post order many thanks |
#10
|
||||
|
||||
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? |
Thread Tools | |
Display Modes | |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|