The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#21
|
||||
|
||||
![]()
Still not working....
Style Manager Default Style Edit Templates Show Thread Templates SHOWTHREAD Code:
$header $navbar <if condition="$thread[forumid]=='2'"> Testing 2 </if> <if condition="$thread[forumid]=='7'"> Testing 3 </if> <if condition="$thread[forumid]=='8'"> Testing 8 </if> $poll <if condition="$show['inlinemod']"> |
#22
|
||||
|
||||
![]()
You could try $forum[forumid] instead of $thread[forumid]. I just looked at my SHOWTHREAD template and I use $forum[forumid] in a condition for a couple of my forums, so I know that works.
|
#23
|
||||
|
||||
![]()
Still not working!!
Do I need to do anything elsewhere to make it work? Is the location correct where I placed it, inserted it? Can you please post your "condition" with the top and bottom line where it was inserted? Thanks!! |
#24
|
||||
|
||||
![]()
Are you sure you are changing the template for the correct style you are using? Put an X above it so you can see that it is there:
HTML Code:
$header $navbar <if condition="$forum[forumid]=='2'"> Testing 2 </if> <if condition="$forum[forumid]=='7'"> Testing 3 </if> <if condition="$forum[forumid]=='8'"> Testing 8 </if> $poll <if condition="$show['inlinemod']"> Attachment 90358 |
#25
|
||||
|
||||
![]()
My BAD...it is working but in the wrong area, that is why I could never see it.
It is showing up when you open a post, but I need it when you open a thread; back one page. Is it possible?? Followup: Looks like it's not going to do what I need to do anyway. I have a table code that appears to only work in Posts, Announcement, and Sticky. BB Code [table] does not work with the above method. https://vborg.vbsupport.ru/showthrea...57#post1467357 |
#26
|
||||
|
||||
![]()
I think a problem we are having here is terminology. A thread is made up of lots of posts. A thread is like what we are in right now - it is on the page showthread.php. Perhaps you are talking about the forumdisplay page which is a page that lists the child forums and the thread titles of the threads in that forum - like this page https://vborg.vbsupport.ru/forumdisplay.php?f=111
You could do something like we were discussing here for on the top of the FORUMDISPLAY page if you wanted. |
#27
|
||||
|
||||
![]()
Lynne: Correct!! That is the location I want it to appear, the forumdisplay page!!!
Now I face a problem. Posts, Announcement, and Stickys appears to be the only means that BB Code [table] works in. If I wanted to use Notices or if statements, then BB Code [table] code would not work. Since I have it perfectly done in BB Code [table], and am not able to duplicate it using regular html table code. Example of BB Code [table] code: Code:
[table="width=100%"]SACRED TEXTS: Tripitaka: 'The Baskets' canon of Buddhist literature; discourses of the Buddha and/or his desciples.|GODHEAD: No omnipotent creator God. Many God-like beings subject to the law of rebirth (Dharma).|COSMOLOGY: Cyclical, endless becoming & dissolving. No point of creation.|ON TIME: Cyclical & not Important as cycle at rebirth continues forever.|ON THE NATURE OF THE SOUL: Life continues after death In another form. The cycle of birth / death can only be broken by achieving Enlightenment.[/table] Example of one of the tables coded in BB Code [table]: ![]() |
#28
|
||||
|
||||
![]()
Just copy the html from your page source.
|
#29
|
||||
|
||||
![]() IT WORKED!!!!!!!!!!! FINALLY!!! THANK YOU..THANK YOU.....THANK YOU Lynne!!!!!!!! Three final questions: 1. How do I get it to show up on forumdisplay page now, one page up from here? 2. How do I put a quarter inch space between the bottom of the table and the "Closed" icon? 3. Can I reduce the space a bit at the top? ![]() |
#30
|
||||
|
||||
![]()
This is what I'd do.....
put in a template_hook in FORUMDISPLAY where you want this stuff to appear: HTML Code:
$template_hook[forumdisplay_notice] PHP Code:
You'll need to pretty that up, but that is how I'd go about it. Actually, if you wanted to do it prettier, your eval a template, but you can go look into that in the articles forum (read up on hooks). I tested that exact code, only with forumids I use, and it works (but I'd change it to look nicer). |
![]() |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|