• [MOD] Dynamic Page Title for v1.7 & v1.7.1 5 0 5 1
Currently:  

Author Topic: [MOD] Dynamic Page Title for v1.7 & v1.7.1  (Read 299254 times)

0 Members and 1 Guest are viewing this topic.

Offline Bugfixed

  • Jr. Member
  • **
  • Posts: 96
    • View Profile
    • Lavinya
Re: [MOD] Dynamic Page Title for v1.7 & v1.7.1
« Reply #60 on: March 04, 2006, 05:25:56 PM »
Hello!

Attached, you can find a diff against the 1.7.1 files. This diff can easily applied by running:

Code: [Select]
patch -p1 < mod-dynamic-page-title_4images-1.7.1.patch.txt
You can find the patch also on my homepage at http://alexander.skwar.name/4images-patches/mod-dynamic-page-title_4images-1.7.1.patch

For me, that's a lot easier to read than those plain text commands and also a lot less error prone...

hello
askwar pls write change code :( ?
<?php echo 'Hello, World!'; ?>

Offline Zyga

  • Jr. Member
  • **
  • Posts: 87
    • View Profile
Re: [MOD] Dynamic Page Title for v1.7 & v1.7.1
« Reply #61 on: March 17, 2006, 05:46:43 PM »
Hey!
Almost everything works.
Only one little problem: When I click on "UPLOAD IMAGE" my title is something like
Quote
site name | <a href="cattegories.php?cat_id=xx class="clickstream">cattegory name<a href="cattegories.php?cat_id=yy class="clickstream">new

Im sure members.php is modified correctly
 :|

Offline wallpapers

  • Full Member
  • ***
  • Posts: 107
    • View Profile
    • Tuned-Cars.Net
Re: [MOD] Dynamic Page Title for v1.7 & v1.7.1
« Reply #62 on: March 26, 2006, 08:19:35 PM »
I know this mos is for v1.7 & v1.7.1
but i want to tell that the page title not changing in v1.7.2
maby there is someone who know how it's working on 1.7.2  :D
(update to v1.7.2)  :D

I hope you understand my english  :lol:




Offline Aleksey

  • Newbie
  • *
  • Posts: 37
    • View Profile
Re: [MOD] Dynamic Page Title for v1.7 & v1.7.1
« Reply #63 on: March 27, 2006, 10:03:57 AM »
this mod in version 1.7.2 works fine
but then UPLOAD PHOTO  title =
Quote
<a href="./categories.php?cat_id=711" class="clickstream">[18] Âå÷åðèíêè</a> | Çàãðóçèòü ôîòî | Ñîëíå÷íîãîðñêàÿ ôîòîãàëåðåÿ
  :lol:

Offline live@ct

  • Sr. Member
  • ****
  • Posts: 348
    • View Profile
Re: [MOD] Dynamic Page Title for v1.7 & v1.7.1
« Reply #64 on: March 30, 2006, 07:25:38 AM »
And how about to improve the descripcion added automaticaly to the meta tags?!?!?! and keywrods in the header
Existen 10 tipos de personas, los que entienden el codigo binario y los que no.

Offline himu

  • Jr. Member
  • **
  • Posts: 69
    • View Profile
    • Point Of View
Re: [MOD] Dynamic Page Title for v1.7 & v1.7.1
« Reply #65 on: April 05, 2006, 07:38:51 AM »
I am having the same problem with ver 1.7.1 ....
i think there is a bug or it is conflicting with upload function.... or [Mod] Search Engine Friendly URLs aka Short URLs

any solution from the gurus.. (vano)..  :wink:

this mod in version 1.7.2 works fine
but then UPLOAD PHOTO  title =
Quote
<a href="./categories.php?cat_id=711" class="clickstream">[18] Âå÷åðèíêè</a> | Çàãðóçèòü ôîòî | Ñîëíå÷íîãîðñêàÿ ôîòîãàëåðåÿ
  :lol:

Offline koikonut

  • Jr. Member
  • **
  • Posts: 75
    • View Profile
    • http://www.konradin.net
Re: [MOD] Dynamic Page Title for v1.7 & v1.7.1
« Reply #66 on: April 19, 2006, 02:49:58 AM »
Is this MOD possible with the new version 1.7.2 ?
Do I have to make changes to use it with this script version?

Offline himu

  • Jr. Member
  • **
  • Posts: 69
    • View Profile
    • Point Of View
Re: [MOD] Dynamic Page Title for v1.7 & v1.7.1
« Reply #67 on: April 20, 2006, 10:05:50 PM »
I found a solution for this bug:

in member.php find:
Code: [Select]
  $txt_clickstream = "";
  if ($cat_id && isset($cat_cache[$cat_id])) {
    $txt_clickstream .= get_category_path($cat_id, 1).$config['category_separator'];
  }
  $txt_clickstream .= $lang['user_upload'];

replace with:
Code: [Select]
  $txt_clickstream = "";
  if ($cat_id && isset($cat_cache[$cat_id])) {
    $txt_clickstream .= get_category_path_nohtml($cat_id, 1).$config['category_separator'];
  }
  $txt_clickstream .= $lang['user_upload'];

Hey!
Almost everything works.
Only one little problem: When I click on "UPLOAD IMAGE" my title is something like
Quote
site name | <a href="cattegories.php?cat_id=xx class="clickstream">cattegory name<a href="cattegories.php?cat_id=yy class="clickstream">new

Im sure members.php is modified correctly
 :|


Offline Zyga

  • Jr. Member
  • **
  • Posts: 87
    • View Profile
Re: [MOD] Dynamic Page Title for v1.7 & v1.7.1
« Reply #68 on: April 28, 2006, 05:10:19 PM »
Hey thanks :)

