vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.5 Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=113)
-   -   Event Forums (https://vborg.vbsupport.ru/showthread.php?t=93308)

FD929 08-08-2005 04:39 PM

Quote:

Originally Posted by endquote
You could change the call to date() in eventdata_postsave. I suppose I should make that a config option.

Yeah I was confused when I saw something posted. What exactly would I have to do to get it month-day-year?

Quote:

Originally Posted by endquote
It should do that automatically, but not if you're a moderator of that forum, or an administrator.

Aw that sucks ... why not?

endquote 08-08-2005 04:42 PM

Quote:

Originally Posted by FD929
Yeah I was confused when I saw something posted. What exactly would I have to do to get it month-day-year?

Just change "y-m-d" to "m-d-y".

Quote:

Originally Posted by FD929
Aw that sucks ... why not?

The thinking was that admins/mods might want to post announcements and things, but no one else should be able to post anything but events. You could change newthread_start to make it happen for everyone if you wanted.

FD929 08-08-2005 05:08 PM

Quote:

Originally Posted by endquote
The thinking was that admins/mods might want to post announcements and things, but no one else should be able to post anything but events. You could change newthread_start to make it happen for everyone if you wanted.

Ah I see. Well thanks again for this, I've wondered why vBulletin hasn't better implemented the calendar system for some time now.

Neal-UK 08-08-2005 06:26 PM

Quote:

Originally Posted by FD929
Ah I see. Well thanks again for this, I've wondered why vBulletin hasn't better implemented the calendar system for some time now.

any way i can remove this from my forum totally? I try to unistall via plugin manager and get db errors

FD929 08-08-2005 06:28 PM

Overwriting the product with the updated xml should take care of any problems you are having Neal. Then once overwritten, you should be able to uninstall if you choose to.

Neal-UK 08-08-2005 06:42 PM

Quote:

Originally Posted by FD929
Overwriting the product with the updated xml should take care of any problems you are having Neal. Then once overwritten, you should be able to uninstall if you choose to.

ok, i tried last time but got db errors. I'll try again.

FD929 08-08-2005 06:46 PM

1 more problem. All posted events by normal members are being moderated however all permissions are set to allow posting.

Neal-UK 08-08-2005 06:53 PM

Quote:

Originally Posted by FD929
1 more problem. All posted events by normal members are being moderated however all permissions are set to allow posting.

Still get the error when posting an event in the calendar even thought the event get's posted in the correct forum. Same errors if I trry to delete the post:

Quote:

Database error in vBulletin 3.5.0 Release Candidate 2:

Invalid SQL:

UPDATE FORUMthread
SET nwt_eventid = 4
WHERE threadid = 1672;

MySQL Error : Unknown column 'nwt_eventid' in 'field list'
Error Number : 1054
Date : Monday, August 8th 2005 @ 07:50:53 PM
Script : http://www.burnleyweb.com/forum/calendar.php
Referrer : http://www.burnleyweb.com/forum/cale...ype=single&c=1
IP Address : ***.***.***.***
Username : ****************
Classname : vb_database

FD929 08-08-2005 06:59 PM

I think maybe the sql queries still aren't running properly. I ran mine manually so that may be why we're having different issues. Are you using a table prefix and do you have access to run sql queries from the admincp or phpmyadmin?

Neal-UK 08-08-2005 07:05 PM

Quote:

Originally Posted by FD929
I think maybe the sql queries still aren't running properly. I ran mine manually so that may be why we're having different issues. Are you using a table prefix and do you have access to run sql queries from the admincp or phpmyadmin?

Yeah I have the prefix FORUMtable_name, but im pretty new (a year or 2) to database stuff so what do I need to type exactly in the run sql queries box?

FD929 08-08-2005 07:18 PM

sent pm on your board

Neal-UK 08-08-2005 07:22 PM

Quote:

Originally Posted by FD929
sent pm on your board

Just got it and replied, i'll let you know.

Can I just thank you for your time and effort, much appreciated!

FD929 08-08-2005 07:33 PM

Quote:

Originally Posted by nealparry
Can I just thank you for your time and effort, much appreciated!

You can, but it's not fixed yet. :)

Neal-UK 08-08-2005 07:35 PM

Quote:

Originally Posted by nealparry
Just got it and replied, i'll let you know.

Can I just thank you for your time and effort, much appreciated!

the global file was fine which was weird, anyhow did the database changes and its working fine, thanks very much again.

Neal-UK 08-08-2005 07:39 PM

no, i cant delete it via inline mod, lol

Quote:

Fatal error: Existing data passed is not an array
Called set_existing in /****/***/*****/************/forum/includes/class_dm_threadpost.php(1211) : eval()'d code on line 25
Called eval in /**/**/****/forum/includes/class_dm_threadpost.php on line 1211
Called delete in /***/*********/**/forum/inlinemod.php on line 573
in /includes/class_dm.php on line 235



FD929 08-08-2005 08:01 PM

Yes you can. I've seen that error a couple times. If you post a new event, inline mod should work fine.

For others having database errors, follow these instructions.

First thing I would suggest is verify your table prefix in /forum/includes/config.php then run these queries one at a time -
replace [prefix] with yours
(coded so the pirates can't get it. lol)
Code:

ALTER TABLE `[prefix]event` ADD `nwt_threadid` INT

ALTER TABLE `[prefix]event` ADD INDEX (`nwt_threadid`)

ALTER TABLE `[prefix]thread` ADD `nwt_eventid` INT

ALTER TABLE `[prefix]thread` ADD INDEX (`nwt_eventid`)


butty 08-10-2005 02:03 PM

hi there i wonder if you could give me a bit of advice. ive installed this hack here

https://vborg.vbsupport.ru/showthread.php?t=93782

along with this hack of yours and im having problems getting that one going. the creator of that thread has posted a reply to my post there if you could have a quick look and let me know any more info that would be great

thanks in advance

thecool 08-11-2005 05:29 PM

Good Hack, but a few problems (well a few bugs to work out)

1. My registered users get:
Invalid Thread specified. If you followed a valid link, please notify the administrator
when they try to post an event.

it seems like the event has to be moderated even though ALL of their permissions say otherwise.

2. How do I change the month day year part for each post. my General Board settings are set to M-D-Y, is there any where else I can change it?

thanks

FD929 08-12-2005 01:16 PM

I posted the moderation problem earlier in the thread, no reply yet.
Quote:

Originally Posted by thecool
2. How do I change the month day year part for each post. my General Board settings are set to M-D-Y, is there any where else I can change it?

Overwrite the product with the attached xml to have m-d-y date format.

flaregun 08-15-2005 07:14 PM

I love this hack and have it installed.

I have one thing I would like to change, but my coding skills are not enough. In my forum i want the title to display like this:

"EVENT NAME discussion thread"

I figured out how to remove the date and place new text in front of the event name, but not to put it after in the code. You can see an example here:

http://www.racerweek.com/forum/forumdisplay.php?f=8

Can anybody help me?

thanks!

jugo 08-15-2005 07:49 PM

Quote:

Originally Posted by thecool
1. My registered users get:
Invalid Thread specified. If you followed a valid link, please notify the administrator
when they try to post an event.

it seems like the event has to be moderated even though ALL of their permissions say otherwise.

Any way to get this fixed??

Also, is there a way to insert the additional Info posted in the post text instead of the Thread Title?

GReaper 08-16-2005 03:22 PM

The "Invalid thread specified" occurs if the event/post length is too short. Rather annoyingly the event is still posted on the calendar, however the thread isn't posted, so theres no valid link to a thread.

It would be great if the title prefix was a customisable option in the vBulletin control panel.

thecool 08-16-2005 04:13 PM

Quote:

Originally Posted by FD929
I posted the moderation problem earlier in the thread, no reply yet.

Overwrite the product with the attached xml to have m-d-y date format.


thanks, its working fine now. although is there any way to allow users to post the events themselves without moderation? (registered members are already set to be able to post events in the usergroup permissions section)

SRuvbnhad 08-19-2005 02:34 AM

Installed and works great! Question: Is there an option to change the way the thread is created? Instead of it being [day - month - year] I want it to adopt the standard format of [month - day - year]

Also, is there a way to post an event for future reference? Example I make a post on Monday for an event coming up the next Saturday. Instead of it showing up on Monday on the Calender, show up on Saturday. This maybe something in development and if so good job!

HKAndrew 08-19-2005 06:31 AM

Quote:

Originally Posted by SRuvbnhad
Installed and works great! Question: Is there an option to change the way the thread is created? Instead of it being [day - month - year] I want it to adopt the standard format of [month - day - year]

Also, is there a way to post an event for future reference? Example I make a post on Monday for an event coming up the next Saturday. Instead of it showing up on Monday on the Calender, show up on Saturday. This maybe something in development and if so good job!

[day - month - year] is the standard in most places metric.

taffy056 08-19-2005 08:35 AM

Hi,

Installed with no problems, but how do I configure this to work, what is calendarid:forumid in the Events Forums section of the admincp?

taffy

Wayne Luke 08-19-2005 01:46 PM

Have this installed but there are two issues:

1) It should use the default date format in the forums. I created an event and it says 05-08-20 for the date. My members are American for the most part and this is an improper date format. I am not running an International Forum.

2) After the date it says [][] in the thread title. I am guessing the times belong here but don't really now. These should be fixed or removed.

