The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
||||
|
||||
![]()
I'm trying to create a plugin to add a link to the users photo album on the users pop menu.
I did this: PHP Code:
BTW I have vBSEO Any help will be appreciated. |
#2
|
||||
|
||||
![]()
You might need to go ' . $post[userid] . ' with the variables. And you may have to put a single quote around it $post['userid'] . I can never remember when you need to or don't need to.
|
#3
|
|||
|
|||
![]()
1. you have to espace the
Code:
' 3. lynne posted it. you cant do it that way, if you want, you'll have to create a template for it and to attach it this way: PHP Code:
|
#4
|
||||
|
||||
![]()
I just looked through my plugins, and while most of them do the eval statement for the template_hook, I do have a couple that do it directly like he is. However, I did escape the quotes and also put single quotes around the variables in mine.
|
#5
|
||||
|
||||
![]()
Thanks guys!!
By just changing this: ' . $post[userid] . ' fixed the problem. |
#6
|
|||
|
|||
![]() Quote:
I'm meaning this: PHP Code:
|
![]() |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|