Author Topic: How Show Details Outside 4images  (Read 6044 times)

0 Members and 1 Guest are viewing this topic.

Offline killer007

  • Pre-Newbie
  • Posts: 5
    • View Profile
How Show Details Outside 4images
« on: October 08, 2007, 10:22:15 AM »
Hello Guys i am here again with another question thanks to Kurt for his Help and quick reply.

I tried to place random images outside of 4images and got that working and now i can place random images on wordpress index page but that way it look i dont like , is there any way to show it just like on 4images index page new images. here is The picture it will show you what i mean.


Note : I added download Button there , now just want to show it like on 4images index page.

Offline thunderstrike

  • 4images Guru
  • *******
  • Posts: 2.327
    • View Profile
Re: How Show Details Outside 4images
« Reply #1 on: October 08, 2007, 02:29:25 PM »
You need to use same DB for use 4images table prefix and set same image ID for your checklist pro compare your 4images ID (quick way).
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 KurtW

  • 4images Guru
  • *******
  • Posts: 2.778
    • View Profile
    • Malediven-Bilder ~~Dreams~~
Re: How Show Details Outside 4images
« Reply #2 on: October 08, 2007, 05:47:10 PM »

Offline killer007

  • Pre-Newbie
  • Posts: 5
    • View Profile
Re: How Show Details Outside 4images
« Reply #3 on: October 09, 2007, 05:37:39 AM »
Yes Kurt i used that but i slightly modified that as u can see Download image there .. and Thunder its getting images from same DB ,i am still trying if i got it working i will let you guys know.

Offline killer007

  • Pre-Newbie
  • Posts: 5
    • View Profile
lol was too easy
« Reply #4 on: October 09, 2007, 06:56:27 AM »
Lol i got it working and it was too easy now i am feeling like a dumb lol , let me post what i did maybe will help others.

I just added this >>  b.cat_name  to SQL select and
 then this $cat_name = $row['cat_name'];

and final step

echo "<a href=\"".SITE_URL."categories.php?cat_id=$cat_id\">$cat_name</a><br>\n";

thats it. Thanks Kurt and Thunderstrike

Offline thunderstrike

  • 4images Guru
  • *******
  • Posts: 2.327
    • View Profile
Re: How Show Details Outside 4images
« Reply #5 on: October 09, 2007, 01:39:06 PM »
Good work but please

change:

Quote
echo "<a href=\"".SITE_URL."categories.php?cat_id=$cat_id\">$cat_name</a><br>\n";

for:

Code: [Select]
echo "<a href=\"".$script_url."/categories.php?cat_id=" . $cat_id . "\">" . format_text(trim($cat_name), 2) . "</a><br />\n";

;)
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 killer007

  • Pre-Newbie
  • Posts: 5
    • View Profile
Re: How Show Details Outside 4images
« Reply #6 on: October 11, 2007, 11:23:40 AM »
i did but cant see any change thu .. anyways its wokring fine and thank you guys once again.

Offline thunderstrike

  • 4images Guru
  • *******
  • Posts: 2.327
    • View Profile
Re: How Show Details Outside 4images
« Reply #7 on: October 11, 2007, 06:32:29 PM »
Quote
i did but cant see any change thu ..

There is. Thank for posting. ;)
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 ?