Zen Cart Logo
Forums / All Other Contributions/Addons / Flash description add on help

Flash description add on help

Locked

Views: 2,772

Results 1 to 18 of 18
This thread is locked. New replies are disabled.
18 Dec 2006, 2:46 AM
#1
hondauser85 avatar

hondauser85

Zen Follower

Join Date:
Apr 2005
Posts:
95
Plugin Contributions:
0

Flash description add on help

I installed this add on to protect my description from copying but i dont like it how can i remove it i tried removing every thing i installed and when i do the flash **** is still there but my description is missing any help? https://www.wonderfultoyz.com also the guy who made this contrib. gets free advertising cause he has his webite on every product you want to protect and this wasnt told before you install this contribution. here is where i got this contribution....http://www.zen-cart.com/index.php?main_page=product_contrib_info&cPath=40_47&products_id=347

18 Dec 2006, 5:06 AM
#2
drbyte avatar

drbyte

Sensei

Join Date:
Jan 2004
Posts:
63,513
Plugin Contributions:
176

Re: Flash description add on help

You'll have to restore your original versions of these files:

/includes/application_top.php
/includes/templates/template_default/template/tpl_product_info_display.php

and if you'd copied it into your custom template folder, then this file too:
/includes/templates/YOURTEMPLATE/template/tpl_product_info_display.php

You'll want to delete the two files used to do the flash component:
/description.php
/description.swf

18 Dec 2006, 12:55 PM
#3
hondauser85 avatar

hondauser85

Zen Follower

Join Date:
Apr 2005
Posts:
95
Plugin Contributions:
0

Re: Flash description add on help

I have done this as this was the only logical answer. (reverse what i did) and all it did was take the text out of the flash description. its strange after i delete it how can it still be there if the files arent?

18 Dec 2006, 7:34 PM
#4
drbyte avatar

drbyte

Sensei

Join Date:
Jan 2004
Posts:
63,513
Plugin Contributions:
176

Re: Flash description add on help

hondauser85:

I have done this as this was the only logical answer. (reverse what i did) and all it did was take the text out of the flash description. its strange after i delete it how can it still be there if the files arent?

  • browser cache ?

  • perhaps you have override files still being used ?

  • maybe you need to download a copy of everything from your server and compare it with a clean set of files, and check to be sure that any "extra" files are actually intended to be there... ?

18 Dec 2006, 11:46 PM
#5
hondauser85 avatar

hondauser85

Zen Follower

Join Date:
Apr 2005
Posts:
95
Plugin Contributions:
0

Re: Flash description add on help

how do i undo the override files? explain what you mean please? and browser cache should i try deleting the files again then clear my browser then see if it went back to original?

19 Dec 2006, 1:18 AM
#6
drbyte avatar

drbyte

Sensei

Join Date:
Jan 2004
Posts:
63,513
Plugin Contributions:
176

Re: Flash description add on help

Under the /includes/templates/ folder, what folder names do you have?
In which folder have you been customizing files for your site?
Inside that folder you'll have another templates folder, which probably contains a copy of the tpl_product_info_display.php file you installed from the contribution.

/includes/templates/YOURTEMPLATE/templates/tpl_product_info_display.php

The FAQ system has a few articles which explain the Overrides system in detail:
https://www.zen-cart.com/tutorials/index.php?category=16

19 Dec 2006, 1:23 AM
#7
hondauser85 avatar

hondauser85

Zen Follower

Join Date:
Apr 2005
Posts:
95
Plugin Contributions:
0

Re: Flash description add on help

i did replace that with the original one before this flash description. i copied the two files and restored both files to no avail.

19 Dec 2006, 1:27 AM
#8
drbyte avatar

drbyte

Sensei

Join Date:
Jan 2004
Posts:
63,513
Plugin Contributions:
176

Re: Flash description add on help

What's your URL ?

19 Dec 2006, 5:10 AM
#10
drbyte avatar

drbyte

Sensei

Join Date:
Jan 2004
Posts:
63,513
Plugin Contributions:
176

