Thread Rating:
  • 4 Vote(s) - 4.25 Average
  • 1
  • 2
  • 3
  • 4
  • 5
[For 1.8] jQuery color picker
#51
This was posted in reference to the end "note" of https://community.mybb.com/thread-158934...pid1253006
MyBB Themes Team - Making more professional themes by the hour. (Retired)
My Mods | Offer me a coffee!
Reply
#52
[Image: nKA5D]

Why isn't it showing the rest of the stuff?

I also have this, but it doesn't work on the header or footer

var customElements = " #panel, .tfoot, .upper, .thead, .tcat, #footer, #copyright, .breadcrumb, #header";
Reply
#53
(12-07-2016, 11:16 PM)Sgt Cheesepuffs Wrote: [Image: nKA5D]

Why isn't it showing the rest of the stuff?

I also have this, but it doesn't work on the header or footer

var customElements = " #panel, .tfoot, .upper, .thead, .tcat, #footer, #copyright, .breadcrumb, #header";



You have to use the correct identifiers and then also remove image attributes from the css on the respective items else it will not work properly.


Example of correct identifiers:
var customElements = " #panel, .tfoot, .upper, .thead, .postbit_buttons > a:link";

 var customText = ".post_block h3, .post_block h3 a, .trow1 a:link, .trow2 a:link, #logo ul.top_links a:link, #panel .lower a:link, .navigation a:link";
MyBB Themes Team - Making more professional themes by the hour. (Retired)
My Mods | Offer me a coffee!
Reply
#54
(12-08-2016, 04:56 AM)vintagedaddyo Wrote:
(12-07-2016, 11:16 PM)Sgt Cheesepuffs Wrote: [Image: nKA5D]

Why isn't it showing the rest of the stuff?

I also have this, but it doesn't work on the header or footer

var customElements = " #panel, .tfoot, .upper, .thead, .tcat, #footer, #copyright, .breadcrumb, #header";



You have to use the correct identifiers and then also remove image attributes from the css on the respective items else it will not work properly.


Example of correct identifiers:
var customElements = " #panel, .tfoot, .upper, .thead, .postbit_buttons > a:link";

 var customText = ".post_block h3, .post_block h3 a, .trow1 a:link, .trow2 a:link, #logo ul.top_links a:link, #panel .lower a:link, .navigation a:link";

Thanks, I fixed that, but it's still not showing the pictures that have RGB
Reply
#55
nvm..
Reply
#56
I can't find my themes folder in my ftp.

I created the cp.css, inserted all the stuff. I also changed the images path. I also added the javascripts to "jscripts" not js because I can't find my themes folder. Then I added the stuff in the headerinclude, changed the path to the javascripts. Then I inserted the images to my image directory. I also added the colorpicker.css and added all the stuff in it.
Then I added the code (<span>the fancy product</span>) and it isn'T still working. I'm trying to install it since 9 hours and I just unable to solve the problem. I see my image and I can also click on it but nothing happens.

My forum website is www.aow-samp.com/Forums
Maybe some staff member of MyBB would help me quickly please. dunno. OR do you have any idea/s?

Kind regards Sauron.
Reply
#57
(11-21-2016, 08:36 PM)vintagedaddyo Wrote: This was posted in reference to the end "note" of https://community.mybb.com/thread-158934...pid1253006

Any plan to make this into a plugin as your plugins are awesome Big Grin
Reply
#58
(02-09-2020, 08:32 AM)sappy Wrote:
(11-21-2016, 08:36 PM)vintagedaddyo Wrote: This was posted in reference to the end "note" of https://community.mybb.com/thread-158934...pid1253006

Any plan to make this into a plugin as your plugins are awesome Big Grin


AsI have not looked at this since 2016, I will have to look at it again when I find the free tine to do so, though I had not planned on making it into a plug nor am I sure that that will change, I will add it to my things to re-look at in the futere "to do" list if and or when my limited free time allows. Smile
MyBB Themes Team - Making more professional themes by the hour. (Retired)
My Mods | Offer me a coffee!
Reply
#59
(02-09-2020, 04:55 PM)vintagedaddyo Wrote:
(02-09-2020, 08:32 AM)sappy Wrote:
(11-21-2016, 08:36 PM)vintagedaddyo Wrote: This was posted in reference to the end "note" of https://community.mybb.com/thread-158934...pid1253006

Any plan to make this into a plugin as your plugins are awesome Big Grin


AsI have not looked at this since 2016, I will have to look at it again when I find the free tine to do so, though I had not planned on making it into a plug nor am I sure that that will change, I will add it to my things to re-look at in the futere "to do" list if and or when my limited free time allows. Smile

https://community.mybb.com/mods.php?acti...w&pid=1158

There is already a color picker, the only problem i was facing was the skin.js disabled other forum functions such as sce editor, and jquery/js forum functions.
Reply
#60
(Yesterday, 09:43 AM)sappy Wrote:
(02-09-2020, 04:55 PM)vintagedaddyo Wrote:
(02-09-2020, 08:32 AM)sappy Wrote:
(11-21-2016, 08:36 PM)vintagedaddyo Wrote: This was posted in reference to the end "note" of https://community.mybb.com/thread-158934...pid1253006

Any plan to make this into a plugin as your plugins are awesome Big Grin


AsI have not looked at this since 2016, I will have to look at it again when I find the free tine to do so, though I had not planned on making it into a plug nor am I sure that that will change, I will add it to my things to re-look at in the futere "to do" list if and or when my limited free time allows. Smile

https://community.mybb.com/mods.php?acti...w&pid=1158

There is already a color picker, the only problem i was facing was the skin.js disabled other forum functions such as sce editor, and jquery/js forum functions.


Hmm, interesting, I don't currently have the free time to try out this plugin nor look into this further but two things I notice right away..,

This should not be in functions.php as it has been mentioned here already in previous posts loading jquery a second time is not needed as mybb has it already...

<script type="text/javascript" src="{$mybb->settings[\'bburl\']}/js/jquery.min.js"></script>

Also as mentioned here in previous posts this should not be in skin.js

jQuery.noConflict();


.zip   Theme_Color_Changer_v1.1.zip (Size: 152.8 KB / Downloads: 0) * just those two issues removed, let me know if that sorts it out for you as I didn't have the free time to try the plugin.

Also I notice this plugin is rather limited on what it changes in comparison to the variants I shared in the past also it does not allow touch selection on mobile and also there is a bit of hardcoded text that could be localized as that is sorta a pet peeve of mine lol so if I find some free time I may look into this and modify it with things I provided here in this thread in the past because we already know they work... but not sure if and or when I may find the free time to do so...
MyBB Themes Team - Making more professional themes by the hour. (Retired)
My Mods | Offer me a coffee!
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)