Mysidia Adoptables Support Forum  

Home Community Mys-Script Creative Off-Topic
Go Back   Mysidia Adoptables Support Forum > Mysidia Adoptables > Questions and Supports

Notices

Reply
 
Thread Tools Display Modes
  #1  
Old 01-24-2009, 06:18 PM
livingingc livingingc is offline
Member
 
Join Date: Jan 2009
Posts: 36
Credits: 3,820
livingingc
Default Terms of Service Violation

I was testing the pet output and its saying "Terms of service violation" on myspace. Apparantly, the code isnt allowed there. Is there a way around this?
Reply With Quote
  #2  
Old 01-24-2009, 06:34 PM
BMR777 BMR777 is offline
Member
 
Join Date: Jan 2011
Posts: 1,122
Gender: Male
Credits: 10,627
BMR777 is on a distinguished road
Default RE: Terms of Service Violation

Quote:
Originally Posted by livingingc
I was testing the pet output and its saying "Terms of service violation" on myspace. Apparantly, the code isnt allowed there. Is there a way around this?
You could try adding the following code to a .htaccess file in your public_html folder (Change pets to the location of your installation):

Code:
RewriteEngine On
RewriteBase /pets/

RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^pets/get/([0-9]+).gif$ /pets/get.php?id=$1 [L]
Then you would have to edit the bbcode generator in manage.php so that the new URLs for the images are reflected. The code above will hopefully trick MySpace into seeing the dynamic images as static ones, thus hopefully solving the problem.

For more info see: http://www.arvyre.com/forum/viewtopic.php?f=6&t=238

Brandon
Reply With Quote
  #3  
Old 01-24-2009, 07:15 PM
livingingc livingingc is offline
Member
 
Join Date: Jan 2009
Posts: 36
Credits: 3,820
livingingc
Default RE: Terms of Service Violation

ohh k. what do i change the code to? whats the new url? im also donating 10
Quote:
Originally Posted by BMR777
Quote:
Originally Posted by livingingc
I was testing the pet output and its saying "Terms of service violation" on myspace. Apparantly, the code isnt allowed there. Is there a way around this?
You could try adding the following code to a .htaccess file in your public_html folder (Change pets to the location of your installation):

Code:
RewriteEngine On
RewriteBase /pets/

RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^pets/get/([0-9]+).gif$ /pets/get.php?id=$1 [L]
Then you would have to edit the bbcode generator in manage.php so that the new URLs for the images are reflected. The code above will hopefully trick MySpace into seeing the dynamic images as static ones, thus hopefully solving the problem.

For more info see: http://www.arvyre.com/forum/viewtopic.php?f=6&t=238

Brandon
[hr]
i figured it out, i forgot to change the path at the rewriterule part at the bottom. Wow. imm glad thats fixed.
Reply With Quote
  #4  
Old 01-24-2009, 07:43 PM
BMR777 BMR777 is offline
Member
 
Join Date: Jan 2011
Posts: 1,122
Gender: Male
Credits: 10,627
BMR777 is on a distinguished road
Default RE: Terms of Service Violation

Ok, in the file manage.php find:

PHP Code:
<img src=\"http://www.".$dname."".$spath."/get.php?id=".$cid."\"> 
I think you will need to change to:

PHP Code:
<img src=\"http://www.".$dname."".$spath."/get/".$id.".gif\"> 
That is assuming you installed the .htaccess file correctly, then that should work. Also, change .gif to the extension of your image files if different.

Brandon
Reply With Quote
  #5  
Old 01-24-2009, 07:57 PM
livingingc livingingc is offline
Member
 
Join Date: Jan 2009
Posts: 36
Credits: 3,820
livingingc
Default RE: Terms of Service Violation

Alright, thanks. It works fine now.
Reply With Quote
  #6  
Old 01-24-2009, 07:58 PM
BMR777 BMR777 is offline
Member
 
Join Date: Jan 2011
Posts: 1,122
Gender: Male
Credits: 10,627
BMR777 is on a distinguished road
Default RE: Terms of Service Violation

