XF 1.4 Node ID Codes - What are they?

MichaelCS

Active member
So I have the following code...

Code:
http://www.sitename.com/index.php?forums/{$forum.node_id}/&order=rating_count

and that is great for if you are using friendly URLs, but I'm not.

Anyone know what the code would be to pull the ENTIRE node name + id? for instance...

Code:
http://www.sitename.com/index.php?forums/oxide.30/

What could would pull that oxide.30 part?
 
Friendly URLs has nothing to do with that.
Friendly URLs relates to the index.php? portion of the URL.

What are you trying to do?

So I am wanting to generate code like this "http://www.site.com/index.php?forums/tbt-7k.83/&order=rating_count"

Essentially, for each thread list I want to have an option that allows people to sort that particular node by the star ratings that each thread contains.

The code below only displays the node number...

Code:
http://www.sitename.com/index.php?forums/{$forum.node_id}/&order=rating_count
 
The "&order=rating_count" is part of an add-on but the prefix to that is part of XenForo. I already know the suffix code to sort it.

If {$forum.node_id} displays just the node number ID number what code displays the whole thing? The node name AND number? example index.php?forums/michael.21
 
Back
Top Bottom