jugo 08-19-2005 02:14 PM

Quote:

Originally Posted by GReaper
The "Invalid thread specified" occurs if the event/post length is too short. Rather annoyingly the event is still posted on the calendar, however the thread isn't posted, so theres no valid link to a thread.

It would be great if the title prefix was a customisable option in the vBulletin control panel.


Not in my case (and others as well).

The post gets thrown in the moderator queue and the user does not see it until the admin releases it, regardless of the settings.

There Has to be a way around this.

endquote 08-19-2005 04:21 PM

Quote:

Originally Posted by Wayne Luke
Have this installed but there are two issues:

1) It should use the default date format in the forums. I created an event and it says 05-08-20 for the date. My members are American for the most part and this is an improper date format. I am not running an International Forum.

Agreed, I should change that.

Quote:

Originally Posted by Wayne Luke
2) After the date it says [][] in the thread title. I am guessing the times belong here but don't really now. These should be fixed or removed.

After the date, any custom fields you have in your calendar are displayed. Do you have custom fields in your calendar?

endquote 08-19-2005 04:22 PM

Quote:

Originally Posted by taffy056
Installed with no problems, but how do I configure this to work, what is calendarid:forumid in the Events Forums section of the admincp?

If you go to either a calendar or forum, it's the calendarid (c=1) or forumid (f=16) in the URL.

