PDA

View Full Version : Need help whith a plugin [vB3.8 > vB4]


Arcade Fire
16 Nov 2009, 17:46
Hello, long time to create a plugin for my users to add a code in the title (+ pv) deprived his subjects could do if they wanted visitors.

Hook Location: showthread_postbit_create



Code:
---------------
Code is only visible to licensed users, and only when logged into the forums.
---------------



and in my showthread after $navbar:



Code:
---------------
Code is only visible to licensed users, and only when logged into the forums.
---------------


and below $footer:



Code:
---------------
Code is only visible to licensed users, and only when logged into the forums.
---------------



but doesn´t work in vB4. :(

Lynne
16 Nov 2009, 17:56
You need to preregister $onlyreg for use in that template after you define it.



Code:
---------------
Code is only visible to licensed users, and only when logged into the forums.
---------------

Arcade Fire
16 Nov 2009, 18:24
Thanks Lynne, Can you outline the steps to follow? :erm:

Lynne
16 Nov 2009, 18:30
I did. Add that line after you defined the variable.