• [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 299154 times)

0 Members and 1 Guest are viewing this topic.

Offline Vasconjelos

  • Pre-Newbie
  • Posts: 4
    • View Profile
Re: [MOD] Dynamic Page Title for v1.7 & v1.7.1
« Reply #120 on: January 06, 2007, 10:25:56 PM »
please rewrite this mod 1.7.4 versiyon. Doesn't work 1.7.4 please update

Offline Aleksey

  • Newbie
  • *
  • Posts: 37
    • View Profile
Re: [MOD] Dynamic Page Title for v1.7 & v1.7.1
« Reply #121 on: January 09, 2007, 01:30:25 AM »
This mod works fine in 1.7.4 version
but fix this code!

with follow problems
-spam words not with name separate **** in admin control panel
-view not correct <a href= in user control panel and others

find in includes/functions.php

Code: [Select]
    }
     $text = str_replace("[hr]", "<hr>", $text);
  }
  $text = replace_url($text);
  if ($word_wrap && $text != "") {
    $text = preg_replace("/([^\n\r ?&\.\/<>\"\\-]{".$word_wrap."})/i", " \\1\n", $text);
  }
  $text = str_replace("\n", "<br />", $text);
  $text = str_replace("\\'", "'", $text);
  $text = str_replace("\\\"", "&quot;", $text);
  return replace_badwords(stripslashes($text));
}

and replace

Code: [Select]
    }
    $text = str_replace("[hr]", "<hr>", $text);
}
  if ($html !== 2) {
      $text = nl2br(trim($text));
      $text = replace_url($text);
}
  if ($word_wrap && $text != "") {
      $text = preg_replace("/([^\n\r ?&\.\/<>\"\\-]{".$word_wrap."})/i", " \\1\n", $text);
      $text = replace_badwords($text); 
}
  $text = str_replace("\n", "<br />", $text);
  $text = str_replace("\\'", "'", $text);
  $text = str_replace("\\\"", "&quot;", $text);

  return $text;
}

Offline Flo2005

  • Full Member
  • ***
  • Posts: 237
  • Copy & Paste Profi :)
    • View Profile
    • snuup.de! - Bilder - Sounds - Videos - fun4FREE!
Re: [MOD] Dynamic Page Title for v1.7 & v1.7.1
« Reply #122 on: January 09, 2007, 06:44:13 AM »
Hey... I think you´ve got it!

But I can´t try it now :( when I upgrade to 1.7.4 I´ll do it!

THX man!

Project offline

Offline __G__

  • Sr. Member
  • ****
  • Posts: 286
    • View Profile
Re: [MOD] Dynamic Page Title for v1.7 & v1.7.1
« Reply #123 on: February 06, 2007, 01:46:31 AM »
so is it working with 1.7.4

Offline __G__

  • Sr. Member
  • ****
  • Posts: 286
    • View Profile
Re: [MOD] Dynamic Page Title for v1.7 & v1.7.1
« Reply #124 on: February 06, 2007, 02:52:58 PM »
i tryed it on my 1.7.4 its not working :(

Offline kowalski

  • Newbie
  • *
  • Posts: 17
    • View Profile
Re: [MOD] Dynamic Page Title for v1.7 & v1.7.1
« Reply #125 on: February 26, 2007, 12:11:18 AM »
This works fine for me on 1.7.4

Follow the instructions on page 1 of this thread, and stop when it says "stop for 1.7"

Many thanks for this essential mod. Might be worth including this as standard in the next version? SEO is very important these days :)

Offline __G__

  • Sr. Member
  • ****
  • Posts: 286
    • View Profile
Re: [MOD] Dynamic Page Title for v1.7 & v1.7.1
« Reply #126 on: February 26, 2007, 05:43:52 AM »
This mod works fine in 1.7.4 version
but fix this code!

with follow problems
-spam words not with name separate **** in admin control panel
-view not correct <a href= in user control panel and others

find in includes/functions.php

Code: [Select]
    }
     $text = str_replace("[hr]", "<hr>", $text);
  }
  $text = replace_url($text);
  if ($word_wrap && $text != "") {
    $text = preg_replace("/([^\n\r ?&\.\/<>\"\\-]{".$word_wrap."})/i", " \\1\n", $text);
  }
  $text = str_replace("\n", "<br />", $text);
  $text = str_replace("\\'", "'", $text);
  $text = str_replace("\\\"", "&quot;", $text);
  return replace_badwords(stripslashes($text));
}

