![]() |
I tested it on vb 4 and got an error as well. :( Hopefully it will be updated. :)
|
I'd like to see it updated for vB4 too.
|
Works ok for me, except get the following message above the header, when viewing ../usercp.php
Warning: fetch_template() calls should be replaced by the vB_Template class. Template name: personal_notepad in [path]/includes/functions.php on line 3932 Still able to edit/save notepad. (Using vB 4.02) |
I fixed the warning on my 4.03 board by editing the plugin to use the new way to get template data.
In Admin Control Panel, expand Plugins & Products, go to Plugin Manager, then find and click on the plugin called "Save personal notepad and add template". In the Plugin PHP Code box, find the following line (at the bottom): PHP Code:
Replace it with these two lines: PHP Code:
Save and enjoy! Cheers, Alex |
@skaarg
Thanks for the php update. However, you have missed a final }; from the end of your code to close the original if statement for this plugin. So for everyone else, when editing this plugin code to make it work with vB4, replace the following: PHP Code:
PHP Code:
I've attached the xml installer I created by exporting the updated version from my current vB4.03 board. I hope that is useful. If someone can test this xml file for me on their site and verify it works, I could then post a new vB4 mod page for this update, and reference this original mod page to give credit. |
Quote:
|
Really? The template is fine on my site with heading and border in place. Are you using the default vB4 template or a custom one?
Can you post a screenshot so I can compare to my own installed version? |
Nevermind I figured it out.
|
Quote:
|
Quote:
|
All times are GMT. The time now is 07:15 AM. |
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:
|