The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
Tags in postbit legacy
Hi guys,
can you help me? I need to have the tags list in postbit legacy template. I tried to copy the code in showthread template but tag list don't appear on postbit. What I need to do? Thanks --------------- Added [DATE]1255959980[/DATE] at [TIME]1255959980[/TIME] --------------- Well, if I put "$tag_list" in postbit legacy template I can't see nothing? It's the wrong variable? Thanks |
#2
|
||||
|
||||
If you look at the showthread.php template, you'll see that the posts are evaled before the tags are ever evaled, so the tags list is not available when the posts are created. You would have to move the code in that page if you want to use it earlier.
|
#3
|
|||
|
|||
Can you help me to do this?
|
#4
|
||||
|
||||
Did you try looking at the showthread.php page at all? There is a very clearly marked area around line 1712 that starts with "// prepare tags" And above that, around line 867 is the area that starts to prepare the actual thread (the post). Copy your showthread.php page and call it showthread2.php and try moving the code around and see if it works then.
|
#5
|
|||
|
|||
Nothing... I saw the code in the showthread file... move or delete it is the same...
and sorry for my bad language... I'm Italian... |
#6
|
||||
|
||||
Why would you delete it? I thought you just wanted to move it to before the posts get evaled?
|
#7
|
|||
|
|||
Already done... Nothing has changed.
|
#8
|
||||
|
||||
Well, since you really haven't posted what you have done (what are you putting in the template? And where? where did you move that code - to what line?), I don't know what to suggest for you to do.
|
#9
|
|||
|
|||
Well, look at here... http://www.ilcancello.com/film-thril...ore-cieco.html
I added the "$tag_list" variable in the postbit legacy (near title) but the only part in which the tag list works is its own place, at the bottom, under the thread. I tried to move the variable to several places of the template and also the showthread.php code where you told me. Nothing changed even when I also deleted it. It's a movie database website, and I would like to use tags function to have actors name (tags) linkable to their filmography (related threads ordered by tags). Actors section is in the postbit legacy, near the thread attachment (very hard modified vb). |
#10
|
||||
|
||||
I don't know what to tell you except to play with it. I've never done it, so I would just start by doing what I suggested and then play with it. I'd see what is available by just spitting stuff out in the postbits and go from there.
|
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|