The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
![]()
Hello, I have a problem:
I record the variable with the preRegister, fine. The first time you call it in style, all normal but then it no longer appears. My code: PHP Code:
|
#2
|
||||
|
||||
![]()
And what hook location are you using it on? And is it that is isn't appearing on different pages or what? And what are you inputting into the template?
|
#3
|
|||
|
|||
![]()
I'm trying to put a text on the same page but in different places.
|
#4
|
||||
|
||||
![]()
Then you are probably using the wrong hook location. If it is supposed to show in many places, then the hook location you choose should be parse at every one of those places, I would think.
|
#5
|
|||
|
|||
![]()
It is very strange problem.
The model is the memberaction_dropdown the first time he is called a topic appears in the text, not the second time! |
#6
|
||||
|
||||
![]()
It would really help to get more information from you about this like what page are you viewing? What hook location are you using? Is there a link where we can see this in action?
|
#7
|
|||
|
|||
![]()
Well, I'm trying to insert two words each time the model is called memberaction_dropdown.
The plugin is located in showthread_getinfo. EDIT: Here a one image of the problem. http://img339.imageshack.us/img339/2751/problemoc.png |
#8
|
||||
|
||||
![]()
showthread_getinfo is called only once on the page. If you are trying to get something to print out in every *post*, you need to use a hook location like postbit_display_*
|
#9
|
|||
|
|||
![]()
Ok, solved!
Thank you. One more question, how can I get the id of the topic by postbit_display_start? I tried with $ thid = $ threadinfo [ 'threadid'], but without success .. |
#10
|
||||
|
||||
![]()
id of the threads? Try $post['threadid']
|
![]() |
Thread Tools | |
Display Modes | |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|