Your ultimate PunBB resource!
You are not logged in.
Only for PunBB 1.3 Adds a portal to forum Changes: - you can set preferences for some panels - you can manage panels for center side - some small fixes
Offline
It would also be good if you would display the name of the panel instead of the standard name.
Example: If you use the newest articles panel, and call it "My thoughts", it still says "Newest articles" on the front page...
Offline
is it possible to execute php code in the panels? because i think it's done in the menu panel right?
Yes
Example: If you use the newest articles panel, and call it "My thoughts", it still says "Newest articles" on the front page...
And what about who is online panel? When user is logged it is called Who's online, but when user isn't logged it's called Login.
Please use the "long" PHP tags <?php and ?> in all your files. Until I noticed that, I had problems in my testing environment...
If you found any short tag please post it (line and file), i tried replacing all.
Offline
daris wrote:
If you found any short tag please post it (line and file), i tried replacing all.
A quick sed should sort that. The following should work fine:
sed -e 's/<? /<?php /g' < inputfile > outputfile
Offline
Try new version, i disabled short_tags option in apache and then checked some pages ![]()
Offline
I'm not using 1.3.
Just had a quick look at your code though, and you've got some short tags in articles.php, so I would assume there are more still. (That was the first and only file I checked).
Offline
Files and line numbers for V2.0.
articles.php:94:<? articles.php:122:<? articles.php:165:<? articles.php:179:<? page.php:74:<? page.php:96:<? page.php:116:<? portal/page.php:74:<? portal/page.php:96:<? portal/page.php:116:<? portal/articles.php:94:<? portal/articles.php:122:<? portal/articles.php:165:<? portal/articles.php:179:<?
Edit: Just looking at that list, is there supposed to be a portal dir within the portal dir?
Last edited by MattF (2008-03-27 14:17:48)
Offline
Thanks, all short tags replaced ![]()
Just looking at that list, is there supposed to be a portal dir within the portal dir?
Whoops
(fixed)
Offline
daris wrote:
lie2815 wrote:
Example: If you use the newest articles panel, and call it "My thoughts", it still says "Newest articles" on the front page...
And what about who is online panel? When user is logged it is called Who's online, but when user isn't logged it's called Login.
Well, yeah. But how is that done?
Could you just make the $title variable in the newest articles panel file dynamic... please?
Offline
You can comment out 21 line of panels/newest_articles.php file
Last edited by daris (2008-03-28 07:30:48)
Offline