Posts: 628
Threads: 33
Joined: Jan 2011
Reputation:
15
This user has been denied support.
When is the release of the version 1.2 ?
My problem was, when i activate this plugin, Quick Theme changer is not working, Why?
Posts: 230
Threads: 14
Joined: Jun 2008
Reputation:
19
2011-07-14, 05:28 PM
(This post was last modified: 2011-07-15, 09:17 AM by Simon S..)
Like the MyBB staff always say "It will be released when it's ready".
Your forum is http://www.nadlerzforum.com right? The theme changer works for me..
(2011-07-13, 03:25 PM)RazielxD Wrote: So, This editor will overwrite the default MyBB editor in:
- Quick Reply
- Advanced Reply
- Private Massages
How about calendar events, and Signature edition site?
PS. The default theme is better than old one. Keep working!
Totally forgot them, I will add them definitely in 1.2.
codiciousdesigner codiciousdeveloper
Posts: 1,206
Threads: 66
Joined: Jun 2008
Reputation:
8
Awesome
Thanks for your work!
Posts: 628
Threads: 33
Joined: Jan 2011
Reputation:
15
This user has been denied support.
Yes, the quick theme changer works fine when i disable the Advanced WYSIWYG Editor.
But, when I enable it.. It will no longer works
Posts: 230
Threads: 14
Joined: Jun 2008
Reputation:
19
2011-07-23, 04:52 PM
(This post was last modified: 2011-07-23, 04:52 PM by Simon S..)
Advanced WYSIWYG Editor 1.2 is now out!
What's new?- Multi Quote Support
- New Default Theme
- Setting for "New Event" Page
- Many small bug fixes
How to Update?
In order to update Adv. WYSIWYG Editor to 1.2 you need to deinstall the plugin and install it then again. Otherwise it may happen that the plugin doesn't work properly.
Download Adv. WYSIWYG Editor 1.2
codiciousdesigner codiciousdeveloper
Posts: 2,530
Threads: 124
Joined: Jul 2011
Reputation:
293
2011-07-23, 04:58 PM
(This post was last modified: 2011-07-23, 06:43 PM by martec.)
(2011-07-23, 04:52 PM)Simon S. Wrote: Advanced WYSIWYG Editor 1.2 is now out!
What's new?- Multi Quote Support
- New Default Theme
- Setting for "New Event" Page
- Many small bug fixes
How to Update?
In order to update Adv. WYSIWYG Editor to 1.2 you need to deinstall the plugin and install it then again. Otherwise it may happen that the plugin doesn't work properly.
Download Adv. WYSIWYG Editor 1.2
Thanks very much...
i will test...
I tested...
i found one error...
smiles of javascript:clickableEditor.openGetMoreSmilies('clickableEditor'); (button of more smiles)
not work...
Ps.[/align]
I can change
[align=left][/align] to [left][/left]
[align=center][/align] to [center][/center]
[align=right][/align] to [right][/right]
[align=justify][/align] to [justify][/justify]
?
Posts: 628
Threads: 33
Joined: Jan 2011
Reputation:
15
2011-07-24, 02:57 AM
(This post was last modified: 2011-07-24, 06:26 AM by nadlerz.)
This user has been denied support.
Can you add something like:
<script type="text/javascript">jQuery.noConflict();</script>
Because, after activating this plugin.
All quick theme changer doesn't work anymore
I need some fix for the quick theme changer conflict
I'm using Quick Theme OnChange (2.0) plugin that conflicts with this one:
Quick Theme OnChange (2.0)
Allow users to quickly change their themes.
Created by EviLito > http://community.mybboard.net/user-10968.html
Posts: 230
Threads: 14
Joined: Jun 2008
Reputation:
19
noConflict() won't change anything, because this editor is using Prototype (the js library which MyBB is using). The only solution I can think of for this right now is adding a submit button next to the select box.
<input type="submit" value="Change Theme" />
@martec Will be fixed in 1.2.1. I've attached the fixed plugin file to my post, just upload it to inc/plugins and the smilie popup should work again.
wysiwyg.php (Size: 12.19 KB / Downloads: 205)
codiciousdesigner codiciousdeveloper
Posts: 73
Threads: 14
Joined: Jun 2011
Reputation:
0
Quick edit can you fix with the tread.js
place it in the WYSIWYG_quickedit template
Posts: 628
Threads: 33
Joined: Jan 2011
Reputation:
15
This user has been denied support.
This the code for Quick Theme:
Quote:<?php
// Disallow direct access to this file for security reasons
if(!defined("IN_MYBB"))
{
die("Direct initialization of this file is not allowed.<br /><br />Please make sure IN_MYBB is defined.");
}
$plugins->add_hook("pre_output_page", "quickthemeoc_run");
$plugins->add_hook("index_start", "quickthemeoc_update");
$plugins->add_hook("global_start", "quickthemeoc_global");
function quickthemeoc_info()
{
return array(
"name" => "Quick Theme OnChange",
"description" => "Allow users to quickly change their themes.",
"website" => "http://mods.mybboard.net",
"author" => "EviLito",
"authorsite" => "http://community.mybboard.net/user-10968.html",
"version" => "2.0",
"compatibility" => "16*",
"guid" => "01d65dc78eac227f93dd09b143fccd35",
);
}
function quickthemeoc_activate()
{
global $db;
require MYBB_ROOT.'/inc/adminfunctions_templates.php';
find_replace_templatesets("footer", '#'.preg_quote('<!-- End powered by -->').'#', '<!-- End powered by --><quickthemeoc>');
}
function quickthemeoc_deactivate()
{
global $db;
require MYBB_ROOT.'/inc/adminfunctions_templates.php';
find_replace_templatesets("footer", '#'.preg_quote('<quickthemeoc>').'#', '', 0);
}
function quickthemeoc_run($page)
{
global $mybb, $db, $lang;
$lang->load("usercp");
$list_label = $lang->style;
$theme_select = build_theme_select("style", $mybb->user['style']);
if(strpos($theme_select, '</select>') === false)
{
$theme_select .= '</select>';
}
$theme_select = str_replace("<select", "<select onchange=\"this.form.submit()\" class=\"smalltext\"", $theme_select);
$data = "\n<form method=\"post\" action=\"./index.php?action=quickthemeoc\">\n";
$data .= "<span class=\"smalltext\"><strong>".$list_label." </strong></span><input type=\"hidden\" name=\"uid\" value=\"{$mybb->user['uid']}\" />";
$data .= $theme_select."\n</form>";
preg_match('#'.preg_quote('<quickthemeoc>').'#i', $page, $matches);
if($matches[0])
{
$page = str_replace($matches[0], $data, $page);
}
return $page;
}
function quickthemeoc_update()
{
global $mybb, $db, $lang;
if($mybb->input['action'] == 'quickthemeoc')
{
if(isset($mybb->input['style']) && $mybb->request_method == "post" || $mybb->request_method == "get")
{
$lang->load('usercp');
if($mybb->user['uid'])
{
$db->update_query("users", array('style' => intval($mybb->input['style'])), "uid='{$mybb->user['uid']}'");
}
else
{
if(intval($mybb->input['style']) == 0)
{
my_unsetcookie('quickthemeoc');
}
else
{
my_setcookie('quickthemeoc', intval($mybb->input['style']));
}
}
redirect($_SERVER['HTTP_REFERER'], $lang->redirect_optionsupdated);
}
}
}
function quickthemeoc_global()
{
global $mybb;
if($mybb->user['uid'] == 0 && intval($mybb->cookies['quickthemeoc']) > 0)
{
$mybb->user['style'] = intval($mybb->cookies['quickthemeoc']);
}
}
?>
How / Where to add this code: <input type="submit" value="Change Theme" /> ?
|