The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#11
|
||||
|
||||
You will need to get the actual userid, it's not going to automatically be in $userid...I just used that as a placeholder...for example, at the plugin hook location "postbit_display_complete" you can get it from $post['userid'], but I don't know what array is going to contain it at your plugin hook location.
Looking at that template, I would first try (at the very top of the plugin): PHP Code:
|
#12
|
|||
|
|||
authorid is the variable
Here is the code I use to show avatar for example PHP Code:
I modified the plugin code to this, but without luck !! PHP Code:
I made a lot of tests, but I don't know why the plugin can't see $authorid or $poststarter['userid'] or even $userid. BTW, if I put {vb:raw authorid} in the template it give me the author id !! Any suggestions? --------------- Added [DATE]1483538845[/DATE] at [TIME]1483538845[/TIME] --------------- No suggestions to how to get the authorid to complete this plugin? --------------- Added [DATE]1483542079[/DATE] at [TIME]1483542079[/TIME] --------------- I found it ^_^ PHP Code:
there is only one problem left, this code PHP Code:
PHP Code:
PHP Code:
Thanks in advance. |
#13
|
||||
|
||||
Try changing the line:
PHP Code:
PHP Code:
|
#14
|
|||
|
|||
Thank you Mark it works now.
I tried before inject bburl in this line PHP Code:
just note I not use template I added the code to the plugin that I bought from BirdOPery5 (More Open Graph Images Gold) and now I have what I want exactly. |
Благодарность от: | ||
MarkFL |
#15
|
||||
|
||||
Excellent! Glad to hear you now have it working as you want. :up:
|
#16
|
|||
|
|||
Thank you for your appreciate help, without it I couldn't get things like I want, thank you more and more.
|
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|