4images Forum & Community
Welcome, Guest. Please login or register.
Did you miss your activation email?
October 17, 2018, 11:07:05 AM

Login with username, password and session length
Search:     Advanced search
You're looking for some 4images templates and styles? Then visit this thread to show websites with 4images templates to download.
Togle to toolbar
Translate this page with =>
Translate this page >
* Home Help Search Login Register
 
  Show Posts
Pages: [1] 2 3 » »»
1  4images Issues / Ausgaben / Discussion & Troubleshooting / UTF-8 encoding - problem with searching for keywords (Polish characters) on: October 08, 2018, 08:39:06 PM
UTF-8 encoding problem with searching for keywords (Polish characters)

Hello. I changed the page coding to utf-8 - everything on the page is displayed correctly. However, the problem arises when searching for keywords with Polish characters (ą, ę, ś, ć, etc.). Nothing is found then, although the keywords under the wallpaper are displayed correctly.

In the file includes / db_mysql.php I added:
1
2
mysql_query("SET CHARSET utf8");
mysql_query("SET NAMES `utf8` COLLATE `utf8_polish_ci`");

in the file lang / polish / main.php I changed the coding:
1
$lang['charset'] = "charset=UTF-8";

Html files encoded in UTF-8 (without BOM)

Please help.
2  4images Modifications / Modifikationen / Mods & Plugins (Releases & Support) / Re: [Mod] Show original image in new window by clicking on image on: January 17, 2018, 10:51:25 PM
Hello. I would like the full picture to open in a new tab and not in a new window. How to do it?

I managed to get this effect by changing the code in details.html to:

1
2
3
4
5
6
7
8
9
10
{if media_src_big}
<script type="text/javascript">
function OpenInNewTab(big) {
  var url="details.php?image_id={image_id2}&big=1";
  var win = window.open(url, '_blank');
  win.focus();
}
</script>
<a href="javascript:OpenInNewTab('big')">
{endif media_src_big}{image}{if media_src_big}</a>{endif media_src_big}

Maybe someone will also benefit from this solution. Regards.
3  4images Issues / Ausgaben / Installation, Update & Configuration / Re: The width and height of the image when editing photos on: January 09, 2018, 03:19:27 PM
With tens of thousands of photos it is unfortunately very time-consuming.
It is not possible to put this information in the admin panel for sure?
4  4images Issues / Ausgaben / Installation, Update & Configuration / The width and height of the image when editing photos on: January 09, 2018, 12:07:42 AM
Hello. I would like to see the width and height of the original picture in the admin panel during wholesale photo editing. How to do it?
5  4images Modifications / Modifikationen / Mods & Plugins (Releases & Support) / Re: [Mod] Show original image in new window by clicking on image on: January 02, 2018, 04:00:40 PM
Hello. I would like the full picture to open in a new tab and not in a new window. How to do it?
6  4images Issues / Ausgaben / Discussion & Troubleshooting / Re: ERR_TOO_MANY_REDIRECTS categories on: December 09, 2017, 09:40:22 PM
I had badly written redirects from category to category.
7  4images Issues / Ausgaben / Discussion & Troubleshooting / Re: ERR_TOO_MANY_REDIRECTS categories on: December 09, 2017, 05:51:46 PM
Thanks for the help. However, this was a bug in the .htaccess file. The topic can be closed.
8  4images Issues / Ausgaben / Discussion & Troubleshooting / ERR_TOO_MANY_REDIRECTS categories on: December 09, 2017, 04:07:13 PM
Hello. I have a problem. On the website after clicking on each category I get the error:

ERR_TOO_MANY_REDIRECTS

All categories are looped to one address: /categories.php?cat_id=745

Please help.
9  4images Modifications / Modifikationen / Mods & Plugins (Releases & Support) / Re: [MOD] Facebook Connector V1.0 & V2.0 on: August 26, 2016, 12:12:59 PM
Thanks. I look forward to the update Smile
10  4images Modifications / Modifikationen / Mods & Plugins (Releases & Support) / Re: [MOD] Facebook Connector V1.0 & V2.0 on: August 24, 2016, 06:47:24 PM
Logon process runs ok, but after all I am not physically logged on my website.

After clicking on "facebook login" logs me on www.facebook.com

While on my website looks like this:



At http://www.budduke.com/ so it looks after login:

11  4images Modifications / Modifikationen / Mods & Plugins (Releases & Support) / Re: [MOD] Facebook Connector V1.0 & V2.0 on: August 24, 2016, 05:12:16 PM
Hello. I'm sorry for my english. I write using google translator.

Mod recently stopped working properly. After logging in using facebook still get a box to enter a user name, password, etc. and the "facebook login". When you click on the "facebook login" appears for a brief moment popup and disappear.

ps. When you click on my website on the "facebook login" logs me only on facebook.com

budduke on http://www.budduke.com/ is exactly the same situation.

Please help.
12  4images Modifications / Modifikationen / Mods & Plugins (Releases & Support) / Re: [MOD] Google Friendly Urls For 4images Best Seo Mod on: June 15, 2015, 02:04:46 PM
How to make a 301 redirect in .htaccess old addresses to the new?

example:
old: /categories.php?cat_id=1
new: /cat-test-1.htm

old: /details.php?image_id=1
new: /img-test-1.htm

Please help.


I was able to do so far "incomplete" 301 redirect in PHP. The file categories.php added at the beginning:

1
2
3
4
5
if (strpos($_SERVER['REQUEST_URI'], 'cat_id') !== FALSE) { 
header('HTTP/1.1 301 Moved Permanently');
header('Location: cat-'.$_GET['cat_name'].'-'.$_GET['cat_id'].'.htm');
exit;
}

But I do not know how to download the MYSQL database category name ['cat_name'] - Help
13  4images Modifications / Modifikationen / Mods & Plugins (Requests & Discussions) / Re: [MOD]+[ADMIN PLUGIN] Search by image size on: May 13, 2015, 04:02:30 PM
Refresh
14  4images Modifications / Modifikationen / Mods & Plugins (Releases & Support) / Re: [MOD] Google Friendly Urls For 4images Best Seo Mod on: October 09, 2013, 03:28:49 PM
Nobody is able to help me? Please help!
15  4images Modifications / Modifikationen / Mods & Plugins (Releases & Support) / Re: [Mod] Example for the Mod: "Additional category fields" with "textarea" on: September 23, 2013, 09:57:22 PM

Thanks for pointing the error. Works.
Pages: [1] 2 3 » »»
Powered by MySQL Powered by PHP Powered by SMF | SMF © 2015, Simple Machines Valid XHTML 1.0! Valid CSS!
Page created in 0.077 seconds with 18 queries.