vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB4 General Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=251)
-   -   Some Text on New Thread based on Forum id (https://vborg.vbsupport.ru/showthread.php?t=277070)

BUDIMAN 01-16-2012 03:47 PM

Some Text on New Thread based on Forum id
 
1 Attachment(s)
i want put text on some showthread based on forumdisplay id

image1 New thread From forumthread id : 1

image2 New thread From forumthread id : 5

see attach image

Lynne 01-16-2012 09:29 PM

To find the template to modify, do this - vboptions > General Settings > Add Template Name in HTML Comments > set to Yes . Then go back to your page and view the source code and you will see the name of the template called around your part of the code. (Sometimes the template is the one mentioned at the very top of the page source.)

There is an article in the vb4 article forums on vb4 conditions you may want to look at.

BUDIMAN 01-22-2012 08:32 PM

Quote:

Originally Posted by Lynne (Post 2288736)
To find the template to modify, do this - vboptions > General Settings > Add Template Name in HTML Comments > set to Yes . Then go back to your page and view the source code and you will see the name of the template called around your part of the code. (Sometimes the template is the one mentioned at the very top of the page source.)

There is an article in the vb4 article forums on vb4 conditions you may want to look at.

i still cannot find what i want...
please who expert here

Lynne 01-23-2012 06:25 PM

Did you find the name of the template to edit? What code have you actually written already? What conditions did you try?

TeamSempoi 02-07-2012 07:23 PM

i also need it.. can i get the code ??

--------------- Added [DATE]1328646390[/DATE] at [TIME]1328646390[/TIME] ---------------

Code for show thread

but i need for newthread

HTML Code:

<vb:if condition="$thread['forumid'] == x">This is some text in forumid x only</vb:if>


All times are GMT. The time now is 10:56 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.01104 seconds
  • Memory Usage 1,720KB
  • 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)bbcode_html_printable
  • (1)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (5)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
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete