Go to main content

Textpattern CMS support forum

You are not logged in. Register | Login | Help

#76 2004-08-24 19:23:14

phil.wilson
New Member
From: Freddy Beach, NB, Canada
Registered: 2004-08-24
Posts: 2

Re: Plugin/Hack: Albumpattern

great plugin, but I am getting the ghost-articles on my homepage. I didnt think they were supposed to appear there (http://tankow.ca/) Does anybody have a solution to this or did I just do something wrong?


Thanks, Phil

Offline

#77 2004-08-24 22:13:17

ettober
New Member
Registered: 2004-08-10
Posts: 5

Re: Plugin/Hack: Albumpattern

am I the only one getting ‘ ‘Problem Inserting into database’ when uploading images?
I can’t figure out what I’m doing wrong…

Offline

#78 2004-08-24 23:07:24

greenrift
Archived Plugin Author
Registered: 2004-03-08
Posts: 186
Website

Re: Plugin/Hack: Albumpattern

> phil.wilson wrote:

> great plugin, but I am getting the ghost-articles on my homepage. I didnt think they were supposed to appear there (http://tankow.ca/) Does anybody have a solution to this or did I just do something wrong?

Make sure your Albumpattern only section has “On front page?” disabled. Otherwise that behavior will exist.

ettober:

On line #458, add ,1 just before the part that says );. After you do that, upload an image and tell me what is printed out (just email it to me, marshallp@insightbb.com , so that way nothing gets accidently messed up). Then we can start working on the problem.

Last edited by greenrift (2004-08-24 23:10:44)

Offline

#79 2004-08-25 01:19:16

phil.wilson
New Member
From: Freddy Beach, NB, Canada
Registered: 2004-08-24
Posts: 2

Re: Plugin/Hack: Albumpattern

Thanks for the info Marshall. I changed the setting and initially it didnt help. So after some digging I checked the page and found that I used the custom article tag but didnt restrict it to articles but not photos. Anyways, problem solved. Thanks to Umberto and Marshall.


Thanks, Phil

Offline

#80 2004-08-25 07:52:11

Martagnan
Member
From: Humberside - uk
Registered: 2004-06-21
Posts: 90
Website

Re: Plugin/Hack: Albumpattern

Hi Greenrift…
Sorry for badgering but… can you post an example form/page that makes AlbumPattern display like PhotoStack (thumbnail navigation).

Cheers

Offline

#81 2004-08-25 15:21:31

greenrift
Archived Plugin Author
Registered: 2004-03-08
Posts: 186
Website

Re: Plugin/Hack: Albumpattern

> Martagnan wrote:
> Sorry for badgering but… can you post an example form/page that makes AlbumPattern display like
> PhotoStack (thumbnail navigation).

Use the txp:ap_image_index tag and it will output all the thumbnail’s, wrapped in links to that particular image, in the album. If you are currently viewing an image, that particular thumbnail is not wrapped in a link.

Last edited by greenrift (2004-08-25 23:15:29)

Offline

#82 2004-08-25 23:47:13

Macubu
Member
From: Milano, Italia
Registered: 2004-04-13
Posts: 58
Website

Re: Plugin/Hack: Albumpattern

Uh?
Suddenly AP begins to behave erraticly. I had put in a txp:excerpt tag to visualize the descriptions of the albums in the album list view. The first album displayed only: “excertp_html” and nothing else. The others were perfect.
I tried changing the excerpt on the first album and that’s when the problems begun. It said: “problem updating” the album, then a picture disappeared altogether, then I just deleted the entire album, for fear of doing things worse.
Then I tried to re-create the album. It’s impossible, now. It says: problem creating album. Curiously, if I check the site with FTP, the new directory is there!

I’m sorry, I seem to be a constant cause of trouble, but does anybody know what’s going on?
I just wouldn’t like AP to screw things up in the Mysql database, and now I can’t create new albums… help!

Any help, or word of confort is appreciated.
Ciao!
macubu

Offline

#83 2004-08-26 20:21:06

Martagnan
Member
From: Humberside - uk
Registered: 2004-06-21
Posts: 90
Website

Re: Plugin/Hack: Albumpattern

Hi Greenrift,
<span style=“text-decoration: line-through”>Easy one this… hopefully! When I first installed AP I used a section called ‘about’ to test it. Since then I have created a section called ‘galleries’ and everything works great except comments. Comments are still trying to link to a section called ‘about’.

I have specified ‘galleries’ in AP admin prefs

If I manually alter the url in the address bar it does what it should… I just need to find this rougue ‘about’ reference.</span>

I fixed this by deleting the gallery I had created while the section was called ‘About’ and creating a NEW gallery AFTER I had specified my section as being called ‘Galleries’. I just then re-uploaded my images. My gallery now <em>seems</em> to work perfectly – however….

I am still using the original TXP comments.php file. I tried to replace it with your hack version but it keeled over giving me this error..

<em>Warning: savecomment(/home/mysite/public_html/textpattern/lib/): failed to open stream: Success in /home/mysite/public_html/textpattern/publish/comment.php on line 268

Warning: savecomment(): Failed opening ‘/home/mysite/public_html/textpattern/lib/’ for inclusion (include_path=’.:/usr/share/php’) in /home/mysite/public_html/textpattern/publish/comment.php on line 268

Fatal error: Cannot instantiate non-existent class: textile in /home/mysite/public_html/textpattern/publish/comment.php on line 271</em>

Everything seems to be ok with the original TXP file though???

Thanks

Last edited by Martagnan (2004-08-27 10:13:08)

Offline

#84 2004-08-30 15:23:20

Martagnan
Member
From: Humberside - uk
Registered: 2004-06-21
Posts: 90
Website

Re: Plugin/Hack: Albumpattern

Im getting article titles from elsewhere in <a href=“http://www.theoddies.com/noticeboard/”>my site</a> appearing in the page title of the <a href=“http://www.theoddies.com/galleries/4/background-images”>galleries</a>?

Last edited by Martagnan (2004-08-30 15:25:21)

Offline

#85 2004-08-30 16:02:33

greenrift
Archived Plugin Author
Registered: 2004-03-08
Posts: 186
Website

Re: Plugin/Hack: Albumpattern

> Martagnan wrote:

> Im getting article titles from elsewhere in my site
> appearing in the page title of the galleries

It’s a known bug. The reason that this is happening is because Textpattern will find the Title of the page based on the URL, and so does Albumpattern. I’m trying to figure out a solution to it that doesn’t involve hacking up the TXP code, I have a few ideas that I’m going to work through before the next release. Oh, the comments problems you’ve been having are understandable. I should have modified the original g1.19 comments.php file instead of my slightly hacked version (which I thought I had done, but I didn’t). I will post up a quick update later tonight, and you’ll just need to replace the comments.php file.

Macubu: Email me with as much information you can provide about whats going on, assuming that the problems still exist.

Offline

#86 2004-08-30 22:15:09

stevechamp
Member
Registered: 2004-08-13
Posts: 12

Re: Plugin/Hack: Albumpattern

thanks for another great plugin greenrift!!

I’m currently using your auto thumb hack, combined with the Gallery plugin (Max Ziebell), and I was wondering if it would be possible to intergrate this into albumpattern.

I see you have been thinking about thumbnail navigation, and I thought I’d recommend this javascript solution.

have you had any more thoughts on this?

Last edited by stevechamp (2004-08-30 22:16:12)

Offline

#87 2004-09-01 08:38:24

Martagnan
Member
From: Humberside - uk
Registered: 2004-06-21
Posts: 90
Website

Re: Plugin/Hack: Albumpattern

How does AP use TXPs categories?

I am trying to use Manfre’s Random image plugin ‘mem_randimg’. I have 2 image categories on my site, <em>Noticeboard</em> and <em>Gallery</em> – all my AP gallery pictures are (supposedly) in the <em>Gallery</em> category. If I tell the plugin to choose from <em>Noticeboard</em> there are no problems… If I tell it to choose from <em>Gallery</em> then nothing – no pictures?

If I then go into the main TXP <strong>image</strong> tab and change the category of an image to <em>gallery</em> the pictures show up – no problem? So assigning an image to a category in AP means nothing – TXP doesnt recognise that AP images have been assigned to a TXP category?

Offline

#88 2004-09-01 15:54:28

greenrift
Archived Plugin Author
Registered: 2004-03-08
Posts: 186
Website

Re: Plugin/Hack: Albumpattern

> Martagnan wrote:

> How does AP use TXPs categories?

I am trying to use Manfre’s Random image plugin ‘mem_randimg’. I have 2 image categories on my site, <em>Noticeboard</em> and <em>Gallery</em> – all my AP gallery pictures are (supposedly) in the <em>Gallery</em> category. If I tell the plugin to choose from <em>Noticeboard</em> there are no problems… If I tell it to choose from <em>Gallery</em> then nothing – no pictures?

If I then go into the main TXP <strong>image</strong> tab and change the category of an image to <em>gallery</em> the pictures show up – no problem? So assigning an image to a category in AP means nothing – TXP doesnt recognise that AP images have been assigned to a TXP category?

The categories are similiar to the article categories, not the image one’s. I just choose to use the “image categories” because it seemed to make more sense.

All of the albumpattern images are stored as TXP article’s not TXP images, which is why they won’t show up in the “image” tab and plugin’s that use the TXP images (such as the one mentioned above) won’t work with Albumpattern (although it shouldn’t be a massive rewrite to get them to work).

Offline

#89 2004-09-01 15:56:54

Martagnan
Member
From: Humberside - uk
Registered: 2004-06-21
Posts: 90
Website

Re: Plugin/Hack: Albumpattern

thanks for the reply Greenrift!

Offline

#90 2004-09-02 05:23:36

Roughy
New Member
From: Melbourne
Registered: 2004-07-05
Posts: 7

Re: Plugin/Hack: Albumpattern

I seem to have stuffed up the AP install.

Everything seems OK. I see the album tab in content. I’ve set up a section called album which uses the album page which has the correct tags in it (I think).

Trouble is I get nothing when I view the album page. When I view source all I get is this.

<code>
<?php include “./textpattern/config.php”; $s = “album”; include $txpcfg[“txpath”].”/publish.php”; textpattern();
?>
</code>

I’ve obviously missed something but I went over the install again and can’t work out what it is. Any advice?

Offline

Board footer

Powered by FluxBB