vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   Modification Requests/Questions (Unpaid) (https://vborg.vbsupport.ru/forumdisplay.php?f=112)
-   -   Tags in postbit legacy (https://vborg.vbsupport.ru/showthread.php?t=225545)

Cerbero1000 10-19-2009 11:48 AM

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

Lynne 10-19-2009 04:09 PM

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.

Cerbero1000 10-19-2009 04:55 PM

Can you help me to do this? :confused:

Lynne 10-19-2009 05:00 PM

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.

Cerbero1000 10-19-2009 05:12 PM

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...

Lynne 10-19-2009 05:50 PM

Why would you delete it? I thought you just wanted to move it to before the posts get evaled?

Cerbero1000 10-19-2009 05:58 PM

Already done... Nothing has changed.

Lynne 10-19-2009 06:02 PM

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.

Cerbero1000 10-19-2009 06:15 PM

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).

Lynne 10-19-2009 06:31 PM

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.


All times are GMT. The time now is 03:28 PM.

Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.

X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.01022 seconds
  • Memory Usage 1,728KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (2)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • printthread_start
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete