Cuberite Forum
Core Forked (Core++?) (OBSOLETE) - Printable Version

+- Cuberite Forum (https://forum.cuberite.org)
+-- Forum: Plugins (https://forum.cuberite.org/forum-1.html)
+--- Forum: Plugin Releases (https://forum.cuberite.org/forum-2.html)
+---- Forum: Archived Plugins (https://forum.cuberite.org/forum-18.html)
+---- Thread: Core Forked (Core++?) (OBSOLETE) (/thread-1193.html)

Pages: 1 2 3 4 5 6


RE: Core Forked (Core++?) - tigerw - 07-27-2013

Nah, it worked before. xoft told be about it in a post on the previous page. Maybe it has to come first, or there is a typo, but I don't know. I can still check manually for block transparency, all failing.


RE: Core Forked (Core++?) - NiLSPACE - 07-28-2013

Is it possible to add new tabs with the webadmin design? I don't have any tabs from other plugins then core.


RE: Core Forked (Core++?) - bearbin - 07-28-2013

Nothing really makes tabs apart from core Sad But idk.


RE: Core Forked (Core++?) - NiLSPACE - 07-28-2013

The tabs as they are now are written in the template. They are not added with the Plugin:AddWebTab() function.
Code:
<li class='active'><a href='./../../../webadmin/Core/Manage_Server'>Manage Server</a></li>
<li><a href='./../../../webadmin/Core/Server_Settings'>Server Settings</a></li>
<li><a href='./../../../webadmin/Core/Chat'>Chat</a></li>
<li><a href='./../../../webadmin/Core/Playerlist'>Playerlist</a></li>
<li><a href='./../../../webadmin/Core/Whitelist'>Whitelist</a></li>
<li><a href='./../../../webadmin/Core/Permissions'>Permissions</a></li>
<li class='last'><a href='./../../../webadmin/Core/Manage_Plugins'>Manage Plugins</a></li>



RE: Core Forked (Core++?) - bearbin - 07-28-2013

What was the old template like? Submit a bug on the repo and tiger should fix it.


RE: Core Forked (Core++?) - tigerw - 07-28-2013

Need to convert: for first NameList, append <li class "first">; for everything else until last, append <li>; for last NameList append <li class "last>, into C++ code.

Location: source/Webadmin.cpp, line 176.

I hardcoded it because the injection code doesn't work with my CSS menu bar, which requires the 'first' and 'last' classes. For the moment, I guess the best choice is to revert to the included original template.

Unfortunately, I have no idea how to code this in C++, so someone who knows C++ is the person to fix it, if they so choose. Sorry about thatConfused


Ok, forget that, STR fixed it. Could have sworn it needed those tags though...


RE: Core Forked (Core++?) - NiLSPACE - 07-28-2013

I already fixed & commited it.


RE: Core Forked (Core++?) - tonibm19 - 07-28-2013

Where is Core-Forked? When I go into github it tells me page not found.


RE: Core Forked (Core++?) - bearbin - 07-28-2013

Ah, it was brought into the MCServer project, and he probably deleted the old repo to take it from a fork.

It's now all integrated into MCServer - it's now mainline Core!


RE: Core Forked (Core++?) - xoft - 07-28-2013

(07-27-2013, 11:00 PM)tigerw Wrote: Nah, it worked before. xoft told be about it in a post on the previous page. Maybe it has to come first, or there is a typo, but I don't know. I can still check manually for block transparency, all failing.

Oops, sorry, for some reason I believed those arrays are exported, turns out they aren't, yet. I'll see if I can fix that easily; anyway, count on a solution along this way - either an array or a function that returns whether a block is solid / transparent / snowable / whatever.