• [Mod] Random image / Zufallsbild 5 0 5 1
Currently:  

Author Topic: [Mod] Random image / Zufallsbild  (Read 868985 times)

0 Members and 2 Guests are viewing this topic.

Offline thunderstrike

  • 4images Guru
  • *******
  • Posts: 2.327
    • View Profile
Re: [Mod] Random image / Zufallsbild
« Reply #435 on: August 30, 2007, 02:42:54 PM »
Quote
// define('SCRIPT_URL', 'http://www.mydomain.com'); //no trailing slash

Ok so do fine. Remove // at 1st after enter domain. ;)
8 steps need when ask question -

- PHP version (ACP - > phpinfo())
- mySQL version (ACP - > phpinfo())
- 4images version
- Post screenshot / URL
- Post code in BB Code (no need full file for code) or post attach file
- It doesn't work. What is say - what is do for no work
- Install MOD ? If so - please say (troubleshooting)
- Read FAQ ? Install Bug fixes ?

Offline ashfaq

  • Full Member
  • ***
  • Posts: 128
    • View Profile
Re: [Mod] Random image / Zufallsbild
« Reply #436 on: August 30, 2007, 05:39:10 PM »
I have removed the // but the problem is there.

Check Gallery Link:
http://www.deskbeauty.com/

Check random.php Link
http://www.deskbeauty.com/random.php

you wil see error at random wallpaper at right sidebar top and at page end, infact i am showing random wallpaper code of another site and that wallpaper site is down so it is giving error, you can see that i wanna show one random wallpaper at right side top and four random wallpapers at bottom. Plz tell me how to solve random wallpaper so i can add random wallpapers from my own site and also show on other sites.

One more thing plz observe that my site takes much time to load, can you give suggestion how to make a template for fast page load ?

Offline Nicky

  • Administrator
  • 4images Guru
  • *****
  • Posts: 3.195
    • View Profile
Re: [Mod] Random image / Zufallsbild
« Reply #437 on: August 30, 2007, 07:18:01 PM »
hi,

ORIGINAL random.php

set
Code: [Select]
define('ROOT_PATH', './');

upload your ORIGINAL constants.php again into include folder.

that's all

and please add into your footer original 4images copyright content, thank you!
cheers
Nicky
Your first three "must do" before you ask a question ! (© by V@no)
- please read the Forum Rules ...
- please study the FAQ ...
- please try to Search for your answer ...

nicky.net 4 4images
Signature stolen from mawenzi

Offline ashfaq

  • Full Member
  • ***
  • Posts: 128
    • View Profile
Re: [Mod] Random image / Zufallsbild
« Reply #438 on: August 31, 2007, 04:23:12 AM »
Thanks dear now its working. Just help me more in these issues.

1: How to get ride of wallpaper name and commnets ? i wanna show only thumbnail.
2: How to control thumbnail size.
3: How to increase or decrease number of thumbnails to show, as now we can only show one thumbnail.

and lastly this question is not related with random wallpaper but i hope you will also help in this issue, plz tell me how to show total number of wallpapers at my site and any other information about site.

Thanks Again.

Offline ashfaq

  • Full Member
  • ***
  • Posts: 128
    • View Profile
Re: [Mod] Random image / Zufallsbild
« Reply #439 on: September 02, 2007, 02:57:16 AM »
Thanks dear now its working. Just help me more in these issues.

1: How to get ride of wallpaper name and commnets ? i wanna show only thumbnail.
2: How to control thumbnail size.
3: How to increase or decrease number of thumbnails to show, as now we can only show one thumbnail.

and lastly this question is not related with random wallpaper but i hope you will also help in this issue, plz tell me how to show total number of wallpapers at my site and any other information about site.

Thanks Again.

Will anyone plz help, specially nicky bro

Offline ashfaq

  • Full Member
  • ***
  • Posts: 128
    • View Profile
Re: [Mod] Random image / Zufallsbild
« Reply #440 on: September 02, 2007, 06:37:17 PM »
Nicky dear i have solved all problems and using your code to show 4 random thumbnails on other site, plz tell me how to show thumbnails horizontally bcoz thumbnails appear vertically ?
When i try to open random.php in any other site by include command it show broken image but if i check it in 4images site, it works good so tell me how to show random thumbnails in other site ?
I think you told me to put ./
Code: [Select]
define('ROOT_PATH', './');in random.php and in my opinion this thing show thumbnails in 4images site but prevent to appear in other sites and show a broken images.

Plz bro help me i will be very thankfull to you.

Offline Nicky

  • Administrator
  • 4images Guru
  • *****
  • Posts: 3.195
    • View Profile
Re: [Mod] Random image / Zufallsbild
« Reply #441 on: September 03, 2007, 10:25:24 AM »
if you want to call random.php from http://www.deskbeauty.com/test77/
and from http://www.deskbeauty.com/

