The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#11
|
|||
|
|||
![]()
Hey Jedi,
I hear what you are saying; but I see it differently. Basically, the way I see it, it is just a generic vB issue that is so common it should be in a FAQ. For example, if I have a routine in any programming language (A), and that routine calls another routine (B) and I want to call (B) from (C), is is pretty straight forward and a basic part of coding. So, in vB you have template (A) and template (A) calls template (B); and we want template (C) to call (B), what are the steps to do it? At the right level of abstraction, it does not matter if we say it is $similarthreads or $showthread or $poll or $navbar or $header or $whatever. The basic idea is that we have a function and it works in one tempate and we want to call it from another one. I don't really understand why folks here can't explain it. (1) Go here, look for this and that; (2) Then, take this and add that. (3) Etc. After all, I find this problem every day, I want to add a template to another part of the code and each time I ask this question I never get a straight forward programming answer; and the answer does not lie in the docs, cause I know where the docs are and how to search them. If it was in C, it would be so easy; because the first few chapters of the documentation explains this simple concept and gives simple examples!! |
#12
|
||||
|
||||
![]()
everyone here is a volunteer
with that attitude - do you really think that you are going to get any help? |
#13
|
|||
|
|||
![]()
I don't think I have an attitude, I think I am asking a straight forward question and not getting any useful answers.
For example, here is a similar post with no response: http://www.vbseo.com/blogs/sinucello...plate-seo-131/ The poster has the same problem, he wants to use $header and $navbar in $showthread_showpost and he never gets an answer. So, it does not matter what "attitude" you have, because I have asked this in other forums and seen other people ask, and they do not get answers. This is a very straight forward question, not a game. Instead of posting about "attitude", how about an answer, LOL. I guess you guys just don't know, because if you did, you could answer. So, why waste time answering if you haven't a clue, LOL. |
#14
|
|||
|
|||
![]()
Why do you even post here if you think noone has a clue to what their doing?
Look at the eval you found. All of the code around that fills variables that are used in the template thats fetched to fill $similarthreads. Your looking at how its filled, if its not showing up when you put it somewhere else then the variable is not getting filled with data before that template is fetched. SO WHAT YOUR LOOKING AT IS HOW YOU WOULD GO ABOUT FILLING IT SO YOU COULD USE IT SOMEWHERE ELSE and if you cannot understand that you should not be posting here asking for help. You should be posting asking for someone to do it for you in one of the request forums. |
#15
|
|||
|
|||
![]()
You are absolutely right.
I should not be wasting my time posting this question here. I thought you guys were much more talented. I don't want to waste your time or mine. I can do it myself vs. all this blah, blah, blah..... a total waste of time. --------------- Added [DATE]1216575103[/DATE] at [TIME]1216575103[/TIME] --------------- Sorry to have wasted your time. No need to reply. |
![]() |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|