Forums / Addon Sideboxes / Recycling sidebox

Recycling sidebox

Locked
Results 1 to 18 of 18
This thread is locked. New replies are disabled.
30 Apr 2009, 23:19
#1
luvingmamma avatar

luvingmamma

New Zenner

Join Date:
Aug 2007
Posts:
80
Plugin Contributions:
0

Recycling sidebox

I have tried to add this free mod 3 times and all 3 times it does not work. the download doesn't unzip like the rest do for me- i am not sure if it's my computer (vista and not the most stable machine these days :( ) or if it's the mod.

Can anyone look at this?

we run a green diaper service and are opening a few other "green" businesses for families later this year so this one is kind of important to me and it's killing me it won't work :(

Thanks!

B
30 Apr 2009, 23:58
#2
clydejones avatar

clydejones

Deceased

Join Date:
Nov 2005
Posts:
7,017
Plugin Contributions:
12

Re: Recycling sidebox

luvingmamma:

I have tried to add this free mod 3 times and all 3 times it does not work. the download doesn't unzip like the rest do for me- i am not sure if it's my computer (vista and not the most stable machine these days :( ) or if it's the mod.

Can anyone look at this?

we run a green diaper service and are opening a few other "green" businesses for families later this year so this one is kind of important to me and it's killing me it won't work :(

Thanks!

B


To which mod are you referring?
01 May 2009, 00:21
#3
luvingmamma avatar

luvingmamma

New Zenner

Join Date:
Aug 2007
Posts:
80
Plugin Contributions:
0

Re: Recycling sidebox

clydejones:

To which mod are you referring?


it's the recycle sidebox

its in the free mods it creates a little box that states we recycle all packaging etc.. :)
01 May 2009, 00:30
#4
clydejones avatar

clydejones

Deceased

Join Date:
Nov 2005
Posts:
7,017
Plugin Contributions:
12

Re: Recycling sidebox

luvingmamma:

it's the recycle sidebox

its in the free mods it creates a little box that states we recycle all packaging etc.. :)


I didn't have any problem downloading and unzip it.

I did a rezip of the mod - you can try that and see if it works

Attachment #5669
01 May 2009, 00:35
#5
luvingmamma avatar

luvingmamma

New Zenner

Join Date:
Aug 2007
Posts:
80
Plugin Contributions:
0

Re: Recycling sidebox

clydejones:

To which mod are you referring?


clydejones:

I didn't have any problem downloading and unzip it.

I did a rezip of the mod - you can try that and see if it works

Attachment #5669


your file unzipped right- now let me go try it :) yeah :)

Clyde you are such a life saver!
01 May 2009, 00:48
#6
luvingmamma avatar

luvingmamma

New Zenner

Join Date:
Aug 2007
Posts:
80
Plugin Contributions:
0

Re: Recycling sidebox

no luck still doesn't work

I did it the same as I have all the other side box mods but it doesn't work :(

www.greengoodnessdiaperservice.com
01 May 2009, 01:05
#7
clydejones avatar

clydejones

Deceased

Join Date:
Nov 2005
Posts:
7,017
Plugin Contributions:
12

Re: Recycling sidebox

luvingmamma:

no luck still doesn't work

I did it the same as I have all the other side box mods but it doesn't work :(

www.greengoodnessdiaperservice.com


You forgot to upload includes/languages/english/extra_definitions/YOUR_TEMPLATE/Recycle_defines.php

Why it not showing the image I'm not sure.
01 May 2009, 01:10
#8
luvingmamma avatar

luvingmamma

New Zenner

Join Date:
Aug 2007
Posts:
80
Plugin Contributions:
0

Re: Recycling sidebox

