ok thanks
2 2008-07-21 11:06
Re: how to create a page? (11 replies, posted in PunBB 1.3 extensions)
no no, not a portal.. im wanting to make a page that will be in with the admin pages... but also added as an extension.. i just dont know what the page needs for the admin menu ive been looking at other extensions with pages like this but they dont seem to be helping im just wondering if anyone knows the exact way to build this type of page
3 2008-07-21 10:45
Re: Trying to understand hooks? (11 replies, posted in PunBB 1.3 extensions)
right i still dont get why its outputing at the top instead of in the box where o thought it would...
i will wait for documentation on it.
another thing is why do i always get
Error 500 - Internal Server Error
when i try and open an extensions own admin page i was trying some extensions from flux but any that have an admin i cant access it
im guessing its something to do with permissions?
4 2008-07-20 11:34
Re: how to create a page? (11 replies, posted in PunBB 1.3 extensions)
Hi how would you create an admin page .. would you use the same way?
i suppose you would have to add a line of code to include the admin navigation ?
and also to hide it from everyone apart from admin's ?
Andrew
5 2008-07-18 19:36
Re: Trying to understand hooks? (11 replies, posted in PunBB 1.3 extensions)
Now it doesn't show at all
heres what ive got
<hooks>
<hook id="hd_alert"><![CDATA[
$alert_items[] = '<p class="first-alert"> Where does this output??</p>';
]]></hook>
</hooks>
Wait !
i found it, it shows on the admin page.
but what i was looking for is the alert box that shows on the top of every page?
6 2008-07-18 19:25
Re: Trying to understand hooks? (11 replies, posted in PunBB 1.3 extensions)
i have the "Extension one click reinstaller v1.0" installed and im using that to reinstall the extension
7 2008-07-18 19:18
Re: Trying to understand hooks? (11 replies, posted in PunBB 1.3 extensions)
hd_head outputs in the same place as hd_alert
also viewing the source of the webpage shows that it is output before the html tag starts in both hd_head and hd_alert
8 2008-07-18 18:52
Re: Trying to understand hooks? (11 replies, posted in PunBB 1.3 extensions)
Well the problem i had was trying to hook "hd_alert" in the header.php
when i hook it , it displays the output at the start of the document instead of between the menu and main board where i expect it to output ?.
<hooks>
<hook id="hd_alert"><![CDATA[
echo '<div id="brd-alert"><p align=center> Where does this output??</p></div>';
]]></hook>
</hooks>
below is a screenshot of the output and where i thoght the output should be?
Direct link, forum will crop image
try http://fluxbb.org/wiki/developing_extensions
Yeah at first i found it hard to grasp the concept of hooks. but once your use them, they are easy and fantastic.
Yeah thanks i already had a look at that still didn't make much sence to me..
Andrew
9 2008-07-18 12:21
Topic: Trying to understand hooks? (11 replies, posted in PunBB 1.3 extensions)
Hi im new with the extensions and hooks. i used to play about with the plugins and simple mod's in 1.2
but now i have updated to 1.3 and im trying to port over my mod and the plugin that controlled it, to an extension..
the only problem is the hooks arent going where i thot they would..
is there any documentation or tutorials on the extensions and hooks yet?
Andrew
10 2008-07-18 09:41
Re: Administrator Alerts Bug ? [1.3 RC1] (3 replies, posted in PunBB 1.2 troubleshooting)
...
Moreover, we have added a feature request to prevent the alert from being displayed if the administrator isn't going to install one or several hotfixes.
Could you perhaps advise us on a more convenient way to do that? Should we do this in a direct manner (for instance by making a button 'I won't install this hotfix') or in an inderct one (regard a hotfix as 'spotted' if the administrator has opened the page of installing the extensions)
I think you should use a method like microsoft does on there windows update system, using a simple checkbox that allows the user to simply hide the hotfix, then add another page that allows them to unhide the hotfixes.
i have made a mock image of what i think would be a good idea.. this could take longer than a simple link that you suggested.
11 2008-07-17 18:02
Topic: Administrator Alerts Bug ? [1.3 RC1] (3 replies, posted in PunBB 1.2 troubleshooting)
Hi,
I dont know if this is a bug or something wrong on my side, but i just did a fresh install and everything seems to be ok.
Apart from the Administrator Alerts.
I keep geting the ,
ATTENTION! There are important Administrator Alerts that you should view immediately.
on all pages and when going to the Admin Information Page i get ,
Administrator Alerts: PunBB updates: One or more hotfix extensions are available for install on the Extensions tab of the admin interface.
i have installed all the hotfixes available on the extensions page even the migration hotfix that i dont need.
also cleared the cache, logged in and out several times
is there anything i can do or is this a bug?
Andrew