Author Topic: [MOD] Terms and Conditions for images v1.2.1  (Read 89202 times)

0 Members and 1 Guest are viewing this topic.

Offline batu544

  • Sr. Member
  • ****
  • Posts: 336
    • View Profile
    • Free Celebrity wallpapers
Re: [MOD] Terms and Conditions for images v1.2.1
« Reply #60 on: August 14, 2008, 10:27:05 AM »
Ancient Bump!

Does anyone know if this works with 1.7.4? Has there been any newer versions/similar mods out there?

 Yes, this works with 1.7.4 . My gallery is in 1.7.4

v@no,
          Is there any php function to scramble the photos instead of blur it ?  or Do we need some more step to scramble it. ?


Thanks,

Offline Falldog

  • Newbie
  • *
  • Posts: 27
    • View Profile
Re: [MOD] Terms and Conditions for images v1.2.1
« Reply #61 on: August 19, 2008, 03:47:47 PM »
I'm trying to re-install the scripts on 1.7.2. But I got a minor problem.
Under category edit in the admin panel, it keeps saing Disable even when it's not. (look at screenshot)

I don't think I missed any parts of the how to. But I hope V@no or someone else has the answer

-  lars

Same problem for me. Some one help?

Has anyone found a fix for this? Same issue on my end in 1.7.4. Everything else works good for me.

Offline Falldog

  • Newbie
  • *
  • Posts: 27
    • View Profile
Re: [MOD] Terms and Conditions for images v1.2.1
« Reply #62 on: September 04, 2008, 09:18:23 PM »
How hard would it be to modify this mod to dictate which advertisements show up on a page? For example if it's set to disable I'd like to pull from one pool for my ad blocks while if it's anything else I'd like to get them from another pool.

Offline batu544

  • Sr. Member
  • ****
  • Posts: 336
    • View Profile
    • Free Celebrity wallpapers
Re: [MOD] Terms and Conditions for images v1.2.1
« Reply #63 on: September 06, 2008, 09:41:51 AM »
One alternate way is there.. ...

          you need to change your  details.html and categories.html.

put the entire content of these templates inside {if no_terms} and {endif no_terms} with one type of adds.

For T&C enabled imaes .. put the entire content inside {if show_terms}  and {endif show_terms} with other type of adds.



hope this helps...

Offline edonai

  • Newbie
  • *
  • Posts: 32
    • View Profile
Re: [MOD] Terms and Conditions for images v1.2.1
« Reply #64 on: August 30, 2009, 01:25:31 AM »
Hello V@no, please help.

I'm use 1..7.7:

The mod works fine if I select "guest", but does not work for members if i select "everyone".

What should I do?

Offline impss

  • Sr. Member
  • ****
  • Posts: 382
    • View Profile
    • Cusstom.net
Re: [MOD] Terms and Conditions for images v1.2.1
« Reply #65 on: September 23, 2009, 03:58:47 PM »
Im not sure it this is the same in all version of 4images...

But in 4images 1.7.7, In order for the terms changes to show on the category edit page, i had to make this change.


For your step 7.7
In admin/categories.php
Code: [Select]
 show_table_separator($lang['terms'], 2);
  show_terms_select($lang['terms'], 'terms', $result['terms'], $lang['terms_array']);
  show_terms_select($lang['terms_msg'], 'terms_msg', $result['terms_msg'], $lang['terms_agreement']);

Replace with:

Code: [Select]
 show_table_separator($lang['terms'], 2);
  show_terms_select($lang['terms'], 'terms', $cat_row['terms'], $lang['terms_array']);
  show_terms_select($lang['terms_msg'], 'terms_msg', $cat_row['terms_msg'], $lang['terms_agreement']);


Offline V@no

  • If you don't tell me what to do, I won't tell you where you should go :)
  • Global Moderator
  • 4images Guru
  • *****
  • Posts: 17.849
  • mmm PHP...
    • View Profile
    • 4images MODs Demo
Re: [MOD] Terms and Conditions for images v1.2.1
« Reply #66 on: September 23, 2009, 04:27:58 PM »
Thank you. It was changed since v1.7.2
I've updated the installation instructions, also I think fixed step 7.4
Your first three "must do" before you ask a question:
Please do not PM me asking for help unless you've been specifically asked to do so. Such PMs will be deleted without answer. (forum rule #6)
Extension for Firefox/Thunderbird: Master Password+    Back/Forward History Tweaks (restartless)    Cookies Manager+    Fit Images (restartless for Thunderbird)

Offline impss

  • Sr. Member
  • ****
  • Posts: 382
    • View Profile
    • Cusstom.net
Re: [MOD] Terms and Conditions for images v1.2.1
« Reply #67 on: September 23, 2009, 05:29:20 PM »
Thank you. It was changed since v1.7.2
I've updated the installation instructions, also I think fixed step 7.4

That is correct, i forgot i changed that one as well.

Btw, Thanks for this mod. I used this mod combined with a modified version of your thumb.php file to Gaussian/Grey thumbnails and print "Accept Terms To View" on top for images that have the terms set.
You can see an example here, if you want => http://www.cusstom.net/categories.php?cat_id=24&page=2

Offline Nosferatu

  • Full Member
  • ***
  • Posts: 230
    • View Profile
    • Project-Firepower
Re: [MOD] Terms and Conditions for images v1.2.1
« Reply #68 on: June 02, 2011, 12:21:16 PM »
work this mod with newest version 1.7.10 ???