Glad it is working. :)

If you have any other issues please let me know. :)

Brandon
Reply With Quote
  #7  
Old 01-24-2009, 08:03 PM
livingingc livingingc is offline
Member
 
Join Date: Jan 2009
Posts: 36
Credits: 3,820
livingingc
Default RE: Terms of Service Violation

this new version sounds like its going to have alot of new things... it looks like im going to have to re-do all of the text changes ive done in the php scripts. :( but im excited to get the new features so its ok. do you have list of what to expect so far?
Reply With Quote
  #8  
Old 01-24-2009, 08:06 PM
BMR777 BMR777 is offline
Member
 
Join Date: Jan 2011
Posts: 1,122
Gender: Male
Credits: 10,627
BMR777 is on a distinguished road
Default RE: Terms of Service Violation

Quote:
Originally Posted by livingingc
this new version sounds like its going to have alot of new things... it looks like im going to have to re-do all of the text changes ive done in the php scripts. :( but im excited to get the new features so its ok. do you have list of what to expect so far?
Johnathon is the lead developer on the next release as he has taken over the Adoptables Script development for me. He has made public a list of new features in this thread.

BMR777
Reply With Quote
  #9  
Old 01-26-2009, 11:31 AM
agnyz agnyz is offline
Member
 
Join Date: Jan 2009
Posts: 31
Credits: 1,979
agnyz
Default RE: Terms of Service Violation

i haven't got this mod to work yet, but don't have the time to work on it right now.

I did want to poing out that you will also want to change the script on the adopt.php or new people will be getting the old code when they first adopt.
Reply With Quote
  #10  
Old 01-26-2009, 01:35 PM
agnyz agnyz is offline
Member
 
Join Date: Jan 2009
Posts: 31
Credits: 1,979
agnyz
Default RE: Terms of Service Violation

in this part of the code.

RewriteEngine On
RewriteBase /pets/

RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^pets/get/([0-9]+).gif$ /pets/get.php?id=$1 [L]

does the .gif$ need to be changed to .jpg$ if using jpgs?

I assume it does but you know what they say about assuming.[hr]
Ok I just don't get it.

This is a simple mod and should be easy to do but I just can't make it work.

I checked livingingc program and i can see it does work. Btw livingingc you do need to change the adopt.php page when i firts adopted it is giving me the old code.

when i add this <img src="http://www.".$dname."".$spath."/get/".$id.".jpg\">

I get this
Parse error: syntax error, unexpected T_STRING in /home/agnyz/public_html/pettest/manage.php on line 118

so i tested it using a copy of the script that i didn't alter any and i still get the same error message.

When I first installed this program I noticed the same thing with myspace and came up with the same mod back then but was getting that error message so I used a work around just to show a static logo image for the site on myspace.

When I seen this post I thought perhaps it was the .htaccess file that was making it not work, but that isn't the case.

The short of it is, when I apply this mod I get the above mentioned error message.

Could it be something with my hosting?[hr]
i should add that I am getting this error when I click on the link to get the codes for the html.
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Mysidia's free hosting service Hall of Famer Mysidia Adoptables Official Announcement 12 06-15-2020 04:13 PM
Admin of Nirainia.com at your service. Mortain Newcomer Center 3 11-18-2015 12:39 AM
Name for my web design service? tahbikat Webmasters Area 7 04-05-2014 02:08 AM
Does Anyone Know A Cheap Domain Service? MaximumRide Staff Central 4 05-22-2012 08:23 PM
Email service patronm Other Chat 6 12-23-2008 03:34 PM


All times are GMT -5. The time now is 03:27 AM.

Currently Active Users: 251 (1 members and 250 guests)
Threads: 4,080, Posts: 32,024, Members: 2,016
Welcome to our newest members, jolob.
BETA





What's New?

What's Hot?

What's Popular?


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2024, vBulletin Solutions Inc.
vBCommerce I v2.0.0 Gold ©2010, PixelFX Studios
vBCredits I v2.0.0 Gold ©2010, PixelFX Studios
Emoticons by darkmoon3636