Minicalendar
#1
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.


.zip   Simple Calendar for Portal.zip (Size: 4.65 KB / Downloads: 161)

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!!
Reply
#2
Smethead first needs to give permission to update;
Reply
#3
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
Reply
#4
Well i don't know then =P
I've updated it; just need permission of him to share it Wink
   
Reply
#5
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
Reply
#6
(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
Reply
#7
(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
Reply
#8
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.


Attached Files
.php   portal_calendar.php (Size: 9.3 KB / Downloads: 165)
Reply
#9
(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!
Reply
#10
Let me know if there are issues =P
In the meanwhile; i've got another version;
Demo: http://thingiej.be/Subz/
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)