i have instal Disable Right Click v3.1 mod
not work in my smf 1.1.8
i have manualy edit package parser
but nothing happens :'(
so I delete them
now, look....im using Outline+simpleportal theme is okay
(http://g.imagehost.org/0602/untitled_7.jpg)
but,if i go to forum tab, he automatically switch to default theme
and An Error Has Occurred! Unable to load the 'main' template.
(http://f.imagehost.org/0707/untitled2.jpg)
please help....fix my forum
:'(
are all other pages are working?please make sure you have boardindex.template.php in your theme file as forum menu is giving us error.
yes, im have boardindex.template.php in my outline theme
im cannot login too...
What files do u have in the template/*theme* directory?
if u can't login u need to fix it in ftp i think
this my Outline theme directory....
All seems to be there, can u change so u get old theme even if ur not logged in?
edit:maybe it could missing a file "Settings.template.php", "MessageIndex.template.php" and "Display.template.php", my own theme got that php files
im very confused....
what should I do???
When u made the theme, did u make it from the orginal theme or wath them is the theme u started with? sorry for my bad english
yes, theme original from diznerstudio... i make some edit, just theme logo
its fine before i instal "disable right click" mode
after I uninstall them, disaster occurs....
anybody can help?
im online now, chat with me using YM
ID YM : zendha_ra
thx before for help...
if u reupload all files in the theme folder it maybe work
What mods do you have installed?
When was the last time you installed any mods?
Please list the edits you have made to the template files as it most likely one of these edits that is causing this.
yesterday....
im manual installing Disable Right Click Mod with smf package parser
it's dont work im my forum so i have uninstalling them with smf package parser too..
and the disaster happened.....
Uninstallation instructions for SMF versions: 1.1.7-1.1.99
Files deleted
* $imagesdir/index.php will be deleted
Modifications to SMF files
In file $boarddir/index.php
Find:
Quote
//Disable Right Click v3 Mod by NIBOGO - Adding the code for all the templates
if (!empty($modSettings['drc_msg']) && !allowedTo('right_click') && !empty($modSettings['arrange_drc']))
disable_right_click();
if (empty($modSettings['drc_msg']) && !allowedTo('right_click') && !empty($modSettings['arrange_drc']))
disable_right_click_mute();
// Otherwise, it was set - so let's go to that action.
require_once($sourcedir . '/' . $actionArray[$_REQUEST['action']][0]);
Replace with:
Quote// Otherwise, it was set - so let's go to that action.
require_once($sourcedir . '/' . $actionArray[$_REQUEST['action']][0]);
In file $sourcedir/ModSettings.php
Find:
Quote'',
//Disable Right Click Mod - NIBOGO
array('check', 'arrange_drc'),
array('check', 'drc_msg'),
array('text', 'drc_title'),
'',
// Reactive on email, and approve on delete
Replace with:
Quote
'',
// Reactive on email, and approve on delete
In file $sourcedir/Subs.php
Delete:
Quote// Disable Right Click v3.0 By: NIBOGO
function disable_right_click()
{
global $context, $modSettings, $txt;
/*This show a message if the "Show Message" option is selected*/
echo '
<script language=JavaScript>
<!--
//Disable right mouse click Script
//By Maximus ([email protected]) w/ mods by DynamicDrive
//For full source code, visit http://www.dynamicdrive.com
var message="',(empty($modSettings['drc_title'])) ? $txt['drc_message2'] : $modSettings['drc_title'], ' ";
///////////////////////////////////
function clickIE4(){
if (event.button==2){
alert(message);
return false;
}
}
function clickNS4(e){
if (document.layers||document.getElementById&&!document.all){
if (e.which==2||e.which==3){
alert(message);
return false;
}
}
}
if (document.layers){
document.captureEvents(Event.MOUSEDOWN);
document.onmousedown=clickNS4;
}
else if (document.all&&!document.getElementById){
document.onmousedown=clickIE4;
}
document.oncontextmenu=new Function("alert(message);return false")
// -->
</script>';
}
function disable_right_click_mute()
{
global $context, $txt;
/*This hide the right click without a message , only if the "Dont Show Nothing" option is selected*/
echo '
<script language=JavaScript>
<!--
//Disable right click script III- By Renigade ([email protected])
//For full source code, visit http://www.dynamicdrive.com
var message="";
///////////////////////////////////
function clickIE() {if (document.all) {(message);return false;}}
function clickNS(e) {if
(document.layers||(document.getElementById&&!document.all)) {
if (e.which==2||e.which==3) {(message);return false;}}}
if (document.layers)
{document.captureEvents(Event.MOUSEDOWN);document.onmousedown=clickNS;}
else{document.onmouseup=clickNS;document.oncontextmenu=clickIE;}
document.oncontextmenu=new Function("return false")
// -->
</script>';
}
In file $sourcedir/ManagePermissions.php
Find:
Quote'search_posts' => false,
'karma_edit' => false,
'right_click' => false,
Replace with:
Quote'search_posts' => false,
'karma_edit' => false,
In file $languagedir/Modifications.english.php
Delete:
Quote
// Disable Right Click v3 BY: NIBOGO
$txt['arrange_drc'] = 'Disable the right click for some users';
$txt['drc_msg'] = 'Show a message';
$txt['drc_message2'] = 'Sorry , You can\'t use the right click';
$txt['drc_title'] = 'Write the message of will be show';
$txt['permissionname_right_click'] = 'Right Click';
$txt['permissionhelp_right_click'] = 'This permission allows users to make right click in all the forum.';
In file $languagedir/Help.english.php
Delete:
Quote// Disable Right Click v3 BY: NIBOGO
$helptxt['arrange_drc'] = 'With this the right click will be disable for some groups';
$helptxt['drc_msg'] = 'You can enable this to show message when the user make a right click';
$helptxt['drc_title'] = 'Write the message of will be show , only if the "Show Message" option is selected';
Quote from: thedarkman on February 23, 2009, 10:10:08 AM
yesterday....
im manual installing Disable Right Click Mod with smf package parser
it's dont work im my forum so i have uninstalling them with smf package parser too..
and the disaster happened.....
Uninstallation instructions for SMF versions: 1.1.7-1.1.99
Files deleted
* $imagesdir/index.php will be deleted
Modifications to SMF files
In file $boarddir/index.php
Find:
Quote
//Disable Right Click v3 Mod by NIBOGO - Adding the code for all the templates
if (!empty($modSettings['drc_msg']) && !allowedTo('right_click') && !empty($modSettings['arrange_drc']))
disable_right_click();
if (empty($modSettings['drc_msg']) && !allowedTo('right_click') && !empty($modSettings['arrange_drc']))
disable_right_click_mute();
// Otherwise, it was set - so let's go to that action.
require_once($sourcedir . '/' . $actionArray[$_REQUEST['action']][0]);
Replace with:
Quote// Otherwise, it was set - so let's go to that action.
require_once($sourcedir . '/' . $actionArray[$_REQUEST['action']][0]);
In file $sourcedir/ModSettings.php
Find:
Quote'',
//Disable Right Click Mod - NIBOGO
array('check', 'arrange_drc'),
array('check', 'drc_msg'),
array('text', 'drc_title'),
'',
// Reactive on email, and approve on delete
Replace with:
Quote
'',
// Reactive on email, and approve on delete
In file $sourcedir/Subs.php
Delete:
Quote// Disable Right Click v3.0 By: NIBOGO
function disable_right_click()
{
global $context, $modSettings, $txt;
/*This show a message if the "Show Message" option is selected*/
echo '
<script language=JavaScript>
<!--
//Disable right mouse click Script
//By Maximus ([email protected]) w/ mods by DynamicDrive
//For full source code, visit http://www.dynamicdrive.com
var message="',(empty($modSettings['drc_title'])) ? $txt['drc_message2'] : $modSettings['drc_title'], ' ";
///////////////////////////////////
function clickIE4(){
if (event.button==2){
alert(message);
return false;
}
}
function clickNS4(e){
if (document.layers||document.getElementById&&!document.all){
if (e.which==2||e.which==3){
alert(message);
return false;
}
}
}
if (document.layers){
document.captureEvents(Event.MOUSEDOWN);
document.onmousedown=clickNS4;
}
else if (document.all&&!document.getElementById){
document.onmousedown=clickIE4;
}
document.oncontextmenu=new Function("alert(message);return false")
// -->
</script>';
}
function disable_right_click_mute()
{
global $context, $txt;
/*This hide the right click without a message , only if the "Dont Show Nothing" option is selected*/
echo '
<script language=JavaScript>
<!--
//Disable right click script III- By Renigade ([email protected])
//For full source code, visit http://www.dynamicdrive.com
var message="";
///////////////////////////////////
function clickIE() {if (document.all) {(message);return false;}}
function clickNS(e) {if
(document.layers||(document.getElementById&&!document.all)) {
if (e.which==2||e.which==3) {(message);return false;}}}
if (document.layers)
{document.captureEvents(Event.MOUSEDOWN);document.onmousedown=clickNS;}
else{document.onmouseup=clickNS;document.oncontextmenu=clickIE;}
document.oncontextmenu=new Function("return false")
// -->
</script>';
}
In file $sourcedir/ManagePermissions.php
Find:
Quote'search_posts' => false,
'karma_edit' => false,
'right_click' => false,
Replace with:
Quote'search_posts' => false,
'karma_edit' => false,
In file $languagedir/Modifications.english.php
Delete:
Quote
// Disable Right Click v3 BY: NIBOGO
$txt['arrange_drc'] = 'Disable the right click for some users';
$txt['drc_msg'] = 'Show a message';
$txt['drc_message2'] = 'Sorry , You can\'t use the right click';
$txt['drc_title'] = 'Write the message of will be show';
$txt['permissionname_right_click'] = 'Right Click';
$txt['permissionhelp_right_click'] = 'This permission allows users to make right click in all the forum.';
In file $languagedir/Help.english.php
Delete:
Quote// Disable Right Click v3 BY: NIBOGO
$helptxt['arrange_drc'] = 'With this the right click will be disable for some groups';
$helptxt['drc_msg'] = 'You can enable this to show message when the user make a right click';
$helptxt['drc_title'] = 'Write the message of will be show , only if the "Show Message" option is selected';
Thanks for info.
thanks for info??
for what? dont do this....
or if you want same problem with me
Quote from: thedarkman on February 23, 2009, 10:40:03 AM
thanks for info??
for what? dont do this....
or if you want same problem with me
Sorry..
You must disable Disable Right Click. Because if that was what you damage your body. Disable right click the well it does is disable a single button mouse and it is not absolutely necessary.
what can i do?
im cannot login...
How many other mods do you have installed? The code you posted must be removed completely from the files. Step all the way through the install instructions and remove all the code for this mod.
If this is the only mod you have installed then you can overwrite the effected files with fresh ones from and install/upgrade package and that should fix your problem. You will also need to overwrite the custom theme files with fresh ones as well, but only if you have no other mods installed.
i have 10 mod have installed
what should I do?
so im must reinstall many mod again???
Quote from: thedarkman on February 23, 2009, 12:43:20 PM
i have 10 mod have installed
what should I do?
so im must reinstall many mod again???
Correct. for use other theme this need reinstall all mod!
my smf verison is 1.1.8
this is link for mod http://custom.simplemachines.org/mods/index.php?mod=1175
and i will attach my file....please check if i wrong uninstalling
thedarkman, do you still need assistance on this issue? It looks like you switched to using another forum at this point when I checked your site.