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
  #32  
Old 01-31-2002, 07:18 PM
sccr410 sccr410 is offline
 
Join Date: Jan 2002
Posts: 21
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Do you have it in the 'forum' directory? I just installed this hack ( http://www.sandiegopegasus.com ) and it worked perfectly.
Reply With Quote
  #33  
Old 01-31-2002, 08:26 PM
Craig Antill Craig Antill is offline
 
Join Date: Nov 2001
Posts: 24
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Sure do.
Reply With Quote
  #34  
Old 02-01-2002, 10:00 PM
kypdurron's Avatar
kypdurron kypdurron is offline
 
Join Date: Dec 2001
Posts: 36
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

did anyone solve the "birthday not showing" bug?
Reply With Quote
  #35  
Old 02-13-2002, 01:59 PM
mondaynightmike's Avatar
mondaynightmike mondaynightmike is offline
 
Join Date: Jan 2002
Location: Northamptonshire
Posts: 123
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I am also having the problem of it not running on vbulletin.

When i run http://www.f1modelnews.com/modelforums/cal.php it works fine, yet i want to include it on my main forums page and all i get is a load of code and all the colours are changed and it messes up my whole layout.

any help?????
Reply With Quote
  #36  
Old 04-03-2002, 01:21 AM
syion syion is offline
 
Join Date: Mar 2002
Location: Vancouver Canada
Posts: 21
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I can run the cal.php by calling it by it self (see link below)
http://www.vfdbl.com/forum/cal.php

When I try to include the cal.php in another page I get a bunch of errors. I created a simple *.php file to call the cal.php in see link below
http://www.vfdbl.com/calendar.php (not to be confused with forum/calendar.php)

Below if the script that I included inside the calendar.php page that I am using to call up the cal.php



<?php ?>
<meta http-equiv="Content-Language" content="en-us">
<table border="1" cellpadding="0" cellspacing="0" style="border-collapse: collapse" bordercolor="#111111" width="200" id="AutoNumber1">
<tr>
<td>
<?php include ("http://www.vfdbl.com/forum/cal.php"); ?>
&nbsp;</td>
</tr>
<tr>
<td>&nbsp;</td>
</tr>
</table>



I know several others have indicated that they have had the same problem but I do not know how they corrected it.

Please Help
Reply With Quote
  #37  
Old 04-03-2002, 07:10 PM
syion syion is offline
 
Join Date: Mar 2002
Location: Vancouver Canada
Posts: 21
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I have been reading over the posts and it seems a number of people can get this calendat to work by calling up the cal.php file; However many including my self can not get the cal.php file to work on non vb pages.

I have tried numerous times to include cal.php in my web stites non-vb pages. Can some one please post some answers to this problem here. It would help a number of us out.

Thanks

See my links in the previous post to see what I mean

***UPdate***# 1

If you try and include the cal.php inside a non vb page that is not inside the forums directory it does not work ! Please prove me wrong

<?php include ("http://www.vfdbl.com/forum/cal.php"); ?>

This is what code i am using to embed cal.php in non vb pages in my website - I can not get it to work if the file is out side of the forums dir.

***Update*** # 2
I have found out what the problem is but do not know how to fix it.

I created a file called test.php all the file contained is this :

<?php include ("http://www.vfdbl.com/forum/cal.php"); ?>

Test php is supposed to include cal.php As you can see I saved test.php in the forums dir along with cal.php

I then tried to call up test.php this is very weird - it brought be first to the login page for my VB site the URL up top still said http://www.vfdbl.com/forum/test.php so I was at the correct page. i then entered my username and password and it then showed me the "thank you for logging in, username" and the URl changed to http://.........../members.php then I was taken to the cal.php file and the calendar showed up fine. The url has now changed to

http://www.vfdbl.com/forum/cal.php?

My understanding is if you include a php in test.php and you call up test.php the url should remain test.php and display what ever file you called up inside test.php - this seems to not be working correctly

I will keep you posted as to my progress and if others can help we who are having trouble would appreciate it - thanks
Reply With Quote
  #38  
Old 04-03-2002, 09:10 PM
syion syion is offline
 
Join Date: Mar 2002
Location: Vancouver Canada
Posts: 21
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I found it all came down to the security settings in the admin panel.

I had to change a setting for this group:

Unregistered / Not Logged In

I had to allow this group to view the board

I had previously disabled all of their rights. Now I have enabled only the allow them to view the board.

I have been able to now embed the cal.php file inside files outside of vb and the forums directory.

This will explain why some people could get it to work and others could not.

Cheers - i hope this helps
Reply With Quote
  #39  
Old 04-04-2002, 02:58 AM
jarvis jarvis is offline
 
Join Date: Nov 2001
Posts: 96
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Hmm... I had already allowed guests to view my board... I really think it comes down to whether user is browsing using cookies or not. Just a guess, but my calendar is a bunch of gibberish when included on my home page (shtml).

I wish someone would take a look at this hack again, because it would be nice to add to a non-Vb page.
Reply With Quote
  #40  
Old 04-08-2002, 01:58 AM
filburt1 filburt1 is offline
 
Join Date: Feb 2002
Location: Maryland, US
Posts: 6,144
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally posted by kypdurron
did anyone solve the "birthday not showing" bug?
I'm trying to get birthdays as well as public events to show up on my minical, anybody fixed this?
Reply With Quote
  #41  
Old 07-09-2002, 02:53 PM
mbaskett mbaskett is offline
 
Join Date: Jan 2002
Posts: 43
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally posted by Jakeman
it worked. i had to remove everything outside of the <?php ?> and also remove the include global.php in the cal.php file for it to work. however, it "breaks" my calendar while the phpinclude template is including cal.php . the symtoms are the same as what sysmom described in this thread for the today's events hack: https://vborg.vbsupport.ru/showthrea...5&pagenumber=5

it must be something in the cal.php file that is conflicting. if that file is included in the phpinclude it breaks my calendar regardless of whether i'm using the calendar variable on my pages or not... when i remove the include for cal.php everything works again. sysmom suggested it may be a variable getting tromped on.

once again, your help is greatly appreciated.
I sure would like to see an actual code fix for this... that workaround is not feasible for alot of people, especially those who use other code in the phpinclude template (such as the remove register icon if logged in)

Any hope of finding what's breaking the calendar pages?
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:37 AM.


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.06432 seconds
  • Memory Usage 2,302KB
  • Queries Executed 25 (?)
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_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