|
#1
|
|||
|
|||
|
I need help with php
I have discovered PixelPost only few weeks ago and I think that it is a wonderfull application. I am putting the final touch of my near futur photoblog. I have been able to change and translate (in french) the templates quite easely . . well almost. Except for this.
When I am posting myself a comment, to answer a question asked by a visitor for example, It would be great if my own comment could be posted in a different color or format (different background color via a CSS ID). That way it will be easier to "spot" my answers in the comments list. I am not very good with php and I am a bit afraid to spoil the code of the index.php. I did find out the place where this condition could be added and I think that the variable to use is "name". Is anyone ever done this kind of modification before ? I would appreciate an help. (Hope my writing is not that bad) Thx. Jean Pierre Dagenais |
|
#2
|
||||
|
||||
|
If you can wait a little bit, I know of someone who is working on this feature.
__________________
Pixelpost Documentation | Visual Pixels | My Addons | Transition Bottlerocket Fund |
|
#3
|
||||
|
||||
|
In my blog my own name shows up in a different color when answering to a comment. I did a little hack in line 76 of functions.php for that.
original line: PHP Code:
PHP Code:
When commenting you have to use the email adress you use in admin panel of pp and you have to submit an URL to get it work dwilkinsjr, I am eager to see your solution in front end code! LG KArin Last edited by GeoS; 01-20-2007 at 01:55 PM. Reason: Please use PHP tag for PHP code |
|
#4
|
||||
|
||||
|
Quote:
It can be easily done, provided you use your admin-mail when leaving a comment: Open functions.php in your includes folder: look for: PHP Code:
PHP Code:
__________________
My photoblog, powered by PixelPost 1.9 dev SVN | My Pixelpost Addons | My Cool Photoblog profile
|
|
#5
|
||||
|
||||
|
Quote:
![]() Quote:
__________________
Pixelpost Documentation | Visual Pixels | My Addons | Transition Bottlerocket Fund |
|
#6
|
|||
|
|||
|
RE; php Help
Thank to all of you.
I think that the solution from Austriaka is simple, for me. I will try it as soon as I can and then, I will be able to launch my blog. In the mean time I have a Web site at www.imagiazone.com Thx again. Jean Pierre |
|
#7
|
||||
|
||||
|
I personally want to see this sort of reply to post option built into pixelpost...
__________________
i should say more clever stuff |
|
#8
|
||||
|
||||
|
Quote:
We can add it to 1.7 or higher.
__________________
My photoblog, powered by PixelPost 1.9 dev SVN | My Pixelpost Addons | My Cool Photoblog profile
|
|
#9
|
||||
|
||||
|
Quote:
Care to give me some pointers? Thanks, Chris
__________________
The Last Rewind |
|
#10
|
||||
|
||||
|
Yup, .admin_comment or li.admin_comment should work and try a hard refresh (CTRL-F5) to clear your cache.
__________________
My photoblog, powered by PixelPost 1.9 dev SVN | My Pixelpost Addons | My Cool Photoblog profile
|
| Post Reply |
| Thread Tools | |
|
|