4images Forum & Community

4images Modifications / Modifikationen => Mods & Plugins (Requests & Discussions) => Topic started by: Gwydion on November 12, 2007, 05:52:53 PM

Title: Help pls. - can't get rid of random image
Post by: Gwydion on November 12, 2007, 05:52:53 PM
I have upgraded to 1.7.4 and now I can't get rid of random image in details.html as it seems.
I changed the home.html in my template and that worked.
Did the same modification in details.html but the random image still shows up.
I renamed the random-image*.html files in templates/default and I even uploaded the modified details.html to the default folder as well.
Where does the script get the order to still show a random image from?
What am I doing wrong and/or where can I get rid of it?

And yes, I used the search but noone seemed to have this problem and the only other post with the same question is unanswered since 2005.

ETA: Found it in categories.html but now there are the links if a user is logged in (control panel, lightbox) etc. which I do not need nor want. What do I have to remove so controlpanel and logout is no longer shown? Or if logged out the login fields are not shown? Which files do I have to change?
Title: Re: Help pls. - can't get rid of random image
Post by: batu544 on November 12, 2007, 06:29:03 PM
Hi,
      I am not able to understand your question ..  What exactly you want to do ?

Title: Re: Help pls. - can't get rid of random image
Post by: Gwydion on November 12, 2007, 07:11:50 PM
I want to remove the login fields as well as related links (registration, forgot pw) in the details.html (when you go into a category or click on an image). Same goes for the links you see when you are logged in. I do not have a need for registration so these parts should not be displayed either.
I have tried to find that in the details.html file in my template (chique_black) but there does not seem to be something I can recognise.
Therefore I would need to know what code I should remove exactly and in which file.
Hope that explains it better.
Title: Re: Help pls. - can't get rid of random image
Post by: thunderstrike on November 12, 2007, 09:21:06 PM
In includes/constants.php file, is define option for random image. If 1, set to 0. ;)
Title: Re: Help pls. - can't get rid of random image
Post by: Gwydion on November 12, 2007, 10:04:40 PM
Thank you .. managed to remove the random image. Still want to remove the user cp/links/login fields on the left.
Title: Re: Help pls. - can't get rid of random image
Post by: thunderstrike on November 12, 2007, 10:26:02 PM
For remove CP link for user, is in templates/your_template/user_logininfo.html file. ;)
Title: Re: Help pls. - can't get rid of random image
Post by: Gwydion on November 12, 2007, 11:00:36 PM
Sorry, but it's not.
I disabled user_logininfo.html and user_loginform.html in mytemplate as well as in default. Login fields still appear.
I also tried removing the code in user_logininfo.html and uploaded the modified file in both folders (mytempalte and default).
No change.

I thought the left side menu is defined in the details.html but I guess I am wrong here.


Title: Re: Help pls. - can't get rid of random image
Post by: thunderstrike on November 12, 2007, 11:04:07 PM
I no see for possible ... if go to ACP - > Setting ... is correct template select ? If so, you edit in right gallery ?
Title: Re: Help pls. - can't get rid of random image
Post by: Gwydion on November 13, 2007, 03:14:32 PM
I think there was a misunderstanding .. I didn't want to remove the link to the controlpanel for a logged in user .. I wanted to remove the whole user box.
Anyway, found it .. or a way. Maybe it is not the best but it works.
In categories.html of the template I removed the code for user box and lang_registered_user (was called something like that) and now it works.