![]() |
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 |
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.
|
Can you help me to do this? :confused:
|
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.
|
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... |
Why would you delete it? I thought you just wanted to move it to before the posts get evaled?
|
Already done... Nothing has changed.
|
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.
|
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). |
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.
|
If the mod is hard I would pay to have it. I really need to have it... and any help is very appreciated.
Thanks Lynne. |
You may post in Requests For Paid Services if you want to pay someone to make it for you. Read the notices at the top of the forum before posting though.
|
Already opened... I'm in contact with a lot of coder but nobody is able to help me. :mad::(
|
You realize that if you put it in the postbit, then the whole $tag_list is gonna show up in every single post in the thread, right? Is that really what you want? There is a mod (I am pretty sure) that will put an ad (or banner, or whatever) right after the first post. Perhaps modify that mod to just put the Tag List right after the first post. It seems to me that that would be preferable to having the tag list in every single post.
|
Here the fix for not to parse in every post... this is not my problem.
PHP Code:
|
Then all your posts will contain tags of the thread if people who have only 1 post posts in that thread only. Moreover, it wont show for every posts.
If you want it to show on the first post only, you have to modify the code. |
I'm the only (writer usergroup) with tags permissions and tags are allowed in database forums only.
Here 3 attachments 1. Tags in postbit 2. No more tags in showthread 3. Tags only in first post. |
Easy solution that works if you use the regular thread display. Move the tag stuff to around line 1100 (not sure of exact number) - right before the ad template is parsed. Then put the $tag_list in that ad template. It will show up only after the first post in every thread. You will need to style it. If you want it in another postbit, you'll have to move it into the postbit loop and probably put a condition around it so the code isn't done over and over and over again.
|
Uhm, I'm trying to solve, move all postbit content in showthread template. All works fine except: attachment thumb (what dam variable i need to use), and to have tags not in alphabetical order...
--------------- Added [DATE]1256117202[/DATE] at [TIME]1256117202[/TIME] --------------- Well, I move the code in showthread.php and added the variable in ad_showthread_firstpost template. I can see tag list after the first post. Stop. What I need to do to have in top of postbit? Thanks |
Done!!!!
|
how did you get it INSIDE the postbit?
|
I need some help with this if you have any idea...
I posted a thread of this problem here: https://vborg.vbsupport.ru/showthread.php?p=1910475 Here's a link to the page i'm struggling on... as you can see the whole tags table is in where I want them to be at the moment - everything but the actual tags! http://www.rockonpublishing.co.uk/showthread.php?t=13 Hope to hear from you! Thanks, --------------- Added [DATE]1257418343[/DATE] at [TIME]1257418343[/TIME] --------------- I have it in the ad after first post - how the hell do you get it in the postbit legacy!? |
You can found mine here (actors name in left column are tags): http://www.ilcancello.com/film-comme...-le-capre.html
|
Quote:
--------------- Added [DATE]1257784502[/DATE] at [TIME]1257784502[/TIME] --------------- could it be that he moved the bottom part tot he side? |
@Cerbero1000
Could you share the solution with us please ? |
All times are GMT. The time now is 02:57 AM. |
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:
|