|
#11
|
|||
|
|||
|
Hi Jay,
I have one question before I installe your postslug addon in the readme you write: To load a image via a Post Slug, you can use the following link: index.php?photoslug=post-slug-title but... can I still access the images via the original image ID both for images previously uploaded and uploaded af the installed addon. I dont want to loose references and link
|
|
#12
|
||||
|
||||
|
I can't seem to get this addon to patch the index.php file like it's supposed to. When I run the install, it says that it's INSTALLING DATABASE and INSTALLING FILE PATCH, but no changes get made to the index.php file. When I reload the addons page, it tells me the Database is Ok, but the patch is not installed. I have tried this multiple times and ensured my index.php was writeable, but can't seem to get it patched.
Since this is beta, you may want to consider putting some error handling in the addon, so we can get an idea of where the patch is failing.
__________________
My Photoblog If you find my help useful please consider feeding the PixelPost Kitty If you're short on cash just feed my ego |
|
#13
|
||||
|
||||
|
Quote:
Once you have uploaded that addon to Pixelpost, make sure you press the "Install Post Slug" button located on the addons page. Then once it says: Quote:
You can then go into each image individually, to specify a post slug for that image, or if you want to do it the quick way, you can click on the link "Auto Generate Post Slug". This will create a post slug for each image based off the image title. Then it's just a matter of modifying your template to use Post slugs instead of image IDs for a reference. But remember, this step is optional, and the image IDs will still work.
__________________
Jay Williams | A Different View |
|
#14
|
||||
|
||||
|
Quote:
So, I have compiled two alternative methods to patch the index.php file. You can download it from here: http://members.atlantic.net/~john195...beta_PATCH.zip Basically, the easiest way to get it up and running is to upload the included pre-patched index.php file. And the alternate way is to manually copy-paste the changed lines of code to edit the index.php file. I hope one of the two methods work out for you. :-) Let me know if you experience any other issues, as you stated, this is beta, and I DO want to work out any bugs that people encounter.
__________________
Jay Williams | A Different View |
|
#15
|
||||
|
||||
|
When I checked the addon code to see that there was a lot of find and replace in there, I suspected you might have a copy of the modified index.php. I will try that this weekend and let you know if it works.
Thanks.
__________________
My Photoblog If you find my help useful please consider feeding the PixelPost Kitty If you're short on cash just feed my ego |
|
#16
|
||||
|
||||
|
Post Slug Patch: NOT INSTALLED
Post Slug Database: OK error on line 541 more i don't Know. When post slug work google_sitemap - version 1.0 built sitemap with Post Slug url thx bye |
|
#17
|
||||
|
||||
|
Quote:
That should fix the problem. You can get it here: admin_PostSlug_1_beta_PATCH.zip If you need any other help, feel free to contact me.
__________________
Jay Williams | A Different View |
|
#18
|
||||
|
||||
|
Thxs for quick response.
patch installed an addons work fine. add <IMAGE_NEXT_LINK_SLUG> in image_template.php and the url of the page is: .../fotoblog/index.php?photoslug=liberty intead of: /fotoblog/liberty where is my mestake?
|
|
#19
|
||||
|
||||
|
Guiseppe,
You need to add a .htaccess file with rewrite rules in them. The url .../fotoblog/liberty will have to be rewritten to .../fotoblog/index.php?photoslug=liberty Quote:
|
|
#20
|
||||
|
||||
|
I try, but don't work.
this is all i tried: RewriteEngine On RewriteRule ^/home//fotoblog/(.*)$ index.php?photoslug=$1 RewriteEngine On RewriteRule ^/fotoblog/(.*)$ index.php?photoslug=$1 RewriteEngine On RewriteRule ^home//fotoblog/(.*)$ index.php?photoslug=$1 RewriteEngine On RewriteRule ^fotoblog/(.*)$ index.php?photoslug=$1 .htaccess in the root of my space the server: PHP-version 4.4.1 (Requisiti minimi di Pixelpost: versione PHP: 4.3.0 ) Session save path /tmp MySQL version 5.0.24-standard-log (Requisiti minimi di Pixelpost: MySQL: 3.23.58 ) GD-lib bundled (2.0.28 compatible) con supporto JPEG Gli Upload al sito Pixelpost sono possible. Server Software Apache/2.0 Thanks schonhose & jaywilliams |
| Post Reply |
| Thread Tools | |
|
|