News:

SMF 2.1.4 has been released! Take it for a spin! Read more.

Main Menu

The Rules

Started by Deprecated, August 25, 2008, 05:42:14 PM

Previous topic - Next topic

Achilles.

#340
Quote from: Sabre™ on May 22, 2010, 09:20:51 AM
@ Achilles.
It means that your previous uninstall wasn't successful, or you had originally added the code twice. Eitherway, there is duplicate code in your template.
Uninstall the mod, then go through each of the templates this mod alters, and remove any code left behind.
I could do this for you, but there is nothing more fulfilling than learning how to do it for yourself this time, and every other time to follow :)
"Give a man a fish, and you feed him for a day. Teach a man to fish, and you feed him for life."
If you need any guidance, please don't hesitate to ask.
Good Luck :)

Thanks, so where should I get the files? How would I know it got double posted?

EDIT: I've got the files from the MOD's page's PARSE and undid everything. Was able to remove it, is it safe to install it and will it work properly?

- All donations will proceed to my Youth Foundation.

http://poseidondesigners.tk/ -- Affordable Website Designs // Banners & More!

Sabre™

ok, when asking for support, it is vital to provide as much 'significant' information as possible, like:
1.) Which version of SMF are you using? Important because there are 2 branches(SMF1 & SMF2), and each usually have different edits.
2.) Which version of the mod are you using? On some mod pages, there may be more than one package, so the version is important to mention.
Or another member could have added their updated package to the thread, like [SO].
Here & Here are guides to help you help others to help you ;)

Quote from: Achilles. on May 22, 2010, 09:25:57 AM
Thanks, so where should I get the files?
We'll get to that once we have the before mentioned information.

Quote from: Achilles. on May 22, 2010, 09:25:57 AM
How would I know it got double posted?
The answer to that is in the first sequence of your error report
Fatal error: Cannot redeclare modifyrulessettings()

There may Only be a duplicate in your ManageSettings.php, but it is Always better to check All of the modified files, or you risk future conflicts/errors/issues.
Do NOT give admin and/or ftp details to just anybody, see if they are trust worthy first!!  Do your homework ;)


Achilles.

Quote from: Sabre™ on May 22, 2010, 09:43:38 AM
ok, when asking for support, it is vital to provide as much 'significant' information as possible, like:
1.) Which version of SMF are you using? Important because there are 2 branches(SMF1 & SMF2), and each usually have different edits.
2.) Which version of the mod are you using? On some mod pages, there may be more than one package, so the version is important to mention.
Or another member could have added their updated package to the thread, like [SO].
Here & Here are guides to help you help others to help you ;)

Quote from: Achilles. on May 22, 2010, 09:25:57 AM
Thanks, so where should I get the files?
We'll get to that once we have the before mentioned information.

Quote from: Achilles. on May 22, 2010, 09:25:57 AM
How would I know it got double posted?
The answer to that is in the first sequence of your error report
Fatal error: Cannot redeclare modifyrulessettings()

There may Only be a duplicate in your ManageSettings.php, but it is Always better to check All of the modified files, or you risk future conflicts/errors/issues.

What I did is I went to the MOD's site and got PARSE'd it and I undid everything. The error was removed, is it safe to install it again?

- All donations will proceed to my Youth Foundation.

http://poseidondesigners.tk/ -- Affordable Website Designs // Banners & More!

Sabre™

As long as all the code has been removed, then yes.
Do NOT give admin and/or ftp details to just anybody, see if they are trust worthy first!!  Do your homework ;)


Achilles.

Quote from: Sabre™ on May 22, 2010, 09:50:42 AM
As long as all the code has been removed, then yes.

Thank you very much, I've installed it successfully! :)

- All donations will proceed to my Youth Foundation.

http://poseidondesigners.tk/ -- Affordable Website Designs // Banners & More!

Sabre™

Congratulations, and enjoy :)
Do NOT give admin and/or ftp details to just anybody, see if they are trust worthy first!!  Do your homework ;)


improv

Thanks for you mod :).

LHW

For what it's worth, I had a slight display issue when trying to view the modification window (SMF2 RC3). 

I ended up having to to edit the Modifications.english.php, Modifications.english-utf8.php, Modifications.english_british.php, & Modifications.english_british-utf8.php files.

I changed:

$txt['the_rules_edit_agreement_pre_html'] = '
</td>
</tr>
<tr class="windowbg2" >
<td class="windowbg2"><a name="edit_the_rules_agreement"></a></td>
<td valign="top" ><label for="the_rules_edit_name"><a href="';
$txt['the_rules_edit_agreement_post_html'] = '</a></label></td>
<td class="windowbg2" width="50%">
&nbsp;';


to this:

