sitemap  |  contact

Sakic.Net Forum
11 October 2008, 13:23 *
Welcome, Guest. Please login or register.
Did you miss your activation email?
Login with username, password and session length
News: Save money on product bundles: http://www.sakic.net/support/order/
 
   Home   Help Search Login Register  
Pages: 1 [2]
  Print  
Author Topic: MyBlog and Nice Talk from Azrul.com  (Read 9809 times)
Saka
Administrator
Hero Member
*****
Posts: 1,233


View Profile WWW
« Reply #15 on: 04 October 2007, 17:15 »

Done!
Thank you.
Logged

Netthandel
Newbie
*
Posts: 8


View Profile
« Reply #16 on: 14 October 2007, 07:09 »

I've tried the sef_ext, but got some issues I an't seem to fix.

  • My existing blog posts were not able to be shown
  • My "Post a new blog post" link linked to /myblog.html and NOT the posting window
Here's the error message:
Quote
Cannot find the entry.The user has either change the permanent link or the content has not been published.

Tried also the "fix permalinks" in the MyBlog admin area with no result.

I hope for an extention, because this will solve my
Logged
king.lui
Newbie
*
Posts: 1


View Profile
« Reply #17 on: 15 October 2007, 16:27 »

Many use MyBlog with JomComment. Now, however, the trackback URL are not nice. Is there there a solution? Is there a ext. for JomComment?
Logged
GabyZ
Jr. Member
**
Posts: 54


View Profile
« Reply #18 on: 01 November 2007, 18:34 »

My Nickname is "Jan"

Danke für Deine schnelle Reaktion nabil. Sorry, ich mache mal an dieser Stelle mit meiner Muttersprache weiter, da mein Englisch sehr schlecht ist. Ich habe gestern bereits mit dem Schreiben eines Addons angefangen. Hier schonmal die Zeilen die Fertig sind:

Code:
<?

defined( '_VALID_MOS' ) or die( 'Restricted access' );
class sef_myblog {
//Umwandeln der Urls

function create ($string) {
global $database, $whereurl;

//Umschreiben der Urls in /myblog/search/ bzw. /myblog/rss/ (usw)

               if (eregi('&amp;task=search',$string) ||
eregi('&amp;task=categories',$string) ||
eregi('&amp;task=rss',$string)) {
$temp = explode("&amp;task=", $string);
$temp = explode("&", $temp[1]);
$sefstring .= $temp[0]."/";

}

//Umwandeln der Blogtitel in /myblog/welcome-to-my-blog/ oder /myblog/permalink/

               else if (eregi('&amp;show=',$string)){
$temp = explode("&amp;show=", $string);
$temp = explode("&", $temp[1]);
$sefstring .= $temp[0]."/"; }

//Umwandeln der Tags in /myblog/tag/mytagwort/

             else if (eregi('&amp;category=',$string)){
$temp = explode("&amp;category=", $string);
$temp = explode("&", $temp[1]);
$sefstring .= "tag/".$temp[0]."/"; }
}

return $sefstring;

}

function revert ($url_array, $pos) {
// Ausgabe der Originalen

$QUERY_STRING = "";


if (isset($url_array[$pos+2])&& $url_array[$pos+2]!='') {
if ($url_array[$pos+2]   == "search" ||
        $url_array[$pos+2]    == "categories" ||
        $url_array[$pos+2]    == "rss"){
$task = $url_array[$pos+2];
$_GET['task'] = $_REQUEST['task'] = $task;
$QUERY_STRING .= "&task=$task";
} else {


$show = $url_array[$pos+2];
$_GET['show'] = $_REQUEST['show'] = $show;
$QUERY_STRING .= "&show=$show";
}
}

return $QUERY_STRING;
}
}
?>

Leider habe ich noch keine Idee wie ich diese Url wieder zurücksetzen kann: Von /myblog/tag/mytagword/ in index.php?option=com_myblog&category=mytagword.

Achtung! Dieses Addon ist natürlich nicht fertig und sollte nur zu Testzwecken eingesetzt werden.

Ich hoffe diese Zeilen helfen weiter. Wie man erkennen kann fehlen noch die Parameter: archive und blogger.

Das Problem ist, das diese Parameter immer an zweiter Stelle kommen.
Zudem fehlen noch die Parameter für die Seitenzahlen, die aber kein Problem darstellen, da diese an dritter Stelle kommen.

Hier noch der Link um meine Wort zu übersetzen:
http://translate.google.com/translate?u=http%3A%2F%2Fwww.sakic.net%2Fforum%2Fsef_advance%2Fmyblog_and_nice_talk_from_azrulcom-t317.0.html&langpair=de%7Cen&hl=de&ie=UTF-8&oe=UTF-8&prev=%2Flanguage_tools

Tried to put the code into a sef_ext.php file but it doesn't work.
Logged

GabyZ
Jr. Member
**
Posts: 54


View Profile
« Reply #19 on: 01 November 2007, 21:36 »

I didn't saw the attached file, now everything works! ThankS  Grin

Another thing...

My urls end in .html/, how can i remove the .html suffix?
« Last Edit: 01 November 2007, 21:54 by GabyZ » Logged

mrmckeen
Newbie
*
Posts: 21


View Profile
« Reply #20 on: 15 November 2007, 18:24 »

I tried this (would really love to have it) but the links to display all the bloggers nolonger work.  When sef_ext.php (the attached file) is used instead of displaying all the bloggers on a page it just displays a list of all the blogs.

thanks!
Logged
Zappu
Newbie
*
Posts: 5


View Profile
« Reply #21 on: 29 July 2008, 14:14 »

I am sorry, but your ext. works only, if you do not use suffix (.html) parameter. If you like to use for e.g. www.yourdom.com/MyBlog/entry.html it will not work
Logged
treoguy
Newbie
*
Posts: 2


View Profile
« Reply #22 on: 15 August 2008, 16:15 »

I'm in the process of transitioning my site to a blog format and I'm testing myblog. Overall, I love the admin features and the ability for multiple bloggers to have limited Joomla access. My main issue with myblog are the URL's and it would seem SEF Advance compatibility should fix this.

For example, new posts on my site follow this URL format:

www.mysite.com/myblog/This-Is-How-A-New-Post-Looks.html

Ideally, the URL needs to look like this...

www.mysite.com/2008/8/15/this-is-how-a-new-post-looks/

Right now, I have HOME pointing to the component myblog. I'm able to get myblog content on the frontpage, however clicking home pushes me to www.mysite.com/myblog when it should push me to www.mysite.com/

Any help would be greatly appreciated. I have about 8-10 sites that I expect to roll out blogs in the coming weeks, but need to get the URL's figured out before this happens.



Logged
Pages: 1 [2]
  Print  
 
Jump to: