![]() |
NGG - Upcoming Events - Forum Side Block
1 Attachment(s)
not Supported Upcoming Events in Forum Block I recently had a friend make this for me so i DO NOT support this and/or take any credit I simply show you how to add the "Upcoming Events" in the forum side block 1/ Goto your Admincp 2/ Forums and moderators - Forum Blocks Manager 3/ Add block 4/ Name : Your choice 5/ Active : Yes 6/ Select : PHP 7/ In Content copy and paste : PHP Code:
You can see it in action and working here : NGG Clan This is on vb4.0.5 and as stated - I can NOT SUPPORT this as i am no coder but i had it made for me at a small price and wanted to share it with the community here Enjoy and please mark installed and comment if you use it, Cheers Donations are welcome to betts02@tiscali.co.uk via paypal |
To add, This is showing 1 day before the actual event - If anyone can futher this code to make it on the day, please pm me so i can change the code
|
Ya, I had that date issue with the other one too. The author had gone to great pains to try to fix it but the code had become a real mess and it still didn't work right.
Just glancing at this code I wonder if it supports multiple calendars and permissions? We have a Sponsors Calendar that lists advertiser's expiration dates and I wouldn't want that info displayed to everyone. |
Fatal error: Class 'vB' not found in /home/public_html/includes/block/html.php(85) : eval()'d code on line 9
Anyone got any idea what I could do to resolve this? |
Why pay for something that doesn't even work properly? Why even post the mod in the first place?
|
Its a free mod that needs a little ironing out, it works on my forum as you can see if you goto my site in the link below
v4.0.5 and as stated, NOT SUPPORTED I can handle the day before while i get it fixed and thought another coder maybe able to futher it more If you dont like it, Dont use it |
Try this in place of the above in the forum block
PHP Code:
This works A1 on the forum blocks on our forum so hope it helps out a little |
Using the above code ends up with - 79 NGG v X UK - MW 2 and not clickable, cheers for trying to help and hopefully someone else can work with this futher
|
great !! can you change the coler of the links in the calendar ?
|
Worked a charm, thanks.
|
Working fine! I have multiple calendars on my forum and there are events that I would not want shown in upcoming events. How would I specify a calendar?
|
Maybe check the calendar permissions ?
Will have a look as i dont use this anymore myself and get back to you Cheers |
I put this in a sidebar block on my forums and tested it out. It's a great concept if it actually posted the event there reflecting the same day that the event is listed on the calendar. http://www.norcalbots.com/forums have a look and see. In the calendar, I placed a new event titled GAME RELEASE | Call of Duty: Black Ops and set it as an all day event for November 9, 2010 but when it showed up in the block, it shows as the 8th. I probably wouldn't even have noticed the discrepancy if it hadn't been for the COD:Bops game.
|
Yes, the date discrepancy is bizarre. Somebody's going to figure it out someday, but until then the only way you can get Upcoming Events to work right anywhere is to copy the original code.
|
Not working for me. tried the two codes and none is working.
Getting the same error on both Code:
Fatal error: Class 'vB' not found in /home/peugeot405/domains/fsrclan.com/public_html/fsr-test/includes/block/html.php(95) : eval()'d code on line 9 anyone know how to fix this |
working perfectly in vb 4.0.7 :)
|
There is an error in the query.
This line: PHP Code:
PHP Code:
|
is this showing the birhtdays as well?
|
Nothing showing up at all
|
Thanks for that fix. I was wondering why I couldn't get mine to work and now it's doing it's job!
|
Quote:
Code:
vB::$db->[...] Code:
$db->[...] Code:
global $db; |
Could this be supported to make it work in 4.1.12 ?
Regards,, |
Sorry i do not support or even use this anymore
Someone else may be able to help as they have in previous posts Many thanks |
All times are GMT. The time now is 04:57 PM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|