The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
||||
|
||||
Change value of 'tag_list' in tag search results as it steps down the page.
The default tag search ('tags.php') returns a list that looks like the next image. The name/link of a thread is in the first column, and the forum (with hyperlink) it is in is in the last column.
IMAGE 1 That is in the 'search_threadbit' template and the code for the last column (line 121) is: Code:
<div class="threadpostedin td alt"> <p> {vb:rawphrase forum}:<br /><a href="{vb:link forum, {vb:raw thread}, null, 'forumid', 'forumtitle'}" title="{vb:raw thread.forumtitleclean}">{vb:raw thread.forumtitle}</a> </p> </div> I want to change the last column so that it lists the tags (with hyperlinks) for each thread that is shown in the first column (image is a mock-up): IMAGE 2 (Changing focus here for a moment) The tag list (with hyperlinks) for each thread is shown near the bottom of each individual thread's display page ('showthread.php'). Clicking on a tag in that list takes you to the tag search results list page for that tag (back to 'tags.php'): IMAGE 3 I think this code in 'showthread.php' (line 1671) sets the tag list for the individual thread display page: Code:
if ($vbulletin->options['threadtagging']) { $tag_list = fetch_tagbits($thread['taglist']); Code:
<vb:if condition="$tag_list"> <ul class="commalist"> {vb:raw tag_list} </ul> <vb:else /> <i>{vb:rawphrase none}</i> </vb:if> Code:
<li><a href="tags.php?{vb:raw session.sessionurl}tag={vb:raw tag_url}">{vb:raw tag}</a></li> How do I call the tag list (with included hyperlinks to that tag's search results list) for each thread shown in the tag results search list - IMAGE 2? Since the templates are already set up to deal with existing vb variables, it seems like I want to change tag_list as it steps down the page list, but it might be better to create a new variable for this. |
Thread Tools | |
Display Modes | |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|