coppermine-gallery.com/forum

Support => cpg1.4.x Support => Older/other versions => cpg1.4 cpmFetch by vuud => Topic started by: 999Murderdoll666 on July 25, 2009, 03:53:08 PM

Title: Integration of Cpmfetch and Cutenews and/or Fanupdate?
Post by: 999Murderdoll666 on July 25, 2009, 03:53:08 PM
I've been searching for a tutorial on how to do this for days.Cpmfetch works fine on my home page,but when i put the code in a post on fanupdate,the code just shows up.

http://babylon.sqweebs.com/ (http://babylon.sqweebs.com/) that's my website,and the first post is where my problem is.
Im using the newest version of Fanupdate.
Any help will be greatly apreciated!

-Ciara
Title: Re: Integration of Cpmfetch and Cutenews and/or Fanupdate?
Post by: Nibbler on July 25, 2009, 03:56:00 PM
You need to find out how to add PHP code to Fanupdate. Can't really help you here.
Title: Re: Integration of Cpmfetch and Cutenews and/or Fanupdate?
Post by: capecodgal on July 27, 2009, 08:38:02 PM
As far as I know you can not do that within your posts with those scripts; they are not designed to take php code and output the results to be HTML

Even with wordpress I do not think this can be done without a plugin that enables you to use php in your posts. However wordpress has a nice plugin that makes adding your gallery updates a breeze; I highly doubt cutenews or fan update have these types of plugins.

The work around would be to create an outside PHP file with your cpmfetch code in it then call that page to load within your post by using an iframe or similar script.

Better solution - skip the cute news and fan update and upgrade to wordpress :)
Title: Re: Integration of Cpmfetch and Cutenews and/or Fanupdate?
Post by: capecodgal on July 27, 2009, 08:43:29 PM
BTW - the plugin for Wordpress is called COPPERMINESC

I allows you to post updates in this format:

[ cpgalbnew: 50,4 ]

(show me the newest 4 images to album 50)


Title: Re: Integration of Cpmfetch and Cutenews and/or Fanupdate?
Post by: 999Murderdoll666 on July 28, 2009, 06:43:49 AM
I'll try using a iframe in a post,and if that doesnt work then ill just switch to wordpress and use that plugin.Thank you for the help capecodgal. :]