Simple Machines Community Forum

Customizing SMF => Modifications and Packages => Topic started by: Dream Portal Team on August 04, 2008, 07:49:52 PM

Title: Custom Copyright
Post by: Dream Portal Team on August 04, 2008, 07:49:52 PM
Live Demo (http://key.jeunosky.net/)
Link to Modification (http://custom.simplemachines.org/mods/index.php?mod=1317)

Package Information
Latest Version: 1.0
Created by: ccbtimewiz (http://www.simplemachines.org/community/index.php?action=profile;u=111571;sa=summary)
Built for: SMF 2.0 BETA and SMF 1.1.7
Package: Custom Copyright


(http://i37.tinypic.com/2z9l9ap.png)

(http://i34.tinypic.com/23w1nhk.png)


What is this?

This modification edits your index.template.php file with a custom copyright you define in Admin > Current Theme. You CAN use BBcode in this field. HTML entities will also convert.


Alteration Log

[!] Released on August 4, 2008.


Need Help?

If you need help with this modification, please don't hesitate to post in the support thread. Please note this mod only installs to the default theme. In order to make it work on other themes, you'll be needing to edit your index.template.php file.

For Custom Themes
(open index.template.php of your theme)

Find:
', theme_copyright(), '

Replace with:
', !empty($settings['custom_copyright']) ? '<span class="smalltext">'. parse_bbc($settings['custom_copyright']). '</span>' : '', '<br />
', theme_copyright(), '
Title: Re: Custom Copyright
Post by: Adish - (F.L.A.M.E.R) on August 04, 2008, 07:55:28 PM
1st one to try i think.... This mod is kwl.. It came up without doing the theme edits.. :D Thank you for this mod, now i dont have to secretly edit the files to add in my name up there.

EDIT:-
The box came up but the text didnt appear up WITHOUT the edit. The mod works great.
Title: Re: Custom Copyright
Post by: jossanaijr on August 04, 2008, 09:19:06 PM
Great! Thanks!
Title: Re: Custom Copyright
Post by: 4Kstore on August 04, 2008, 09:44:53 PM
nice works.

Spanish:

$txt['custom_copyright_desc'] = 'Esto se mostrara en la parte inferior.';
$txt['custom_copyright'] = 'Ingrese su copyright:';



baiis!
Title: Re: Custom Copyright
Post by: ccbtimewiz on August 04, 2008, 09:46:54 PM
Gracias por la traducción.
Title: Re: Custom Copyright
Post by: Nathaniel on August 04, 2008, 09:50:22 PM
Nice little mod ccbtimewiz.
Are you going to make an SMF 2 Beta version?
Title: Re: Custom Copyright
Post by: ccbtimewiz on August 04, 2008, 09:54:30 PM
Quote from: LHVWB on August 04, 2008, 09:50:22 PM
Nice little mod ccbtimewiz.
Are you going to make an SMF 2 Beta version?

I lack at writing comprehensive modifications for betas, though I doubt it'll be that difficult. I'll take a look into it.
Title: Re: Custom Copyright
Post by: Kylezz on August 04, 2008, 11:48:22 PM
Thanks mate. This really helped  :)
Title: Re: Custom Copyright
Post by: Eliana Tamerin on August 05, 2008, 11:20:28 AM
Very good mod, I just put it into use. Though you should be aware that some themes (especially Bloc's) have a custom Settings.template.php as well.

Anyways, just three suggestions:
-Code a variable for the &copy; code, some people don't know the HTML code for it.
-Make note that HTML can be used. Might also want to note the most common HTML, the linebreak. :P
-I'd suggest making a text area, instead of a text box, to give more room. It also helps when adding in linebreaks.
Title: Re: Custom Copyright
Post by: blondeamon on August 05, 2008, 01:19:33 PM
Doesnt work here guys , it appears twice the banner i have UNDER the smf copyright but not even once the one it supposed to ABOVE the smf copyright.

It installed perfectly on 1.1.5 and i edited my /themes/dilbermc index.template.php and replaced

', theme_copyright(), '   with

', !empty($settings['custom_copyright']) ? '<span class="smalltext">'. parse_bbc($settings['custom_copyright']). '</span>' : '', '<br />
                  ', theme_copyright(), '

this is what i got:

(http://imageshack.gr/files/wh6ux5amevyedc76vdop.jpg) (http://imageshack.gr/view.php?file=wh6ux5amevyedc76vdop.jpg)

Oh and on my Admin->Current Theme  there is no new filed for the copyright as it should.
Title: Re: Custom Copyright
Post by: Eliana Tamerin on August 05, 2008, 01:22:38 PM
You may have a custom Settings.template.php that will need to be edited as well.
Title: Re: Custom Copyright
Post by: blondeamon on August 05, 2008, 01:25:08 PM
Can you please tell me what to edit there?

I found in there this part with the word copyright inside:

array(


'id' => 'custom_copyright',


'label' => $txt['custom_copyright'],


'description' => $txt['custom_copyright_desc'],


'type' => 'text',


),
Title: Re: Custom Copyright
Post by: ccbtimewiz on August 05, 2008, 03:30:23 PM
Quote from: blondeamon on August 05, 2008, 01:25:08 PM
Can you please tell me what to edit there?

I found in there this part with the word copyright inside:

array(


'id' => 'custom_copyright',


'label' => $txt['custom_copyright'],


'description' => $txt['custom_copyright_desc'],


'type' => 'text',


),


Attach your index.template.php and settings.template.php files.
Title: Re: Custom Copyright
Post by: blondeamon on August 05, 2008, 04:03:38 PM
These are from the /themes/dilbermc

i hope thats what you meant
Title: Re: Custom Copyright
Post by: ccbtimewiz on August 05, 2008, 04:14:10 PM
Try these out.
Title: Re: Custom Copyright
Post by: blondeamon on August 05, 2008, 05:13:03 PM
Just put them and didnt work ... same thing again 2 times the banner .

Title: Re: Custom Copyright
Post by: ccbtimewiz on August 05, 2008, 05:14:39 PM
Quote from: blondeamon on August 05, 2008, 05:13:03 PM
Just put them and didnt work ... same thing again 2 times the banner .


Strange, things should work fine. Link to website, and temporary admin/FTP details via PM please?
Title: Re: Custom Copyright
Post by: BuЯЯЯЯaK on August 05, 2008, 05:16:36 PM
Thanks :B
Title: Re: Custom Copyright
Post by: Sudhakar Arjunan on August 06, 2008, 01:52:22 AM
Hi i was trying to install this in my fourm. It works only in default and not in dilbermc theme.

Came to support post and read the above post, and found the same error as mentioned by blondeamon.

I dont have any such signature showing in current theme as well as footer area.

But i am trying to work on dilbermc settings.template page. Will update it if works.
Title: Re: Custom Copyright
Post by: Nathaniel on August 06, 2008, 02:13:57 AM
This mod, allows you to add your own personal copyright to the page. It doesn't remove any other copyrights.
Title: Re: Custom Copyright
Post by: Sudhakar Arjunan on August 06, 2008, 02:43:12 AM
Quote from: ccbtimewiz on August 05, 2008, 04:14:10 PM
Try these out.

Hi i have checked these files and not sure what edit i have to updated in settings. template page of dilbermc theme.
I have already modified index.template file with the theme copyright link you have mentioned.

Let me know the edit to be performed for dilbermc settings. template file.
Title: Re: Custom Copyright
Post by: tuguex on August 06, 2008, 01:51:08 PM
I install this on my forum, but nothing appends :S
How i can put this working ?
thnks
Title: Re: Custom Copyright
Post by: ccbtimewiz on August 06, 2008, 03:27:40 PM
Quote from: tuggaming on August 06, 2008, 01:51:08 PM
I install this on my forum, but nothing appends :S
How i can put this working ?
thnks

Are you using the default theme or a custom theme? If you're using a custom theme, be sure to make the edit I described in my first post.
Title: Re: Custom Copyright
Post by: tuguex on August 06, 2008, 03:32:09 PM
Quote from: ccbtimewiz on August 06, 2008, 03:27:40 PM
Quote from: tuggaming on August 06, 2008, 01:51:08 PM
I install this on my forum, but nothing appends :S
How i can put this working ?
thnks

Are you using the default theme or a custom theme? If you're using a custom theme, be sure to make the edit I described in my first post.

I do that ;)  and in ADMin Menu, somewhere in a "blank space"  , i wrotte "©2007-2008 Tuggaming".
For my surprise, i think i do it : hxxp://tuggaming.weblusa.org/index.php   XD

thnk's =)
Title: Re: Custom Copyright
Post by: Hoochie Coochie Man on August 07, 2008, 10:43:06 AM
Nice idea @ccbtimewiz
Thanks for the mod.
Title: Re: Custom Copyright
Post by: Sudhakar Arjunan on August 07, 2008, 03:40:16 PM
Hi its working in default and not in dilbermc.

Give me some suggestions.
Title: Re: Custom Copyright
Post by: jojemi on August 10, 2008, 05:57:07 PM
Thanks-this worked great on all my themes--just a couple that it can't be seen because it's the same color as the background--oh well!

How would I make it link to the actual website?
Title: Re: Custom Copyright
Post by: Eliana Tamerin on August 10, 2008, 10:17:20 PM
HTML is enabled.

<a href="yourlink.com">Your Title</a>
Title: Re: Custom Copyright
Post by: tk2012 on August 11, 2008, 03:23:21 AM
I'm loving these !  Been without internet all weekend and was able to piggyback on my neighbors open network tonight (now) and do this one.  REAL QUICK and EASY to install!

Great job!
Title: Re: Custom Copyright
Post by: finner on August 12, 2008, 09:49:34 PM
Mod did not work for me 1.1.5 

After removing I get this at the top of my forum

$txt['custom_copyright_desc'] = 'This will be displayed at the bottom.'; $txt['custom_copyright'] = 'Enter custom copyright:';


Please tell me how to remove this

Thanks
Title: Re: Custom Copyright
Post by: ccbtimewiz on August 12, 2008, 09:50:29 PM
Quote from: finner on August 12, 2008, 09:49:34 PM
Mod did not work for me 1.1.5 

After removing I get this at the top of my forum

$txt['custom_copyright_desc'] = 'This will be displayed at the bottom.'; $txt['custom_copyright'] = 'Enter custom copyright:';


Please tell me how to remove this

Thanks

Open modifications.english.php

Make sure everything is before the ?> tag.
Title: Re: Custom Copyright
Post by: finner on August 12, 2008, 10:18:41 PM
everything on the page

The mod has been removed
Title: Re: Custom Copyright
Post by: ccbtimewiz on August 12, 2008, 10:19:37 PM
Quote from: finner on August 12, 2008, 10:18:41 PM
everything on the page

The mod has been removed


How did the mod not work? Are you using a custom theme? If so, did you make the correct manual edits instructed on the first post / download page?
Title: Re: Custom Copyright
Post by: finner on August 12, 2008, 10:22:58 PM
Not sure why it did not work

Im on the default theme

Still have that text at the top

?>  is first in the mod.english.php 
Title: Re: Custom Copyright
Post by: ccbtimewiz on August 12, 2008, 10:23:50 PM
Quote from: finner on August 12, 2008, 10:22:58 PM
Not sure why it did not work

Im on the default theme

Still have that text at the top

?>  is first in the mod.english.php 

Attach your modification.english.php file.
Title: Re: Custom Copyright
Post by: finner on August 12, 2008, 10:40:33 PM
Here ya go


Thanks for the help!
Title: Re: Custom Copyright
Post by: finner on August 12, 2008, 10:46:16 PM
It also seems have to adjusted how the text looks for all IE users (http://www.darksideoutdoors.com/Forum/Smileys/default/wall.gif)


What files does this mod effect ?
Title: Re: Custom Copyright
Post by: ccbtimewiz on August 12, 2008, 10:52:12 PM
The reason to why the install went a bit buggy was because of some arcade mod.

Anyways, fixed...
Title: Re: Custom Copyright
Post by: finner on August 12, 2008, 10:59:25 PM
Thanks a lot

Yea that's my next issue...

I screwed up the arcade upgrade yesterday.

Now I have 2 arcade links in my menu bar.. and prolly more issues..

Any idea how to fix the double links? 

Can I install your mod now or do I still have issues?
Title: Re: Custom Copyright
Post by: ccbtimewiz on August 12, 2008, 11:04:01 PM
Attach your index.template.php
Title: Re: Custom Copyright
Post by: finner on August 12, 2008, 11:24:01 PM
thanks again

Title: Re: Custom Copyright
Post by: ccbtimewiz on August 12, 2008, 11:37:10 PM
Here you are...
Title: Re: Custom Copyright
Post by: finner on August 12, 2008, 11:55:36 PM
thank you sir


Think I can go ahead and install you mod now?

Title: Re: Custom Copyright
Post by: ccbtimewiz on August 13, 2008, 12:05:29 AM
Quote from: finner on August 12, 2008, 11:55:36 PM
thank you sir


Think I can go ahead and install you mod now?



Yes. However I already made the edits my mod makes for your index.template.php file. So if that file fails, continue.
Title: Re: Custom Copyright
Post by: finner on August 13, 2008, 12:14:51 AM
mod works

get this now at the top

$txt['custom_copyright_desc'] = 'This will be displayed at the bottom.'; $txt['custom_copyright'] = 'Enter custom copyright:';

Also have two windows to add the copyright

and it shows 3 times....
Title: Re: Custom Copyright
Post by: ccbtimewiz on August 13, 2008, 12:15:40 AM
Quote from: finner on August 13, 2008, 12:14:51 AM
mod works

get this now at the top

$txt['custom_copyright_desc'] = 'This will be displayed at the bottom.'; $txt['custom_copyright'] = 'Enter custom copyright:';

Also have two windows to add the copyright

and it shows 3 times....

Upload the modifications.english.php file I attached in the other post and that will fix that.

Now, attach your settings.template.php file.
Title: Re: Custom Copyright
Post by: finner on August 13, 2008, 12:22:34 AM
Uploaded other file

see file

thanks again!!
Title: Re: Custom Copyright
Post by: ccbtimewiz on August 13, 2008, 12:24:01 AM
Here you are.
Title: Re: Custom Copyright
Post by: finner on August 13, 2008, 12:30:46 AM
Same

https://www.darksideoutdoors.com/Forum/index.php

thanks though...  I feel confident we will fix it soon
Title: Re: Custom Copyright
Post by: Sudhakar Arjunan on August 13, 2008, 05:17:56 AM
Any Answers to my queries.

http://www.simplemachines.org/community/index.php?topic=253713.msg1650212#msg1650212
Title: Re: Custom Copyright
Post by: ccbtimewiz on August 13, 2008, 10:55:58 AM
Quote from: asudhakar on August 13, 2008, 05:17:56 AM
Any Answers to my queries.

http://www.simplemachines.org/community/index.php?topic=253713.msg1650212#msg1650212

You have to manually edit your theme templates as it is stated in the first post.
Title: Re: Custom Copyright
Post by: Sudhakar Arjunan on August 13, 2008, 12:36:03 PM
Quote from: ccbtimewiz on August 13, 2008, 10:55:58 AM
You have to manually edit your theme templates as it is stated in the first post.

you are right,
I have attached how my dlibermc code look like. Even Checked up with the post you have mentioned. And still no change in it.


                           <td valign="middle" align="center" style="white-space: nowrap;" class="smalltext">
                                        ', !empty($settings['custom_copyright']) ? '<span class="smalltext">'. parse_bbc($settings['custom_copyright']). '</span>' : '', '<br />
                  ', theme_copyright(), '
<br/><br/>
<span class="smalltext">'. $settings['custom_copyright'] . '</span>
</td>
Title: Re: Custom Copyright
Post by: ccbtimewiz on August 13, 2008, 12:36:44 PM
Does your theme have a custom settings.template.php file?
Title: Re: Custom Copyright
Post by: Sudhakar Arjunan on August 13, 2008, 12:38:22 PM
Quote from: ccbtimewiz on August 13, 2008, 12:36:44 PM
Does your theme have a custom settings.template.php file?

Yes i do and i have attached the settings.template.php file here.


<?php
// Version: 1.1; Settings

function template_options()
{
global $context$settings$options$scripturl$txt;

$context['theme_options'] = array(
array(
'id' => 'show_board_desc',
'label' => $txt[732],
'default' => true,
),
array(
'id' => 'show_children',
'label' => $txt['show_children'],
'default' => true,
),
array(
'id' => 'show_no_avatars',
'label' => $txt['show_no_avatars'],
'default' => true,
),
array(
'id' => 'show_no_signatures',
'label' => $txt['show_no_signatures'],
'default' => true,
),
array(
'id' => 'show_no_censored',
'label' => $txt['show_no_censored'],
'default' => true,
),
array(
'id' => 'return_to_post',
'label' => $txt['return_to_post'],
'default' => true,
),
array(
'id' => 'no_new_reply_warning',
'label' => $txt['no_new_reply_warning'],
'default' => true,
),
array(
'id' => 'view_newest_first',
'label' => $txt['recent_posts_at_top'],
'default' => true,
),
array(
'id' => 'view_newest_pm_first',
'label' => $txt['recent_pms_at_top'],
'default' => true,
),
array(
'id' => 'popup_messages',
'label' => $txt['popup_messages'],
'default' => true,
),
array(
'id' => 'copy_to_outbox',
'label' => $txt['copy_to_outbox'],
'default' => true,
),
array(
'id' => 'auto_notify',
'label' => $txt['auto_notify'],
'default' => true,
),
array(
'id' => 'calendar_start_day',
'label' => $txt['calendar_start_day'],
'options' => array(
=> $txt['days'][0],
=> $txt['days'][1],
=> $txt['days'][6],
),
'default' => true,
),
array(
'id' => 'display_quick_reply',
'label' => $txt['display_quick_reply'],
'options' => array(
=> $txt['display_quick_reply1'],
=> $txt['display_quick_reply2'],
=> $txt['display_quick_reply3']
),
'default' => true,
),
array(
'id' => 'display_quick_mod',
'label' => $txt['display_quick_mod'],
'options' => array(
=> $txt['display_quick_mod_none'],
=> $txt['display_quick_mod_check'],
=> $txt['display_quick_mod_image'],
),
'default' => true,
),
);
}

function 
template_settings()
{
global $context$settings$options$scripturl$txt;

$context['theme_settings'] = array(
array(
'id' => 'header_logo_url',
'label' => $txt['header_logo_url'],
'description' => $txt['header_logo_url_desc'],
'type' => 'text',
),
array(
'id' => 'logo_not_show',
'label' => $txt['logo_not_show'],
),
array(
'id' => 'show_name_near_logo',
'label' => $txt['show_name_near_logo'],
),
array(
'id' => 'top_right_html',
'label' => $txt['top_right_html'],
'description' => $txt['top_right_html_desc'],
'type' => 'text',
),
array(
'id' => 'custom_global_html',
'label' => $txt['custom_global_html'],
'description' => $txt['custom_global_html_desc'],
'type' => 'text',
),
array(
'id' => 'page_div_width',
'label' => $txt['page_div_width'],
'description' => $txt['page_div_width_desc'],
'type' => 'text',
),
array(
'id' => 'theme_main_color',
'label' => $txt['theme_main_color'],
'options' => array(
'lightblue' => 'Light Blue',
'lightnavy' => 'Light Navy',
'lightsilver' => 'Light Silver',
'lightturquoise' => 'Light Turquoise',
'lightgreen' => 'Light Green',
'lightolive' => 'Light Olive',
'lightgolden' => 'Light Golden',
'lightbrown' => 'Light Brown',
'lightred' => 'Light Red',
'lightrose' => 'Light Rose',
'lightlilac' => 'Light Lilac',
'lightviolet' => 'Light Violet',
        
),
),
array(
'id' => 'allow_color_change',
'label' => $txt['allow_color_change'],
'options' => array(
'no' => $txt['allow_color_change_no'],
'box' => $txt['allow_color_change_box'],
'bars' => $txt['allow_color_change_bars'],
        
),
),
array(
'id' => 'child_boards_rows',
'label' => $txt['child_boards_rows'],
'description' => $txt['child_boards_rows_desc'],
),
array(
'id' => 'boardname_posts_lastposts_nodisplay',
'label' => $txt['boardname_posts_lastposts_nodisplay'],
'description' => $txt['boardname_posts_lastposts_nodisplay_desc'],
),
array(
'id' => 'custom_copyright',
'label' => $txt['custom_copyright'],
'description' => $txt['custom_copyright_desc'],
'type' => 'text',
),
array(
'id' => 'number_recent_posts',
'label' => $txt['number_recent_posts'],
'description' => $txt['number_recent_posts_desc'],
'type' => 'number',
),
array(
'id' => 'display_who_viewing',
'label' => $txt['who_display_viewing'],
'options' => array(
=> $txt['who_display_viewing_off'],
=> $txt['who_display_viewing_numbers'],
=> $txt['who_display_viewing_names'],
),
),
array(
'id' => 'smiley_sets_default',
'label' => $txt['smileys_default_set_for_theme'],
'options' => $context['smiley_sets'],
),
array(
'id' => 'show_modify',
'label' => $txt[383],
),
array(
'id' => 'show_member_bar',
'label' => $txt[510],
),
array(
'id' => 'linktree_link',
'label' => $txt[522],
),
array(
'id' => 'show_profile_buttons',
'label' => $txt[523],
),
array(
'id' => 'show_mark_read',
'label' => $txt[618],
),
array(
'id' => 'linktree_inline',
'label' => $txt['smf105'],
'description' => $txt['smf106'],
),
array(
'id' => 'show_sp1_info',
'label' => $txt['smf200'],
),
array(
'id' => 'allow_no_censored',
'label' => $txt['allow_no_censored'],
),
array(
'id' => 'show_bbc',
'label' => $txt[740],
),
array(
'id' => 'additional_options_collapsable',
'label' => $txt['additional_options_collapsable'],
),
array(
'id' => 'enable_news',
'label' => $txt[379],
),
array(
'id' => 'show_newsfader',
'label' => $txt[387],
),
array(
'id' => 'newsfader_time',
'label' => $txt[739],
'type' => 'number',
),
array(
'id' => 'show_user_images',
'label' => $txt[384],
),
array(
'id' => 'show_blurb',
'label' => $txt[385],
),
array(
'id' => 'show_latest_member',
'label' => $txt[382],
),
array(
'id' => 'use_image_buttons',
'label' => $txt[521],
),
array(
'id' => 'show_gender',
'label' => $txt[386],
),
array(
'id' => 'hide_post_group',
'label' => $txt['hide_post_group'],
'description' => $txt['hide_post_group_desc'],
),
);
}

?>

Title: Re: Custom Copyright
Post by: ccbtimewiz on August 13, 2008, 12:40:45 PM
Alright, added the options. Download this file..
Title: Re: Custom Copyright
Post by: Sudhakar Arjunan on August 13, 2008, 12:43:32 PM
Quote from: ccbtimewiz on August 13, 2008, 12:40:45 PM
Alright, added the options. Download this file..

Thanks for it, and could you tell me which line you have modified. So that i can also learn it Author.
Title: Re: Custom Copyright
Post by: ccbtimewiz on August 13, 2008, 12:55:04 PM
I added my functions.

array(
'id' => 'custom_copyright',
'label' => $txt['custom_copyright'],
'description' => $txt['custom_copyright_desc'],
'type' => 'text',
),
Title: Re: Custom Copyright
Post by: Adish - (F.L.A.M.E.R) on August 13, 2008, 01:05:47 PM
just a type of copywrite question...

I am using a theme, either i have misplaced the copywrite text onto a different place, or the author has added it on that particular place.

What the problem is, the copywrite text is behand the "Mark all as Read" option just at the end of the topics and boards. As its clicked or a sort of just a type of a bit of misplacement for clicking, the authors site would open up in a new window instead of doing the function of marking all topics as read...

So the question is, is it fine to move the copywrite text onto a different location where it is visible ? or use this mod and add in the same copywrite at the base rather than the place it is before...

Please tell me about it...

Thank you.
Title: Re: Custom Copyright
Post by: ccbtimewiz on August 13, 2008, 01:07:30 PM
Attach your index.template.php file..
Title: Re: Custom Copyright
Post by: finner on August 13, 2008, 01:37:43 PM
Quote from: ccbtimewiz on August 13, 2008, 12:15:40 AM
Quote from: finner on August 13, 2008, 12:14:51 AM
mod works

get this now at the top

$txt['custom_copyright_desc'] = 'This will be displayed at the bottom.'; $txt['custom_copyright'] = 'Enter custom copyright:';

Also have two windows to add the copyright

and it shows 3 times....

Upload the modifications.english.php file I attached in the other post and that will fix that.

Now, attach your settings.template.php file.


done
Title: Re: Custom Copyright
Post by: Adish - (F.L.A.M.E.R) on August 13, 2008, 01:45:03 PM
index.template.php attached.
Title: Re: Custom Copyright
Post by: Eliana Tamerin on August 13, 2008, 01:58:10 PM
Having fun with the arcade mod, ccbtimewiz? :P
/me hates it
Title: Re: Custom Copyright
Post by: ccbtimewiz on August 13, 2008, 01:58:33 PM
Quote from: F.L.A.M.E.R on August 13, 2008, 01:45:03 PM
index.template.php attached.

This is a template for SMF 2.0.

// Version: 2.0 Beta 3; index

This modification is only for the 1.x series as stated in my first post.

QuotePackage Information
Latest Version: 1.0
Created by: ccbtimewiz
Built for: SMF 1.1.5 and below
Package: Custom Copyright
Title: Re: Custom Copyright
Post by: finner on August 13, 2008, 02:09:11 PM
IE users still have larger text 

Also still have a line of code at the top of my forum
Title: Re: Custom Copyright
Post by: ccbtimewiz on August 13, 2008, 02:13:10 PM
Quote from: finner on August 13, 2008, 02:09:11 PM
IE users still have larger text 

Also still have a line of code at the top of my forum

This mod is currently only supported by the default theme's CSS style sheet. This means you need to port the "smalltext" class into your style.css file for your theme.

Likewise, I found nothing wrong with your settings.template.php file.

Also, like I've said before, please make sure all the $txt[] strings are before the ?> mark. They are not as I looked into your file and I already repaired it for you.
Title: Re: Custom Copyright
Post by: finner on August 13, 2008, 02:15:59 PM
I'm using the default theme

You fixed it for me then I installed your mod and get the code at the top again

Title: Re: Custom Copyright
Post by: finner on August 13, 2008, 02:21:47 PM
Everything is fixed

except the copyright shows twice in the admin area and twice at the bottom or the pages
Title: Re: Custom Copyright
Post by: Sudhakar Arjunan on August 13, 2008, 02:23:18 PM
Quote from: ccbtimewiz on August 13, 2008, 12:55:04 PM
I added my functions.

array(
'id' => 'custom_copyright',
'label' => $txt['custom_copyright'],
'description' => $txt['custom_copyright_desc'],
'type' => 'text',
),


I have Uploaded the file you have given.
Refreshed Many times,
Checked in all browsers.

Still i could see only copyright in default and not in dilber mc.
Title: Re: Custom Copyright
Post by: Adish - (F.L.A.M.E.R) on August 13, 2008, 03:47:48 PM
Quote from: ccbtimewiz on August 13, 2008, 01:58:33 PM
Quote from: F.L.A.M.E.R on August 13, 2008, 01:45:03 PM
index.template.php attached.

This is a template for SMF 2.0.

// Version: 2.0 Beta 3; index

This modification is only for the 1.x series as stated in my first post.

QuotePackage Information
Latest Version: 1.0
Created by: ccbtimewiz
Built for: SMF 1.1.5 and below
Package: Custom Copyright

But it works with the beta version which is out... well the copywrite problem is different.

see the image... this is probably not related to this but yet if any help can be done, it is appritiated.

Thank you.

EDIT:-
Forgot to add in the image. Image now attached.
Title: Re: Custom Copyright
Post by: Sudhakar Arjunan on August 13, 2008, 04:22:38 PM
Any Updates http://www.simplemachines.org/community/index.php?topic=253713.msg1659336#msg1659336
Title: Re: Custom Copyright
Post by: Adish - (F.L.A.M.E.R) on August 13, 2008, 09:41:22 PM
sorry.. i was wrong.. just tested it up properly and came to a conclusion.. it doesnt work with the beta release... but the problem in the image still remains.. it is not related to this mod but maybe someone could be helpful with this...as the mod maker and other friends have a quite good knowledge about copywrite...
Title: Re: Custom Copyright
Post by: ccbtimewiz on August 13, 2008, 09:43:40 PM
Quote from: F.L.A.M.E.R on August 13, 2008, 09:41:22 PM
sorry.. i was wrong.. just tested it up properly and came to a conclusion.. it doesnt work with the beta release... but the problem in the image still remains.. it is not related to this mod but maybe someone could be helpful with this...as the mod maker and other friends have a quite good knowledge about copywrite...

That problem isn't related to this mod. Please open a support topic about it.
Title: Re: Custom Copyright
Post by: Sudhakar Arjunan on August 14, 2008, 12:50:54 AM
Anyone help me to get this mod work properly.

Any Updates http://www.simplemachines.org/community/index.php?topic=253713.msg1659336#msg1659336
Title: Re: Custom Copyright
Post by: ccbtimewiz on August 14, 2008, 12:52:25 AM
Quote from: asudhakar on August 14, 2008, 12:50:54 AM
Anyone help me to get this mod work properly.

Any Updates http://www.simplemachines.org/community/index.php?topic=253713.msg1659336#msg1659336

I can't help you seeing how I've edited your templates to work correctly. It's either your server configuration or you're uploading the files incorrectly. I don't see the problem. Ask the theme author and maybe they'll have more of a clue.
Title: Re: Custom Copyright
Post by: Sudhakar Arjunan on August 14, 2008, 01:57:49 AM
Quote from: ccbtimewiz on August 14, 2008, 12:52:25 AM
I can't help you seeing how I've edited your templates to work correctly. It's either your server configuration or you're uploading the files incorrectly. I don't see the problem. Ask the theme author and maybe they'll have more of a clue.

Sorry for it Sir.
I have got this mod working properly in Default Theme.
I have came to the mod support and asked for support.

You have told me to follow the first page. Went to index dilber mc template and edited the theme copyright - But that i have already tried and its there.

Then came to the Support - You helped me in custom settings page. I have replaced with the old file.

Still i dont get.

Will let you some issues i have noted. When am using default them only i will get the admin modification function, where i will go and edit the footer under Admin.

When i was there in Dilber MC theme footer . I dont have any area where i can change the Copyright edit as one in default theme.
Title: Re: Custom Copyright
Post by: tk2012 on September 07, 2008, 11:59:14 AM
Just wanted to give you a heads up for v2.0 b3.1.  This mod conflicts with the Remove MySQL, PHP & W3C Images to Minimize Footer Size Mod.  You can use either separately with no problems, but not together.

Now, I'm left to choose which I want to use for v2.0 b3.1   :(

Just wanted you to know in case someone said your mod wasn't working you can ask them if they have the other one installed!
Title: Re: Custom Copyright
Post by: ccbtimewiz on September 07, 2008, 12:30:51 PM
And actually on that note, updated the mod to 2.0. ;)
Title: Re: Custom Copyright
Post by: tk2012 on September 07, 2008, 02:01:29 PM
?
Title: Re: Custom Copyright
Post by: ccbtimewiz on September 07, 2008, 02:20:26 PM
Here you are. ;)
Title: Re: Custom Copyright
Post by: Sudhakar Arjunan on September 08, 2008, 01:44:19 AM
Hi need a update - http://www.simplemachines.org/community/index.php?topic=253713.msg1660103#msg1660103.

Not showing custom copyright in the dilbermc theme. Works perfectly in default.
Title: Re: Custom Copyright
Post by: Apllicmz on September 08, 2008, 03:11:26 AM
nice mod
when update to 1.1.6
dont forget to putty portuguese and brazilian

<file name="$boarddir/Themes/default/languages/Modifications.portuguese.php">
        <operation>
            <search position="end"><![CDATA[?>]]></search>
            <add><![CDATA[
$txt['custom_copyright_desc'] = 'Isto será exibido na parte inferior.';
$txt['custom_copyright'] = 'Entrar personalizado direitos autor:';
]]></add>
        </operation>
    </file>
Title: Re: Custom Copyright
Post by: tuguex on September 08, 2008, 12:06:49 PM
Quote from: joomlamz on September 08, 2008, 03:11:26 AM
nice mod
when update to 1.1.6
dont forget to putty portuguese and brazilian

<file name="$boarddir/Themes/default/languages/Modifications.portuguese.php">
        <operation>
            <search position="end"><![CDATA[?>]]></search>
            <add><![CDATA[
$txt['custom_copyright_desc'] = 'Isto será exibido na parte inferior.';
$txt['custom_copyright'] = 'Entrar personalizado direitos autor:';
]]></add>
        </operation>
    </file>


Como faço isso?
How i do that?

Obrigado,
thnks ;)
Title: Re: Custom Copyright
Post by: ccbtimewiz on September 08, 2008, 02:52:21 PM
@ tuguex>

Eu vou necessidade de se atualizar o mod tradução para o Português. Baixar este mod novamente ou adicionar essas cordas em modification.portuguese.php :)
Title: Re: Custom Copyright
Post by: tk2012 on September 08, 2008, 07:25:57 PM
Thanks for the assist!

Appreciate it!  Works perfectly!
Title: Re: Custom Copyright
Post by: Sudhakar Arjunan on September 11, 2008, 01:47:42 AM
Custom Copyright Mod Author - Could not solve your own mod issue.

Being a Support Team Apprentice - you have not given me a solution yet and that to for your modification.

I said i got the custom copyright working perfectly in default theme. And asked for your support for dilber mc theme.

I have even attached my dilber mc files to edit here. But no reply. you are forwarding me to the dilber mc support topic for one line edits.

I need a update - http://www.simplemachines.org/community/index.php?topic=253713.msg1660103#msg1660103.

Not showing custom copyright in the dilbermc theme. Works perfectly in default.
Title: Re: Custom Copyright
Post by: Bugpac ™ on September 11, 2008, 05:42:58 PM
I tried to manual install it in dilber, and i crashed the hole site...  >:(
Title: Re: Custom Copyright
Post by: ccbtimewiz on September 11, 2008, 05:59:59 PM
Quote from: Bugpac ™ on September 11, 2008, 05:42:58 PM
I tried to manual install it in dilber, and i crashed the hole site...  >:(

What error did you get?
Title: Re: Custom Copyright
Post by: Bugpac ™ on September 13, 2008, 09:55:31 AM
I did cut and copy it so i dont know, I got a fresh install now...
Title: Re: Custom Copyright
Post by: Eliana Tamerin on September 17, 2008, 09:38:27 AM
Quote from: asudhakar on September 11, 2008, 01:47:42 AM
Custom Copyright Mod Author - Could not solve your own mod issue.

Being a Support Team Apprentice - you have not given me a solution yet and that to for your modification.

I said i got the custom copyright working perfectly in default theme. And asked for your support for dilber mc theme.

I have even attached my dilber mc files to edit here. But no reply. you are forwarding me to the dilber mc support topic for one line edits.

I need a update - http://www.simplemachines.org/community/index.php?topic=253713.msg1660103#msg1660103.

Not showing custom copyright in the dilbermc theme. Works perfectly in default.

Since ccb's mod is a theme mod, it really is difficult to ensure that it works on all themes. Some themes have custom coding, some are written entirely from scratch. DilberMC is quite an old theme, I believe it's based on Babylon (iirc), and there are some mods that simply do not work with it, at least not without rewriting the template edits entirely for DilberMC.

Besides that, especially considering theme edits are probably the hardest to maintain compatibility for, some mod authors aren't as technically experienced. I'm not saying that ccb is or isn't, but you should give some consideration that some mod authors are simply trying to share a simple little hack they made for their own site. When faced with larger coding problems, it is entirely conceivable that they may be unable to resolve them without additional help.
Title: Re: Custom Copyright
Post by: Sudhakar Arjunan on September 20, 2008, 02:30:22 AM
Quote from: Eliana Tamerin on September 17, 2008, 09:38:27 AM

Since ccb's mod is a theme mod, it really is difficult to ensure that it works on all themes. Some themes have custom coding, some are written entirely from scratch. DilberMC is quite an old theme, I believe it's based on Babylon (iirc), and there are some mods that simply do not work with it, at least not without rewriting the template edits entirely for DilberMC.

Besides that, especially considering theme edits are probably the hardest to maintain compatibility for, some mod authors aren't as technically experienced. I'm not saying that ccb is or isn't, but you should give some consideration that some mod authors are simply trying to share a simple little hack they made for their own site. When faced with larger coding problems, it is entirely conceivable that they may be unable to resolve them without additional help.

You are right.

I totally Agree.

Its just like they share what they learnt.

CCB did came to support me twice either in ad mod and this mod, both he never given a replied after an attempt.

Atleast he would have said ----- I am not sure or Wait till some one answers.

But he never turned on only to my question's , that made me to write like it.

I understand . Thank for writing Eliana Tamerin .
Title: Re: Custom Copyright
Post by: ccbtimewiz on September 24, 2008, 08:10:33 PM
Could you PM me admin account and FTP account details for your website? I would like to see this problem for myself.
Title: Re: Custom Copyright
Post by: Sudhakar Arjunan on September 28, 2008, 08:02:15 AM
Hi CCBtimewiz thanks for writing here.

If the mod works perfectly in default theme, then there must be some error in the dilbermc theme only.

No problem. I will wait and clear.

Thanks for taking your time to write something here.
Title: Re: Custom Copyright
Post by: samtemp on September 29, 2008, 03:45:26 PM
Hi,

Uhh.. this is a very dumb question, but how do I use this mod?

I uploaded and activated in my brand new SMF forum, but I don't know where to go to manipulate it.

I checked the themes and options areas but am puzzled.

Thanks!
Title: Re: Custom Copyright
Post by: ccbtimewiz on September 29, 2008, 04:37:39 PM
Are you using the default theme, or a custom theme?
Title: Re: Custom Copyright
Post by: samtemp on September 29, 2008, 06:49:45 PM
I'm using the default.  SMF 2 Beta 4.
Title: Re: Custom Copyright
Post by: ccbtimewiz on September 29, 2008, 06:51:30 PM
Go into your Admin Panel, go to "Current Theme".

You'll see an option like this:

(http://i37.tinypic.com/2z9l9ap.png)

Fill that field in with what you want to show as your custom copyright. Use "&copy;" to do the copyright sign. You can use HTML and BBcode in this field.
Title: Re: Custom Copyright
Post by: samtemp on September 29, 2008, 07:01:59 PM
There it is!  That is so bizarre. I swear I looked all over there... 

Well...thanks!
Title: Re: Custom Copyright
Post by: samtemp on September 29, 2008, 07:06:44 PM
Sorry, there's another problem.

I left the Logo Image URL blank and entered some dummy test text in the copyright, but the copyright on bottom doesn't change when I hit save.

I also installed your mod for removing "WCC PHP XML etc." on the bottom.

Is that mod possibly conflicting with this one?
Title: Re: Custom Copyright
Post by: ccbtimewiz on September 29, 2008, 07:10:26 PM
Quote from: samtemp07 on September 29, 2008, 07:06:44 PM
Sorry, there's another problem.

I left the Logo Image URL blank and entered some dummy test text in the copyright, but the copyright on bottom doesn't change when I hit save.

I also installed your mod for removing "WCC PHP XML etc." on the bottom.

Is that mod possibly conflicting with this one?

I know what mod you're talking about, but that isn't my mod. It belongs to Deprecated. But regardless, could you attach your index.template.php file?

The file can be downloaded from your server using FTP. It's located in ./Themes/default/

Refer to:
How do I use FTP? / What is FTP? (http://docs.simplemachines.org/index.php?topic=480)
Title: Re: Custom Copyright
Post by: samtemp on September 29, 2008, 09:23:56 PM
Sure. Here goes:

Title: Re: Custom Copyright
Post by: Bugpac ™ on September 30, 2008, 07:02:28 PM
When i do this, My copyright lays partially over the top of the smf copyright..
Title: Re: Custom Copyright
Post by: ccbtimewiz on September 30, 2008, 07:06:27 PM
Link to forum?
Title: Re: Custom Copyright
Post by: pinoypetfinder on October 01, 2008, 06:58:08 PM
working well on our forum. thank you!
Title: Re: Custom Copyright
Post by: SpectroPro on October 01, 2008, 07:47:13 PM
Quote from: Bugpac ™ on September 30, 2008, 07:02:28 PM
When i do this, My copyright lays partially over the top of the smf copyright..
Does the exact same thing on my forum.  It sits on TOP of the smf copyright.  Not above or below it. 

http://forum.therealityrocks.com/trr/

I will turn it on so you can see what it does...  But I am sure I will get at least 5 complaints that something is wrong from my users.  LOL 
Title: Re: Custom Copyright
Post by: ccbtimewiz on October 01, 2008, 07:50:12 PM
Ah...

It doesn't like SMF 2.0 BETA 4's new copyright method. :P

I'll have to fix it. Thanks for alerting me. :)
Title: Re: Custom Copyright
Post by: SpectroPro on October 01, 2008, 08:02:02 PM
can't wait..thanks!!! 
Title: Re: Custom Copyright
Post by: Bugpac ™ on October 01, 2008, 08:46:17 PM
I have it off as well, but since you already seen it, Ill wait for the update, thanks a bunch... ;D
Title: Re: Custom Copyright
Post by: Garry1953 on October 12, 2008, 06:11:02 PM
I'll add my name to the list.
This is a very handy mod, I used it on v1.16 successfully, I upgraded to v2.0 Beta 4 on Saturday I noticed the overwrite problem.
Title: Re: Custom Copyright
Post by: gravy on October 20, 2008, 12:34:05 PM
Quote from: ccbdarkwiz on October 01, 2008, 07:50:12 PM
Ah...

It doesn't like SMF 2.0 BETA 4's new copyright method. :P

I'll have to fix it. Thanks for alerting me. :)
Yeah I have this same problem as well, looking forward to a fix for this. BTW, great Mod!
Title: Re: Custom Copyright
Post by: ccbtimewiz on October 21, 2008, 09:23:05 PM
Fixed for the new beta.

Open style.css

Find:
#footerarea ul li.copywrite
{
display: block;
line-height: 0;
font-size: small;
padding: 1em;
}


Replace with:
#footerarea ul li.copywrite
{
display: block;
line-height: 1;
font-size: small;
padding: 1em;
}


Updating package.
Title: Re: Custom Copyright
Post by: genieuk on October 31, 2008, 10:51:01 AM
Nice mod  :D , Thank you

Mathew
Title: Re: Custom Copyright
Post by: Bancherd on November 01, 2008, 02:40:25 AM
Thanks for the mod.  It took me a while before I found out that I had to select the theme(in this case default) before I could get to the page where I set the copyright's message.  Duh.  :-[   (SMF2beta4).
Title: Re: Custom Copyright
Post by: Reverend Jeremiah on November 20, 2008, 01:57:37 PM
Rated: **** 1/2

If you are interested in placing a custom copyright footer on your Simple Machines Forum (and much more, see below) then look no further than The Custom Copyright Mod created verily by the hand of ccbtimewiz. You can find this mod by following the link below:

http://custom.simplemachines.org/mods/index.php?mod=1317

Reverend Jeremiah and Jesus Christ Arcade highly recomends this SMF Modification for ALL Simple Machines Forums users. We didnt rate it 4 and a half stars for nothing! This Mod is EXTREMELY easy to work with and allows you to do more than just add a custom Copyright on your Footer. The only reason why we didnt give this Mod 5 stars is because you might, depending on your SMF version, have to do some minor adjustments with manual coding. This Mod will work regardless of the manual coding on 1.1.x versions if you dont mind a blank text input in your admin center that controls this mod. In other words, get the mod, install it, post your prefered code and forget it. The flexability of this Mod alone is worth it. Let me show you:

Step one - You want to download the packet (http://custom.simplemachines.org/mods/index.php?mod=1317) and follow all of its simple instructions to install this mod onto your forum, and the support forum is wonderful as well, so please feel free to post your thanks and praises to the maker of this GAH-LORIOUS Mod like I just did.  ;)

Step Two - Once you have the mod uploaded and installed, please goto: ADMIN > CONFIGURATION > CURRENT THEME > ENTER CUSTOM COPYRIGHT.

Step Three - This Mod works with plain text, BBCode AND HTML.. THIS IS SUCH A WONDERFUL MOD! If you JUST want to post a plain text copyright, then I suggest you use the template below:

yoursite © 2006-2008

The template above lets you copy the copyright symbol and makes it easy for novices or beginners to work with. The text will be automatically centered. This is the BARE MINIMUM when it comes to copyright... but what if you want to have a link connected to this copyright text? Then you can use BBcode, or html to send the link to another page or site like this:

<p align="center"><a target="_self" href="http://anothersite.com/">yoursite © 2006-2008</a>

But wait..there is more...

The main reason why this Mod got such a high rating is because you can code ENDLESS html or BB into that little text area on your ADMIN page. In fact, I turned this Mod into a navigation footer for my website. Check out the amount of code I put into that little text area:

<p align="center"><a target="_self" href="http://jesuschristarcade.com/index.php">Home</a> | <a target="_self" href="http://jesuschristarcade.com/index.php?action=arcade">Games</a> | <a target="_self" href="http://jesuschristarcade.com/index.php?board=4.0">Comics</a> | <a target="_self" href="http://jesuschristarcade.com/index.php?board=10.0">Clocks</a> | <a target="_self" href="http://jesuschristarcade.com/index.php?board=3.0">Sermons</a> | <a target="_self" href="http://jesuschristarcade.com/index.php?board=5.0">Videos</a> | <a target="_self" href="http://jesuschristarcade.com/index.php?action=tpmod;dl">Downloads</a> | <a target="_self" href="http://jesuschristarcade.com/index.php?board=12.0">Support</a> | <a target="_self" href="http://jesuschristarcade.com/index.php?action=pages;sa=5">About Us</a></p>

Hell yeah! See what I mean about this Mod? You can do MANY things with this SMF Mod. If you have SMF, you NEED this Mod to give you freedom and eay access to your footer area! Go get it now!

http://custom.simplemachines.org/mods/index.php?mod=1317
Title: Re: Custom Copyright
Post by: editor1 on December 06, 2008, 04:47:52 AM
Excellent, thank you :D
This is going to come in handy.
Title: Re: Custom Copyright
Post by: SilentMoon on December 20, 2008, 08:07:57 AM
I have installed my first smf board (1.1.7), I found the post on integrating smf into the site design http://www.simplemachines.org/community/index.php?P=167abe1acb996bd8148968e93a91c415&topic=145838.0

I have duplicated the default theme to tweak for the site and used the index.template.php (which is for 1.1.1). Everything has went smoothly.

I have installed only the copyright mod, on install it alerted me that it skipped the style sheet but the rest went perfect and the mod does work after I modified the themes index.template.php.

I went back to read the manual install on the mod because the only glitch is the text next to the input form is not there. When I browsed by ftp to find the css it did not modify since I thought this was the problem it isn't there. There is no Themes/default/css folder, and there is no index.css in the Themes/default/ folder.

This is not huge deal since it works but I was surprised to see after reading the topic that no one else has had the problem with the index.css not being there.

The section I am referring to on the manual install for 1.1.7 directions http://custom.simplemachines.org/mods/index.php?action=parse
are

./Themes/default/css/index.css
Find: [Select]
#footerarea ul li.copywrite
{
display: block;
line-height: 0;
font-size: small;
padding: 1em;
}
Replace With: [Select]
#footerarea ul li.copywrite
{
display: block;
line-height: 1;
font-size: small;
padding: 1em;
}
This operation isn't vital to the installation of this mod.


If someone can tell me what to change to get the text to show in admin I would appreciate it however the mod is working great and I can live with it  :)
Title: Re: Custom Copyright
Post by: Netizen98 on January 03, 2009, 06:35:05 PM
I am trying to use the mod for SMF 2.0 Beta Public 4. It seems to write the custom copyright message on top of the SMF copyright thus jumbling up both. What should I do to fix it? It seems they are both being written on the same line in the same space.
Title: Re: Custom Copyright
Post by: Bulakbol on January 03, 2009, 07:02:39 PM
@SilentMoon
I don't think you need to change anything in the css file for version 1.1.7.  The css is for version 2.0 Beta 4.

@Netizen
In the default/css/index.css file, find
Quote#footerarea ul li.copywrite
{
   display: block;
   line-height: 1;
   font-size: small;
   padding: 1em;
}
and make sure that the value of line-height is not zero. Change it to 1.3 if you want.
Title: Re: Custom Copyright
Post by: CPOMorty on January 05, 2009, 02:34:14 PM
Thanks for the great mod.

I have this installed in 1.1.7 and I noticed that when I use the print button there is no custom copyright on the print page, which would be a good place to have it.

Regards,

Murray
Title: Re: Custom Copyright
Post by: Netizen98 on January 07, 2009, 10:33:33 PM
It is still not working for Beta 2.0 p 4 Here is portion of index.css:
#footerarea ul li.copywrite
{
   display: block;
   line-height: 1;
   font-size: small;
   padding: 1em;
}
#footerarea ul li.copywrite, #footerarea ul li.last
{
   border-right: none;
}
Title: Re: Custom Copyright
Post by: Bulakbol on January 08, 2009, 10:30:38 PM
@CPOMorty
To add your custom copyright to print page, in default/Printpage.template.php, find
<div align="center" class="smalltext">', theme_copyright(), '</div>
Code (replace) Select
<div align="center" class="smalltext">', !empty($settings['custom_copyright']) ? '<span class="smalltext">'. parse_bbc($settings['custom_copyright']). '</span>' : '', '<br />', theme_copyright(), '</div>

@Netizen98
Try higher number on the line height value.
Title: Re: Custom Copyright
Post by: CPOMorty on January 11, 2009, 08:41:18 AM
Worked perfect.  Thanks again!

Murray
Title: Re: Custom Copyright
Post by: LinK187 on January 25, 2009, 10:23:45 AM
Sorry I don't have time to read all 7 pages, but here's my error:

Quote
****   Today at 11:16:27 AM 
*.*.*.*     4a8b468c25a74ee90cf8f94dcc45b991 
http://****/forum/index.php?action=theme;sa=settings;th=5;sesc 
8: Undefined index: custom_copyright
File: /home/****/public_html/****/forum/Themes/default/Settings.template.php (eval?)
Line: 115
Title: Re: Custom Copyright
Post by: Bulakbol on January 25, 2009, 08:32:01 PM
Make sure that the following snippet of code was added to your default/Settings.template.php.
array(
'id' => 'custom_copyright',
'label' => $txt['custom_copyright'],
'description' => $txt['custom_copyright_desc'],
'type' => 'text',
),
Title: Re: Custom Copyright
Post by: LinK187 on January 26, 2009, 05:22:16 AM
Quote from: Bulakbol on January 25, 2009, 08:32:01 PM
Make sure that the following snippet of code was added to your default/Settings.template.php.
array(
'id' => 'custom_copyright',
'label' => $txt['custom_copyright'],
'description' => $txt['custom_copyright_desc'],
'type' => 'text',
),


It's not there. At what line do I place it?
Title: Re: Custom Copyright
Post by: Bulakbol on January 26, 2009, 03:05:34 PM
According to the mod, you have to find
$context['theme_settings'] = array(
array(
'id' => 'header_logo_url',
'label' => $txt['header_logo_url'],
'description' => $txt['header_logo_url_desc'],
'type' => 'text',
),


and replace.
$context['theme_settings'] = array(
array(
'id' => 'header_logo_url',
'label' => $txt['header_logo_url'],
'description' => $txt['header_logo_url_desc'],
'type' => 'text',
),
array(
'id' => 'custom_copyright',
'label' => $txt['custom_copyright'],
'description' => $txt['custom_copyright_desc'],
'type' => 'text',
),
Title: Re: Custom Copyright
Post by: LinK187 on January 26, 2009, 05:04:18 PM
Quote from: Bulakbol on January 26, 2009, 03:05:34 PM
According to the mod, you have to find
$context['theme_settings'] = array(
array(
'id' => 'header_logo_url',
'label' => $txt['header_logo_url'],
'description' => $txt['header_logo_url_desc'],
'type' => 'text',
),


and replace.
$context['theme_settings'] = array(
array(
'id' => 'header_logo_url',
'label' => $txt['header_logo_url'],
'description' => $txt['header_logo_url_desc'],
'type' => 'text',
),
array(
'id' => 'custom_copyright',
'label' => $txt['custom_copyright'],
'description' => $txt['custom_copyright_desc'],
'type' => 'text',
),


Actually sorry, my bad, the proper code was on that file the whole time, I must have missed it the first time.
Title: Re: Custom Copyright
Post by: Bulakbol on January 26, 2009, 07:17:39 PM
ah ok. Check also languages/Modifications.english.php for the txt string.
$txt['custom_copyright'] = 'Enter custom copyright:';
Title: Re: Custom Copyright
Post by: LinK187 on January 26, 2009, 08:12:14 PM
Quote from: Bulakbol on January 26, 2009, 07:17:39 PM
ah ok. Check also languages/Modifications.english.php for the txt string.
$txt['custom_copyright'] = 'Enter custom copyright:';

it does exist.
Title: Re: Custom Copyright
Post by: Bulakbol on January 26, 2009, 08:25:44 PM
If you are still getting the undefined index error, then you are probably checking the wrong Settings.template.php. The only thing I can do is look at your Settings.template.php.
Title: Re: Custom Copyright
Post by: LinK187 on January 26, 2009, 08:29:58 PM
Quote from: Bulakbol on January 26, 2009, 08:25:44 PM
If you are still getting the undefined index error, then you are probably checking the wrong Settings.template.php. The only thing I can do is look at your Settings.template.php.

Here it is:
Title: Re: Custom Copyright
Post by: Bulakbol on January 26, 2009, 08:49:08 PM
Line 115 is this.
'label' => $txt['custom_copyright'],
so it is missing the txt string. If that string is already in your languages/Modifications.english.php, then try adding that string in languages/Settings.english.php.
Title: Re: Custom Copyright
Post by: LinK187 on January 26, 2009, 08:51:41 PM
Quote from: Bulakbol on January 26, 2009, 08:49:08 PM
Line 115 is this.
'label' => $txt['custom_copyright'],
so it is missing the txt string. If that string is already in your languages/Modifications.english.php, then try adding that string in languages/Settings.english.php.

Could you be specific: "Find select" "replace/before/after select" :P
Title: Re: Custom Copyright
Post by: Bulakbol on January 26, 2009, 08:56:09 PM
Hmnn, I thought everyone knows that txt strings are added at the end of a language file before the php closing tag (?>). :)
Title: Re: Custom Copyright
Post by: LinK187 on January 26, 2009, 08:58:13 PM
Quote from: Bulakbol on January 26, 2009, 08:56:09 PM
Hmnn, I thought everyone knows that txt strings are added at the end of a language file before the php closing tag (?>). :)

I'm also stoned. lol :P
Title: Re: Custom Copyright
Post by: Word Life on January 26, 2009, 09:07:43 PM
I did what you said for Custom Themes. I have SMF 2B4, and I did that thing because I have a custom thing, and it Didn't work. When I switch to the defaul theme, it works, but when I switch to the Custom Theme, I see no box to type my Custom Copyright. Whats wrong?

Pics: Default Theme: (http://i44.tinypic.com/25eux37.jpg)
        Custom Theme: (http://i39.tinypic.com/rbglqs.jpg)
Title: Re: Custom Copyright
Post by: Bulakbol on January 26, 2009, 10:32:13 PM
You have to edit your custom theme's Setting.template.php.
Quote
According to the mod, you have to find
$context['theme_settings'] = array(
array(
'id' => 'header_logo_url',
'label' => $txt['header_logo_url'],
'description' => $txt['header_logo_url_desc'],
'type' => 'text',
),


and replace.
$context['theme_settings'] = array(
array(
'id' => 'header_logo_url',
'label' => $txt['header_logo_url'],
'description' => $txt['header_logo_url_desc'],
'type' => 'text',
),
array(
'id' => 'custom_copyright',
'label' => $txt['custom_copyright'],
'description' => $txt['custom_copyright_desc'],
'type' => 'text',
),

Title: Re: Custom Copyright
Post by: Word Life on January 27, 2009, 09:16:31 AM
How do I edit my Settings.template.php...? It won't let me, only the index.template.php
Title: Re: Custom Copyright
Post by: Bulakbol on January 27, 2009, 04:32:58 PM
Use FTP program to download Settings.template.php to your PC, edit it and then upload it back.

How do I use FTP? / What is FTP? (http://docs.simplemachines.org/index.php?topic=480)
Title: Re: Custom Copyright
Post by: Word Life on January 27, 2009, 06:38:17 PM
Thanks. (Hopefully)

::EDIT:: I don't know where to download the Settings.Template.Php
Title: Re: Custom Copyright
Post by: Bulakbol on January 27, 2009, 07:31:38 PM
Themes/{your_custom_theme}/Settings.template.php.
Title: Re: Custom Copyright
Post by: Word Life on January 27, 2009, 09:01:28 PM
I made my own theme by copying the Default one, and giving it a name, and then I edited the CSS. So, thanks anyways ;D. Lol.
Title: Re: Custom Copyright
Post by: acewashere on February 08, 2009, 03:51:23 PM
request for future updates to this mod:
parse linefeeds/wrap long lines/multi line inputs
one of those.  At present if I put in a long copyright notice (which a business partner requires) it causes my users to do excessive scrolling.
Title: Re: Custom Copyright
Post by: Bulakbol on February 09, 2009, 09:45:59 PM
@RättvisOrsak/JC
Smart way.  8)

@acewashere
Use bbcode linefeed [br] for multiple lines.
Title: Re: Custom Copyright
Post by: acewashere on February 10, 2009, 03:31:25 AM
Quote
Use bbcode linefeed
*slaps self*
I should have thought of that.

Some folks might prefer a setting for wrap width (that way it adjusts to the users resolution), but for me
 works fine. Thanks for reminding me I can linefeed via bbcode  :)
Title: Re: Custom Copyright
Post by: dollarbabe on February 15, 2009, 01:28:20 PM
great mod... works perfect on 1.1.8.. thanks a lot for this.
Title: Re: Custom Copyright
Post by: jayman2 on February 24, 2009, 09:19:42 AM
Can this line be modified to go into smf 2.0 RC1?

', !empty($settings['custom_copyright']) ? '<span class="smalltext">'. parse_bbc($settings['custom_copyright']). '</span>' : '', '<br />
                  ', theme_copyright(), '
Title: Re: Custom Copyright
Post by: Bulakbol on February 25, 2009, 10:58:21 PM
This mod will work for 2.0 RC1. Just change  the line-height: 1; to line-height: 1.3; or line-height: 1.5; after installation from default/css/index.css.
Quote#footerarea ul li.copywrite
{
   display: block;
   line-height: 1;
   font-size: small;
   padding: 1em;
}
Title: Re: Custom Copyright
Post by: jayman2 on February 25, 2009, 11:21:21 PM
Quote from: Bulakbol on February 25, 2009, 10:58:21 PM
This mod will work for 2.0 RC1. Just change  the line-height: 1; to line-height: 1.3; or line-height: 1.5; after installation from default/css/index.css.
Quote#footerarea ul li.copywrite
{
   display: block;
   line-height: 1;
   font-size: small;
   padding: 1em;
}
Thanks for your help.  I'll use that, but I would like to know how to enter this code.

', !empty($settings['custom_copyright']) ? '<span class="smalltext">'. parse_bbc($settings['custom_copyright']). '</span>' : '', '<br />
                  ', theme_copyright(), '

When I look at that code section of the file, it uses the <li> code and I don't know how to modify that block of code above.
Title: Re: Custom Copyright
Post by: Bulakbol on February 25, 2009, 11:27:14 PM
In index.template.php
Code (find) Select
<li class="copywrite">', theme_copyright(), '</li>
replace
Quote<li class="copywrite">', !empty($settings['custom_copyright']) ? '<span class="smalltext">'. parse_bbc($settings['custom_copyright']). '</span>' : '', '<br />
                  ', theme_copyright(), '</li>
Title: Re: Custom Copyright
Post by: jayman2 on February 25, 2009, 11:30:01 PM
Quote from: Bulakbol on February 25, 2009, 11:27:14 PM
In index.template.php
Code (find) Select
<li class="copywrite">', theme_copyright(), '</li>
replace
Quote<li class="copywrite">', !empty($settings['custom_copyright']) ? '<span class="smalltext">'. parse_bbc($settings['custom_copyright']). '</span>' : '', '<br />
                  ', theme_copyright(), '</li>
Thanks a million.  That's exactly what I needed.
Title: Re: Custom Copyright
Post by: Joe N on March 25, 2009, 02:39:22 PM
Great Mod

No errors. Love it!
Title: Re: Custom Copyright
Post by: gibsongk55 on March 26, 2009, 03:35:30 AM
Hi,

I just installed this.  I am using a custom template and changed manually the "index.template.php" in that theme.

I do not see anywhere under "Current Theme"  to put the link i need to add.  Any help?

Thanks,

Gibs
Title: Re: Custom Copyright
Post by: Joe N on March 26, 2009, 01:38:52 PM
Quote from: gibsongk55 on March 26, 2009, 03:35:30 AM
Hi,

I just installed this.  I am using a custom template and changed manually the "index.template.php" in that theme.

I do not see anywhere under "Current Theme"  to put the link i need to add.  Any help?

Thanks,

Gibs

Whats the link for your forum?

Joe
Title: Re: Custom Copyright
Post by: gibsongk55 on March 26, 2009, 08:19:33 PM
Hi,

Here is the link http://www.poodarai.com (http://www.poodarai.com)

Thanks,

Gibs
Title: Re: Custom Copyright
Post by: Bulakbol on March 28, 2009, 12:40:46 PM
Quote from: gibsongk55 on March 26, 2009, 03:35:30 AM
Hi,

I just installed this.  I am using a custom template and changed manually the "index.template.php" in that theme.

I do not see anywhere under "Current Theme"  to put the link i need to add.  Any help?

Thanks,

Gibs

In your custom theme folder, edit the Settings.template.php. Find
$context['theme_settings'] = array(
array(
'id' => 'header_logo_url',
'label' => $txt['header_logo_url'],
'description' => $txt['header_logo_url_desc'],
'type' => 'text',
),

and replace with
$context['theme_settings'] = array(
array(
'id' => 'header_logo_url',
'label' => $txt['header_logo_url'],
'description' => $txt['header_logo_url_desc'],
'type' => 'text',
),
array(
'id' => 'custom_copyright',
'label' => $txt['custom_copyright'],
'description' => $txt['custom_copyright_desc'],
'type' => 'text',
),
Title: Re: Custom Copyright
Post by: Audiosound on April 13, 2009, 12:42:20 PM
Nice Mod!! Thanks
Works great in this setup!
Add: ©2008 Copyright It Bumps! LLC. P.O. Box 5398 Glendale, Arizona 85312 | All rights reserved
Link (http://www.socialclaustrophobia.com/)
SMF ver 1.1.8
TP v1.0 beta 3
Theme Grungy by Crip


This didn't work
Find:
Code: [Select]
', theme_copyright(), '
Replace with:
Code: [Select]
', !empty($settings['custom_copyright']) ? '<span class="smalltext">'. parse_bbc($settings['custom_copyright']). '</span>' : '', '<br />
                  ', theme_copyright(), '



This did....
Used this on line above [ ', theme_copyright(), ' ]
added with:
', !empty($settings['custom_copyright']) ? '<span class="smalltext">'. parse_bbc($settings['custom_copyright']). '</span>' : '', '<br />
Title: Re: Custom Copyright
Post by: Father Luke on June 01, 2009, 06:35:47 AM
@Bulakbol

Thanks, Brutha' - The Settings Template tip helped.

- -
Okay,
Father Luke
Title: Re: Custom Copyright
Post by: Bulakbol on June 02, 2009, 01:21:45 AM
My pleasure Father Luke.
Title: Re: Custom Copyright
Post by: CesarManara on July 28, 2009, 03:24:55 PM
Language portuguese_brazilian on SMF 1.1.10.

Modifications.portuguese_brazilian.php
$txt['custom_copyright_desc'] = 'Isto vai ser exibido na parte inferior.';
$txt['custom_copyright'] = 'Digite os direitos autorais customizados:';
Title: Re: Custom Copyright
Post by: Turkishe on September 17, 2009, 05:50:07 AM
TURKISH TRANSLATION =

Dosya= Modifications.turkish

Bul=
?>

Öncesine ekle=


$txt['custom_copyright_desc'] = 'Burası altta görüntülenecektir.';
$txt['custom_copyright'] = 'Özel Telif Hakkı yazınızı girin:';
Title: Re: Custom Copyright
Post by: The Goblin on November 07, 2009, 10:42:32 AM
Quote from: Bulakbol on February 25, 2009, 10:58:21 PM
This mod will work for 2.0 RC1. Just change  the line-height: 1; to line-height: 1.3; or line-height: 1.5; after installation from default/css/index.css.
Quote#footerarea ul li.copywrite
{
   display: block;
   line-height: 1;
   font-size: small;
   padding: 1em;
}

Ok, I changed the line height to 1 (Im using RC1.2)  Anyway, it worked except now my footer looks like this...
My Copyright © is here
Powered by SMF 2.0 RC1.2 | SMF © 2006–2009, Simple Machines LLC


My theme Copyright is here, with a big space

I have a big space between SMF copyright and my theme copyright.  How do I fix this?
Title: Re: Custom Copyright
Post by: Dean313 on November 15, 2009, 10:47:15 AM
I applied the mod, but then the text doesn't appear, on the footer.

Would it work for 2.0 RC1.2?

*Sorry for gravedig*
Title: Re: Custom Copyright
Post by: Deaks on November 15, 2009, 10:55:37 AM
firstly I suggest you update to rc2

also it only works on default theme you would need to add the code to your own theme
Title: Re: Custom Copyright
Post by: Dean313 on November 15, 2009, 12:41:53 PM
Oh, thanks.
Title: Re: Custom Copyright
Post by: Waffadrunker on November 17, 2009, 12:28:44 AM

Hello, i had smal problems installing it:

Execute Modification   ./Themes/default/index.template.php   Test failed
      1.   Replace   ./Themes/default/index.template.php   Test failed


This is the mods i have installed on my RC2 board:
Global Headers Footers   2.0   
2.   Google Analytics Code   1.1   
3.   Google Search Box With Results   1.2   
4.   More Genders   1.0.1   
5.   RSS Feed Icon   1.1   
6.   Twitter and Facebook Publisher mod   2.1

any idea what mod might conflict?
Title: Re: Custom Copyright
Post by: Deaks on November 17, 2009, 04:12:16 PM
number 6 effects it, you will need to add the code manually
Title: Re: Custom Copyright
Post by: fmofmpls on November 18, 2009, 08:19:42 AM
Can't get this mod to show the copyright text. It installed fine with no errors, and the text field is there in the theme setting, but the text won't show. I'm using smf 2.0 rc2
Title: Re: Custom Copyright
Post by: Deaks on November 18, 2009, 11:04:59 AM
are you using curve? if not thats your problem it will only add to curve
Title: Re: Custom Copyright
Post by: c-o-d-e on November 28, 2009, 08:27:13 PM
Where is teh configuration found for this mod in the Admin area.
Title: Re: Custom Copyright
Post by: Deaks on November 28, 2009, 08:29:34 PM
Current Theme Settings
Title: Re: Custom Copyright
Post by: c-o-d-e on November 28, 2009, 08:38:23 PM
Okay, thanks. I set the copyright, and it never came up at the bottom. I am using the default theme for SMF2.0, curve.
Title: Re: Custom Copyright
Post by: Deaks on November 28, 2009, 08:42:00 PM
link please
Title: Re: Custom Copyright
Post by: c-o-d-e on November 28, 2009, 08:44:04 PM
www.developers-community.com/forums
Title: Re: Custom Copyright
Post by: Deaks on November 28, 2009, 08:54:50 PM
its in Admin - Current Theme

                     Enter custom copyright::                     
This will be displayed at the bottom.
I just installed it on my test forum with no issues and works fine
Title: Re: Custom Copyright
Post by: c-o-d-e on November 28, 2009, 09:03:32 PM
This is what it is set at, and it wont do anything.
Though.. I may note that it is the curve theme, but I copied the files and made it as my own named theme. Would it affect it, and how can I fix it?

(http://i278.photobucket.com/albums/kk87/JeanieTallis/smf.png)
Title: Re: Custom Copyright
Post by: Deaks on November 28, 2009, 09:20:27 PM
did you create the copy before or after you installed the mod?

it sounds like you added the mod after, so you will need to add the code to your themes index.template.php
Title: Re: Custom Copyright
Post by: c-o-d-e on November 28, 2009, 09:22:14 PM
Yeah, it was after.
What code do I add?
index.template.php in my themes folder, or the default theme folder?
Title: Re: Custom Copyright
Post by: Deaks on November 28, 2009, 09:23:27 PM
go to the mod listing and to the right you will see a drop down box, chooose 2.0 RC2 and then parse and you will see what you need to change in your themes index.template.php
Title: Re: Custom Copyright
Post by: islam2hamy on January 02, 2010, 02:19:41 PM
Arabic-utf8

   <file name="$languagedir/Modifications.arabic-utf8.php">
      <operation>
         <search position="end"><![CDATA[?>]]></search>
         <add><![CDATA[
$txt['custom_copyright_desc'] = 'هذه الجملة سوف تظهر بأسفل الصفحة.';
$txt['custom_copyright'] = 'أكتب حقوق الطبع الخاصة بموقعك هنا:';
]]></add>
      </operation>
   </file>   
Title: Re: Custom Copyright
Post by: Deaks on January 02, 2010, 02:40:00 PM
can you also provide a non utf8 version and I will add to the package :)
Title: Re: Custom Copyright
Post by: islam2hamy on January 03, 2010, 02:31:36 AM
Arabic & UTF-8
Title: Re: Custom Copyright
Post by: Deaks on January 03, 2010, 01:44:27 PM
thank you i will add them to the download shortly :)
Title: Re: Custom Copyright
Post by: islam2hamy on January 04, 2010, 01:19:25 AM
you are welcome  :D .
Title: Re: Custom Copyright
Post by: ~DS~ on January 04, 2010, 02:16:47 AM
I don't know weather I should report it as a bug or not and if it's the right place either. Since the new year had come...should it automatically? Guess it need to be done manually. By the way the SMF's footer in my site had not been update to 2010 either.
Title: Re: Custom Copyright
Post by: Deaks on January 04, 2010, 04:51:59 AM
the SMF copyright only gets updated on releases, it is illegal for you to tamper with the copyright even by updating the dates.  Hopefully when RC3 gets released the copyright will read 2010.

Also its not a bug.
Title: Re: Custom Copyright
Post by: ~DS~ on January 04, 2010, 05:05:25 AM
Quote from: Runic on January 04, 2010, 04:51:59 AM
the SMF copyright only gets updated on releases, it is illegal for you to tamper with the copyright even by updating the dates.  Hopefully when RC3 gets released the copyright will read 2010.

Also its not a bug.
Great thank you. So it's not ilegal on my custom mod?
Title: Re: Custom Copyright
Post by: Deaks on January 04, 2010, 05:30:54 AM
not on this mod no as its user added, you can make the custom copyright say what you want it to say :)
Title: Re: Custom Copyright
Post by: ~DS~ on January 04, 2010, 05:34:31 AM
Quote from: Runic on January 04, 2010, 05:30:54 AM
not on this mod no as its user added, you can make the custom copyright say what you want it to say :)
With the custom copyright I did this:

Quote
Copyright © 2009-2010 The Two Worlds Forum & Nathan Grave. Proudly self-hosted and powered by Simple Machines Forum & JustHost.
All rights reserved.
I hope that's right?
Title: Re: Custom Copyright
Post by: Deaks on January 04, 2010, 05:42:57 AM
for this mod you can have it say whatever you want, you can make it say "Runic is the best" and it wouldnt right or wrong :)
Title: Re: Custom Copyright
Post by: rd on January 12, 2010, 08:16:49 PM
When I added this to my site the custom copyright came out on top of the Simple Machine copyright. How can I fix this? It works perfectly on my other forum running RC1 and yes I use the old core theme that came with the package.

I added a screenshot.
Title: Re: Custom Copyright
Post by: Deaks on January 13, 2010, 05:57:50 AM
go into your themes index.template.php and add a <br /> after the custom copyright code ... also update your forum as there are many bugs with rc1 and they have been repaired in rc 2 :P
Title: Re: Custom Copyright
Post by: KensonPlays on January 13, 2010, 02:13:37 PM
Does this replace or add a copyright? if adds, ill use it...
Title: Re: Custom Copyright
Post by: Deaks on January 13, 2010, 02:26:09 PM
it adds, the mod would never have been approved if it replaced as that would be illegal and against smf license, also if in case it did get through with replacing I would have still made it so it adds :)
Title: Re: Custom Copyright
Post by: TheListener on February 10, 2010, 01:01:37 PM
Had a parse error when trying to edit the themes index template file.

Line 583

Attachment included.
Title: Re: Custom Copyright
Post by: derby on February 10, 2010, 02:21:21 PM
how do i add it to smf 2rc???
Title: Re: Custom Copyright
Post by: TheListener on February 14, 2010, 05:45:44 PM
Quote from: Brack1 on February 10, 2010, 01:01:37 PM
Had a parse error when trying to edit the themes index template file.

Line 583

Attachment included.

BUMP
Title: Re: Custom Copyright
Post by: derby on February 17, 2010, 12:25:35 PM
help on how to use it on rc2
Title: Re: Custom Copyright
Post by: mirahalo on February 17, 2010, 12:52:35 PM
Quote from: Brack1 on February 14, 2010, 05:45:44 PM
Quote from: Brack1 on February 10, 2010, 01:01:37 PM
Had a parse error when trying to edit the themes index template file.

Line 583

Attachment included.

BUMP


you have some 2by2host  copyright next to the smf's try the attached file 
Title: Re: Custom Copyright
Post by: ~DS~ on February 17, 2010, 12:54:55 PM
Quote from: Brack1 on February 14, 2010, 05:45:44 PM
Quote from: Brack1 on February 10, 2010, 01:01:37 PM
Had a parse error when trying to edit the themes index template file.

Line 583

Attachment included.

BUMP
Looks fine, unless you have a mod from 2by2host. If you do it might be Simple Ad Rotator mod.
Title: Re: Custom Copyright
Post by: mirahalo on February 17, 2010, 01:00:04 PM
he have a 2by2host mod and it's copyright, the only thing I did was this:

<ul class="reset">
', !empty($settings['custom_copyright']) ? '<span class="smalltext">'. parse_bbc($settings['custom_copyright']). '</span>' : '', '<br />
', theme_copyright(),  . get2by2host_copyright(), '</li>



leaving 2by2host's intact


@derby   what problem do you have with this mod in 2.0RC2 ?
Title: Re: Custom Copyright
Post by: derby on February 17, 2010, 01:38:26 PM
help here
Title: Re: Custom Copyright
Post by: TheListener on February 17, 2010, 01:44:34 PM
Thanks fellas but I managed to sort the error out.
Title: Re: Custom Copyright
Post by: mirahalo on February 17, 2010, 01:52:18 PM
Quote from: derby on February 17, 2010, 01:38:26 PM
help here

for the second time, what errors do you have?

was it on the install?   in some file? where?
Title: Re: Custom Copyright
Post by: ~DS~ on February 17, 2010, 01:54:51 PM
Quote from: derby on February 17, 2010, 01:38:26 PM
help here
You need to stop saying "Help" in every thread whatever there's a problem with your forum. Bumping "help" is not helping us. You need to tell us specify what the error you have. 
Title: Re: Custom Copyright
Post by: derby on February 17, 2010, 02:04:18 PM
how can i add it to rc2..
Title: Re: Custom Copyright
Post by: TheListener on February 17, 2010, 02:06:19 PM
Derby were there any errors on install?

Title: Re: Custom Copyright
Post by: mirahalo on February 17, 2010, 02:07:44 PM
Quote from: derby on February 17, 2010, 02:04:18 PM
how can i add it to rc2..

have you tried it to install the mod?

does it give you errors on install?

please check out this link:   http://docs.simplemachines.org/index.php?board=49.0;sort=subject



Title: Re: Custom Copyright
Post by: Dream Portal Team on March 13, 2010, 08:12:48 PM
We will be updating this modification to support all versions of SMF and all themes (without template hacks).

We ask that all general support queries to be asked here (http://dream-portal.net/index.php/topic,894.0.html).
Title: Re: Custom Copyright
Post by: Eclipse16V on March 15, 2010, 01:49:26 AM
Nice Mod

Please update it for SMF 2.0RC3  ;)

Thanks
Title: Re: Custom Copyright
Post by: TheListener on March 15, 2010, 01:51:06 AM
Quote from: Eclipse16V on March 15, 2010, 01:49:26 AM
Nice Mod

Please update it for SMF 2.0RC3  ;)

Thanks

The mod already works on RC3
Title: Re: Custom Copyright
Post by: Jack_the_ripper on March 22, 2010, 08:14:19 AM
I've got a little problem in rc3.
I reinstall some time the theme but the problem is persist.
All test vere succesfull
How can i fix it?
Title: Re: Custom Copyright
Post by: rd on March 22, 2010, 08:38:10 AM
Quote from: Jack_the_ripper on March 22, 2010, 08:14:19 AM
I've got a little problem in rc3.
I reinstall some time the theme but the problem is persist.
All test vere succesfull
How can i fix it?


If I am not mistek, you have to put a <br> tag somewhere. Runic explains in one of his posts in this topic.
Title: Re: Custom Copyright
Post by: TheListener on March 22, 2010, 08:42:19 AM
RD is correct there should be a<br> after the custom copyright code.
Title: Re: Custom Copyright
Post by: Jack_the_ripper on March 22, 2010, 11:00:35 AM
Yes the <br> is fix it.
Thank you Royalduke & Brack1 !
I despite having over Runic 's post.
Thanks
Title: Re: Custom Copyright
Post by: PlutoDelic on March 31, 2010, 09:03:23 AM
it worked pretty well in SMF 2 rc2, it even installed problemless in my BrightForest theme, i tried to add it on RC3, its helpless, and it doesnt uninstall it from the OTHER THEMES ( http://i39.tinypic.com/1695b7r.jpg )

EDIT: ok, i've managed to do it again, RC3 users beware of this (if you are using Aarons BrightForest theme):

manually editing says find this:

', theme_copyright(), '

though the string is for some reason wrong, search for this instead:

', theme_copyright()

the manual replace says replace it with this:

', !empty($settings['custom_copyright']) ? '<span class="smalltext">'. parse_bbc($settings['custom_copyright']). '</span>' : '', '<br />
                  ', theme_copyright(), '


though to me this brought up an error, yet i just edited something and it worked, so use this code instead:

', !empty($settings['custom_copyright']) ? '<span class="smalltext">'. parse_bbc($settings['custom_copyright']). '</span>' : '', '<br />
                  ', theme_copyright()


NOTE: i just made a compare and contrat from original to change code, i did not come to this solution from my own, i can confirm u guys that i have no idea about PHP at all...so please correct me if i have done something that works only at my page, the point is that it works, and thats what we want :).
Title: Re: Custom Copyright
Post by: TheListener on April 16, 2010, 06:28:09 PM
Have this error:


http://xxxx/index.php?action=admin;area=packages;sa=install2;package=custom_copyright_1.2.zip;pid=0
Apply Filter: Only show the errors with the same message
8: Undefined index: theme
Apply Filter: Only show the errors from this file
File: xxxxxxxxxxxxxxx/Sources/Packages.php
Line: 935

933:
// Gather the themes we installed into.
934:    
if (!empty($action['is_custom']))
==>935:    
$themes_installed[] = $action['theme'];
936:    
}
937:    
}
Title: Re: Custom Copyright
Post by: daked on April 20, 2010, 11:57:58 PM
i successfully installed it but i cant find any link to manage it.
Title: Re: Custom Copyright
Post by: Dream Portal Team on April 21, 2010, 01:17:07 AM
Admin > Current Theme
Title: Re: Custom Copyright
Post by: daked on April 21, 2010, 05:17:16 AM
  i cant find it  :-\
Title: Re: Custom Copyright
Post by: daked on April 21, 2010, 08:19:10 AM
hello
Title: Re: Custom Copyright
Post by: Danpotter on May 04, 2010, 12:04:23 PM
Please help me...im getting below error for my smf 1.1.11 [Dilbermc theme]

chk the attached image
Title: Re: Custom Copyright
Post by: TheListener on May 04, 2010, 12:09:04 PM
It looks as though the file has the same edit twice.
Title: Re: Custom Copyright
Post by: Dream Portal Team on May 04, 2010, 12:38:47 PM
Attach your index.template.php file
Title: Re: Custom Copyright
Post by: Danpotter on May 05, 2010, 09:19:02 AM
hey i modified index.template.php myself and problem solved :D
Title: Re: Custom Copyright
Post by: wodema on May 06, 2010, 10:07:17 PM
I just installed it on 1.1.11 and typed in my own copyright. Then saved. But it didn't change anything on the bottom. Did I miss something?
Title: Re: Custom Copyright
Post by: Dream Portal Team on May 15, 2010, 05:37:21 PM
Are you using a custom theme?
Title: Re: Custom Copyright
Post by: jaydude23 on June 03, 2010, 11:04:24 AM
uninstalled this mod and my theme settings still show a blank box underneath the logo.  How can I remove this completely.  Help   :(
Title: Re: Custom Copyright
Post by: Jack_the_ripper on July 07, 2010, 06:36:22 AM
Quote from: Danpotter on May 04, 2010, 12:04:23 PM
Please help me...im getting below error for my smf 1.1.11 [Dilbermc theme]

chk the attached image

I've got same problem! (Rc3)
In the config-current theme there is a double form(pics1)
If i  write to the first line it is not see it.
If i write to the second line it reated with double(pics2)
After that in the form ther is double custome (pics3) but i write in the second form!
If i delet the first line there is no change.
If i delet the second line the custome cop. has been erased.
How can i fix it?
Title: Re: Custom Copyright
Post by: Hj Ahmad Rasyid Hj Ismail on July 07, 2010, 06:43:16 AM
Manually removed the mod from your theme and reinstall it back. It must have been duplicated there.
Title: Re: Custom Copyright
Post by: Jack_the_ripper on July 07, 2010, 07:20:49 AM
I removed and reinstall but it is not good.
After i reinstall i check the conifg. curr.theme and i see this:
Title: Re: Custom Copyright
Post by: Hj Ahmad Rasyid Hj Ismail on July 07, 2010, 07:50:46 AM
Quote from: Jack_the_ripper on July 07, 2010, 07:20:49 AM
I removed and reinstall but it is not good.
After i reinstall i check the conifg. curr.theme and i see this:
There are three files you need to edit to remove the code. Both in default theme and DilberMC (both in Themes folder).

In index.template.php, delete:

', !empty($settings['custom_copyright']) ? '<span class="smalltext">'. parse_bbc($settings['custom_copyright']). '</span>' : '', '<br />

In Setings.template.php, delete:
array(
'id' => 'custom_copyright',
'label' => $txt['custom_copyright'],
'description' => $txt['custom_copyright_desc'],
'type' => 'text',
),


In languages/Modifications.english.php, delete:
$txt['custom_copyright_desc'] = 'This will be displayed at the bottom.';
$txt['custom_copyright'] = 'Enter custom copyright:';


Then reinstall the mod again.
Title: Re: Custom Copyright
Post by: eric1234 on June 12, 2011, 04:04:23 PM
I installed it in my new forum of SMF 2.0 gold version, after i add in my own custom copyright through the mods, my copyright did not show at the bottom of the forum.
Title: Re: Custom Copyright
Post by: CheeseHead05 on July 12, 2013, 10:17:18 AM
Im having an issue with this mod, it seems once I install it it never redirects me to that page where I can create a custom copyright. Before I noticed that this mod is located in the Misc section but suprisingly it is not there, and suggestions?
Title: Re: Custom Copyright
Post by: Neo_TE on July 12, 2013, 12:02:08 PM
Go to Admin -> Configuration -> Current Theme. You'll find the option to add the custom copyright.
Title: Re: Custom Copyright
Post by: CheeseHead05 on July 18, 2013, 11:44:56 PM
I found that area and typed it in then saved but it is not showing up.
Title: Re: Custom Copyright
Post by: Legosi on July 26, 2021, 09:41:54 AM
Know this topic is old but I created an account just to thank you for creating this plugin. It's the only one that just installs and works without issues. Many thanks