First, let me say thanks to Raven, Chatserv, and the rest of the community here at Ravens PHP Scripts for such an informative and helpful collection of information on PHPNuke. I have been coming here for quite some time, and mostly spend HOURS at times searching for information to solve problems I am having with PHPNuke issues. Since I am not a PHP guru like most of you, many times I am not able to contribute help, or answer questions, and I appologize for that, but wanted to let everyone know that your time and answers are GREATLY appreciated. I kind of feel bad for posting a question when I have been able to do so little to contribute here, but as this is my CHOSEN PHPNuke "How To" site, I have little choice but to post my question here Besides, I like the personal touch here as oposed to the high commercialization of PHPNuke.org and NukeCops.
So on with my question already LOL. I have two questions.
#1. I am fairly familiar with the parts of PHPNuke that generate the meta tags for pages, but not being a programmer, I am unsure of how to approach my problem. I am looking for a tool that allows you to customize the meta tags based on the pages being viewed. Is ANYONE aware of a module or block that allows this? I do not wish to remove the PHPNuke credits in the meta tags, just a way to be able to customize the content tag to improve search engine results on a page by page basis, or on a section by section basis.
#2. I have spent HOURS going through the module creation process. I presently have two folders I would like to "modulize" without having to write PHP code for each page I want included. I have followed the PHPNuke How To on how to include pages in the portal, and have created the folders and initial index.php page, but I am having problems with the links on the internal pages, and can not figure out why. I have followed the rewrite for the new URL links and included the accept file protocals as outlined, but still am having no luck getting anything other than the initial default page to show. When a link is clicked on that page, it reloads the default page. The code of the initial index.php page is as follows:
Code:
<?php
/************************************************************************/
/* PHP-NUKE: Web Portal System */
/* =========================== */
/* */
/* PHP-Nuke-HOWTO module for PHP-Nuke */
/* */
/* Copyright (c) 2003 index.php */
/* by Chris Karakas */
/* http://www.karakas-online.de */
/* */
/* See licence.html for the Licence of the other files */
/* distributed together with this index.php file. */
/* */
/* This program is free software. You can redistribute it and/or modify */
/* it under the terms of the GNU General Public License as published by */
/* the Free Software Foundation; either version 2 of the License. */
/************************************************************************/
if (!eregi("modules.php", $PHP_SELF)) {
die ("You can’t access this file directly...");
}
$index = 0; // 0 : do not show right blocks - 1:show right blocks
require_once("mainfile.php");
$module_name = basename(dirname(__FILE__));
include("header.php");
$ACCEPT_FILE[’Advanced_Concrete.htm’] = ’Advanced_Concrete.htm’;
$ACCEPT_FILE[’Alvin_Reiff.htm’] = ’Alvin_Reiff.htm’;
$ACCEPT_FILE[’Big_Country_Radio.htm’] = ’Big_Country_Radio.htm’;
$ACCEPT_FILE[’body_mind_soul.htm’] = ’body_mind_soul.htm’;
$ACCEPT_FILE[’Bridge_Street_Auto.htm’] = ’Bridge_Street_Auto.htm’;
$ACCEPT_FILE[’BZmotors.htm’] = ’BZmotors.htm’;
$ACCEPT_FILE[’Cabinet_Surplus.htm’] = ’Cabinet_Surplus.htm’;
$ACCEPT_FILE[’classic_craft_storage.htm’] = ’classic_craft_storage.htm’;
$ACCEPT_FILE[’Classic_Woodburners.htm’] = ’Classic_Woodburners.htm’;
$ACCEPT_FILE[’Conrads_Lawn_Care.htm’] = ’Conrads_Lawn_Care.htm’;
$ACCEPT_FILE[’db_insurance.htm’] = ’db_insurance.htm’;
$ACCEPT_FILE[’Equipment_Rental.htm’] = ’Equipment_Rental.htm’;
$ACCEPT_FILE[’Garages_Plus.htm’] = ’Garages_Plus.htm’;
$ACCEPT_FILE[’Glen_Gery_Brick.htm’] = ’Glen_Gery_Brick.htm’;
$ACCEPT_FILE[’haubert_homes.htm’] = ’haubert_homes.htm’;
$ACCEPT_FILE[’Hidden_Stream_Farm.htm’] = ’Hidden_Stream_Farm.htm’;
$ACCEPT_FILE[’Hilly_Ridge.htm’] = ’Hilly_Ridge.htm’;
$ACCEPT_FILE[’HL_Klose.htm’] = ’HL_Klose.htm’;
$ACCEPT_FILE[’John_Griffith.htm’] = ’John_Griffith.htm’;
$ACCEPT_FILE[’johns_carpet_furniture_cleaning.htm’] = ’johns_carpet_furniture_cleaning.htm’;
$ACCEPT_FILE[’Kratzer_Insurance.htm’] = ’Kratzer_Insurance.htm’;
$ACCEPT_FILE[’Little_Stitches.htm’] = ’Little_Stitches.htm’;
$ACCEPT_FILE[’Moyer_Electronic.htm’] = ’Moyer_Electronic.htm’;
$ACCEPT_FILE[’Mountain_Side_4x4.htm’] = ’Mountain_Side_4x4.htm’;
$ACCEPT_FILE[’mountain_view_indoor_archery.htm’] = ’mountain_view_indoor_archery.htm’;
$ACCEPT_FILE[’Olde_Stone_Farmhouse.htm’] = ’Olde_Stone_Farmhouse.htm’;
$ACCEPT_FILE[’Open_Door_Gallery.htm’] = ’Open_Door_Gallery.htm’;
$ACCEPT_FILE[’rainbow_connection.htm’] = ’rainbow_connection.htm’;
$ACCEPT_FILE[’Rental_Stop.htm’] = ’Rental_Stop.htm’;
$ACCEPT_FILE[’Sanders_PC.htm’] = ’Sanders_PC.htm’;
$ACCEPT_FILE[’schoolhouse_music.htm’] = ’schoolhouse_music.htm’;
$ACCEPT_FILE[’shady_oak_furniture.htm’] = ’shady_oak_furniture.htm’;
$ACCEPT_FILE[’state_farm_insurance.htm’] = ’state_farm_insurance.htm’;
$ACCEPT_FILE[’Stauffers_Dry_Goods.htm’] = ’Stauffers_Dry_Goods.htm’;
$ACCEPT_FILE[’sunbury_market_house.htm’] = ’sunbury_market_house.htm’;
$ACCEPT_FILE[’susquehanna_sports_place.htm’] = ’susquehanna_sports_place.htm’;
$ACCEPT_FILE[’village_merchants.htm’] = ’village_merchants.htm’;
$ACCEPT_FILE[’walters_lawn_garden.htm’] = ’walters_lawn_garden.htm’;
$ACCEPT_FILE[’Wayne_Stahl.htm’] = ’Wayne_Stahl.htm’;
$ACCEPT_FILE[’Williams_Jewelers.htm’] = ’Williams_Jewelers.htm’;
$ACCEPT_FILE[’Woolrich_Company_Store.htm’] = ’Woolrich_Company_Store.htm’;
<ul>
<li><a href="modules.php?name=Tips_on_Tables&page=Olde_Stone_Farmhouse.htm">Olde Stone Farmhouse</a>
<li><a href="modules.php?name=Tips_on_Tables&page=Open_Door_Gallery.htm">Open Door Gallery</a>
</ul>
OK, I feel a bit stupid now #2 solved. Little did I realize, that when copying and pasting from PDF to PHP file, I was geting a wrong character for the single quotes. Went through the entire index.php and changed the wrong character to the right single quote character, and voila, it all works now. Just have to change the image paths on the htm files, and all will be just peachy with question #2
Thanks to all who have viewed the questions and taken time out of their schedules. As for question #1, that still eludes me. So any help for that will be greately appreciated.
There is a Dynamic Meta Keys addon but I don't remember who was last maintaining it. It was called DYNMETAKEYS and I think was started back in the 5.5 days so it might take a little searching to find the correct updated version. Quick search shows one version available at
Only registered users can see links on this board! Get registered or login to the forums!
I think the most recent updated version is part of this package
Only registered users can see links on this board! Get registered or login to the forums!
There is also a Dynamic Page Title addon but I've never tried that one to see if it works well ect...
Only registered users can see links on this board! Get registered or login to the forums!
Thanks Six, much appreciated. I have a local test server running, so I just downloaded all the links you mentioned. I'll be glad to post the results back here if anyone is interested. As for #2 above, it's HALF fixed. Now I have broken image links. Presently, I'm searching around to see how to fix it LOL.
Naaa, I just looked at where Nuke was TRYING to call the images from given the base setup, and then moved the images to the appropriate folder and subfolder scheme. Seems that Nuke likes to call images from the images folder in root setup. Couldn't get around it, not even by using the root path to the images. It works now, I've just got a few extra folders in my main images folder
View next topic View previous topic
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum