The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
![]()
Heloo people. I need help please. How i cen to insert a row with the script below in the forum member photos for all groupe users?
![]() ![]() |
#2
|
||||
|
||||
![]()
you can insert code using hook "postbit_userinfo_right_after_posts"
Make a new plugin with "postbit_display_complete" hook location. And add the code something like below. PHP Code:
|
Благодарность от: | ||
kh99 |
#3
|
|||
|
|||
![]()
But i need doing only for one group users spetial
|
#4
|
|||
|
|||
![]()
You could try this:
PHP Code:
where you replace X with the user group id. |
#5
|
|||
|
|||
![]()
Thx its works
![]() |
#6
|
|||
|
|||
![]()
One more qestion how i now what user id from this post?
|
#7
|
|||
|
|||
![]()
You should be able to do that, but it will be inserted for every post that meets the condition, so it might appear many times on one page. If you only want it once on a page you should insert the javascript in a template hook like $template_hook['headinclude_javascript'], and then you would need a separate plugin using hook location parse_templates.
|
#8
|
|||
|
|||
![]()
I'm not sure what you're asking. If you want the userid of the user who wrote the post, it would be $post['userid'].
|
![]() |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|