taffy056 08-19-2005 07:13 PM

Hi,

No matter how I try this I always get this message after I add an event in the calender,

Code:

  No Thread specified. If you followed a valid link, please notify the administrator
I am entering c=1:f=9 and have tried different things on the theme, but always get the above message.

thanks

endquote 08-19-2005 07:16 PM

Quote:

Originally Posted by taffy056
I am entering c=1:f=9 and have tried different things on the theme, but always get the above message.

It would just be "1:9".

Wayne Luke 08-19-2005 07:23 PM

Quote:

Originally Posted by endquote
After the date, any custom fields you have in your calendar are displayed. Do you have custom fields in your calendar?

Yeah.. I'll have to look at the template and see if I can delete that then.

taffy056 08-19-2005 09:16 PM

Quote:

Originally Posted by endquote
It would just be "1:9".

Thanks that worked :)

FD929 08-22-2005 02:35 PM

Quote:

Originally Posted by taffy056
Hi,

No matter how I try this I always get this message after I add an event in the calender,

Code:

  No Thread specified. If you followed a valid link, please notify the administrator
I am entering c=1:f=9 and have tried different things on the theme, but always get the above message.

thanks

This is the on-going issue with the permissions. My guess is you are creating the events as a user with normal permissions? Non-moderating permissions?

IMHO - this hack will only benefit admins and moderators until that permissions error is sorted. I can't figure it out.

FD929 08-22-2005 02:38 PM

Quote:

Originally Posted by Wayne Luke
1) It should use the default date format in the forums. I created an event and it says 05-08-20 for the date. My members are American for the most part and this is an improper date format. I am not running an International Forum.

https://vborg.vbsupport.ru/showpost....7&postcount=59
or just edit the xml

find:
y-m-d

replace with:
m-d-y

Leah 08-23-2005 04:09 PM

Quote:

Originally Posted by SRuvbnhad
Also, is there a way to post an event for future reference? Example I make a post on Monday for an event coming up the next Saturday. Instead of it showing up on Monday on the Calender, show up on Saturday. This maybe something in development and if so good job!

This is a great idea!

Maybe a hack connected in some way to the event-reminder?

endquote 08-24-2005 01:56 AM

Made a small change to the product to use the date format specified in the vB options.

VirtualMind 08-27-2005 09:50 AM

I'm getting this error when I try to create an event on the calendar:

"No Thread specified. If you followed a valid link, please notify the administrator"

Can someone explain the correct configurations to make this work?
Examples of "pair" between calendarid/forumid and permissions

endquote 08-27-2005 09:30 PM

See post #72 for an example.


All times are GMT. The time now is 06:09 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
  • Page Generation 0.01414 seconds
  • Memory Usage 1,848KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (3)bbcode_code_printable
  • (28)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (3)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (40)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.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/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.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
  • printthread_start
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete