Live Demo (http://key.jeunosky.net/)
Link to Modification (http://custom.simplemachines.org/mods/index.php?mod=1317)
Package InformationLatest Version:
1.0Created 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
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(), '
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.
Great! Thanks!
nice works.
Spanish:
$txt['custom_copyright_desc'] = 'Esto se mostrara en la parte inferior.';
$txt['custom_copyright'] = 'Ingrese su copyright:';
baiis!
Gracias por la traducción.
Nice little mod ccbtimewiz.
Are you going to make an SMF 2 Beta version?
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.
Thanks mate. This really helped :)
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 © 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.
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/view.php?file=wh6ux5amevyedc76vdop.jpg)
Oh and on my Admin->Current Theme there is no new filed for the copyright as it should.
You may have a custom Settings.template.php that will need to be edited as well.
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',
),
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.
These are from the /themes/dilbermc
i hope thats what you meant
Try these out.
Just put them and didnt work ... same thing again 2 times the banner .
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?
Thanks :B
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.
This mod, allows you to add your own personal copyright to the page. It doesn't remove any other copyrights.
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.
I install this on my forum, but nothing appends :S
How i can put this working ?
thnks
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.
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 =)
Nice idea @ccbtimewiz
Thanks for the mod.
Hi its working in default and not in dilbermc.
Give me some suggestions.
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?
HTML is enabled.
<a href="yourlink.com">Your Title</a>
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!
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
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.
everything on the page
The mod has been removed
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?
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
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.
Here ya go
Thanks for the help!
It also seems have to adjusted how the text looks for all IE users
What files does this mod effect ?
The reason to why the install went a bit buggy was because of some arcade mod.
Anyways, fixed...
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?
Attach your index.template.php
thanks again
Here you are...
thank you sir
Think I can go ahead and install you mod now?
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.
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....
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.
Uploaded other file
see file
thanks again!!
Here you are.
Same
https://www.darksideoutdoors.com/Forum/index.php
thanks though... I feel confident we will fix it soon
Any Answers to my queries.
http://www.simplemachines.org/community/index.php?topic=253713.msg1650212#msg1650212
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.
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>
Does your theme have a custom settings.template.php file?
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(
0 => $txt['days'][0],
1 => $txt['days'][1],
6 => $txt['days'][6],
),
'default' => true,
),
array(
'id' => 'display_quick_reply',
'label' => $txt['display_quick_reply'],
'options' => array(
0 => $txt['display_quick_reply1'],
1 => $txt['display_quick_reply2'],
2 => $txt['display_quick_reply3']
),
'default' => true,
),
array(
'id' => 'display_quick_mod',
'label' => $txt['display_quick_mod'],
'options' => array(
0 => $txt['display_quick_mod_none'],
1 => $txt['display_quick_mod_check'],
2 => $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(
0 => $txt['who_display_viewing_off'],
1 => $txt['who_display_viewing_numbers'],
2 => $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'],
),
);
}
?>
Alright, added the options. Download this file..
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.
I added my functions.
array(
'id' => 'custom_copyright',
'label' => $txt['custom_copyright'],
'description' => $txt['custom_copyright_desc'],
'type' => 'text',
),
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.
Attach your index.template.php file..
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
index.template.php attached.
Having fun with the arcade mod, ccbtimewiz? :P
/me hates it
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
IE users still have larger text
Also still have a line of code at the top of my forum
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.
I'm using the default theme
You fixed it for me then I installed your mod and get the code at the top again
Everything is fixed
except the copyright shows twice in the admin area and twice at the bottom or the pages
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.
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.
Any Updates http://www.simplemachines.org/community/index.php?topic=253713.msg1659336#msg1659336
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...
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.
Anyone help me to get this mod work properly.
Any Updates http://www.simplemachines.org/community/index.php?topic=253713.msg1659336#msg1659336
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.
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.
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!
And actually on that note, updated the mod to 2.0. ;)
?
Here you are. ;)
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.
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>
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 ;)
@ 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 :)
Thanks for the assist!
Appreciate it! Works perfectly!
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.
I tried to manual install it in dilber, and i crashed the hole site... >:(
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?
I did cut and copy it so i dont know, I got a fresh install now...
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.
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 .
Could you PM me admin account and FTP account details for your website? I would like to see this problem for myself.
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.
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!
Are you using the default theme, or a custom theme?
I'm using the default. SMF 2 Beta 4.
Go into your Admin Panel, go to "Current Theme".
You'll see an option like this:
Fill that field in with what you want to show as your custom copyright. Use "©" to do the copyright sign. You can use HTML and BBcode in this field.
There it is! That is so bizarre. I swear I looked all over there...
Well...thanks!
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?
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)
Sure. Here goes:
When i do this, My copyright lays partially over the top of the smf copyright..
Link to forum?
working well on our forum. thank you!
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
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. :)
can't wait..thanks!!!
I have it off as well, but since you already seen it, Ill wait for the update, thanks a bunch... ;D
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.
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!
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.
Nice mod :D , Thank you
Mathew
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).
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
Excellent, thank you :D
This is going to come in handy.
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 :)
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.
@SilentMoonI 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.
@NetizenIn 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.
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
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;
}
@CPOMorty
To add your custom copyright to print page, in default/Printpage.template.php, find
<div align="center" class="smalltext">', theme_copyright(), '</div>
<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.
Worked perfect. Thanks again!
Murray
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
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',
),
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?
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',
),
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.
ah ok. Check also languages/Modifications.english.php for the txt string.
$txt['custom_copyright'] = 'Enter custom copyright:';
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.
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.
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:
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.
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
Hmnn, I thought everyone knows that txt strings are added at the end of a language file before the php closing tag (?>). :)
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
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:
Custom Theme:
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',
),
How do I edit my Settings.template.php...? It won't let me, only the index.template.php
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)
Thanks. (Hopefully)
::EDIT:: I don't know where to download the Settings.Template.Php
Themes/{your_custom_theme}/Settings.template.php.
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.
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.
@RättvisOrsak/JC
Smart way. 8)
@acewashere
Use bbcode linefeed [br] for multiple lines.
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 :)
great mod... works perfect on 1.1.8.. thanks a lot for this.
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(), '
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;
}
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.
In index.template.php
<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>
Quote from: Bulakbol on February 25, 2009, 11:27:14 PM
In index.template.php
<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.
Great Mod
No errors. Love it!
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
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
Hi,
Here is the link http://www.poodarai.com (http://www.poodarai.com)
Thanks,
Gibs
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',
),
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 />
@Bulakbol
Thanks, Brutha' - The Settings Template tip helped.
- -
Okay,
Father Luke
My pleasure Father Luke.
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:';
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:';
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?
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*
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
Oh, thanks.
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?
number 6 effects it, you will need to add the code manually
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
are you using curve? if not thats your problem it will only add to curve
Where is teh configuration found for this mod in the Admin area.
Current Theme Settings
Okay, thanks. I set the copyright, and it never came up at the bottom. I am using the default theme for SMF2.0, curve.
link please
www.developers-community.com/forums
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
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?
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
Yeah, it was after.
What code do I add?
index.template.php in my themes folder, or the default theme folder?
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
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>
can you also provide a non utf8 version and I will add to the package :)
Arabic & UTF-8
thank you i will add them to the download shortly :)
you are welcome :D .
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.
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.
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?
not on this mod no as its user added, you can make the custom copyright say what you want it to say :)
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:
QuoteCopyright © 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?
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 :)
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.
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
Does this replace or add a copyright? if adds, ill use it...
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 :)
Had a parse error when trying to edit the themes index template file.
Line 583
Attachment included.
how do i add it to smf 2rc???
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
help on how to use it on rc2
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
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.
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 ?
help here
Thanks fellas but I managed to sort the error out.
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?
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.
how can i add it to rc2..
Derby were there any errors on install?
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
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).
Nice Mod
Please update it for SMF 2.0RC3 ;)
Thanks
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
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?
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.
RD is correct there should be a<br> after the custom copyright code.
Yes the <br> is fix it.
Thank you Royalduke & Brack1 !
I despite having over Runic 's post.
Thanks
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 :).
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:
}
i successfully installed it but i cant find any link to manage it.
Admin > Current Theme
i cant find it :-\
hello
Please help me...im getting below error for my smf 1.1.11 [Dilbermc theme]
chk the attached image
It looks as though the file has the same edit twice.
Attach your index.template.php file
hey i modified index.template.php myself and problem solved :D
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?
Are you using a custom theme?
uninstalled this mod and my theme settings still show a blank box underneath the logo. How can I remove this completely. Help :(
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?
Manually removed the mod from your theme and reinstall it back. It must have been duplicated there.
I removed and reinstall but it is not good.
After i reinstall i check the conifg. curr.theme and i see this:
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.
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.
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?
Go to Admin -> Configuration -> Current Theme. You'll find the option to add the custom copyright.
I found that area and typed it in then saved but it is not showing up.
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