Dec 04, 2008, 12:44 AM *
Welcome, Guest. Please login or register.
Did you miss your activation email?

Login with username, password and session length
Search via SMF or Google: modx forums all of modxcms.com web
  MODxCMS.com   Forums   Help Login Register  
Pages: [1]   Go Down
  Print  
Author Topic: [Snippet]Trackback 0.5 available  (Read 12106 times)
0 Members and 1 Guest are viewing this topic.
florian.l
Jr. Member
*
Posts: 26



WWW
« on: Aug 15, 2006, 09:30 AM »

Is there something in developement regarding Trackbacks already?
I'd love to have some/seed some in my MODx blog.
If no one developes a snippet/plugin/whatever I'll try to have a look at it.

Anyone interested in colaboration?

! ! ! VERSION 0.5 AVAILABLE FOR TESTING PURPOSE ! ! !
See the enclosed readme.txt for info on how to install and use.


Feedback welcome.

* trackback_v05.zip (10.34 KB - downloaded 309 times.)
« Last Edit: Aug 21, 2006, 04:22 AM by florian.l » Logged
OpenGeek
MODx Co-Founder
Foundation
*
Posts: 5,054


looking a little more like my avatar again...


WWW
« Reply #1 on: Aug 15, 2006, 10:05 AM »

Is there something in developement regarding Trackbacks already?
I'd love to have some/seed some in my MODx blog.
If no one developes a snippet/plugin/whatever I'll try to have a look at it.

Anyone interested in colaboration?

Though nothing specifically with trackbacks yet, there is effort under way to the core which will make it much easier to create any kind of web or ajax service within MODx.  But if you are interested in getting a trackback component or two up and running with the current MODx, the work, though it might need to be refactored once the new architecture is available, would still be invaluable to the efforts and I'm always interested in collaboration on important components such as this.
 Cheesy
Cheers
Logged

Jason Coward
MODx Co-Founder
xPDO Founder
Principal @ Collabpad
work productively.
work intelligently.
work together.
The spirit of a warrior is not geared to indulging and complaining, nor is it geared to winning or losing. The spirit of the warrior is geared only to struggle, and every struggle is a warrior's last battle on earth. Thus the outcome matters very little to him. In his last battle on earth a warrior lets his spirit flow free and clear. And as he wages his battle, knowing that his intent is impeccable, a warrior laughs and laughs.
  — don Juan Matus
florian.l
Jr. Member
*
Posts: 26



WWW
« Reply #2 on: Aug 16, 2006, 03:30 AM »

Ok, things start working  Cheesy
So far I managed to save trackbac infos from another Blog (e.g. Wordpress) into a MySQL-Table. From there it should be easy to get this content on the specific MODx site.

Things I hardly work on now:
- Create a TV that sends a TrackBackPing to another blog.
- get as much bubblegum in my mouth as possible
Logged
florian.l
Jr. Member
*
Posts: 26



WWW
« Reply #3 on: Aug 16, 2006, 06:43 AM »

I love MODx!!!!

Got that thing wokrin' baby. The snippet is used very easy. At the moment I'm trying to ping other blogs. The function works fine but I need to implement that into MODx document creation.

- Save trackback info from another blog in database: CHECK
- Show trackbacks on document: CHECK
- Use your own Chunk for displaying the trackbacks: CHECK
- Ping other blogs to leave trackbacks: PENDING (must find a way to do it) I think this works with a TV. Can someone give me a hint.
Logged
davidm
Marketing & Design Team
*
Posts: 6,777


The best way to predict the future is to invent it


WWW
« Reply #4 on: Aug 16, 2006, 09:56 AM »

Can't point you in the right direction or help with the code there, but trackbacks for MODx, that's cool news for MODx bloggers, florian Grin
Keep up the great work !
Logged

.: nodeo.net : Pour un web libre, moderne et ouvert ! :: david-molliere.net : Suivez en "live" mes expérimentations et billets sur les CMS et autres applications web :.

*** Forums modxcms.fr Participez à l'élaboration du site MODx francophone ! ***

! Nouveau !  En live, ne manquez pas les news de modxcms.fr sur Twitter   ! Nouveau !

MODx est l'outil idéal pour les developpeurs et webdesigners qui cherchent un framework de gestion de contenu hautement flexible et performant, tout en étant simple d'accès pour les utilisateurs finaux.

Config : Apache 2.2.8 - MySQL 5.0.45 - PHP 5.2.6 | Debian 4.0 (Etch)