$txt['the_rules_edit_agreement_pre_html'] = '
</dd>
</dl>
<dl class="windowbg2">
<dd class="windowbg2"><a name="edit_the_rules_agreement"></a></dd>
<dd valign="top" ><label for="the_rules_edit_name"><a href="';
$txt['the_rules_edit_agreement_post_html'] = '</a></label></dd>
<dd class="windowbg2" width="50%">
&nbsp;';


After that, it displayed perfectly.


Sabre™

Do NOT give admin and/or ftp details to just anybody, see if they are trust worthy first!!  Do your homework ;)


LHW

Ha!  It figures.  That's what I get for not looking...I just worked off the file I had used for SMF1.  LOL


Sabre™

lol I did that with another mod, then went to attach it in the support thread to see it had already been done lol
Now I check the threads first lol
Do NOT give admin and/or ftp details to just anybody, see if they are trust worthy first!!  Do your homework ;)


marwan

Hi,

It looks like there's a problem parsing BB codes. Please have a look at my Arabic rules on this link:

http://www.auto-works.cc/forum/index.php?action=rules;sa=additional

I'm using RC4.

I removed the content, saved it blank, reposted the content, saved it but still as it is.

live627

Eh no this mod does nothing to the parsing engine to make it fail randomly like that. You can try out the same code in a post to challenge me and prove me right or wrong.

Are you sure you opened and closed all BBC tags correctly and nested them appropriately? I see some formatting errors with stray tags.

marwan

Quote from: live627 on November 28, 2010, 12:49:44 AM
Eh no this mod does nothing to the parsing engine to make it fail randomly like that. You can try out the same code in a post to challenge me and prove me right or wrong.

Are you sure you opened and closed all BBC tags correctly and nested them appropriately? I see some formatting errors with stray tags.
Yeah I'm sure I closed all BB codes :s.

Apllicmz

[size=78%]thank you when Update dont forget Inlcude portuguese[/size]




[size=78%][/code]// MOD The Rules - Translation by Candidosa2         
$txt['the_rules_not_configured'] = 'Este recurso ainda n&atilde;o foi configurado pelo administrador.';
$txt['agreement'] = 'Acordo';
$txt['rules_enable_guest_access'] = 'Activar o acesso para os visitantes:';
$txt['rules_enable_member_access'] = 'Activar o acesso para os membros:';
$txt['the_rules_display_name'] = 'Mostrar o nome da p&aacute;gina das regras:';
$txt['the_rules_agreement_display_name'] = 'Mostrar nome da p&aacute;gina do acordo:';
$txt['mods_cat_rules'] = 'As Regras';
$txt['rules'] = 'Regras';
$txt['rules_tab_label'] = 'Regras etiqueta separador:';
$txt['rules_title']='As Regras';
$txt['rules_title_rules'] = 'Regras';
$txt['the_rules_text'] = 'Mostrar o Texto:';
$txt['additional'] = 'Adicional';
$txt['the_rules_additional_display_name'] = 'Mostra o nome da p&aacute;gina adicional:';
$txt['the_rules_additional_text'] = 'O texto adicional para mostrar:';
$txt['the_rules_enable_additional'] = 'Activar para mostrar a p&aacute;gina adicional:';
$txt['rules_title_additional'] = 'Adicional';
$txt['rules_title_agreement'] = 'Acordo';
$txt['the_rules_enable_agreement'] = 'Activar para mostrar p&aacute;gina agreement.txt:';
$txt['the_rules_edit_name'] = 'Editar agreement.txt';[/size]
[/size][/font]



Eclipse16V

Is there any chance of an upgrade to the new SMF version 2.0 and this mod? Or do I have it running again tinker with the 2.0?
I worked with:
SMF 2 in German

Shop:
SID Giessen

Jessica.

Quote from: marwan on November 28, 2010, 12:55:28 AM
Quote from: live627 on November 28, 2010, 12:49:44 AM
Eh no this mod does nothing to the parsing engine to make it fail randomly like that. You can try out the same code in a post to challenge me and prove me right or wrong.

Are you sure you opened and closed all BBC tags correctly and nested them appropriately? I see some formatting errors with stray tags.
Yeah I'm sure I closed all BB codes :s.

marwan, you're supposed to place the / before not after. like [/b] not [b/]
Testing Zone - SMF 2.0.7, default Curve
School & Chat - phpBB3, over 170 mods installed, official live forum

I use the latest version of Chrome

phpBB: Forum = a section; Board = whole site
SMF: Forum = whole site; Board = a section

TheListener

This mod will work a 2.0 forum BUT all files require a manual edit.

Remember to add the remaining two files to the appropriate directories too.

srgsng25

smf 2.0 Gold

I ran the install then manually edited    ./Sources/Subs.php

i can edit the feature in the control panel but it will not show up in the menu for admin, user or guest did i miss something

live627


Advertisement: