Go Back   vb.org Archive > vBulletin Modifications > Archive > vB.org Archives > vBulletin 2.x > vBulletin 2.x Full Releases

Reply
 
Thread Tools
Details »»

Version: , by wajones wajones is offline
Developer Last Online: Apr 2014 Show Printable Version Email this Page

Version: 2.2.x Rating:
Released: 11-02-2001 Last Update: Never Installs: 50
 
No support by the author.

As requested, here is the small calendar from vbPortal.
I want to also give credit to one of my users "rabidmoogle" for help in optimizing my original hack.

It's a standalone file, with the template included for testing.
1. Create a new template called "small_calendar"
2. Cut and paste the included template from the script into the new template.
3. rename the cal.php.txt to cal.php and copy it to your forums directory and run to test.
4. Cut and paste the code between the <?php and ?> to the location of your choice to use in another script.

Show Your Support

  • This modification may not be copied, reproduced or published elsewhere without author's permission.

Comments
  #52  
Old 07-26-2002, 08:54 PM
Megabit Megabit is offline
 
Join Date: Jul 2002
Posts: 4
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Minifreunde... Glad to see that you have it working. Since it's working within the vbindex.php file, maybe there was just a missing or out of place parenthesis, or an extra space somewhere in the cal.php file - since you said that you were getting a parse error (and Line 110 just contains right bracket, I believe). I had originally thought that it just wasn't displaying on you vbindex page (without an error), but anyway, glad to see that you're working now.

As for your date/language format, I believe that you would have to set the locale with the following string:

setlocale (LC_TIME, "de_DE");

Then, find the line "$cal_date=strftime('%B %e');" in the cal.php file (or where you have it in your vbindex home page - since you put the cal.php file there). You may need to change this to "$cal_date=strftime('%e %B');" - as the %e gives you the day and the %B gives you the month (so this would reverse the string order).

I don't have the issue with changing the language - so all I can do is tell you to try it and see if it works. By the way, note that the locales are OS dependent and have to exist on the system that this is running on - and there could be more than one German locale.

For more on the strftime function and the locale settings in PhP, check out:
http://php.benscom.com/manual/en/function.strftime.php
Reply With Quote
  #53  
Old 07-27-2002, 06:01 AM
Kars10's Avatar
Kars10 Kars10 is offline
 
Join Date: Jun 2002
Location: Germany/Franken
Posts: 748
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Thanx Megabit that worked for me!!!
This calendar rules, my users love it!!
Reply With Quote
  #54  
Old 07-28-2002, 11:23 PM
Megabit Megabit is offline
 
Join Date: Jul 2002
Posts: 4
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Glad that worked for you Minifreunde! You are very welcome...
Reply With Quote
  #55  
Old 09-09-2002, 09:31 PM
SuB_ZeR0 SuB_ZeR0 is offline
 
Join Date: Jul 2002
Posts: 21
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

hey ... what do I need to do to change the current date's square so that it stands out with a different color? Like the big calendar style, without changing the "firstaltcolor" and "secondaltcolor"... Thanks.
Reply With Quote
  #56  
Old 09-25-2002, 03:59 AM
evilholli evilholli is offline
 
Join Date: Mar 2002
Location: dallas, texas
Posts: 3
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally posted by Minifreunde
I?ve tried and the calendar worked separatly on cal.php.
But i?ve include it in to my vbindex - no chance.
@ Megabit, can i send you my home.php (vbindex-site) and my cal.php to you? Please help me??
hi... I'm having the same problem... could someone please help me fix this?
Reply With Quote
  #57  
Old 09-25-2002, 04:18 AM
wajones wajones is offline
 
Join Date: Oct 2001
Location: San Diego, California, US
Posts: 111
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I only support vbPortal, sorry...

-----Original Message-----
From: vBulletin.org Forum Mailer [mailtoost@vbhacks.com]
Sent: Tuesday, September 24, 2002 9:59 PM
To: waj@adelphia.net
Subject: Mini Calendar from vbPortal

Hello wajones,

evilholli has just replied to a thread you have subscribed to entitled -
Mini Calendar from vbPortal - in the Full Releases forum of
vBulletin.org Forum.

~~~~~ NEW ~~~~~
New at vBulletin.org!
You can now reply to the thread by replying to this message. All you
need to do is to make sure this code appears in the e-mail subject:

You should also remove this text to ensure your reply is readable by
other forum users.
~~~~~ NEW ~~~~~

Here are the contents of the post:
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Quote:
Originally posted by Minifreunde
I?ve tried and the calendar worked separatly on cal.php.
But i?ve include it in to my vbindex - no chance.
@ Megabit, can i send you my home.php (vbindex-site) and my cal.php to
you? Please help me??
hi... I'm having the same problem... could someone please help me fix
this?
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

This thread is located at:
https://vborg.vbsupport.ru/showthrea...87&goto=newpos
t

There may be other replies also, but you will not receive any more
notifications until you visit the board again.

Yours,
vBulletin.org Forum team

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Unsubscription information:

To unsubscribe from this thread, please visit this page:
https://vborg.vbsupport.ru/member2.p...threadid=32087

To unsubscribe from ALL threads, please visit this page:
https://vborg.vbsupport.ru/member2.p...type=allthread
Reply With Quote
  #58  
Old 10-15-2002, 04:51 AM
bouncer18 bouncer18 is offline
 
Join Date: Mar 2002
Posts: 181
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

mm cant get it to work either...
owell
Reply With Quote
  #59  
Old 10-19-2002, 02:12 AM
groovesalad groovesalad is offline
 
Join Date: Aug 2002
Posts: 210
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Did anyone ever figure out why you can't post public events once this mini calendar is installed?
Reply With Quote
  #60  
Old 10-23-2002, 07:32 AM
SpankMe's Avatar
SpankMe SpankMe is offline
 
Join Date: Nov 2001
Location: New Zealand
Posts: 141
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Just installed this hack on my newly started Kiwi Biker forums . It going to be an excellent tool for help users keep track of current and furture motorbike events.

Hazaar to wajones
Reply With Quote
  #61  
Old 11-02-2002, 03:09 PM
FleaBag's Avatar
FleaBag FleaBag is offline
 
Join Date: Dec 2001
Posts: 1,674
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Any idea how to make this work with vBindex?
Reply With Quote
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 06:12 PM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2024, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.08173 seconds
  • Memory Usage 2,304KB
  • Queries Executed 27 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (2)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (6)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (11)post_thanks_box
  • (11)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (11)post_thanks_postbit_info
  • (10)postbit
  • (11)postbit_onlinestatus
  • (11)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_postinfo_query
  • fetch_postinfo
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete