Member
Member
BertSimons   2009-10-25, 23:41
#1

Haven't been here a while but last week I updated my site, finally got rid of wordpress and all the dirty code I used to integrate both and I am so happy that I am now running only on ZenPhoto!!
You did so much good work!!

I wrote a basic litte script to integrate both twitter and twitpic feeds on a zenpage as you can see here: http://www.bertsimons.nl/zenphoto/index.php?p=pages&title=twits

maybe someone can use that..

the script is here:

http://www.bertsimons.nl/zenphoto/index.php?p=pages&title=zentwitter

Administrator
Administrator
acrylian   2009-10-26, 10:49
#2

Welcome back and thanks for skipping Wordpress, too...;-)

Zentwitter is welcome. But may I suggest (request...;-)) that you make a "real" Zenphoto plugin out of this? I have not looked at the code in detail but it should not be that hard to do and you could have options instead of requiring to modify files.

Member
Member
BertSimons   2009-10-26, 20:03
#3

:-) actually..I was just looking at some old post´s I did a year ago and could nor see anything but ancient hyroglyphs in which was once something I wrote and understood..
but Iĺl give it a try...reading the documentation already...

Administrator
Administrator
acrylian   2009-10-27, 10:44
#4

Great...;-)

Member
Member
micheall   2009-11-10, 11:43
#5

Well I got the zentwitter.php functioning properly but haven't managed to get it functioning as zen page. Nifty tool, hope you are able to make a proper plug-in out of it.

Administrator
Administrator
acrylian   2009-11-10, 11:55
#6

I have not tested that as I have no personal use for Twitter, but if it provides a function you should be able to use that within a Zenpage page codeblock for example (if the theme is setup to use it).

Member
Member
micheall   2009-11-10, 12:37
#7

what he's done is create a basic php page that fetches the rss feed for twitter without any styling, then calls it in a zenpage codeblock. For some reason though, it's not being called in my codeblock. the page loads, but the codeblock which calls the zentwitter.php page doesn't.

I'm using the following in my codeblock:
``

And you can see that php file in action:
http://www.michealmalone.com/zen/themes/myzenpage_visual/simplepie/zentwitter.php

Administrator
Administrator
acrylian   2009-11-10, 12:41
#8

If the page is within the theme it actually should work with out the $_zp_themeroot variable.

Member
Member
micheall   2009-11-10, 12:43
#9

yeah, I've put the pages in a subdir in the theme, hence why I'm using the variable since I only plan on using it here. Maybe I should look at creating a custom page with it instead...

Member
Member
micheall   2009-11-10, 13:23
#10

Ok, I got it working as a custom theme page for those interested:
http://www.michealmalone.com/zen/page/zentwitter

I'll see if Bert throws out a full-on plugin in the next couple of weeks and if not I'll see if I can turn it into a plugin instead of just a custom theme page.

Administrator
Administrator
acrylian   2009-11-10, 14:26
#11

Looks good and joining forces is a good idea. If you need general help post here, although it should not be that hard I think.

Member
Member
micheall   2009-11-10, 19:10
#12

Due to a bout of severe insomnia and the fact that www.bertsimons.nl seems to be non-responsive I went ahead and release a plug-in version of it.

http://www.zenphoto.org/support/topic.php?id=6445

Administrator
Administrator
acrylian   2009-11-10, 19:13
#13

Well, not everyone visits the forums that often as we do..;-) His site seems indeed to be down currently. I am sure he will respond later as he is a long time user of ZP.

Member
Member
micheall   2009-11-10, 19:14
#14

Yeah, I forget that people have lives (unlike me, lol).

Member
Member
BertSimons   2009-11-19, 10:40
#15

Already thanked Micheall in the other thread but once again here!

back from woodworking and doing some zenphoto things again and just added some code to provide a Twit This button on my image pages. Using bit.ly to keep some space for writing a message along the link.

maybe of some use..

http://www.bertsimons.nl/zenphoto/index.php?p=pages&title=Twit-this-code-for-zenphoto

  
Powered By MyBB, © 2002-2026 MyBB Group.
Made with by Curves UI.