Vanilla 1 is no longer supported or maintained. If you need a copy, you can get it here.
HackerOne users: Testing against this community violates our program's Terms of Service and will result in your bounty being denied.
Extension troubles: Who's Online & Homemade
A couple of extension problems:
1.
I've been having trouble getting the 'who's online' extension to work. I have checked past posts and found nothing to aid me. Basically after I install the extension (v 1.1) I get these error messages:
Am I missing something important? Is there a file I haven't opened access to or something? I am stumped...
2.
I tried making my own, very simple, panel link list (based on this control panel page in the docs).
The PHP I made is here: http://www.huge-entity.com/forum/extensions/Siteindex.php
And as you can see if you run it i get this error:
Thanks
1.
I've been having trouble getting the 'who's online' extension to work. I have checked past posts and found nothing to aid me. Basically after I install the extension (v 1.1) I get these error messages:
Warning: Missing argument 5 for update() in /home/content/d/a/n/danrourke/html/forum/library/Utility.Database.class.php on line 130I then have to delete the extension and manually remove from extension list.
Fatal error: Call to a member function on a non-object in /home/content/d/a/n/danrourke/html/forum/library/Utility.Database.class.php on line 132
Am I missing something important? Is there a file I haven't opened access to or something? I am stumped...
2.
I tried making my own, very simple, panel link list (based on this control panel page in the docs).
The PHP I made is here: http://www.huge-entity.com/forum/extensions/Siteindex.php
And as you can see if you run it i get this error:
Parse error: parse error, unexpected T_IF in /home/content/d/a/n/danrourke/html/forum/extensions/Siteindex.php on line 12My knowledge of PHP is very very minimal (going on about 4 days experience so far). What have I missed?
Thanks
0
This discussion has been closed.
Comments
The actual source might help a bit.
But what it is about line 12 (if ($Context->SelfUrl == "index.php") { ) that brings back that error?
Also, anyhelp with the who's online extension would be greatly appreciated.
I think one of the functions involved in updating the guest's info in mySQL is not set up properly. Do I have to open access to these files manually? I'm lost
Then your own extension should look something along the lines of this, although I haven't actually tested it yet: