MyBB Community Forums

Full Version: Minicalendar
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Pages: 1 2
Hi, it would be nice to have a plugin that sets a minicalendar on index.

There used to be one for MyBB 1.2 but I can't even find it xD (it was called "Simple Calendar On Index")

Settings:

Color when there are events
Color when there are birthdays
Color when there are events and birthdays

(This colors means the font color in wich should be displayed the numbers of these days, so they hightlight form the "normal" days <days without events and birthdays>)

where on index? well, when plugin is active, we should select where to place it (may be something like {$minicalendar}). Myself, I would put it inside a "side box" (another great plugin from labrocca).

Any chances to get it done? Big Grin

I've searched but couldn't find anything. The most likely plugin is "events on index" from crakter, but the idea here is a minicalendar, so you can see all the month in a easy way.


-----------------------


K, I finally found the plugin file for MyBB 1.2.

[attachment=13361]

I hope this gives ideas to you guys, or that you can upgrade it to 1.4. The minicalendar is a very cool gadget Big Grin

it says for portal but it would be useful to have it on index page. I remember I managed to make this work on index page ^^

I requested this on mybbcentral.com, but the admin labrocca locked the requests/suggestion forum -_-

Greets!!
Smethead first needs to give permission to update;
Quote:Smethead is currently away.
Reason: Not specified.
Away Since: 10-02-2007 Returns on: 12-31-2037

what if he doesn't come back until 2037? u.u"

By the way.. OMG Lex, you're back! xDD
Well i don't know then =P
I've updated it; just need permission of him to share it Wink
[attachment=13368]
NOOOOOOOOOOOO LEX!!!

I'm gonna cry now!! D: !!!

Looks AWESOME!!

I've sent an MP to Smethead so he can see this thread and give permission to you.... couldn't sent him an email because regular mybb community users can't do that xD

....

Let's hope....

....


*sigh*

Guys, if any of you are a closer friend of smethead, please contact him and let him know we are waiting for his approval... Confused

PD: I'm glad you're back, Lex Big Grin
(2009-04-04, 04:17 PM)EviLito Wrote: [ -> ]
Quote:Smethead is currently away.
Reason: Not specified.
Away Since: 10-02-2007 Returns on: 12-31-2037

what if he doesn't come back until 2037? u.u"

By the way.. OMG Lex, you're back! xDD

Lol, i didn't even know that date was set. I just don't know when I'll be back and active again.
Anyway, you can go ahead and do whatever you like. I don't have time for mods/plugins right now. Got a plane to catch...

Nice work tough, LeX
(2009-04-04, 09:53 PM)LeX- Wrote: [ -> ]Well i don't know then =P
I've updated it; just need permission of him to share it Wink
Nice work, LeX-Smile
Okay; here we go =P
The style you see on the screenshot aint the one in the plugin; i changed that for myself Wink
And another note is when you have Sideboxes installed, you probably want it in a sidebox ... =P

Well than you need to delete this part in the install() function
	require MYBB_ROOT.'/inc/adminfunctions_templates.php';
	find_replace_templatesets("index", '#'.preg_quote('{$forums}').'#', '<table width="100%"  border="0">
  	<tr>
    	<td width="75%" valign="top">{$forums}</td>
    	<td width="25%" valign="top">{$spc}</td>
  	</tr>
	</table>');

+ this part in the uninstall() function
	require MYBB_ROOT.'/inc/adminfunctions_templates.php';
	find_replace_templatesets("index", '#'.preg_quote('<table width="100%"  border="0">
  	<tr>
    	<td width="75%" valign="top">{$forums}</td>
    	<td width="25%" valign="top">{$spc}</td>
  	</tr>
	</table>').'#', '{$forums}',0);

And manually add {$spc} in your index template where the other sideboxes are.
(2009-04-05, 08:27 AM)LeX- Wrote: [ -> ]Okay; here we go =P
The style you see on the screenshot aint the one in the plugin; i changed that for myself Wink
And another note is when you have Sideboxes installed, you probably want it in a sidebox ... =P

Well than you need to delete this part in the install() function
	require MYBB_ROOT.'/inc/adminfunctions_templates.php';
	find_replace_templatesets("index", '#'.preg_quote('{$forums}').'#', '<table width="100%"  border="0">
  	<tr>
    	<td width="75%" valign="top">{$forums}</td>
    	<td width="25%" valign="top">{$spc}</td>
  	</tr>
	</table>');

+ this part in the uninstall() function
	require MYBB_ROOT.'/inc/adminfunctions_templates.php';
	find_replace_templatesets("index", '#'.preg_quote('<table width="100%"  border="0">
  	<tr>
    	<td width="75%" valign="top">{$forums}</td>
    	<td width="25%" valign="top">{$spc}</td>
  	</tr>
	</table>').'#', '{$forums}',0);

And manually add {$spc} in your index template where the other sideboxes are.
Very good!Smile Will be testing shortly!
Let me know if there are issues =P
In the meanwhile; i've got another version;
Demo: http://thingiej.be/Subz/
Pages: 1 2