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 - sathishIPL

Pages: [1] 2 3 4
1
Hi,

Please click the below link to solve the duplicate

http://www.4homepages.de/forum/index.php?topic=17598.0;msg=158361

Best Regards,
satz

2
Discussion & Troubleshooting / Re: Malware infection
« on: May 30, 2012, 06:30:08 AM »
Seems like no one here can guess from the errors you show that what actually is doing this to your site, so you will have to sort out this issue your self. And since I am not a PHP expert So i can only give you one simple advise that you should replace all php extension files of your 4images site with new ones (and this applies if you are not using a highly modified 4images script on your site) if YES then just keep the "Data" & "Templates" folders only and reinstall 4images script of the same version on your server. if the same thing happens then there will be 2 other reasons either your template files are also infected or there is another script on your server which allows people/spammers to modify every php file on your server.

Follow the above steps as yousaf said ... Once you clean your code .

Add the below code into .htaccess  .It will prevent the attack to some extent

It may help you ...


# proc/self/environ? no way!
RewriteCond %{QUERY_STRINGproc/self/environ [OR]
  
# Block out any script trying to set a mosConfig value through the URL
RewriteCond %{QUERY_STRINGmosConfig_[a-zA-Z_]{1,21}(=|\%3D) [OR]
  
# Block out any script trying to base64_encode crap to send via URL
RewriteCond %{QUERY_STRINGbase64_encode.*(.*) [OR]
  
# Block out any script that includes a <script> tag in URL
RewriteCond %{QUERY_STRING} (<|%3C).*script.*(>|%3E) [NC,OR]
  
# Block out any script trying to set a PHP GLOBALS variable via URL
RewriteCond %{QUERY_STRINGGLOBALS(=|[|\%[0-9A-Z]{0,2}) [OR]
  
# Block out any script trying to modify a _REQUEST variable via URL
RewriteCond %{QUERY_STRING_REQUEST(=|[|\%[0-9A-Z]{0,2})
  
# Send all blocked request to homepage with 403 Forbidden error!
RewriteRule ^(.*)$ index.php [F,L]


3
Discussion & Troubleshooting / Re: Google Canonical
« on: May 30, 2012, 06:20:16 AM »
Hi ,

Check out this , it is working Mod

http://www.4homepages.de/forum/index.php?topic=17598.420

Best Regards,
Satz

4
Discussion & Troubleshooting / Re: how can i block auto bot ip?
« on: April 24, 2012, 02:31:05 PM »
Hi,

The IP address which you blocking is Google bot.

Which helps your webpage to improve your search ranking.

You can also block the google bot in certain folder's using google webmaster tool.

Thank You..!

Best regards,
Satz




5
Hi,

I am not sure, but try it  in templates/your templates/header.html    OR Footer.html  files .
 

But it will be .html files

br,
Satz


6
Hi,

It' seems the Javascript code is injected via your URL.

To avoid such harmful activities, add the following code in your .htaccess of your gallery.

It may help you in future.

# Block out any script that includes a <script> tag in URL
RewriteCond %{QUERY_STRING} (<|%3C).*script.*(>|%3E) [NC,OR]
.

Br,
satz

7
Hi Budduke,

Please find the attached files ,that i have changed for facebook mod.

Br,
Satz

8
Hi,

When a new user login with Facebook account, Again the user has to activate the actviation code received thro Email.

I dont want to verify the Email for new user, when they login via Facebook.

When i change the 4images settings to Account activation -None.

The Page redirection from facebook to 4images is failing.

Note: The issue is encountered only new user's when they join via Facebook. Other then existing user 's can access the 4images via facebook normally .

Thank You....!

Best regards,
Satz

9
Hi Budduke,

Facebook Redirection is not working when i disable the Register actviation code by email.

Br,
satz


10
Mods & Plugins (Requests & Discussions) / Re: [MOD]HTML Sitemap
« on: March 18, 2012, 04:13:25 PM »
Thank you for sharing.

You do realize that error.html is being used by 4images, right? by renaming it you create problem when 4images decided display that template and not find it.

You should create a copy of it, not renaming it.




yes, i realize. I was in hurry while posting the above mod.

by missing one word ,the whole sentence meaning gone wrong . Yep i have modified.




Now, about optimizing it. Since you define GET_CACHES constant, all needed information about categories is already loaded in $cat_cache array.
And finally, unless that's the plan, it will show all categories regardless of visitor's permissions...

P.S.
Would it affect google if many categories have the same name? Maybe it would be better add parent categories names to each category?




Yea, Initially that was the plan and I have changed it later .

P.S.
Would it affect google if many categories have the same name? Maybe it would be better add parent categories names to each category?



I dont think ,but i am not sure ...Yes, if anchor text is same.It might  be .
Will work out for this.

Thanks for poiting out and please feel free to change the above mod if you found any thing wrong.

:-) Have a nice day.

11
Mods & Plugins (Requests & Discussions) / [MOD]HTML Sitemap
« on: March 17, 2012, 04:04:20 PM »
Hi All,

An another MOD from me, HTML Sitemap for 4images Gallery.

Installation::3 Minutes

1.Go to Yourwebsite/lang/main.php and look for ?>

And paste the below code above ?>
//-----------------------------------------------------
//--- Html Sitemap --------------------------------------
//-----------------------------------------------------

$lang['htmlsitemap_title']="Sitemap";
$lang['htmlsitemap_images']="Images Sitemap";
$lang['hrmlsitemap_cat']="Categories Sitemap";


2.Download the htmlsitemap.php and upload the file to the root directory

3.go to yourwebsite/templates/your templates/error.html and save the file as htmlsitemap.html [copy the error.html and save it as htmlsitemap.html]

3.a
find {lang_error} in htmlsitemap.html and replace with
 {lang_htmlsitemap


3.b find below code in htmlsitemap.html
<p>{error_msg}</p>
and repalce with below code
<!--HTML Sitemap -->
	
	
	
	
	
<
table border="0" width="500">
	
	
	
	
	
	
<
tr align="left">
	
	
	
	
	
	
	
<
th>{lang_htmlsitemap_images}</th>
	
	
	
	
	
	
	
<
th>{lang_htmlsitemap_cats}</th>
	
	
	
	
	
	
</
tr>
	
	
	
	

	
	
	
	
	
	
	
<
tr>
	
	
	
	
	
	
	
	
<
td width=250>
	
	
	
	
	
	
	
	
	
<
table width="250">
	

	
	
	
	
	
	
	
	
	
	
	
<
tr>
	
	
	
	
	
	
	
	
	
	
	
	
<
td>
	
	
	
	
	
	
	
	
	
	
	
	
	
{
htmlsitemap}
	
	
	
	
	
	
	
	
	
	
	
	
</
td>
	
	
	
	
	
	
	
	
	
	
	
</
tr>
	
	
	
	
	
	
	
	
	
</
table>
	
	
	
	
	
	
	
	
</
td>
	
	
	
	
	
	
	
	
<
td width="250" valign="top">
	
	
	
	
	
	
	
	
	
<
table BORDER="0">
	

	
	
	
	
	
	
	
	
	
	
	
<
tr>
	
	
	
	
	
	
	
	
	
	
	
	
<
td width="250" >
	
	
	
	
	
	
	
	
	
	
	
	
	
{
htmlsitemap_cat}
	
	
	
	
	
	
	
	
	
	
	
	
</
td>
	
	
	
	
	
	
	
	
	
	
	
</
tr>
	
	
	
	
	
	
	
	
	
</
table>
	
	
	
	
	
	
	
	
</
td>
	
	
	
	
	
	
	
</
tr>
	
	
	
	
	
</
table>


NOTE: htmlsitemap is nothing but copy of your error.html

thats it and now submit the sitemap to google wemaster tool

Currently it is hitting the database twice[ images and categories ].I will try to optimize it

 


12
Discussion & Troubleshooting / Re: About Rename during Upload
« on: March 17, 2012, 01:38:11 PM »
I would highly recommend leave it as is, especially if you are a Windows user and one day you might decide copy your website, which most probably a linux system, to your computer.

As v@no said, leave as it is.  Its a good pratice for SEO by naming a image without space
(eg--> Anjelian-jolie.jpg)

13
Hi ,

I got it,  its my mistake.

By seeing your webpage i noticed that ,You are looking for category URL. I didnt change that one.
Download the attach file now. It will definetly work for you. 

Br,
satz

14
Hi

I have incorporated the changes in the attached session.php

Upload the session.php file into your includes folder.

For eg. i have given a Image name as    Love <><> (2012) and URL generated was  love----2012--97.htm

I have tested it in my local host.

It's working fine for me. Hope it will work for you as well

If still didn't work ,PM me .

br,
satz

15
Hi,

No need to change anything in .htaccess.

Could you please attach your session.php file? 
I will have a look.

Br,
Satz

Pages: [1] 2 3 4