Pixelpost

Authentic Photoblog Flavour


Go Back   Pixelpost Forum > DEVELOPMENT > Hacks and Modifications

Post Reply
 
Thread Tools
  #11  
Old 10-30-2005, 08:09 PM
empiryk's Avatar
empiryk Offline
forum loafer
 
Join Date: Sep 2005
Location: Poland/Cracow
Posts: 15
Quote:
Originally Posted by jaywilliams
So look at your templates and the source code for pixel post, and modify the links
Hmm... I am newbe in Pixel then, tell me which parts of templates/source code should be modified? (flies / nr of lines)
__________________
[ I apologize for my poor english ]
(head)log http://born66.net
Reply With Quote
  #12  
Old 10-30-2005, 08: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
W /index.php w poszczegolnych linijkach masz:
- ~179 $image_permalink
- ~187 $image_previous_link
- ~204 $image_next_link

Generalnie linki sa w tych okolicach.
__________________
photoblog | portfolio | addons | Donate
Reply With Quote
  #13  
Old 10-30-2005, 08:37 PM
empiryk's Avatar
empiryk Offline
forum loafer
 
Join Date: Sep 2005
Location: Poland/Cracow
Posts: 15
Quote:
Originally Posted by GeoS
W /index.php w poszczegolnych linijkach masz:
- ~179 $image_permalink
- ~187 $image_previous_link
- ~204 $image_next_link

Generalnie linki sa w tych okolicach.
Thx, I will take a look into sources tommorow
[Polish]Dziękuję - sprawdzę jutro[/Polish]
__________________
[ I apologize for my poor english ]
(head)log http://born66.net
Reply With Quote
  #14  
Old 11-18-2005, 01:43 PM
Errrwin's Avatar
Errrwin Offline
pp regular
 
Join Date: Nov 2005
Location: Rotterdam
Posts: 39
Thumbs up

I got it to work using another thread I found using good old Google, but I am wondering if it would be possible to use the title of an image instead of the number in the url?

So

http://vollemaan.net/Sachsenhausen

instead of

http://vollemaan.net/14
Reply With Quote
  #15  
Old 11-18-2005, 02:13 PM
jaywilliams's Avatar
jaywilliams+ Offline
Team Pixelpost
 
Join Date: Sep 2005
Posts: 1,003
Send a message via AIM to jaywilliams Send a message via MSN to jaywilliams Send a message via Yahoo to jaywilliams Send a message via Skype™ to jaywilliams
Exclamation

Quote:
Originally Posted by Errrwin
I got it to work using another thread I found using good old Google, but I am wondering if it would be possible to use the title of an image instead of the number in the url?

So

http://vollemaan.net/Sachsenhausen

instead of

http://vollemaan.net/14
In theory, yes.
But it would take some modding to the index.php file, and probably the admin.php file as well.

Not an easy task.

You would probably need to make a new row in the database for the url "name" and have the admin.php file put some info in it. And you would need to change the way index.php does links... it works off and ID row, you would need to change it to your url "name" row instead.

EDIT:
This is now possible. I created an addon for Pixelpost that will do this.
Go to http://forum.pixelpost.org/showthread.php?t=4915 for more information.
__________________
Jay Williams | A Different View

Last edited by jaywilliams; 08-21-2006 at 06:18 PM.
Reply With Quote
  #16  
Old 11-18-2005, 02:23 PM
blinking8s's Avatar
blinking8s+ Offline
über loafer
 
Join Date: Oct 2004
Location: Bowling Green, Ky
Posts: 3,428
Send a message via ICQ to blinking8s Send a message via AIM to blinking8s Send a message via MSN to blinking8s Send a message via Skype™ to blinking8s
similar to what jay said, it requires a database input that struos te spaces from the title ect, just like it does with wordpress, and some servers it doesnt work at all with.
__________________
i should say more clever stuff
Reply With Quote
  #17  
Old 11-22-2005, 12:28 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
It doesnt need DB all the time. It only needs to add line for mod_rewrite with this string redirection.

I think that it can be nice addon
__________________
photoblog | portfolio | addons | Donate
Reply With Quote
  #18  
Old 11-25-2005, 10:30 AM
Sergio de la Torre Offline
pp veteran
 
Join Date: Oct 2005
Posts: 58
I have a beautyful 500 server error
__________________
Reply With Quote
  #19  
Old 11-28-2005, 12:07 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
Do you have mod_rewrite at your hosting place?
__________________
photoblog | portfolio | addons | Donate
Reply With Quote
  #20  
Old 11-28-2005, 02:28 PM
jaywilliams's Avatar
jaywilliams+ Offline
Team Pixelpost
 
Join Date: Sep 2005
Posts: 1,003
Send a message via AIM to jaywilliams Send a message via MSN to jaywilliams Send a message via Yahoo to jaywilliams Send a message via Skype™ to jaywilliams
That is a good point...

To do this it requires the Apache web server with the Mod_Rewrite module installed. But the good thing is, this is a fairly common module.
__________________
Jay Williams | A Different View
Reply With Quote
Post Reply


Thread Tools




All times are GMT. The time now is 10:09 PM.

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