Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Topics - police22

Pages: [1]
1
Mods & Plugins (Requests & Discussions) / MOD REQ: Category Info
« on: May 01, 2005, 08:06:45 PM »
First V@no if this is the wront forum, sorry..

What i am wanting to do it like on v@no's website. When you click on categories it shows a section with category info on it.
i have tried to implement this by reading other post about adding new templates and yada yada, But none of them seemed to work.. i did get the new template in and it works but the commands or code dont. Like {cat_name} just shows a random category.. why i cant figure out. others like
{cat_hits}, {cat_description}, and among others. i want to also try to do the new images in cat and total images in that category.

(Copied and Pasted from other topic i posted in. )

I tried editing the categories.html and also made a template but cant get all the {stuff_here} to work. i figured out how to add a new template but stuff like the Total Images for the cat or new images etc.. wont show up.. i have spent the past few hours searching and editing that i just dont know where to go now.. could you please tell me how you did it and also simular to your images info: also.

Oh.. and why does when i do the {cat_name} it shows a different category that its currently showing.

I am trying, really i am..

____________

Below is what is shown on V@no's site.

any help or point to the right direction will be appreciated.  :wink:


2
Discussion & Troubleshooting / IF/IFNO help ENDIF/ENDIFNO
« on: April 26, 2005, 05:50:55 PM »
Ok, What I am trying to do is in my header I have photo of the day, and random image.
When you click on a category there still there.. Well what I would like to happen is, when you click on a category something else shows up in that spot.
I have tried the IF/IFNO lines.. like below

Code: [Select]
{if category}
Show Something here
{endif category}
{ifno category}
{potd}
{random_image}
{endifno category}
Nothing happens..  :cry: Is this wrong :?: what can I do to make this acomplishment? :wink:

3
I was updating the website and everything was going good.. i was in the middle of adding pics with the check new images mod and got about half way through and picture started coming up with an X. Looked on server and the PHP Interperter is crashing. looked in Apache log and found some errors that have never happened before.. I have not edited nothing in between.. just all of sudden these errors..  i did do a search for Premature, script errors and found 0.  oh and it only happens when i try to add pics using that check new images.. the page itself seems to work fine.. i did look in checkimages.php.. but im just a novice. all looked fine..
I run other php sites and there working fine also..  the error is listed below..

[Wed Apr 20 17:41:17 2005] [error] [client Blah.Blah.Blah.Blah] Premature end of script headers: php.exe, referer: http://Blah.Blah.Blah.Blah/dartezpix/admin/checkimages.php
[Wed Apr 20 17:41:42 2005] [error] [client Blah.Blah.Blah.Blah] Premature end of script headers: php.exe, referer: http://Blah.Blah.Blah.Blah/dartezpix/admin/checkimages.php
[Wed Apr 20 17:42:40 2005] [error] [client Blah.Blah.Blah.Blah] Premature end of script headers: php.exe, referer: http://Blah.Blah.Blah.Blah/dartezpix/admin/checkimages.php
[Wed Apr 20 17:45:29 2005] [error] [client Blah.Blah.Blah.Blah] Premature end of script headers: php.exe, referer: http://Blah.Blah.Blah.Blah/dartezpix/admin/checkimages.php
its not giving an error line. i know or from what v@no told me before or i read somewhere that a space at the end ?> will cause.. but looks good.. any ideas.. if you want me to post the checkimages.php let me know

P.S. the last time i updated checkimages.php was ack in december and all was fine till now..

Thanks,
Dartez

Pages: [1]