than you need to have 2 random files...

one with
Code: [Select]
define('ROOT_PATH', './');

Code: [Select]
define('ROOT_PATH', '../');


for horiz. thumbs... remove <br> from echo call..

and pls.. do not pm me ;)
just wait for the answer.

thx & have a nice day
cheers
Nicky
Your first three "must do" before you ask a question ! (© by V@no)
- please read the Forum Rules ...
- please study the FAQ ...
- please try to Search for your answer ...

nicky.net 4 4images
Signature stolen from mawenzi

Offline ashfaq

  • Full Member
  • ***
  • Posts: 128
    • View Profile
Re: [Mod] Random image / Zufallsbild
« Reply #442 on: September 04, 2007, 04:31:58 AM »
Bro first of all sory that i pm you, inface no one was helping so i pm you.

Random.php works good if it is used in 4images directory but didnt work when we call in by include command in any other site.
I have also put ../ in random.php but it didnt work in 4images directory nor in any other site but ./  work in 4images directory but not work other site.

Check the site here: www.deskbeauty.com
Check the random file where i put ../: www.deskbeauty.com/random1.php

Offline Nicky

  • Administrator
  • 4images Guru
  • *****
  • Posts: 3.195
    • View Profile
Re: [Mod] Random image / Zufallsbild
« Reply #443 on: September 04, 2007, 08:08:33 PM »
ok..

where you want that random pics should be showed?
exact urls...

and 2nd time.. please change 4images copyright notice in your footers..
cheers
Nicky
Your first three "must do" before you ask a question ! (© by V@no)
- please read the Forum Rules ...
- please study the FAQ ...
- please try to Search for your answer ...

nicky.net 4 4images
Signature stolen from mawenzi

Offline ashfaq

  • Full Member
  • ***
  • Posts: 128
    • View Profile
Re: [Mod] Random image / Zufallsbild
« Reply #444 on: September 06, 2007, 05:17:40 PM »
Infact bro i dont want to show random images on a specific site but i want a link code that other webmaster can put in there sites and show my site random wallpapers, as you know this thing is good for site promotion, so i hope you will help as this is very important for 4homepages webmasters. Thanks

Offline ashfaq

  • Full Member
  • ***
  • Posts: 128
    • View Profile
Re: [Mod] Random image / Zufallsbild
« Reply #445 on: September 10, 2007, 06:15:12 PM »
Infact bro i dont want to show random images on a specific site but i want a link code that other webmaster can put in there sites and show my site random wallpapers, as you know this thing is good for site promotion, so i hope you will help as this is very important for 4homepages webmasters. Thanks

Plz help someone with this issue.

Offline Nicky

  • Administrator
  • 4images Guru
  • *****
  • Posts: 3.195
    • View Profile
cheers
Nicky
Your first three "must do" before you ask a question ! (© by V@no)
- please read the Forum Rules ...
- please study the FAQ ...
- please try to Search for your answer ...

nicky.net 4 4images
Signature stolen from mawenzi

Offline ashfaq

  • Full Member
  • ***
  • Posts: 128
    • View Profile
Re: [Mod] Random image / Zufallsbild
« Reply #447 on: September 11, 2007, 02:39:53 AM »
Dear thanks for reply but your given links most post or not in english so i cant understand, plz just tell me how to show random wallpaper on any other site ?

Offline thunderstrike

  • 4images Guru
  • *******
  • Posts: 2.327
    • View Profile
Re: [Mod] Random image / Zufallsbild
« Reply #448 on: September 11, 2007, 03:32:49 AM »
Quote
and for other sites use something like this.. http://www.4homepages.de/forum/index.php?topic=1020.msg6794#msg6794

Quote
most post or not in english so i cant understand

This english ... what is prob ?
8 steps need when ask question -

- PHP version (ACP - > phpinfo())
- mySQL version (ACP - > phpinfo())
- 4images version
- Post screenshot / URL
- Post code in BB Code (no need full file for code) or post attach file
- It doesn't work. What is say - what is do for no work
- Install MOD ? If so - please say (troubleshooting)
- Read FAQ ? Install Bug fixes ?

Offline Nicky

  • Administrator
  • 4images Guru
  • *****
  • Posts: 3.195
    • View Profile
Re: [Mod] Random image / Zufallsbild
« Reply #449 on: September 11, 2007, 08:27:39 AM »
ashfaq,

both posts are IN ENGLISH, look better  :evil: :cry:
cheers
Nicky
Your first three "must do" before you ask a question ! (© by V@no)
- please read the Forum Rules ...
- please study the FAQ ...
- please try to Search for your answer ...

nicky.net 4 4images
Signature stolen from mawenzi