Register Members List Search Today's Posts Mark Forums Read

Reply
 
Thread Tools
  #1  
Old 20 Oct 2009, 11:34
Cerbero1000 Cerbero1000 is offline
 
Join Date: May 2005
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
Reply With Quote
  #2  
Old 20 Oct 2009, 15:00
Lynne's Avatar
Lynne Lynne is offline
 
Join Date: Sep 2004
Real name: Lynne
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.
__________________
Former vBulletin.org Staff Member

Try a search before posting for help. Many users won't, and don't, help if the question has been answered several times before.
W3Schools -
Online vBulletin Manual
If I post some CSS and don't say where it goes, put it in the additional.css template.
I will NOT help via PM (you will be directed to post in the forums for help.)
Reply With Quote
  #3  
Old 20 Oct 2009, 15:18
Cerbero1000 Cerbero1000 is offline
 
Join Date: May 2005
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 20 Oct 2009 at 15:37 ---------------

In threadtag.php i changed ORDER BY tag.tagtext to ORDER BY tag.tagid but nothing changed...

Last edited by Cerbero1000; 20 Oct 2009 at 15:37. Reason: Auto-Merged DoublePost
Reply With Quote
  #4  
Old 20 Oct 2009, 15:41
Lynne's Avatar
Lynne Lynne is offline
 
Join Date: Sep 2004
Real name: Lynne
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.
__________________
Former vBulletin.org Staff Member

Try a search before posting for help. Many users won't, and don't, help if the question has been answered several times before.
W3Schools -
Online vBulletin Manual
If I post some CSS and don't say where it goes, put it in the additional.css template.
I will NOT help via PM (you will be directed to post in the forums for help.)
Reply With Quote
  #5  
Old 20 Oct 2009, 15:53
Cerbero1000 Cerbero1000 is offline
 
Join Date: May 2005
Thanks Lynne!!! I modified Order by and now works fine!!!
Reply With Quote
  #6  
Old 02 Mar 2011, 22:28
Fuhrmann Fuhrmann is offline
 
Join Date: May 2010
now, you just need to edit this file:

class_taggablecontent.php

And erase ORDER BY tag.tagtext or something you want.
Reply With Quote
  #7  
Old 03 Oct 2011, 16:13
appsfinder appsfinder is offline
 
Join Date: Apr 2007
Question need abit of help

Originally Posted by Fuhrmann View Post
now, you just need to edit this file:

class_taggablecontent.php

And erase ORDER BY tag.tagtext or something you want.
tryed to delete this code does not change the order of the tags

am i missing something?
Reply With Quote
  #8  
Old 03 Oct 2011, 16:22
Lynne's Avatar
Lynne Lynne is offline
 
Join Date: Sep 2004
Real name: Lynne
Originally Posted by appsfinder View Post
tryed to delete this code does not change the order of the tags

am i missing something?
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.
__________________
Former vBulletin.org Staff Member

Try a search before posting for help. Many users won't, and don't, help if the question has been answered several times before.
W3Schools -
Online vBulletin Manual
If I post some CSS and don't say where it goes, put it in the additional.css template.
I will NOT help via PM (you will be directed to post in the forums for help.)
Reply With Quote
  #9  
Old 03 Oct 2011, 16:33
appsfinder appsfinder is offline
 
Join Date: Apr 2007
thanks lynne do you have example? or line number!

would like it to be by last post order

many thanks
Reply With Quote
  #10  
Old 03 Oct 2011, 18:56
Lynne's Avatar
Lynne Lynne is offline
 
Join Date: Sep 2004
Real name: Lynne
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?
__________________
Former vBulletin.org Staff Member

Try a search before posting for help. Many users won't, and don't, help if the question has been answered several times before.
W3Schools -
Online vBulletin Manual
If I post some CSS and don't say where it goes, put it in the additional.css template.
I will NOT help via PM (you will be directed to post in the forums for help.)
Reply With Quote
Reply

Similar Threads
Thread Thread Starter Forum Replies Last Post
Administrative and Maintenance Tools Better ACP Tag Manager (search for tags, display x tags in x cols) sockwater vBulletin 3.8 Add-ons 29 27 May 2015 15:19
New Posting Features Pre-Defined Topic Tags for Zoints Thread Tags SBlueman vBulletin 3.6 Template Modifications 4 17 Oct 2007 05:42



Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off


New To Site? Need Help?

All times are GMT. The time now is 23:28.

Layout Options | Width: Wide Color: