News
-----
sample output from the zend ide debugger:
Notice, at file name: mainfile.php line: 65, text: Undefined index: 2
Notice, at file name: mainfile.php line: 70, text: Use of undefined constant _users - assumed '_users'
Notice, at file name: mainfile.php line: 261, text: Use of undefined constant _users - assumed '_users'
Notice, at file name: mainfile.php line: 261, text: Undefined index: 1
Notice, at file name: mainfile.php line: 263, text: Undefined offset: 2
Notice, at file name: mainfile.php line: 85, text: Use of undefined constant _blocks - assumed '_blocks'
Notice, at file name: mainfile.php line: 87, text: Use of undefined constant main - assumed 'main'
Notice, at file name: mainfile.php line: 542, text: Use of undefined constant _blocks - assumed '_blocks'
Notice, at file name: mainfile.php line: 552, text: Undefined variable: moduleslist
Notice, at file name: mainfile.php line: 566, text: Undefined variable: a
Notice, at file name: mainfile.php line: 89, text: Use of undefined constant online - assumed 'online'
Notice, at file name: mainfile.php line: 951, text: Undefined offset: 1
Notice, at file name: mainfile.php line: 957, text: Use of undefined constant _session - assumed '_session'
Notice, at file name: mainfile.php line: 958, text: Use of undefined constant _session - assumed '_session'
Notice, at file name: mainfile.php line: 963, text: Use of undefined constant _session - assumed '_session'
Notice, at file name: mainfile.php line: 966, text: Use of undefined constant _session - assumed '_session'
Notice, at file name: mainfile.php line: 969, text: Use of undefined constant _session - assumed '_session'
Notice, at file name: mainfile.php line: 973, text: Undefined variable: who_online
Notice, at file name: mainfile.php line: 91, text: Use of undefined constant admin - assumed 'admin'
Notice, at file name: mainfile.php line: 46, text: Undefined index: 1
Notice, at file name: mainfile.php line: 51, text: Use of undefined constant _authors - assumed '_authors'
Notice, at file name: counter.php line: 43, text: Use of undefined constant _counter - assumed '_counter'
So this is call to Post-Nuke web site owners to ask them to add our logo.
It is important that people understand that this free service will only remain as long as it helps us get our brand and service recognized.
Regards,
Mike Krus
info@newsisfree.com
ALTER TABLE nuke_referer ADD count INT not nul
then in the index.php there is a referer section
replace the standard insert with (somewhere around line 120 i think)
$result = mysql_query("select * from $prefix"._referer." where url='$referer'");
if (mysql_num_rows($result) >= "1")
{
while($row=mysql_fetch_array($result))
{
$count = $row["count"];
$new_count = $count + 1;
}
mysql_query("update $prefix"._referer." set count='$new_count' where url='$referer'");
}else{
mysql_query("insert into $prefix"._referer." values (NULL, '$referer')");
}
then in the admin/modules/referer.php look for $hresult = and replace the $hresult and while loop with
$hresult = mysql_query("select rid, url, count from $prefix"._referer."");
echo "idrefererhits";
while(list($rid, $url,$count) = mysql_fetch_row($hresult)) {
echo "$rid"
."
$url$count";
}
This should do it.
Matt Jezorek
http://bluelinux.sourceforge.net
I suggest to the admin to make the size of the center block relative so it will stretch easily. I also suggest that the font size be adjusted dynamically in response to changing resolutions, maybe a javascript implementation will do. On the other hand, this will depend on the theme setup of a particular site.
But first impression last. We don't want to loose the first timers who are very capable of improvement and will be a good nuker someday.
Maybe another setup of a postnuke site with focus on interface and multimedia will be a good start. For example, a single page where screenshots of working sites or even graphic templates are posted.
We are confident enough, I guess, because a team has already been formed to deal with the development of the php and database core.
Fuctionality and Usability will be our stronghold, this will be our edge.
I would also like to know if the phpnuke themes can be used with post nuke? There are few good phpnuke themes I would like to use but what are the incompatabilities between postnuke and phpnuke theme system?
All PHP-Nuke 5.0 themes should work, but you will need to add the Post-Nuke CSS to the style.css file, for full functionality.
Anyone if need any help on installing postnuke over at Freedom2Surf feel free to email me :)
The changes were primarily for it's use on my scale modeling web site. I've taken and added additional fields, which are/aren't used based upon whether it's a kit review or book review. I've also added the capability to add (administrator only) additional images to the review, up to 4. Felt a bit limited by 1. It does require additional fields in the _reviews database.
The only drawback, I've hard-coded a lot of the text descriptions into the script as I really don't have time to translate the descriptions for all of the languages.
You can see and example of how the script works at:
pcmodeler.com
Feel free to take a look at the submission portion of the script. Again, you won't be able to submit or add the 4 images unless you're an administrator.
I do plan on modifying the script further by including the option to actually upload images, limiting display size and giving registered users the right to add the images instead of just the admin.
Mark F.