I feel like a total retard! I went into includes/lang/english/comstock and put it in :( I skipped the one step WAH! RETARDED!!

yeah I am lost on the images too :(
01 May 2009, 01:17
#9
steven300 avatar

steven300

Totally Zenned

Join Date:
Jan 2008
Posts:
1,564
Plugin Contributions:
0

Re: Recycling sidebox

It's looking for recycle1.jpg in your main images folder but it's not there.
01 May 2009, 01:18
#10
luvingmamma avatar

luvingmamma

New Zenner

Join Date:
Aug 2007
Posts:
80
Plugin Contributions:
0

Re: Recycling sidebox

the graphic it gave me i called recyle animated graphic.gif so i need to rename it right?
01 May 2009, 01:29
#11
luvingmamma avatar

luvingmamma

New Zenner

Join Date:
Aug 2007
Posts:
80
Plugin Contributions:
0

Re: Recycling sidebox

ok resaved it as that name it's no longer animated but don't really care about that :)

doesn't seem to do all the "mod" instructions talked about but it could be me but I am happy with this :)

Thanks Clyde & Steven300!!!
01 May 2009, 01:34
#12
steven300 avatar

steven300

Totally Zenned

Join Date:
Jan 2008
Posts:
1,564
Plugin Contributions:
0

Re: Recycling sidebox

As it's an animated gif, it will likely not work if you rename it to a jpg. Best to change the code which is trying to point to it:

includes/templates/your_template/sideboxes/tpl_Recycle.php
01 May 2009, 02:43
#13
clydejones avatar

clydejones

Deceased

Join Date:
Nov 2005
Posts:
7,017
Plugin Contributions:
12

Re: Recycling sidebox

luvingmamma:

ok resaved it as that name it's no longer animated but don't really care about that :)

doesn't seem to do all the "mod" instructions talked about but it could be me but I am happy with this :)

Thanks Clyde & Steven300!!!


B.

I reworked/updated the mod somewhat and it seems to be working fine.

If you'd like to give it a go, just unzip the file and upload the entire includes folder to your server. I've already renamed the template directories for you.

As for telling people what you recycle You'd need to create additional define statements and then include those in the sidebox.

Attachment #5671
01 May 2009, 02:44
#14
luvingmamma avatar

luvingmamma

New Zenner

Join Date:
Aug 2007
Posts:
80
Plugin Contributions:
0

Re: Recycling sidebox

Wow that did the trick works like a dream :)

Thanks again!!
01 May 2009, 02:56
#15
clydejones avatar

clydejones

Deceased

Join Date:
Nov 2005
Posts:
7,017
Plugin Contributions:
12

Re: Recycling sidebox

luvingmamma:

Wow that did the trick works like a dream :)

Thanks again!!


Glad I could help.
01 May 2009, 02:56
#16
luvingmamma avatar

luvingmamma

New Zenner

Join Date:
Aug 2007
Posts:
80
Plugin Contributions:
0

Re: Recycling sidebox

I didn't see your post Clyde- i changed the name and it worked that way.

What do you mean the define statements, do I change the recycle_defines files? how do I do that.

sorry I am a bundle of questions today :)
01 May 2009, 03:04
#17
clydejones avatar

clydejones

Deceased

Join Date:
Nov 2005
Posts:
7,017
Plugin Contributions:
12

Re: Recycling sidebox

luvingmamma:

I didn't see your post Clyde- i changed the name and it worked that way.

What do you mean the define statements, do I change the recycle_defines files? how do I do that.

sorry I am a bundle of questions today :)


open includes/languages/english/extra_definitions/comstock/recycle_defines

you can add a new define statement (such as)

define("WE_RECYCLE', 'Paper Products');

Save the file and upload to your server.

Now open
includes/templates/comstock/sideboxes/tpl_Recycle.php

add the information as indicated by the highlight

$content .= zen_image($template->get_template_dir(IMAGE_RECYCLE, DIR_WS_TEMPLATE, $current_page_base,'images'). '/' . IMAGE_RECYCLE, IMAGE_RECYCLE_ALT, IMAGE_RECYCLE_WIDTH, IMAGE_RECYCLE_HEIGHT);

$content .= '<br />' . WE_RECYCLE;

Save the file and upload to your server
01 May 2009, 03:27
#18
luvingmamma avatar

luvingmamma

New Zenner

Join Date:
Aug 2007
Posts:
80
Plugin Contributions:
0

Re: Recycling sidebox

I didn't get that to work but I think it's due to lack of sleep will look at again when I am fresh again tomorrow...