Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Messages - kitty999

Pages: [1] 2
1
Feedback & Suggestions / Re: 4images 1.9 - Feedback
« on: November 07, 2021, 02:36:45 AM »
Hello,
I've been using 4images for many years now and I currently run 4images version 1.7.13 with a lot of heavy modifications. I've been able to get it running on PHP 7.4.25, but I run into problems with PHP 8.

Because of all the modifications throughout the years I'm unable to update to version 1.9. I was wondering if there was possibly a changelog with a list of specific changes in code on specific php files that make it php 8 compatible that I could sort through to try to get my version PHP 8 compatible? I hope that makes sense.

Glad to see an update to 4images, I honestly thought it had seen it's end.

Thanks, Have a great day.
Kitty

2
Discussion & Troubleshooting / Anything Happening with 4images?
« on: May 13, 2020, 09:08:33 PM »
Hi,

I was just wondering if anyone knew anything about 4images getting an update, it seems like the project has been abandoned.

3
In case anyone is interested I think I figured it out!


In global.php find this:

$self_url .= "show_result=1";

And change it to this:

$self_url .= "show_result=1&search_fields=".$search_fields."&search_keywords=".$search_keywords;


------------------------

In search.php find this:

$link_arg = $site_sess->url(ROOT_PATH."search.php?show_result=1");

And change it to this:

$link_arg = $site_sess->url(ROOT_PATH."search.php?show_result=1&search_fields=".$search_fields."&search_keywords=".$search_keywords);


-------------------

Now you can place {search_keywords} as a title on your search page and it will work even when you go to the next page or if you use the sort mod to sort the images.

I'm using 4images 1.7 and so far it seems to work without a hitch

4
I put {search_keywords} in my search.html page and it works fine. When someone searches for something it displays the keyword.

My problem is this: when someone clicks the next page in search the {search_keyword} must get reset because it shows nothing. It only shows the keyword on that initial first search page.

Anyone have any ideas how to fix this?


5
Thanks anyway,
 I have a lot of MODS and have changed so much in the script it's really hard to tell, I just don't know what could possibly cause it. I'll keep fiddling and if I find out I'll post it.

6
Thanks for the quick response nobby,

I have that plugin and have reindexed but it still won't search numeric spelled words (one,two,three). All the other words are indexed fine. The numeral words even show up on the details page as keywords but when clicked on they're not found. My mind is boggled.

7
I recently discovered if i search for an image with a spelled number (for example three, two, one, etc.) it says no matching records. I have images with the word three, one, etc in them but it doesn't recognize the 'number' words. Anyone else have this problem?

I'm using 4images 1.7.13
I have quite a bit of mods but nothing I know that would cause this.

Any help is greatly appreciated.

8
Chit Chat / Am I missing something?
« on: March 25, 2017, 06:39:54 PM »
I've been using 4images for a few years now with various sites and I have been posting questions in the forum for years.

No one ever responds to any of my posts, I even bought a bundle license thinking that might help me get more attention, but still nothing.

Am I missing something or doing something wrong to not get any feedback for help I need?

Thanks to anyone listening out there

9
First of all thank you for the tutorial.

Everything works fine but I was wondering how I could clean up the output?
For example: I have an additional field added to the upload form but when it's sent it adds <br /> after each line break. Ive noticed it does no do that with the 'image_description' variable so I'm just wondering where and how I would go about making my variable clean up like that.

Thank you very much for your time, I love the 4images script and have been working with it for a while, I even bought the bundle license

10
Looking for a way to combine the image search and username search together so that username is one of the radio checkbox choices

I've attached a image to better explain.

11
Mods & Plugins (Requests & Discussions) / Lightbox Search and/or Sort
« on: December 01, 2016, 05:51:44 AM »
Looking for a way to add a search function for users to search their lightbox and/or sort their lightbox by category.

Any ideas?

12
Installation, Update & Configuration / Re: Limited keyword list?
« on: July 15, 2016, 06:26:14 PM »
open your member_uploadform.html in your template

add this to the top of the page:
<script type="text/javascript">
            function add_sub(el)
            {
                if (el.checked)
                {
                    var total = el;
                    total.form.elements['image_keywords'].value+=el.value;
                }
                else
                {
                    var re=new RegExp('(.*)'+el.value+'(.*)$');
                    el.form.elements['image_keywords'].value=el.form.elements['type'].value.replace(re,'$1$2');
                }
            }


</script>



then find:
<tr>
            <td class="row1" valign="top"><b>{lang_keywords}</b></td>

insert above:

<tr>
            <td class="row1" style="vertical-align:top;"></td>
            <td class="row1">
              <table style="width: 100%">
   <tr>
      <td style="text-align:left;vertical-align:top">
            <input type="checkbox" value="Option1," onclick="add_sub(this);"><label>Option1</label><br>
            <input type="checkbox" value="Option2," onclick="add_sub(this);"><label>Option2</label><br>
            <input type="checkbox" value="Option3," onclick="add_sub(this);"><label>Option3</label><br>
            <input type="checkbox" value="Option4," onclick="add_sub(this);"><label>Option4</label><br>
          </td>
               

   </tr>
</table>

            </td>
          </tr>

This will print what you check in the boxes onto the image keywords textarea

If you don't want them to be able to edit the image keyword textarea or add keywords, do this:

change: <textarea cols="30" class="textarea" rows=1" name="image_keywords">
to: <textarea cols="30" style="display:none;" class="textarea" rows=1" name="image_keywords">

13
Hello,

 I was wondering if someone could help me with a thumbs up and thumbs down type voting script that would keep track of the number of votes for each.

 I apologize if this has already been discussed but I've been searching the forum and haven't found anything.

I appreciate your time, Thank You
Kitty

14
Discussion & Troubleshooting / Search Query On Details page
« on: December 03, 2014, 09:32:24 PM »
Hello,

 I have this code above my image which displays links - for example: Next Video ------ Previous Video

<table style="width: 700px">
   <tr>
      <td>{if prev_image_name}<h3><a href="{prev_image_url}">PREVIOUS {cat_name}</a></h3>{endif prev_image_name}</td>
      <td style="width:100%"><hr style="color:black;height:2px"></td>
      <td>{if next_image_name}<h3><a href="{next_image_url}">NEXT {cat_name}</a></h3>{endif next_image_name}</td>
   </tr>
</table>

That works fine when in the same category but when someone for example searches the word "cat" it displays "Next (and the current category name)" even though the next might be in the game category.

Basically what I'm looking for is a way to replace the {cat_name} with search query (or just the word search) when the url is in search mode: (/img6234.search.htm for example)


I hope I'm getting my point across I know it sounds a little confusing.

My site is http://www.savemefromboredom.com if you need to check it out.

Thank you very much to anyone who can help me,

Kitty

15
Hello,

 I was wondering if anyone could help me.

On my categories page I would like to display the image_description but only for a specific category.

For example: in categories.php?cat_id=8 I want the thumbnails to have the image description, but for cat 8 only.

Does this make sense to anyone?

Thanks to anyone that can get me on the right track.

Pages: [1] 2
Post your comments here