Pixelpost

Authentic Photoblog Flavour


Go Back   Pixelpost Forum > DEVELOPMENT > Addons

Post Reply
 
Thread Tools
  #11  
Old 02-26-2006, 01:18 PM
hicks0r Offline
pp regular
 
Join Date: May 2005
Posts: 38
Exclamation

Quote:
Originally Posted by GeoS
1. What version of admin_related.php do you have?

2. Did you visit addons page at first (after uploading it on server)? This installs addon in Pixelpost's DB and is necessary.
I updated to your last version v1.2, I visit first addon section, I'm using 1.5b pixelpost with simple-visions template, I just uploaed the two files to addon directory, the includes to includes and the "related_image" folder to templates folder.

No tag added anywhere in my simple-visions template.

What's wrong ?
Reply With Quote
  #12  
Old 02-26-2006, 10:31 PM
GeoS's Avatar
GeoS+ Offline
Team Pixelpost
 
Join Date: Apr 2005
Location: Warsaw, Poland
Posts: 3,613
Send a message via ICQ to GeoS Send a message via Skype™ to GeoS
Attached template shows how it work (if you add some related image to one of your pics). You can test it by setting it as you default one.

Addon's description says quite clearly that you should add <RELATED_IMG> tag to your current image_template.html to get it work.
__________________
photoblog | portfolio | addons | Donate
Reply With Quote
  #13  
Old 02-26-2006, 11:09 PM
hicks0r Offline
pp regular
 
Join Date: May 2005
Posts: 38
Quote:
Originally Posted by GeoS
Attached template shows how it work (if you add some related image to one of your pics). You can test it by setting it as you default one.

Addon's description says quite clearly that you should add <RELATED_IMG> tag to your current image_template.html to get it work.
Sorry If I didn't explain exactly, I installed the addon correctly but when I try to "ralate" some image and Update post or make new post I receive that error

rel_pic#3: You have an error in your SQL syntax near '; ' at line 1INSERT INTO pixelpost_related VALUES (2,1);

And I sended to /photoblog/admin/index.php?view=images&x=update&imageid=2

I use your last addon version and pixelpost 1.5b
Reply With Quote
  #14  
Old 02-26-2006, 11:22 PM
hicks0r Offline
pp regular
 
Join Date: May 2005
Posts: 38
Last news .... I make it works on pp 1.5b

I remove the ; at line 96 );\ , I leave )\

$query = "INSERT INTO {$pixelpost_db_prefix}related VALUES ($theid,$v);\n";

But, ... I'm having problems traying to install that addon on "1.4.3 of Pixelpost."

I receive that line:

Fatal error: Call to undefined function: add_admin_functions() in /.../public_html/addons/admin_related.php on line 58
Reply With Quote
  #15  
Old 02-27-2006, 12:45 AM
GeoS's Avatar
GeoS+ Offline
Team Pixelpost
 
Join Date: Apr 2005
Location: Warsaw, Poland
Posts: 3,613
Send a message via ICQ to GeoS Send a message via Skype™ to GeoS
This addon is only for PP 1.5 and newer. Reason of it is that it uses workspaces in admin panel which are not available at lower versions.

PS IMHO such SQL code is OK (so I dont know why your server had problems):
Quote:
INSERT INTO pixelpost_related VALUES (2,1);
__________________
photoblog | portfolio | addons | Donate
Reply With Quote
  #16  
Old 02-27-2006, 10:15 PM
GeoS's Avatar
GeoS+ Offline
Team Pixelpost
 
Join Date: Apr 2005
Location: Warsaw, Poland
Posts: 3,613
Send a message via ICQ to GeoS Send a message via Skype™ to GeoS
One more interesting update with fixed your (hicks0r) problem.
__________________
photoblog | portfolio | addons | Donate
Reply With Quote
  #17  
Old 02-28-2006, 11:05 PM
hicks0r Offline
pp regular
 
Join Date: May 2005
Posts: 38
Quote:
Originally Posted by GeoS
One more interesting update with fixed your (hicks0r) problem.
Really thanks, the addon works Ok for me, can see it on http://www.ecomam.net
Reply With Quote
  #18  
Old 04-30-2006, 12:18 AM
GeoS's Avatar
GeoS+ Offline
Team Pixelpost
 
Join Date: Apr 2005
Location: Warsaw, Poland
Posts: 3,613
Send a message via ICQ to GeoS Send a message via Skype™ to GeoS
There was an update.

Please read addon changelog (history) on forum or in addon section of pixelpost.org.
__________________
photoblog | portfolio | addons | Donate
Reply With Quote
  #19  
Old 07-14-2006, 05:21 PM
GeoS's Avatar
GeoS+ Offline
Team Pixelpost
 
Join Date: Apr 2005
Location: Warsaw, Poland
Posts: 3,613
Send a message via ICQ to GeoS Send a message via Skype™ to GeoS
UPDATE

UPDATE:

Quote:
History 27:
  • at first here it is - new method of version numbering as I'm currently using SVN in my development process
  • fixed small bugs that was making problems with showing overlib and updated to new name of workspace used at admin panel
  • new URL with live example
__________________
photoblog | portfolio | addons | Donate
Reply With Quote
  #20  
Old 11-10-2006, 01:07 PM
Marek Offline
pp veteran
 
Join Date: Oct 2006
Location: Bochum, Germany
Posts: 94
Send a message via ICQ to Marek Send a message via AIM to Marek Send a message via MSN to Marek Send a message via Yahoo to Marek Send a message via Skype™ to Marek
Is it possible to expand the list of related image in the admin panel?
I mean this one where max of five pos. are listed and the admin have to select some.

thanks.

marek
__________________
Fotoblog :: Lichtlauschen
Reply With Quote
Post Reply


Thread Tools




All times are GMT. The time now is 10:42 AM.

Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd. | Style Design: d3 designs