and replace

Code: [Select]
    }
    $text = str_replace("[hr]", "<hr>", $text);
}
  if ($html !== 2) {
      $text = nl2br(trim($text));
      $text = replace_url($text);
}
  if ($word_wrap && $text != "") {
      $text = preg_replace("/([^\n\r ?&\.\/<>\"\\-]{".$word_wrap."})/i", " \\1\n", $text);
      $text = replace_badwords($text); 
}
  $text = str_replace("\n", "<br />", $text);
  $text = str_replace("\\'", "'", $text);
  $text = str_replace("\\\"", "&quot;", $text);

  return $text;
}


Bro i dont find this in my functions.php can u see my functions.php i am attaching my file wid this reply

Offline CeJay

  • Sr. Member
  • ****
  • Posts: 425
    • View Profile
Re: [MOD] Dynamic Page Title for v1.7 & v1.7.1
« Reply #127 on: February 26, 2007, 08:38:39 AM »
@ __G__

I don not think it is your file cause I do not have that code either in my functions.php

Offline __G__

  • Sr. Member
  • ****
  • Posts: 286
    • View Profile
Re: [MOD] Dynamic Page Title for v1.7 & v1.7.1
« Reply #128 on: February 26, 2007, 09:10:11 AM »
so how would it work with 1.7.4 :(

Offline Talk2Tulip

  • Newbie
  • *
  • Posts: 11
    • View Profile
    • http://www.graphichorizon.net
Re: [MOD] Dynamic Page Title for v1.7 & v1.7.1
« Reply #129 on: April 03, 2007, 07:44:58 PM »
I am also using 1.7.4 , its also not working for me on all pages except index . I could find the text in functions.php
please let us know how did you ?

Thanks
Tulip
Most Beautifull collection of WallPapers and Templates [www.graphichorizon.net]

Offline egoplawi

  • Newbie
  • *
  • Posts: 15
  • Punksy möchte die Welt erobern.
    • View Profile
    • Punksy.com
Re: [MOD] Dynamic Page Title for v1.7 & v1.7.1
« Reply #130 on: May 05, 2007, 02:15:56 PM »
Hallo!

Hier die einfachste Methode um den Titel der Seiten dynamisch zu erzeugen:

finde in templates/default/header.html

Code: [Select]
<title>{site_name}</title>
und ersetze durch

Code: [Select]
<title>{site_name} / <?php echo strip_tags($clickstream); ?></title>
Fertig.

Offline YouDie

  • Newbie
  • *
  • Posts: 16
    • View Profile
Re: [MOD] Dynamic Page Title for v1.7 & v1.7.1
« Reply #131 on: May 11, 2007, 03:54:16 PM »
All credit goes Chris. Thats what i need! THX.

note: perfectly works in 1.7.4 :)

Offline MaveriC

  • Newbie
  • *
  • Posts: 32
    • View Profile
Re: [MOD] Dynamic Page Title for v1.7 & v1.7.1
« Reply #132 on: June 12, 2007, 11:46:36 AM »
works very smoothly for me on 1.7.4!  :D

Offline Martin2006-B-2

  • Newbie
  • *
  • Posts: 10
    • View Profile
    • Berlin Fotos und Bilder - fotos-berlin24.de
Re: [MOD] Dynamic Page Title for v1.7 & v1.7.1
« Reply #133 on: June 12, 2007, 10:57:04 PM »
Mod Arbeitet PERFECT! :) Danke

nur das habe ich nicht so ganz verstanden...

This mod works fine in 1.7.4 version
but fix this code!

with follow problems
-spam words not with name separate **** in admin control panel
-view not correct <a href= in user control panel and others

find in includes/functions.php



Gruß! Martin

Berlin Fotos und Bilder - fotos-berlin24.de


Offline knsin0

  • Jr. Member
  • **
  • Posts: 76
    • View Profile
Re: [MOD] Dynamic Page Title for v1.7 & v1.7.1
« Reply #134 on: July 07, 2007, 07:14:47 PM »
working perfect on 1.7.4  :D