It works now perfect

TIP: code should be replace in 2 places in member.php

Offline redlock

  • Newbie
  • *
  • Posts: 11
    • View Profile
Re: [MOD] Dynamic Page Title for v1.7 & v1.7.1
« Reply #69 on: May 02, 2006, 05:26:57 PM »
also bei mir läuft das nicht. habe v. 1.7.2 und alle änderungen gemacht aber der Titel ist immernoch der selbe.
www.brasilien-entdecken.de/bilder/

with me that does not run.
have v. 1.7.2 and all changes made however the title is always still the same.

please help

Offline BartAfterDark

  • Hero Member
  • *****
  • Posts: 520
    • View Profile
Re: [MOD] Dynamic Page Title for v1.7 & v1.7.1
« Reply #70 on: May 03, 2006, 03:27:12 PM »
also bei mir läuft das nicht. habe v. 1.7.2 und alle änderungen gemacht aber der Titel ist immernoch der selbe.
www.brasilien-entdecken.de/bilder/

with me that does not run.
have v. 1.7.2 and all changes made however the title is always still the same.

please help

In your header.html file edit:
Code: [Select]
<title>Brasilien entdecken - individuell und hautnah erleben</title>to
Code: [Select]
<title>{site_name} {page_title}</title>
« Last Edit: May 03, 2006, 06:06:15 PM by BartAfterDark »

Offline redlock

  • Newbie
  • *
  • Posts: 11
    • View Profile
Re: [MOD] Dynamic Page Title for v1.7 & v1.7.1
« Reply #71 on: May 03, 2006, 06:13:06 PM »
thanks. but this is not the problem.

if you come from www.brasilien-entdecken.de -> you see a framset. right is the content.
if you come direct www.brasilien-entdecken.de/bilder/ -> the browser only show the iframe on top (navigation)

another idea?

Offline BartAfterDark

  • Hero Member
  • *****
  • Posts: 520
    • View Profile
Re: [MOD] Dynamic Page Title for v1.7 & v1.7.1
« Reply #72 on: May 03, 2006, 06:19:19 PM »
I didn't understand the last question.

Try and edit this file http://www.brasilien-entdecken.de/templates/7dana/header.html
And lets see if that works.

Offline redlock

  • Newbie
  • *
  • Posts: 11
    • View Profile
Re: [MOD] Dynamic Page Title for v1.7 & v1.7.1
« Reply #73 on: May 03, 2006, 06:33:38 PM »

my header.html:

Code: [Select]
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html dir="{direction}">
<head>
<title>{site_name} {page_title}</title>
<meta http-equiv="content-type" content="text/html; charset={charset}" />
<link rel="stylesheet" href="{template_url}/style.css" />
<script language="javascript" type="text/javascript">
<!--
  function opendetailwindow() {
    window.open('','detailwindow','toolbar=no,scrollbars=yes,resizable=no,width=680,height=480');
  }
 
  function right(e) {
    if (navigator.appName == 'Netscape' && (e.which == 2 || e.which == 3)) {
      alert("© Copyright by {site_name}");
      return false;
    }
    else if (navigator.appName == 'Microsoft Internet Explorer' && (event.button==2 || event.button == 3)) {
      alert("© Copyright by {site_name}");
      return false;
    }
    return true;
  }
  document.onmousedown=right;
  if (document.layers) window.captureEvents(Event.MOUSEDOWN);
  window.onmousedown=right;
// -->
</script>
</head>
<body bgcolor="#C2C377" link="#333333" vlink="#333333">
<div id="unterseite" style="position:absolute; width:803px; height:268px; z-index:6; left: 0px; top: 0px; visibility: visible"><iframe name=unterseite
src="../unterseite_nav.htm" frameborder=0 height=268 width=803 scrolling=no></iframe></div>

Offline BartAfterDark

  • Hero Member
  • *****
  • Posts: 520
    • View Profile
Re: [MOD] Dynamic Page Title for v1.7 & v1.7.1
« Reply #74 on: May 03, 2006, 08:44:40 PM »

my header.html:

Code: [Select]
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html dir="{direction}">
<head>
<title>{site_name} {page_title}</title>
<meta http-equiv="content-type" content="text/html; charset={charset}" />
<link rel="stylesheet" href="{template_url}/style.css" />
<script language="javascript" type="text/javascript">
<!--
  function opendetailwindow() {
    window.open('','detailwindow','toolbar=no,scrollbars=yes,resizable=no,width=680,height=480');
  }
 
  function right(e) {
    if (navigator.appName == 'Netscape' && (e.which == 2 || e.which == 3)) {
      alert("© Copyright by {site_name}");
      return false;
    }
    else if (navigator.appName == 'Microsoft Internet Explorer' && (event.button==2 || event.button == 3)) {
      alert("© Copyright by {site_name}");
      return false;
    }
    return true;
  }
  document.onmousedown=right;
  if (document.layers) window.captureEvents(Event.MOUSEDOWN);
  window.onmousedown=right;
// -->
</script>
</head>
<body bgcolor="#C2C377" link="#333333" vlink="#333333">
<div id="unterseite" style="position:absolute; width:803px; height:268px; z-index:6; left: 0px; top: 0px; visibility: visible"><iframe name=unterseite
src="../unterseite_nav.htm" frameborder=0 height=268 width=803 scrolling=no></iframe></div>
Thats not the same header as I posted a link to