4images Forum & Community
4images Help / Hilfe => FAQ, Tips => Topic started by: V@no on July 20, 2005, 02:59:41 AM
-
If you would like to show more new images on your 4images homepage, you will need:
Open index.php
Find:$num_new_images = $config['image_cells'];
Replace it with:$num_new_images = XX;
Where XX is the number of images.
-
Great! Thats exactly what i´ve been searching for :!:
-
Thanks for the tipp.
I set the value to 0, to deactivate the "new pics".
The border and the heading is still there ... but I found no other way to deactivate it.
-
The border and the heading is still there ... but I found no other way to deactivate it.
... delete the table-code around the {new_images}-Tag in /templates/<your_template>/home.html.
( but ... make a backup from your original home.html )
mawenzi
-
wow ... thanks for your "realtime-reply" :)
I deleted
<td class="head1">{new_images}</td>
Now, its a little bit better ... it looks like this, now:
(Neue Bilder = New images)
(http://img488.imageshack.us/img488/6962/image11fs.gif)
-
@ HaveFun,
... but i mean delete all table-code around the {new_images}-Tag ...
... example for default template ...
<table width="450" border="0" cellspacing="0" cellpadding="0">
<tr><td class="head1">
<table width="100%" border="0" cellspacing="0" cellpadding="4">
<tr><td class="head1" valign="top">{lang_new_images}</td>
</tr></table>
</td></tr>
<tr><td class="head1">{new_images}</td>
</tr></table>
mawenzi
-
great, mawenzi! Works perfectly :lol:
-
thanx my problem has been solved :)
-
If you would like to show more new images on your 4images homepage, you will need:
Open index.php
Find:$num_new_images = $config['image_cells'];
Replace it with:$num_new_images = XX;
Where XX is the number of images.
What do I do, if this don't work? If I set XX to 3 it shows 3 new pictures on the front, but if I set the number above 4 it only shows 4 pictures. How do I get it to add an extra row with more pictures?
-
below that line insert:
$config['image_cells'] = XX;
Where XX is the number of images per row.
-
8) Thanks V@n :wink:
-
OK. Everythig is fine, but what should I do if I want to show "New More Images" not only on home page, but on the others sites too? Can yuo help me to solve this problem?
-
Was really usefull, thanx mawenzi and v@no :wink:
-
Sweet! Thank you!
-
OK. Everythig is fine, but what should I do if I want to show "New More Images" not only on home page, but on the others sites too? Can yuo help me to solve this problem?
+1 Yes I need it to. In my frontpage there are 20 photos but I need next button for another recently 20 photos... I think it is not so hard but it is for me :)
Anyone can help plz?
-
Hi,
I need this for new version too... Its not workin on new version :cry:
-
yes, it does...
-
Hi,
i have a little problem when i want to display more than 3 images in a row.
The first 3 images get displayed normally, but the 4th, 5th etc. image gets "squeezed" into the table.
I cant explain it very well, so heres a link of how it looks like when i want to display 5 images in a row:
Link (http://charliefirpo.ch.funpic.de/4images/index.php)
Regards,
CharlieF.
-
@ CharlieF.
... du solltest maximal 4 Bilder po Zeile verwenden ...
... also im ACP ändern wie folgt ...
ACP -> Allgemein -> Einstellungen -> Bild Einstellungen -> Wieviele Zellen soll die Tabelle der Bilder haben -> 4
-
Ah sehr cool, danke mawenzi.
Da schämt man sich richtig wenn die Antwort dann doch so einfach is :oops:
Ich hatte sowieso vor nur 4 Bilder pro Zeile zu nehmen. Die 5 hab ich nur reingemacht, um es etwas besser zu verdeutlichen.
Nochmals danke :)
-
How I Add border for more new images?
-
If you would like to show more new images on your 4images homepage, you will need:
Open index.php
Find:$num_new_images = $config['image_cells'];
Replace it with:$num_new_images = XX;
Where XX is the number of images.
Its not working when i change the $num_new_images = $config['image_cells']; with $num_new_images = XX; following error coming
Parse error: syntax error, unexpected T_VARIABLE in /home/funny/public_html/funny_stuff/index.php on line 1
I am using 1.7.3 please help me in this matter replay me as sooooooooooon as possible!
-
error on line 1?
obviously you do something else to the file besides these changes...like uploading it in binary mod instead of ASCII or saving it in UNICODE/UTF8 encoding without using a special for PHP editor - which is wrong. who knows....
-
Fodasse, ninguem me pode ajudar a colocar a puta da borda no caralho das imagens novas? Em duas ou três linhas e 5 minutos resolviam-me o problema. Puta que vos foda.
-
This is a wonderful thing, thank you very much!
Best wishes,
Kimmy
-
hi for me up to 06 images it works as soon i do 09 it says 371 images in 35 categories.
New images
Currently there are no new images. how can i fix this
-
New images
Currently there are no new images. how can i fix this
... upload new images ... :wink:
-
there r more than 40 new images
-
... remove the modification ... and test your "New Images " ... if all is ok ...
... install this smallest modification again ... ;)
-
i did try that it does show two rows and 6 images but as soon i do 09 it doesnt show anything :(
-
try 9 and not 09!
then will it work..
-
wow nicky it works too good thanks a lot :lol:
-
Thank You, just what I have been looking for, since 4 pics were looking good under categories but was messing up tables in home page.
thanks again, looks great now.
-
okay, my problem ist i do not find
$num_new_images..... in index.php
who can help me?
-
welche version?
-
version1.7.4
ach ja , vielleicht sollte ich noch erwähnen das ich ein ziemlicher neuling bin :oops:
okay, ich denke ich habs, danke schön
-
Hallo thomaswolf ,
suche in Zeile 106,
falls du noch keine anderen Modifikationen an der index.php gemacht hast. :wink:
Gruß
Kurt
-
@Kurt
okay, ich denke ich habs, danke schön
-
@Kurt
okay, ich denke ich habs, danke schön
:oops:
-
Great!
-
:P :P :PWow Tnx >:D<
-
doesn't work.
i wanna to somethink, i like to show more random images on tte home how can i do?
-
If you would like to show more new images on your 4images homepage, you will need:
Open index.php
Find:$num_new_images = $config['image_cells'];
Replace it with:$num_new_images = XX;
Where XX is the number of images.
am thankful to this very helpful post V@no
-
If you would like to show more new images on your 4images homepage, you will need:
Open index.php
Find:$num_new_images = $config['image_cells'];
Replace it with:$num_new_images = XX;
Where XX is the number of images.
this is nice, but should be a setting in the admin panel, not a mod....
-
:?
-
This might help:
http://www.4homepages.de/forum/index.php?topic=15057.0
-
If you would like to show more new images on your 4images homepage, you will need:
Open index.php
Find:$num_new_images = $config['image_cells'];
Replace it with:$num_new_images = XX;
Where XX is the number of images.
this is nice, but should be a setting in the admin panel, not a mod....
it helps and it works..... and I am thankful to your generous help. I really am.....
I yet believe that this should be a setting in the admin panel, not a mod....
Hacking the code for so many reasons is not a good idea at all. And all hacking has to be re-done over and over at any security patch that touches upon what you changed.
-
Textarea in setting and define in constant ... is diff ? Mine is no crack ...
-
Textarea in setting and define in constant ... is diff ? Mine is no crack ...
yes dear, and if tomorrow there is patch or security release that replaces the constants.php, would I need to re-apply those changes or not? of course yes. Why?
Just tell me why ??
As long as it is easily doable to define a new var, why go to file.php and find text_string1 and replace with text_string2 and and .... ??
Why are not all of those wonderful mods such as "check new images in all categories and subcategories", "exclude certain categories from home" and "include only from this category in home" and "set how many thumbnails to appear on home" included in the core of the script?
How many users like me are hiring outside-your-team independent coders to apply mods and fix non-ascii issues with your own script?
Why do you accept that somebody else receives money for your work ????
Tell me why....
-
yes dear, and if tomorrow there is patch or security release that replaces the constants.php, would I need to re-apply those changes or not? of course yes. Why?
FTP Server security - no just 4images.
Just tell me why ??
Just did !
As long as it is easily doable to define a new var, why go to file.php and find text_string1 and replace with text_string2 and and .... ??
To count easy 1-2-3 and save SQL ressourc.
Why are not all of those wonderful mods such as "check new images in all categories and subcategories", "exclude certain categories from home" and "include only from this category in home" and "set how many thumbnails to appear on home" included in the core of the script?
No author of 4images ... can no answer that - no satis ? Send message to one of admin. They say !
How many users like me are hiring outside-your-team independent coders to apply mods and fix non-ascii issues with your own script?
Why do you accept that somebody else receives money for your work ????
Off topic - nothing do with new images !
No like ? No install it - just wait for user to post it - I proud what did from beginning !
-
and again,
PEACE please 8)
brothers:
for wishes post your wishes and suggestions here > http://www.4homepages.de/forum/index.php?board=2.0 :)
-
Thank Nicky.
-
below that line insert:$config['image_cells'] = XX;
Where XX is the number of images per row.
Not working for me. I m using 1.7.4. Pls help.
-
Not working for me.
Is say ? :roll:
-
Ya...I did all edits..but nothing happening to me. How to make it work?
-
How to make it work?
By post exact error.
-
If you would like to show more new images on your 4images homepage, you will need:
Open index.php
Find:$num_new_images = $config['image_cells'];
Replace it with:$num_new_images = XX;
Where XX is the number of images.
What can you adjust to allow the image_cells variable to be used, but adding additional rows instead of allowing it to overflow into 1 row only - in other words, use that variable, but make it wrap around to keep the theme together? At this point, 5 looks fine, but if you want 20 new image_cells, which is the setting new_images uses, it will make it one giant row, instead of making 4 rows of 5 each., Random images will then also use the same variable, if you have that mod installed, or even better yet, have a seperate setting for this MOD in the admin area all together.. Any suggestions?
-
what if i want to insert bunch of random images instead new images at home page ?