Re: Flash description add on help

  1. you need to delete the /description.swf file from your server
    and
  2. Either:
    --- a) your tpl_product_info_display.php file needs to be replaced from the original, as discussed in previous posts ... namely:
    /includes/templates/sophyblue/templates/tpl_product_info_display.php

or - b) your product descriptions in your database have been changed and contain
the embedded code to launch the flash content

19 Dec 2006, 12:53 PM
#11
hondauser85 avatar

hondauser85

Zen Follower

Join Date:
Apr 2005
Posts:
95
Plugin Contributions:
0

Re: Flash description add on help

i think the database is the answer bc like i said before i deleted everything and put the original files back and when i did this the only thing that changed was the text in the description was missing and the flash was still there

19 Dec 2006, 1:05 PM
#12
hondauser85 avatar

hondauser85

Zen Follower

Join Date:
Apr 2005
Posts:
95
Plugin Contributions:
0

Re: Flash description add on help

here this is the description.php file and it changes the database somehow.......

Zen Cart Flash Description
Copyright (c) 2006 Wang Aocheng, All Right Reserved.
http://www.buybaobao.com
*/

include('includes/configure.php');
include('includes/database_tables.php');
$desc_db = @mysql_pconnect(DB_SERVER, DB_SERVER_USERNAME, DB_SERVER_PASSWORD);
@mysql_select_db(DB_DATABASE, $desc_db);
	$sql = "select products_description
		from  " . TABLE_PRODUCTS . " p, " . TABLE_PRODUCTS_DESCRIPTION . " pd
		where  p.products_status = '1'
		and    p.products_id = '" . $_COOKIE['product_id'] . "'
		and    pd.products_id = p.products_id
		and    pd.language_id = '" . $_COOKIE['language'] . "'";
	$query = mysql_query($sql);
	$desc = mysql_fetch_array($query);
	$value = 'desc=' .  rawurlencode($desc['products_description']);
echo $value;

?>

19 Dec 2006, 10:16 PM
#13
drbyte avatar

drbyte

Sensei

Join Date:
Jan 2004
Posts:
63,513
Plugin Contributions:
176

Re: Flash description add on help

That's not changing the database ... it's only reading it for display purposes.

so ... the problem is in your template files.

Open the Developer Toolkit in the Admin (under Tools). Search for swf or description.swf
Maybe that'll help you find "which" file contains the reference to it.

You'll find tips on using Dev Toolkit in the FAQ section ... or just read the instructions on the screen.

19 Dec 2006, 10:35 PM
#14
hondauser85 avatar

hondauser85

Zen Follower

Join Date:
Apr 2005
Posts:
95
Plugin Contributions:
0

Re: Flash description add on help

ok so any suggestions?

19 Dec 2006, 10:47 PM
#15
drbyte avatar

drbyte

Sensei

Join Date:
Jan 2004
Posts:
63,513
Plugin Contributions:
176

Re: Flash description add on help

If you don't want to do the Developer Toolkit suggestion I offered, then try this approach instead:
http://www.zen-cart.com/wiki/index.php/Troubleshoot_-_Diagnosing_Obscure_Issues

Alternatively you may need to hire a programmer to find out which file you've put the changes in so they can be reversed.

19 Dec 2006, 10:53 PM
#16
hondauser85 avatar

hondauser85

Zen Follower

Join Date:
Apr 2005
Posts:
95
Plugin Contributions:
0

Re: Flash description add on help

ok i will try the devoloper toolkit first

20 Dec 2006, 3:25 AM
#17
hondauser85 avatar

hondauser85

Zen Follower

Join Date:
Apr 2005
Posts:
95
Plugin Contributions:
0

Re: Flash description add on help

strange i deleted everything once again and replaced the old files and now its fine. Thanks dr byte

25 Feb 2009, 3:16 PM
#18
preman avatar

preman

New Zenner

Join Date:
Nov 2008
Posts:
22
Plugin Contributions:
0

Re: Flash description add on help

I have to restore my website.........

I wonder who the ############ made this ############## contribution ? free advertising ?
Why this can be allowed to place in ZEN CART for everyone to download ?