![]() |
Object of class vB_Template could not be converted to string
Hi. Please help me with modification of plugin. This plugin work perfectly on the default style, but on installed custom style his generate php-errores:
Code:
Object of class vB_Template could not be converted to string.... I found hook and localized code what gives this errores. Its in parse_template PHP Code:
PHP Code:
Thanks for any help! |
So, if you comment out the line regarding the postbit_legacy template, it works fine. So, compare your postbit_legacy from your custom style to the one in the default style.
|
What are you trying to do? Lol
|
1 Attachment(s)
Thanks Lynne! Yes they have a difference. I attached txt file with whole postbit_legacy template from custom style. May be if you look at them, you`ll can say something? Ofcause if its not so hard for you :erm:
vBNinja, its not my mod. I`m just use it. But with new style his stop working. Its mod for self moderation in threads, for user-topicstarters. In this hook, to forward, creats new buttons under postbits, for what users(edit/soft delete posts in his own threads). Sorry for my english((( |
Where did you get the mod? You might have better luck asking the person who wrote it.
I'm thinking maybe the code in the plugin is modifying the cached template, but with the custom style, the result is a template that causes that error when eval()ed. |
Unfortunately author of this mod, dont answear in threads for rfee / four years((((
|
Is it from this site? Can you tell us which one it is?
|
No. Is it not from here...
Its here: http://vbsupport.org/forum/showthread.php?t=40628 ---------- I think I can share this mode on vbulletin.org. This is nice mod, what can be very useful in some forums... But, how can we see, its have one bug... |
I'm sorry, but we don't know the mod so we don't know what the issue is. You either need to try things yourself or find someone willing to spend the time to figure it out for you.
|
Ok. Its saaaad((( I was hoping for help ...
In any case, I added the archive with the module, just in case someone nevertheless wants to fix it. Just remind,.. on the default style, this mod work without any problems, and you can use it on yours forums. |
I'm sorry, but you may not distribute someone else's modification without their permission, so I have had to remove it from your post. If you need help with this, you need to post in the modification thread itself.
|
Ok. I understand you. Rules are rules. I`ll try to comunicate with creater of this mod and I think he would not mind if I share this mod here...
As I understand you, I must create thread in "vBulletin 4.x Add-ons" forum? |
Did you download the modification from here? Then you would go post in the thread where you downloaded the modification. If you got the modification from somewhere else, then you need to go there and ask for help.
|
All times are GMT. The time now is 03:30 PM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|