Forums / All Other Contributions/Addons / Chemo's Ultimate URL's

Chemo's Ultimate URL's

Views: 494,255

Results 41 to 60 of 1,407
6 Jun 2006, 10:23 AM
#41
kookiewookie avatar

kookiewookie

New Zenner

Join Date:
Jun 2006
Posts:
75
Plugin Contributions:
0

Chemo's Ultimate URL's

mergin IH2 with SEO url's what not that hard.

. take the html_output.php from the iH2 module.
Open it. Replace the parts in the top of the page with:

//SEF urls....
  function zen_href_link($page = '', $parameters = '', $connection = 'NONSSL', $add_session_id = true, $search_engine_safe = true, $static = false, $use_dir_ws_catalog = true) {
		if (!isset($GLOBALS['seo_urls']) && !is_object($GLOBALS['seo_urls'])) {
			include_once(DIR_WS_CLASSES . 'seo.url.php');

			$GLOBALS['seo_urls'] = &new SEO_URL($_SESSION['languages_id']);
		}

		return $GLOBALS['seo_urls']->href_link($page, $parameters, $connection, $add_session_id, $static, $use_dir_ws_catalog);
  }
 

  function original_zen_href_link($page = '', $parameters = '', $connection = 'NONSSL', $add_session_id = true, $search_engine_safe = true, $static = false, $use_dir_ws_catalog = true) {
    global $request_type, $session_started, $http_domain, $https_domain;

    if (!zen_not_null($page)) {
      die('</td></tr></table></td></tr></table><br /><br /><strong class="note">Error!<br /><br />Unable to determine the page link!</strong><br /><br />');
    }
    

    if ($connection == 'NONSSL') {
6 Jun 2006, 10:40 AM
#42
kookiewookie avatar

kookiewookie

New Zenner

Join Date:
Jun 2006
Posts:
75
Plugin Contributions:
0

Re: Chemo's Ultimate URL's

As far as i can tell it does.

9 Jun 2006, 6:41 PM
#43
maxus avatar

maxus

Zen Follower

Join Date:
Feb 2005
Location:
Prague
Posts:
130
Plugin Contributions:
0

Re: Chemo's Ultimate URL's

I dont know if my problem is Ultimate chemo or not
but I have this situation

I use chared SSL. whe I check it on fresh installed zen-card - all worked

but I have zaen-cart+chemo url + IH2 + MZMT mode

now when I try to go to https login page they redirect me to my http login page

my https login page looked like
https://www.camelot-hosting3.com/~maxuscz/index.php?main_page=login&zenid=088d1428a629a2b966adb0f0dcdd3b4e
and it redirect me to my login page.. no errors.. just redirect me to normal login page with same zenid

in admin zone it worked normal...
i mean it some rules in htaccess but dont know where problem is..
please help

13 Jun 2006, 3:51 PM
#44
catv avatar

catv

New Zenner

Join Date:
Jun 2006
Posts:
21
Plugin Contributions:
0

Re: Chemo's Ultimate URL's

I'm not sure if someone solved this already, but I'm working on an elaborate solution to extend Chemo's work so that product types will all be handled automatically. But for now I have a quick fix that has worked for me. If you're using more then one product type then you'll need wait until I finish my dynamic version of the fix.

  1. Add your page handler to the includes/filenames.php as a define ```php
    define('NAME_OF_YOUR_HANDLER', 'name_of_your_handler');

 2. edit the /includes/classes/seo.url.php file and replace 
```php
FILENAME_PRODUCT_INFO 

with

 NAME_OF_YOUR_HANDLER

I think it's only in two places

  1. in the .htacess file replace in the one line
main_page=product_info

with

main_page=Name_of_your_handler
* Note this is only a viable quick fix if you only sell products of one type. I'm working to make it so that Ultimate SEO urls mod will handle product types automatically. Also you may need to adjust some of your seo url settings in the admin, like resetitng and flushing cache for the changes to show.

I'll send Chemo my more elaborate fix when I'm done with it, and post it here as well. Hope this helps someone, feel free to email me if you need anymore help with this.

13 Jun 2006, 4:21 PM
#45
catv avatar

catv

New Zenner

Join Date:
Jun 2006
Posts:
21
Plugin Contributions:
0

Re: Chemo's Ultimate URL's

kelvyn:

I modified includes\classes\seo.url.php and changed the code, but I still get the same error, albeit with the modified code.

What I don't understand is how this is working on my original store, and yet with a copy of the store, filled using Easypopulate, it has this error with SEO URLs turned on! Weird, huh?

Hi kelvyn, are you replying to my fix example? Or someone else's reply?

I can't see how EZ populate would conflict with chemo's seo mod? I don't think it's possible they're conflicting.

13 Jun 2006, 6:50 PM
#46
catv avatar

catv

New Zenner

Join Date:
Jun 2006
Posts:
21
Plugin Contributions:
0

Re: Chemo's Ultimate URL's

Great glad my previous suggesting of flushing the cached, did you change the seo.url.php and .htacess file too?

13 Jun 2006, 10:57 PM
#47
rwoody avatar

rwoody

Totally Zenned

Join Date:
Aug 2004
Location:
Fountain Hills, AZ
Posts:
476
Plugin Contributions:
0

Re: Chemo's Ultimate URL's

In the event anyone else has an issue with this - the solution was very easy. I just added a line to the rewrite to find the page_not_found.html and voilla - all well!

14 Jun 2006, 1:37 AM
#48
alik avatar

alik

Zen Follower

Join Date:
Mar 2006
Posts:
126
Plugin Contributions:
0

Re: Chemo's Ultimate URL's

just installed everything on my zen 1.301 - all works great with IH2.

THANKS for the GREAT WORK.

14 Jun 2006, 12:14 PM
#49
duckydoodles_com avatar

duckydoodles_com

New Zenner

Join Date:
May 2006
Location:
Windsor, Ontario
Posts:
64
Plugin Contributions:
0

Re: Chemo's Ultimate URL's

In the installation page, it says you have to modify the word /shop/ with the relative path of my catalogue. I'm not quite sure what to put. My index page is at the site root; I dont have the store in a subdirectory. Do I just leave it blank so it looks like "//"?

I must have done something wrong because my home page loads just fine, but when I click on anything (a product link for example) it gives me the error404 Page Cannot be Displayed. Any ideas?

I am running ZC v1.3.0.1 and trying to install Ultimate SEO URLs v2.101

Thanks a lot.

  • Steve

My store:
http://www.duckydoodles.com

14 Jun 2006, 1:20 PM
#50
kookiewookie avatar

kookiewookie

New Zenner

Join Date:
Jun 2006
Posts:
75
Plugin Contributions:
0

Re: Chemo's Ultimate URL's

leave the rewrite dir blank!!

do not put slashes or something!

What happens if you do that?

14 Jun 2006, 8:37 PM
#51
mdfroseth avatar

mdfroseth

New Zenner

Join Date:
Apr 2006
Posts:
14
Plugin Contributions:
0

Re: Chemo's Ultimate URL's

I just attempted to install 2.101. I followed the instructions to the tee and am able to access the admin pages, but when I try the catalog I get the following error:

1136 Column count doesn't match value count at row 1
in:
[INSERT INTO 'zen_configuration' VALUES (",'Enable SEO URLs?', 'SEO_ENABLED', 'true', 'Enable the SEO URLs? This is a global setting and will turn them off completely.', 45,0, NOW(), NOW(), NULL, 'zen_cfg_select_option(array("true", "false"),')]

Thankfully I backed up before installing. Site is http://www.madisonpolicesupply.com/shop/

Any ideas?

18 Jun 2006, 2:32 AM
#52
ctcentralinfo avatar

ctcentralinfo

Totally Zenned

Join Date:
Apr 2005
Posts:
853
Plugin Contributions:
0

Re: Chemo's Ultimate URL's

I am having problems getting the newsletter subscription to work 100% that notgoddess wrote here:

http://www.zen-cart.com/forum/showthread.php?t=37185

With SEFU turned off, if you just press the subscribe button without entering a email address you should get an error message, I am getting none except when I deactivate the sefu in admin. How can I fix this?

Rich People scream, Wealthy people whisper

https://www.cooltechcentral.com

26 Jun 2006, 4:14 PM
#53
yapliren avatar

yapliren

New Zenner

Join Date:
May 2006
Posts:
31
Plugin Contributions:
0

Re: Chemo's Ultimate URL's

ultimate seo stop working in zen 1.3.0.2 as html_output.php has been replaced.
:(

26 Jun 2006, 4:58 PM
#54
reesy avatar

reesy

Totally Zenned

Join Date:
Mar 2005
Posts:
535
Plugin Contributions:
3

Re: Chemo's Ultimate URL's

There are only 2 very short lines that are different in 1.3.0.2 and 1.3.0.1 in the html_output.php that was overwritten so it should be super easy to change.

27 Jun 2006, 11:18 AM
#55
purkat avatar

purkat

New Zenner

Join Date:
Mar 2006
Posts:
21
Plugin Contributions:
0

Re: Chemo's Ultimate URL's

Hi all

Does anyone have problems with 404 handling with this mod installed? If I try to access a page that does not exist I get something like:

[27-Jun-2006 06:55:29] PHP Fatal error:  main(): Failed opening required 'includes/templates/template_default/templates/tpl_zzzz404_default.php' (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/domain/public_html/includes/templates/mytemplate/common/tpl_main_page.php on line 76

I have Tim's IH2 installed as well.

Kelvyn - I see that if I go to an invalid page on your site (http://www.bowak.co.uk/jangro/zzz.html) it just displays the home page. Are you using Tim's IH2?

Thanks for any help or suggestions. :)

11 Jul 2006, 5:03 AM
#56
voltage avatar

voltage

Totally Zenned

Join Date:
Apr 2005
Location:
Houston, TX
Posts:
1,356
Plugin Contributions:
1

Re: Chemo's Ultimate URL's

Here is a quick merge of Ultimage SEO's and Image Handler's html_output.php. Seems to work for me.

11 Jul 2006, 8:13 AM
#57
purkat avatar

purkat

New Zenner

Join Date:
Mar 2006
Posts:
21
Plugin Contributions:
0

Re: Chemo's Ultimate URL's

Thanks, voltage - but I'm using 1.2.7 (sorry I didn't mention that before!). Does anyone have a 1.2.7 html_output.php with this mod + IH2 installed that they could share?

11 Jul 2006, 12:47 PM
#58
voltage avatar

voltage

Totally Zenned

Join Date:
Apr 2005
Location:
Houston, TX
Posts:
1,356
Plugin Contributions:
1

Re: Chemo's Ultimate URL's

As far as I understand, Image Handler was built for 1.3+ . . . Is that your problem?

11 Jul 2006, 12:54 PM
#59
purkat avatar

purkat

New Zenner

Join Date:
Mar 2006
Posts:
21
Plugin Contributions:
0

Re: Chemo's Ultimate URL's

voltage:

As far as I understand, Image Handler was built for 1.3+ . . .

... and 1.2.x (http://www.breakmyzencart.com/image-handler)

12 Jul 2006, 5:09 PM
#60
cntgifts avatar

cntgifts

Totally Zenned

Join Date:
Sep 2005
Posts:
836
Plugin Contributions:
0

Re: Chemo's Ultimate URL's

Where can i get the newest version compatiable with zencart 1.3