Réalisations sous MODx : | pargade-notaires.fr | soleil.info | gican.asso.fr | michelez-notaires.com | amadom.gerondicap.com | jocelyne-violet.net
florian.l
Jr. Member
*
Posts: 26



WWW
« Reply #5 on: Aug 16, 2006, 11:01 AM »

Ok, ok

I think I can archive this feature (sending a ping) via TVs and a PlugIn (with OnDocumentFormSave).
But it keeps giving me an error: parse error, unexpected T_INCLUDE

Any Idea about that error message? If so I may release an alpha soon.
THX, Flo
Logged
PaulGregory
MODx's midnight runner
Committed to MODx
*****
Posts: 1,095

MODx's midnight runner


WWW
« Reply #6 on: Aug 16, 2006, 11:10 AM »

Basically the parser's hitting an include when it expected something else.
9 times out of ten an "unexpected T_WHATEVER" means a missing ; or similar in the previous line.
Logged

No, I don't know what OpenGeek's saying half the time either.
MODx Documentation: The Wiki | My Wiki contributions | Main MODx Documentation
Forum: Where to post threads about add-ons | Forum Rules
Like MODx? donate (and/or share your resources)
Like me? See my Amazon wishlist
MODx "Most Promising CMS" - so appropriate!
florian.l
Jr. Member
*
Posts: 26



WWW
« Reply #7 on: Aug 16, 2006, 01:09 PM »

Resolved!

Seems the problem related to bad inclusion.
I checked almost 50 methods (really!) to "include" the trackback class and finally made it.

For others facing that problem:
If you write a plugin and try to include a file, do it this way:
include $this->config["base_path"]."path/to/file/include_me.php";

Nothing else seems to work fine (beside from writing the whole code of the inclusion file down Smiley )

By the way: TrackBack is working very well.
« Last Edit: Aug 21, 2006, 04:20 AM by florian.l » Logged
florian.l
Jr. Member
*
Posts: 26



WWW
« Reply #8 on: Aug 21, 2006, 04:21 AM »

Beta 0.5 available. See first post for download.
Logged
almays
Jr. Member
*
Posts: 48



WWW
« Reply #9 on: Jan 03, 2007, 01:45 AM »

Hello!

As far as I get if I want to receive trackbacks I have to create '/trackback' page under every post that will accept trackbacks. Or can I have only one trackback-receiver page for all documents? If it is possible then how can I pass the commented document id to the single trackback page?

And how can the trackbacks flow be mixed up with Jot comments in a sort by date?
Logged
Leftblank
Sr. Member
****
Posts: 253


Not as empty-brained as you'd think.


WWW
« Reply #10 on: Jan 31, 2007, 10:08 AM »

The following error shows up on my /trackback page, do you have a clue what might be cuasing it florian?
Code:
Fatal error: Cannot redeclare class trackback in /chroot/home/leftblan/html/assets/snippets/trackback/trackback_cls.php on line 28
Logged

Xsss4hell
Full Member
***
Posts: 140


Believe or not I'm member #6666 =(


« Reply #11 on: Jan 31, 2007, 11:08 AM »

ouh yeazz exactly whuuta need!

thX dude!
Logged
florian.l
Jr. Member
*
Posts: 26



WWW
« Reply #12 on: Jan 31, 2007, 12:02 PM »

Hi,

I have been off for a while, sorry.
I'm expecting some jobs, which I'd like to be managed by modx, so I will work myself back into the system.

I just think about rebuilding the code and optimizing it for modx.
At the moment it uses an external library (php trackback class) which is not well formed at all.

I'll keep you up with info.
Logged
Leftblank
Sr. Member
****
Posts: 253


Not as empty-brained as you'd think.


WWW
« Reply #13 on: Jan 31, 2007, 12:44 PM »

Hi,

I have been off for a while, sorry.
I'm expecting some jobs, which I'd like to be managed by modx, so I will work myself back into the system.

I just think about rebuilding the code and optimizing it for modx.
At the moment it uses an external library (php trackback class) which is not well formed at all.

I'll keep you up with info.
Thanks a lot, can't wait to see an update Wink
Logged

wiremuse
Jr. Member
*
Posts: 11


« Reply #14 on: Nov 22, 2007, 01:24 AM »

Is this or anything like it still being worked on for TrackBack support?
Logged
Pages: [1]   Go Up
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP

Copyright © 2005-2008 MODxCMS, All rights reserved. Contact Us
Styles by ziworks.com

Powered by SMF 1.1.4 | SMF © 2005, Simple Machines LLC

Valid XHTML 1.0! Valid CSS!